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
* cfgloopmanip.c (duplicate_loop_to_header_edge): Cleanup profile
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
pr79386.c
blob
21b77597247abb21055cd1757cfd82edb4b53ab8
1
/* PR rtl-optimization/79386 */
2
3
int
a
,
b
;
4
5
int
6
foo
(
int
x
)
7
{
8
int
c
;
9
int
*
d
, *
e
;
10
11
if
(
b
==
0
)
12
{
13
c
=
0
;
14
e
= &
b
;
15
d
= &
b
;
16
}
17
else
18
{
19
int
f
;
20
21
c
=
1
;
22
for
(
f
=
0
;
f
<
9
; ++
f
)
23
c
*=
3
;
24
e
= (
int
*) (
__UINTPTR_TYPE__
)
c
;
25
d
= &
x
;
26
}
27
*
e
=
c
<
3
;
28
if
(*
e
!=
0
)
29
{
30
int
g
;
31
32
b
+= (
a
!=
0
) ?
a
:
1
;
33
if
(
g
!=
0
||
x
!=
0
)
34
*
d
=
0
;
35
if
(
b
>=
0
)
36
{
37
if
(
g
!=
0
)
38
g
=
x
;
39
if
(*
d
/
g
!=
0
)
40
for
(;;)
41
;
42
}
43
}
44
45
return
b
* (
a
!=
0
&& *
d
!=
0
);
46
}