1 /* { dg-do compile } */
2 /* { dg-options "-fstrict-overflow -fdump-tree-gimple" } */
3 /* Test for folding abs(x) where appropriate. */
4 #define abs(x) x > 0 ? x : -x
5 extern double fabs (double);
40 return fabs(x
) == -0.0;
42 /* { dg-final { scan-tree-dump-times "ABS_EXPR" 0 "gimple" } } */
43 /* { dg-final { cleanup-tree-dump "gimple" } } */