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 revisions 208012,208018-208019,208021,208023-208030,208033,208037,208040-20804...
[official-gcc.git]
/
main
/
gcc
/
testsuite
/
gcc.dg
/
vect
/
pr52298.c
blob
453d7c8aa14dc4f5dc38517a6312ee726c7840a0
1
/* { dg-options "-O1 -ftree-vectorize -fno-tree-pre -fno-tree-loop-im" } */
2
3
extern
void
abort
(
void
);
4
int
c
[
80
];
5
6
__attribute__
((
noinline
))
int
7
foo
(
void
)
8
{
9
int
l
=
0
;
10
int
a
,
b
;
11
12
for
(
a
=
3
;
a
>=
0
;
a
--)
13
for
(
b
=
7
;
b
>=
0
;
b
--)
14
l
|=
c
[
a
+
60
];
15
return
l
;
16
}
17
18
int
19
main
()
20
{
21
int
i
;
22
for
(
i
=
0
;
i
<
60
;
i
++)
23
c
[
i
] =
1
;
24
for
(;
i
<
64
;
i
++)
25
c
[
i
] =
1
<< (
i
-
59
);
26
if
(
foo
() !=
30
)
27
abort
();
28
return
0
;
29
}
30