blob: a934233a33df86ed4ca9bfe9aac65e39363689c3 [file] [log] [blame]
/* { dg-do run } */
/* { dg-require-effective-target arm_neon_hw } */
/* { dg-options "-mfpu=neon -ffast-math -ftree-vectorize -fno-common -O2 -mno-unaligned-access" } */
/* Test for-mno-unaligned-access and -ftree-vectorize and results bus error. */
#define N 128
char ia[N];
char ib[N+1];
int main() {
int i;
for(i = 0; i < N; ++i) {
ia[i] = ib[i + 1];
}
return 0;
}