Adjust scan string for PIE
[official-gcc.git] / gcc / testsuite / gcc.dg / pr15784-2.c
blobeb1608c64edc4ea3db7cd59235f9bed9087250b4
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);
7 int a (float x) {
8 return fabs(x) >= 0.0;
11 /* { dg-final { scan-tree-dump-times "ABS_EXPR" 0 "gimple" } } */
12 /* { dg-final { cleanup-tree-dump "gimple" } } */