PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / vect-82.c
blobfcafb36c06388302775a68f0f056b925725e8aa8
1 /* { dg-skip-if "powerpc and integer vectorization only" { ! { powerpc*-*-* && vect_int } } } */
3 #include <stdarg.h>
4 #include "tree-vect.h"
6 #define N 16
8 __attribute__ ((noinline))
9 int main1 ()
11 long long unsigned int ca[N];
12 int i;
14 for (i = 0; i < N; i++)
16 ca[i] = 0;
19 /* check results: */
20 for (i = 0; i < N; i++)
22 if (ca[i] != 0)
23 abort ();
26 return 0;
29 int main (void)
31 check_vect ();
33 return main1 ();
36 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */