2018-04-09 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / signbit-sa.c
blob3d273a3a2f79d5ba1f593c74a4a50b05a0a31d9a
1 /* Some versions of Solaris <math.h> give strict-aliasing warnings for
2 signbit. */
3 /* { dg-require-effective-target c99_runtime } */
4 /* { dg-options "-std=c99 -O2 -Wstrict-aliasing" } */
6 #include <math.h>
8 int
9 main (void)
11 return signbit (1.0f) | signbit (1.0) | signbit (1.0l);;