2018-01-16 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr36493.c
blob076b40608220d9acf889d3358b1f4019f7d90c01
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" } } */