[Bug fortran/80666] character length parameter fails if declaration order incorrect
tkoenig at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Oct 3 10:09:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80666
Thomas Koenig <tkoenig at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
CC| |tkoenig at gcc dot gnu.org
Resolution|--- |WONTFIX
--- Comment #10 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
(In reply to Jos de Kloe from comment #8)
> I understand that you wish to enforce "standards", but removing a
> "Non-standard extension" that was present in older gfortran versions is
> wrong in my opinion. You should at least leave a commandline option or
> environment switch to allow users to compile legacy code that worked fine
> before.
If we were to remove something complex and sometimes essential,
like the CONVERT specifier in the OPEN statement, I would agree
with you.
In this case, the fix to the source code is quite trivial:
Put the declarations in the right order. I've done that,
when I found that g77 pointed out the same error in legacy code
that I maintained.
Resolving as WONTFIX.
More information about the Gcc-bugs
mailing list