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
libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
ipa
/
pr51362.c
blob
e57dd565688c1387eea0b619977e73777e9a3443
1
/* { dg-do compile } */
2
/* { dg-options "-O -fipa-cp -fipa-cp-clone" } */
3
4
int
5
baz
(
void
)
6
{
7
return
0
;
8
}
9
10
int
make_mess
;
11
12
__attribute__
((
noinline
))
13
int
bar
(
int
x
,
int
(*
f
) (
void
))
14
{
15
return
f
();
16
}
17
18
int
19
foo
(
void
)
20
{
21
return
bar
(
1
,
baz
);
22
}