PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / pr35456.c
blob67f64dbafc8b75740798488fc10c6998ffac973a
1 /* { dg-skip-if "signed zero not supported" { "vax-*-*" } } */
2 extern void abort (void);
4 double
5 __attribute__ ((noinline))
6 not_fabs (double x)
8 return x >= 0.0 ? x : -x;
11 int main()
13 double x = -0.0;
14 double y;
16 y = not_fabs (x);
18 if (!__builtin_signbit (y))
19 abort();
21 return 0;