1 /* PR middle-end/19857 */ 2 /* { dg-do compile } */ 3 /* { dg-options "-O2 -fdump-tree-optimized" } */ 4 5 int i; foo(void)6int foo (void) 7 { 8 return i & ~(unsigned int) 3; 9 } 10 11 /* Make sure the optimizers don't introduce overflow where one 12 did not exist in the original. */ 13 /* { dg-final { scan-tree-dump-times "-0+4" 0 "optimized"} } */ 14