This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/61126] 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: Fri, 09 May 2014 16:04:47 +0000
- Subject: [Bug fortran/61126] 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/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61126
--- Comment #8 from Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> ---
(In reply to Tobias Burnus from comment #6)
> Thus, in GCC - whether Fortran or C - it is enabled with -Wextra, but only
> if also -Wunused is used. The latter is implied by -Wall.
This is not necessarily true for gfortran, since it doesn't use the common
options machinery and it fiddles with the options directly. I'm not sure if
this is the case or not for this particular option, but it could be a
possibility (one more reason to move gfortran to use the common machinery).