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
/
pr59166.c
blob
b8f414a7320aefeb1d732bb205c43adc7e84b85f
1
/* PR rtl-optimization/59166 */
2
/* { dg-additional-options "-fcompare-debug" } */
3
/* { dg-xfail-if "AIX compare debug" { powerpc-ibm-aix* } } */
4
5
int
a
,
b
,
c
,
f
,
g
;
6
7
void
8
foo
()
9
{
10
for
(;
b
;
b
++)
11
for
(;
f
;
f
=
g
)
12
for
(;
a
;)
13
;
14
}
15
16
static int
17
bar
(
int
p
)
18
{
19
short
d
;
20
if
(
c
)
21
{
22
for
(;
f
;
f
=
g
);
23
foo
();
24
d
=
p
;
25
char
e
=
d
;
26
if
(
p
)
27
return
1
;
28
}
29
return
p
;
30
}
31
32
int
33
main
()
34
{
35
bar
(
0
);
36
bar
(
g
);
37
return
0
;
38
}