1 2 3 4 5 6 7 8 9 10
/* { dg-do compile } */ /* { dg-options "-O -ffast-math -fdump-tree-original" } */ double foo (double x) { return (x + 0.5 - x - 0.5); } /* { dg-final { scan-tree-dump "return 0.0;" "original" } } */ /* { dg-final { cleanup-tree-dump "original" } } */