repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2018-04-09 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
signbit-sa.c
blob
3d273a3a2f79d5ba1f593c74a4a50b05a0a31d9a
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" } */
5
6
#include <math.h>
7
8
int
9
main
(
void
)
10
{
11
return
signbit
(
1.0
f
) |
signbit
(
1.0
) |
signbit
(
1.0l
);;
12
}