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
AVR: target/84211 - Add a post reload register optimization pass.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr87177.c
blob
efeaebf301c312de1c90caa08e9f9aec52a6cb50
1
/* { dg-do run } */
2
3
int
__attribute__
((
noinline
))
my_printf
(
const char
*
p
, ...)
4
{
5
static
volatile
int
x
;
6
++
x
;
7
}
8
9
int
a
,
b
,
c
,
e
,
f
,
g
,
h
,
i
,
j
,
k
,
l
;
10
unsigned
d
;
11
12
static void
p
()
13
{
14
while
(
1
)
15
{
16
int
n
=
h
;
17
h
=
8
;
18
if
(!
e
)
19
break
;
20
h
=
n
;
21
while
(
1
)
22
;
23
}
24
for
(;
c
!=
4
;
c
++)
25
{
26
int
o
=
g
=
1
;
27
for
(;
g
;
g
--)
28
{
29
while
(
d
<
b
)
30
e
--;
31
a
=
g
;
32
int
q
=
o
;
33
if
(
q
)
34
L1
:
35
j
=
f
;
36
if
(
l
)
37
{
38
my_printf
(
"%d"
,
g
);
39
goto
L1
;
40
}
41
o
=
l
;
42
k
=
q
;
43
}
44
}
45
}
46
47
void
s
()
48
{
49
int
m
=
0
;
50
L2
:
51
if
(
i
&&
g
)
52
goto
L2
;
53
for
(;
m
<
2
;
m
++)
54
p
();
55
}
56
57
int
main
()
58
{
59
s
();
60
return
0
;
61
}