gcc/
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / 20040703-1.c
blobad96198a4e131b09739f74cf04cc4d98bce97dc4
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-dom2" } */
4 float foo(float x)
6 x += 1;
7 x -= 1;
8 return x;
11 /* We should *not* fold the arithmetic. */
12 /* { dg-final { scan-tree-dump-times "0\\.0" 0 "dom2"} } */
13 /* { dg-final { cleanup-tree-dump "dom2" } } */