FORTRAN 77 Language Reference

Restrictions

Jumping into the range of a DO WHILE loop from outside its range can produce unpredictable results.