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
2017-09-26 Thomas Koenig <tkoenig@gcc.gnu.org>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr30762-1.c
blob
75fb762d508751398adeb9132ea4ac1c5a82b5fb
1
/* PR c/30762 */
2
/* { dg-do link } */
3
/* { dg-require-effective-target lto } */
4
/* { dg-options "-flto -O3" } */
5
/* { dg-additional-sources pr30762-2.c } */
6
7
typedef
struct
{
int
i
; }
D
;
8
extern
void
foo
(
D
);
9
10
void
11
bar
(
void
)
12
{
13
D d
;
14
d
.
i
=
1
;
15
foo
(
d
);
16
}
17
18
int
main
() {
return
0
; }