[Bug fortran/88248] [F18] Bogus warning about obsolescent feature: Labeled DO statement
gscfq@t-online.de
gcc-bugzilla@gcc.gnu.org
Wed Nov 28 18:51:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88248
--- Comment #1 from G. Steinmetz <gscfq@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)
More information about the Gcc-bugs
mailing list