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
/
pr81406_0.c
blob
26d4195bf638d67aac64913bc0baa3a29e272f66
1
/* PR lto/81406 */
2
/* { dg-lto-do link } */
3
/* { dg-lto-options { { -O2 -g -flto } } } */
4
/* { dg-extra-ld-options { -g -r -nostdlib -flinker-output=nolto-rel } } */
5
6
int
a
;
7
int
*
foo
(
void
);
8
9
static
inline
int
__attribute__
((
__artificial__
))
10
bar
(
void
)
11
{
12
if
(
a
)
13
*
foo
() =
2
;
14
}
15
16
void
*
17
baz
(
void
)
18
{
19
return
(
void
*)
bar
;
20
}