This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/61126] gfortran does not enable -Wununused-parameter with -Wextra


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).

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]