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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEW

--- Comment #15 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> > AFAICT everything is fixed, but for
> > comment 7 preferring an error instead of the warning. Since warnings can be
> > turned into errors with -Werror, I don't think this PR should stay opened.
>
> I disagree: Code like comment #0 should give an error by default.
> That's also what other compilers do (e.g. ifort & sunf95) and I don't see
> how this can be a useful 'extension'. It is certainly problematic code.

The errors introduced at r124411 have been changed to warnings by Tobias Burnus
at r126271, see the rationale at
https://gcc.gnu.org/ml/fortran/2007-06/msg00519.html.

> Legacy code like the one in comment #11 should be allowed with -std=legacy
> only (if at all).

If there is an agreement about that, this is something that I can handle.

IMO this PR should be closed as FIXED and a new one should be opened for the
warning->error conversion.

Reply via email to