This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/80701] gfortran ignores dead code after return statement
- From: "dominiq at lps dot ens.fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 10 May 2017 11:50:42 +0000
- Subject: [Bug fortran/80701] gfortran ignores dead code after return statement
- Auto-submitted: auto-generated
- References: <bug-80701-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80701
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2017-05-10
Ever confirmed|0 |1
--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> The compiler does generate a warning about the implicit interface if
> -Wimplicit-interface is turned on explicitly. I would suggest this should
> be on by default with -Wall on any source not written in F77,
How do you know it before hand? In addition I don't think the warning is
relevant: if I add an interface, the warning disappears (as it should), but
there is still no mention of the "undefined" symbol that is used in the code.
> or when a higher standard is enforced.
IMO this should be closed as WONTFIX.