Loops can be formed with the usual DO-ENDDO and DO WHILE, or by using a goto or a label. However, the loops must have a single entry and a single exit to be vectorized. Following are the examples of correct and incorrect usages of loop constructs.
Correct Usage |
SUBROUTINE FOO (A, B, C) |
Incorrect Usage |
SUBROUTINE FOO (A, B, C) |