]>
Commit | Line | Data |
---|---|---|
33a9c609 PK |
1 | /* { dg-do compile } */ |
2 | /* { dg-require-effective-target large_double } */ | |
9afda630 | 3 | /* { dg-require-effective-target c99_runtime } */ |
33a9c609 PK |
4 | /* { dg-options "-O2 -ffast-math -fdump-tree-forwprop-details" } */ |
5 | ||
6 | #include <math.h> | |
7 | ||
8 | double f2(double x) | |
9 | { | |
10 | double t1 = fabs (x); | |
11 | double t2 = t1 / x; | |
12 | return t2; | |
13 | } | |
14 | ||
15 | /* { dg-final { scan-tree-dump "__builtin_copysign" "forwprop1" } } */ |