OSDN Git Service

2012-01-30 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / tree-ssa / 20050215-1.c
1 /* PR middle-end/19857 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fdump-tree-optimized" } */
4
5 int i;
6 int 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 /* { dg-final { cleanup-tree-dump "optimized" } } */