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
[RTL ifcvt] PR 67786, 67787: Check that intermediate instructions in the basic block...
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr32573.c
blob
190f5dbac691bd512661602eaf8c952bfa9458ad
1
/* PR tree-optimization/32573 */
2
/* { dg-do compile } */
3
/* { dg-options "-O3" } */
4
5
long long
bar
(
void
*);
6
7
int
8
foo
(
void
*
x
,
long long
*
y
)
9
{
10
char
a
[
256
];
11
int
i
=
0
;
12
long long
b
;
13
int
c
;
14
int
d
=
0
;
15
int
e
=
0
;
16
unsigned
f
=
0
;
17
b
=
bar
(
x
);
18
c
= (
unsigned
)
b
;
19
while
(
d
<
b
&&
d
<
65557
)
20
{
21
f
= *(
unsigned
*) &
a
[
0
];
22
for
(
i
=
c
-
4
;
i
>
0
;
i
--)
23
if
(
a
[
i
+
0
] ==
0x50
24
&&
a
[
i
+
1
] ==
0x4B
25
&&
a
[
i
+
3
] ==
0x06
)
26
{
27
e
=
1
;
28
break
;
29
}
30
}
31
return
!
e
;
32
}