1 ! RUN: %python %S/../test_errors.py %s %flang -fopenmp
8 !ERROR: The value of the parameter in the COLLAPSE or ORDERED clause must not be larger than the number of nested loops following the construct.
11 !ERROR: CYCLE statement to non-innermost associated loop of an OpenMP DO construct
21 !ERROR: The value of the parameter in the COLLAPSE or ORDERED clause must not be larger than the number of nested loops following the construct.
25 !ERROR: CYCLE statement to non-innermost associated loop of an OpenMP DO construct
34 !ERROR: The value of the parameter in the COLLAPSE or ORDERED clause must not be larger than the number of nested loops following the construct.
37 !ERROR: CYCLE statement to non-innermost associated loop of an OpenMP DO construct
48 !ERROR: The value of the parameter in the COLLAPSE or ORDERED clause must not be larger than the number of nested loops following the construct.
51 !ERROR: CYCLE statement to non-innermost associated loop of an OpenMP DO construct
52 if (i
.lt
. 1) cycle foo
62 !ERROR: The value of the parameter in the COLLAPSE or ORDERED clause must not be larger than the number of nested loops following the construct.
66 !ERROR: CYCLE statement to non-innermost associated loop of an OpenMP DO construct
79 !ERROR: CYCLE statement to non-innermost associated loop of an OpenMP DO construct
80 if (k
.lt
. 1) cycle foo
91 !ERROR: CYCLE statement to non-innermost associated loop of an OpenMP DO construct
92 if (k
.lt
. 1) cycle foo1
104 !ERROR: CYCLE statement to non-innermost associated loop of an OpenMP DO construct
105 if (k
.lt
. 1) cycle foo
116 !ERROR: CYCLE statement to non-innermost associated loop of an OpenMP DO construct
117 if (k
.lt
. 1) cycle foo
125 !ERROR: The value of the parameter in the COLLAPSE or ORDERED clause must not be larger than the number of nested loops following the construct.
126 !$omp do collapse(2) ordered(3)
129 !ERROR: CYCLE statement to non-innermost associated loop of an OpenMP DO construct
130 if (k
.lt
. 1) cycle foo