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
/
torture
/
pr109002.c
blob
5575a4b9edc83e57bd1d315232b673d368554385
1
/* { dg-do run } */
2
/* { dg-additional-options "-ftree-pre -ftree-partial-pre" } */
3
4
extern
void
exit
(
int
);
5
6
int
g
;
7
int
h
;
8
9
void
__attribute__
((
noipa
))
bar
()
10
{
11
if
(
g
)
12
exit
(
0
);
13
}
14
15
int
main
(
void
)
16
{
17
for
(
int
i
=
0
; ;
i
++) {
18
for
(
int
j
=
0
;
j
<
g
;
j
++);
19
if
(
i
&
1
) {
20
if
(
h
)
21
continue
;
22
if
(
g
)
23
bar
();
24
g
=
1
;
25
}
26
}
27
}