1 2 3 4 5 6 7 8 9 10 11 12
/* Some versions of Solaris <math.h> give strict-aliasing warnings for signbit. */ /* { dg-require-effective-target c99_runtime } */ /* { dg-options "-std=c99 -O2 -Wstrict-aliasing" } */ #include <math.h> int main (void) { return signbit (1.0f) | signbit (1.0) | signbit (1.0l);; }