S/390: Allow immediates in loc expander
[official-gcc.git] / gcc / testsuite / gcc.dg / pr59833.c
blobc75efdef310abf9ebdff407e709b2ee03e64afb3
1 /* { dg-do run { target { *-*-linux* *-*-gnu* } } } */
2 /* { dg-options "-O0 -lm -fsignaling-nans" } */
3 /* { dg-add-options ieee } */
4 /* { dg-require-effective-target issignaling } */
6 #define _GNU_SOURCE
7 #include <math.h>
9 int main (void)
11 float sNaN = __builtin_nansf ("");
12 double x = (double) sNaN;
13 if (issignaling(x))
15 __builtin_abort();
18 return 0;