https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96255
--- Comment #16 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- (In reply to Jerry DeLisle from comment #15) > > Notice that outside the loop the index variables are not defined but we do > not give an diagnostic about not being implicitly declared. > > Seeking clarification/opinion. Both NAG and Flang-new give an error.