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
LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
vect
/
pr52298.c
blob
e1185e662b48c98fd599c4f519e7432ae161bb3a
1
/* { dg-additional-options "-O1 -fno-tree-pre -fno-tree-loop-im" } */
2
3
#include
"tree-vect.h"
4
5
extern
void
abort
(
void
);
6
int
c
[
80
];
7
8
__attribute__
((
noinline
))
int
9
foo
(
void
)
10
{
11
int
l
=
0
;
12
int
a
,
b
;
13
14
for
(
a
=
3
;
a
>=
0
;
a
--)
15
for
(
b
=
7
;
b
>=
0
;
b
--)
16
l
|=
c
[
a
+
60
];
17
return
l
;
18
}
19
20
int
21
main
()
22
{
23
int
i
;
24
check_vect
();
25
for
(
i
=
0
;
i
<
60
;
i
++)
26
c
[
i
] =
1
;
27
for
(;
i
<
64
;
i
++)
28
c
[
i
] =
1
<< (
i
-
59
);
29
if
(
foo
() !=
30
)
30
abort
();
31
return
0
;
32
}
33