This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/61126] [4.10 Regression] gfortran does not enable -Wununused-parameter with -Wextra
- From: "manu at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 20 May 2014 09:48:44 +0000
- Subject: [Bug fortran/61126] [4.10 Regression] gfortran does not enable -Wununused-parameter with -Wextra
- Auto-submitted: auto-generated
- References: <bug-61126-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61126
--- Comment #24 from Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> ---
(In reply to Dominique d'Humieres from comment #23)
> Adding -Wall to the dg-options let the test succeed (in line with the
> gfortran manual, see comment 21):
This is enough to make the test pass, but it is not enough to get the correct
behavior and it will get broken by other reason. The patch in comment #10 is
needed independently of what gfortran chooses.