https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88248
--- Comment #1 from G. Steinmetz <gs...@t-online.de> --- For completeness, similar with outdated return labels : $ cat z3.f90 program p do call sub (*98, *99) end do 98 continue 99 continue end $ gfortran-9-20181125 -c z3.f90 -std=f2008 z3.f90:3:24: 3 | call sub (*98, *99) | 1 Warning: Obsolescent feature: Alternate-return argument at (1) $ gfortran-9-20181125 -c z3.f90 -std=f2018 z3.f90:3:24: 3 | call sub (*98, *99) | 1 Warning: Obsolescent feature: Alternate-return argument at (1) z3.f90:5:2: 5 | 98 continue | 1 Warning: Fortran 2018 obsolescent feature: Labeled DO statement at (1) z3.f90:6:2: 6 | 99 continue | 1 Warning: Fortran 2018 obsolescent feature: Labeled DO statement at (1)