This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/85575] Acceptance of invalid code: ordering of declaration statements with implicit typing
- From: "juergen.reuter at desy dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 02 May 2018 07:38:30 +0000
- Subject: [Bug fortran/85575] Acceptance of invalid code: ordering of declaration statements with implicit typing
- Auto-submitted: auto-generated
- References: <bug-85575-4@http.gcc.gnu.org/bugzilla/>
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.