LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / vect-82_64.c
blob358a85a838f7519a0c1e0b2bae037d6e8aafeea9
1 /* { dg-do run { target { { powerpc*-*-* && lp64 } && powerpc_altivec_ok } } } */
2 /* { dg-do compile { target { { powerpc*-*-* && ilp32 } && powerpc_altivec_ok } } } */
3 /* { dg-additional-options "-mpowerpc64 -maltivec" } */
4 /* { dg-skip-if "" { powerpc-ibm-aix* } } */
6 #include <stdarg.h>
7 #include "tree-vect.h"
9 #define N 16
11 __attribute__ ((noinline))
12 int main1 ()
14 long long unsigned int ca[N];
15 int i;
17 for (i = 0; i < N; i++)
19 ca[i] = 0;
22 /* check results: */
23 for (i = 0; i < N; i++)
25 if (ca[i] != 0)
26 abort ();
29 return 0;
32 int main (void)
34 check_vect ();
36 return main1 ();
39 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */