No empty .Rs/.Re
[netbsd-mini2440.git] / gnu / dist / gcc4 / gcc / testsuite / gcc.dg / tree-ssa / foldaddr-1.c
blob2c040278436bf31ea1f6d224d1ed8eec15727b01
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-original" } */
5 char *a;
6 int foo(char *b)
8 return a+5+(long)b == (long)b+a;
11 /* Folding should have determined that the two addresses were
12 not identical and thus collapsed the function into a trivial
13 "return 0". */
14 /* { dg-final { scan-tree-dump-times "return 0" 1 "original"} } */
15 /* { dg-final { cleanup-tree-dump "original" } } */