1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
/* PR target/36090 */ extern void abort (void); long double __attribute__ ((noinline)) foo (long double x) { return __builtin_signbit (x) ? 3.1415926535897932384626433832795029L : 0.0; } int main (void) { if (foo (-1.0L) != 3.1415926535897932384626433832795029L) abort (); return 0; }