| 1 |
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */ |
| 2 |
/* { dg-options "-fopenmp" } */ |
| 3 |
|
| 4 |
/* Test that array subscripts are properly adjusted. */ |
| 5 |
|
| 6 |
int array[1000]; |
| 7 |
#pragma omp declare simd notinbranch simdlen(4) |
| 8 |
void foo (int i) |
| 9 |
{ |
| 10 |
array[i] = 555; |
| 11 |
} |