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
Merged with mainline at revision 128810.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr32573.c
blob
d6897fbc22f601dd7fba7d3fc81f905225399482
1
/* PR tree-optimization/32573 */
2
/* { dg-do compile } */
3
/* { dg-options "-O3" } */
4
5
int
6
foo
(
void
*
x
,
long long
*
y
)
7
{
8
char
a
[
256
];
9
int
i
=
0
;
10
long long
b
;
11
int
c
;
12
int
d
=
0
;
13
int
e
=
0
;
14
unsigned
f
=
0
;
15
b
=
bar
(
x
);
16
c
= (
unsigned
)
b
;
17
while
(
d
<
b
&&
d
<
65557
)
18
{
19
f
= *(
unsigned
*) &
a
[
0
];
20
for
(
i
=
c
-
4
;
i
>
0
;
i
--)
21
if
(
a
[
i
+
0
] ==
0x50
22
&&
a
[
i
+
1
] ==
0x4B
23
&&
a
[
i
+
3
] ==
0x06
)
24
{
25
e
=
1
;
26
break
;
27
}
28
}
29
return
!
e
;
30
}