From: Tobias Burnus Date: Wed, 18 Jun 2014 06:22:11 +0000 (+0200) Subject: re PR fortran/61126 (gfortran does not enable -Wununused-parameter with -Wextra) X-Git-Tag: releases/gcc-5.1.0~6814 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3e9c4087ccc59ef152dd387e51fa544c64c58b38;p=thirdparty%2Fgcc.git re PR fortran/61126 (gfortran does not enable -Wununused-parameter with -Wextra) 2014-06-18 Tobias Burnus PR fortran/61126 * invoke.texi (-Wunused-parameter): Make clearer when -Wextra implies this option. From-SVN: r211767 --- diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index fefa81b03a26..cbaf2ab30ea3 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,9 @@ +2014-06-18 Tobias Burnus + + PR fortran/61126 + * invoke.texi (-Wunused-parameter): Make clearer when + -Wextra implies this option. + 2014-06-18 Manuel López-Ibáñez PR fortran/61126 diff --git a/gcc/fortran/invoke.texi b/gcc/fortran/invoke.texi index 4c7d4a3bef03..af71ad9559c5 100644 --- a/gcc/fortran/invoke.texi +++ b/gcc/fortran/invoke.texi @@ -911,7 +911,8 @@ Contrary to @command{gcc}'s meaning of @option{-Wunused-parameter}, @command{gfortran}'s implementation of this option does not warn about unused dummy arguments (see @option{-Wunused-dummy-argument}), but about unused @code{PARAMETER} values. @option{-Wunused-parameter} -is not included in @option{-Wall} but is implied by @option{-Wall -Wextra}. +is implied by @option{-Wextra} if also @option{-Wunused} or +@option{-Wall} is used. @item -Walign-commons @opindex @code{Walign-commons}