Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/signbit-sa.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* 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);; }