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
2009-07-17 Richard Guenther <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr39903-1.c
blob
1a67dd79538d01594d68602818835dff811c3d95
1
/* PR target/39903 */
2
/* { dg-do run } */
3
/* { dg-options "-Wno-psabi" } */
4
5
struct
X
{
6
double
d
;
7
double
b
[];
8
};
9
10
struct
X
__attribute__
((
noinline
))
11
foo
(
double
d
)
12
{
13
struct
X x
;
14
x
.
d
=
d
;
15
return
x
;
16
}
17
extern
void
abort
(
void
);
18
int
main
()
19
{
20
struct
X x
=
foo
(
3.0
);
21
if
(
x
.
d
!=
3.0
)
22
abort
();
23
return
0
;
24
}