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-sra-23.c
blob
f438b5096147311879af6a16b670385059362533
1
/* { dg-do compile } */
2
/* { dg-options "-O2" } */
3
4
extern
int
g
;
5
6
static int
__attribute__
((
noinline
))
7
bar
(
int
i
,
int
j
)
8
{
9
return
2
*
g
+
i
;
10
}
11
12
static int
__attribute__
((
noinline
))
13
foo
(
int
i
,
int
j
)
14
{
15
if
(
i
>
5
)
16
j
=
22
;
17
return
bar
(
i
,
j
) +
1
;
18
}
19
20
int
21
entry
(
int
l
,
int
k
)
22
{
23
return
foo
(
l
,
k
);
24
}