* config.gcc: Remove MASK_JUMP_IN_DELAY from target_cpu_default2.
[official-gcc.git] / gcc / testsuite / c-c++-common / gomp / simd4.c
blob399003388ae148fb61499a0f8be8cbc196049b68
1 /* { dg-do compile } */
2 /* { dg-options "-fopenmp" } */
3 /* { dg-additional-options "-std=c99" { target c } } */
5 struct S *p; /* { dg-message "forward declaration" "" { target c++ } } */
6 float f;
7 int j;
9 void
10 foo (void)
12 #pragma omp simd linear(p) linear(f : 1)
13 for (int i = 0; i < 10; i++)
15 #pragma omp simd linear(j : 7.0) /* { dg-error "step expression must be integral" } */
16 for (int i = 0; i < 10; i++)
20 /* { dg-error "linear clause applied to" "" { target *-*-* } 12 } */
21 /* { dg-error "(incomplete|undefined) type" "" { target *-*-* } 12 } */