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
/
pr71493-2.c
blob
e9184a605bef4399f6e66dff619910812c873567
1
/* { dg-do compile { target { powerpc*-*-linux* && ilp32 } } } */
2
/* { dg-options "-O2 -msvr4-struct-return" } */
3
4
struct
S2
{
double
d
; };
5
6
struct
S2
foo2
(
void
)
7
{
8
struct
S2 s
= {
1.0
};
9
return
s
;
10
}
11
12
/* { dg-final { scan-assembler "lwz" } } */
13
/* { dg-final { scan-assembler-not "lfd" } } */