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
PR tree-optimization/84740
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
vect
/
pr36493.c
blob
076b40608220d9acf889d3358b1f4019f7d90c01
1
/* { dg-require-effective-target vect_long } */
2
3
#include
"tree-vect.h"
4
5
int
6
main
(
void
)
7
{
8
int
i
;
9
long
x
[
12
]
__attribute__
((
aligned
(
__BIGGEST_ALIGNMENT__
)));
10
11
check_vect
();
12
13
x
[
0
] =
1
;
14
for
(
i
=
0
;
i
<
12
;
i
++)
15
x
[
i
] =
i
;
16
17
if
(
x
[
0
] !=
0
)
18
abort
();
19
20
return
0
;
21
}
22
23
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
24