[AArch64] Fix SVE testsuite failures for ILP32 (PR 83846)
[official-gcc.git] / gcc / testsuite / g++.dg / torture / ppc-ldst-array.C
blob75862e2b5be687a9ec032e0dc65e5a791c89e256
1 /* { dg-do compile { target { powerpc64*-*-* } } } */
2 /* { dg-skip-if "do not override mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */
3 /* { dg-options "-mcpu=power8" } */
5 /* When compiled with C++, this code was breaking because of different
6    tree representations of arrays between C and C++.  */
8 #include <altivec.h>
10 extern vector float vf;
12 void foo ()
14   float __attribute__((aligned (16))) x[4];
15   float __attribute__((aligned (16))) y[4];
16   vf = vec_ld (0, x);
17   vec_st (vf, 0, y);