gcc/testsuite/gcc.dg/pr95171.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-fexceptions -ffinite-math-only -fnon-call-exceptions" } */ |
| 3 | |
| 4 | inline double __attribute__ ((always_inline)) |
| 5 | w9 (int q2) |
| 6 | { |
| 7 | return __builtin_fabs (__builtin_nan ("")) > 0.0 ? 1.0 : q2 / 1.0; |
| 8 | } |
| 9 | |
| 10 | double __attribute__ ((optimize ("-fipa-cp"))) |
| 11 | o7 (int iz) |
| 12 | { |
| 13 | int rj[1]; |
| 14 | |
| 15 | (void) rj; |
| 16 | |
| 17 | return w9 (iz); |
| 18 | } |