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
* passes.c (ipa_write_summaries): Only modify statements if body
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
lto
/
pr59323-2_0.c
blob
61872dd5f75d7f8bcf853fafb298a3b2bc6626ea
1
/* { dg-lto-do link } */
2
/* { dg-lto-options { { -O2 -g -flto } } } */
3
/* { dg-extra-ld-options { -r -nostdlib -flinker-output=nolto-rel } } */
4
5
extern
void
bar
(
void
);
6
7
int
main
(
int
argc
,
char
**
argv
)
8
{
9
int
i
;
10
11
if
(
argc
==
1
) {
12
extern
void
bar
();
13
14
bar
();
15
16
{
17
extern
void
bar
();
18
19
asm goto
(
""
: : : :
lab
);
20
lab
:
21
;
22
}
23
}
24
25
{
26
extern
void
bar
();
27
28
int
foo
(
void
)
29
{
30
return
argv
[
0
][
0
];
31
}
32
33
i
=
foo
();
34
}
35
36
return
i
;
37
}