* testsuite/libgomp.fortran/vla7.f90: Add -w to options.
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / vect-113.c
blobe09a16b365574ec4b12406bff801fc9da8422df5
1 /* { dg-require-effective-target vect_float } */
3 #include <stdarg.h>
4 #include "tree-vect.h"
6 #define N 16
8 int
9 main1 (void)
11 int i;
12 float a[N];
14 /* Induction. */
15 for ( i = 0; i < N; i++)
17 a[i] = i;
20 for ( i = 0; i < N; i++)
22 if (a[i] != i)
23 abort ();
26 return 0;
29 int main (void)
31 check_vect ();
32 return main1 ();
35 /* { dg-final { scan-tree-dump-times "vectorized 0 loops" 1 "vect" } } */
36 /* { dg-final { cleanup-tree-dump "vect" } } */