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
/
ipa-6.c
blob
c7d9b37386cd096d84a482005462fef47a51d8f8
1
/* PR middle-end/29122 */
2
/* { dg-do compile } */
3
/* { dg-options "-O3 -fipa-cp -fno-early-inlining" } */
4
5
int
6
dont_inline
(
int
);
7
8
int
9
bar
(
int
b
,
int
c
)
10
{
11
return
dont_inline
(
c
);
12
}
13
14
int
15
foo
(
int
a
)
16
{
17
if
(
a
++ >
0
)
18
bar
(
a
,
3
);
19
20
foo
(
7
);
21
}
22
23
int
24
main
()
25
{
26
int
i
;
27
for
(
i
=
0
;
i
<
100
;
i
++)
28
foo
(
7
);
29
return
0
;
30
}
31
32
33