Debian Codegraph @

gcc/testsuite/gcc.c-torture/execute/20080502-1.c

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