2010-06-16 Mikael Pettersson <mikpe@it.uu.se>
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr36493.c
blob98517dfc5cec304b54bc9ff0c1561b079b2b95fa
1 /* { dg-require-effective-target vect_long } */
3 #include "tree-vect.h"
5 int
6 main (void)
8 int i;
9 long x[12] __attribute__((aligned(__BIGGEST_ALIGNMENT__)));
11 check_vect ();
13 x[0] = 1;
14 for (i = 0; i < 12; i++)
15 x[i] = i;
17 if (x[0] != 0)
18 abort ();
20 return 0;
23 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
24 /* { dg-final { cleanup-tree-dump "vect" } } */