1 /* { dg-do run } */ 2 /* { dg-require-effective-target arm_neon_hw } */ 3 /* { dg-options "-mfpu=neon -ffast-math -ftree-vectorize -fno-common -O2 -mno-unaligned-access" } */ 4 5 6 /* Test for-mno-unaligned-access and -ftree-vectorize and results bus error. */ 7 #define N 128 8 9 char ia[N]; 10 char ib[N+1]; 11 main()12int main() { 13 int i; 14 for(i = 0; i < N; ++i) { 15 ia[i] = ib[i + 1]; 16 } 17 18 return 0; 19 } 20 21