[Bug fortran/85575] Acceptance of invalid code: ordering of declaration statements with implicit typing

juergen.reuter at desy dot de gcc-bugzilla@gcc.gnu.org
Wed May 2 07:38:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85575

--- Comment #3 from Jürgen Reuter <juergen.reuter at desy dot de> ---
This seems to be a GNU extension. In fact, when compiling with -std=f2008
gfortran throws an error. So my guess is this a wanted extension for backwards
compatibility with old programs, well not too old, as they must at least have
modules. If that's the case (wanted extension) then that's probably a
"worksforme" close case.


More information about the Gcc-bugs mailing list