LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / vect-83_64.c
bloba5e897e093d955e0d1aff88021f99caf3a70d928
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] = 2;
22 /* check results: */
23 for (i = 0; i < N; i++)
25 if (ca[i] != 2)
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" } } */