gcc/
[official-gcc.git] / gcc / testsuite / gcc.dg / fold-reassoc-1.c
blob88d5dd89cd790f250c20e8e7884c67f8d81d9bc9
1 /* { dg-do compile } */
2 /* { dg-options "-O -ffast-math -fdump-tree-original" } */
4 double foo (double x)
6 return (x + 0.5 - x - 0.5);
9 /* { dg-final { scan-tree-dump "return 0.0;" "original" } } */
10 /* { dg-final { cleanup-tree-dump "original" } } */