PR c++/67273
[official-gcc.git] / gcc / testsuite / gcc.target / arm / vect-noalign.c
blobd507175cc6cf919433d651f8919f88178acb96ba
1 /* { dg-do run } */
2 /* { dg-require-effective-target arm_neon_hw } */
3 /* { dg-options "-O2 -fno-common -ftree-vectorize -mno-unaligned-access" } */
4 /* { dg-add-options arm_neon } */
7 /* Test for-mno-unaligned-access and -ftree-vectorize and results bus error. */
8 #define N 128
10 char ia[N];
11 char ib[N+1];
13 int main() {
14 int i;
15 for(i = 0; i < N; ++i) {
16 ia[i] = ib[i + 1];
19 return 0;