blob: 95f72703390c277f0ffa6b7a7693229c378e04a6 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-optimized" } */
int foo(int x, int y)
{
return -(x&1) & y;
}
int bar(int x, int y)
{
return (x&1) * y;
}
/* { dg-final { scan-tree-dump-times " \\* " 2 "optimized" } } */