PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.dg / fold-reassoc-1.c
blob46ef07118ad8ebf5ef8546020712a4e37876dfd5
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" } } */