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
PR tree-optimization/84740
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
lto
/
20091209-1_0.c
blob
5aa2fe0b058abb752954f2f055f226d26aa597ee
1
/* Stream an indirect edge in and out. */
2
3
/* { dg-lto-do link } */
4
/* { dg-lto-options {{ -O3 -fno-early-inlining -flto }} } */
5
6
volatile
int
something
;
7
8
static void
hooray
()
9
{
10
something
=
1
;
11
}
12
13
static void
hiphip
(
void
(*
f
)())
14
{
15
something
=
2
;
16
f
();
17
}
18
19
int
main
(
int
argc
,
int
*
argv
[])
20
{
21
hiphip
(
hooray
);
22
return
0
;
23
}