1 /* { dg-do compile } */ 2 /* { dg-options "-O2 -fdump-tree-optimized" } */ 3 4 int foo(unsigned long a,long b)5foo (unsigned long a, long b) 6 { 7 return (a & !a) | (b & (b == 0)); 8 } 9 10 /* { dg-final { scan-tree-dump-times "return 0" 1 "optimized" } } */ 11 /* { dg-final { cleanup-tree-dump "optimized" } } */ 12