1 /* { dg-do compile } */
2 /* { dg-options "-fdump-tree-gimple -ffast-math" } */
3 /* Test for folding abs(x) where appropriate.  */
4 #define abs(x) x > 0 ? x : -x
5 extern double fabs (double);
6 
a(float x)7 int a (float x) {
8 	return fabs(x) >= 0.0;
9 }
10 
11 /* { dg-final { scan-tree-dump-times "ABS_EXPR" 0 "gimple" } } */
12