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
Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
powerpc
/
pr79066.c
blob
86b20149bdfaf17e12e04f7e6f817d740d2773e4
1
/* { dg-do compile { target { fpic && ilp32 } } } */
2
/* { dg-options "-O2 -fpic" } */
3
/* { dg-final { scan-assembler-not "lis.*@ha" } } */
4
5
union
U
{
double
x
;
int
i
[
2
]; };
6
7
double
8
foo
(
double
x
)
9
{
10
union
U v
;
11
v
.
i
[
0
] =
0x7ff00000
;
12
v
.
i
[
1
] =
0
;
13
return
x
/
v
.
x
;
14
}