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 } */
5 
6 
7 /* Test for-mno-unaligned-access and -ftree-vectorize  and results bus error. */
8 #define N 128
9 
10 char ia[N];
11 char ib[N+1];
12 
main()13 int main() {
14   int i;
15   for(i = 0; i < N; ++i) {
16     ia[i] = ib[i + 1];
17   }
18 
19   return 0;
20 }
21 
22