1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-optimized" } */
3
4 int foo(int x, int y)
5 {
6 return -(x&1) & y;
7 }
8
9 int bar(int x, int y)
10 {
11 return (x&1) * y;
12 }
13
14 /* { dg-final { scan-tree-dump-times " \\* " 2 "optimized" } } */