aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorTobias Burnus <burnus@net-b.de>2014-06-18 08:22:11 +0200
committerTobias Burnus <burnus@gcc.gnu.org>2014-06-18 08:22:11 +0200
commit3e9c4087ccc59ef152dd387e51fa544c64c58b38 (patch)
tree6662d8074665e426a3cd008068f13b04cf00f2de /gcc
parentf2617193cb6ebc37c948688bb360b992f2095247 (diff)
downloadgcc-3e9c4087ccc59ef152dd387e51fa544c64c58b38.zip
gcc-3e9c4087ccc59ef152dd387e51fa544c64c58b38.tar.gz
gcc-3e9c4087ccc59ef152dd387e51fa544c64c58b38.tar.bz2
re PR fortran/61126 (gfortran does not enable -Wununused-parameter with -Wextra)
2014-06-18 Tobias Burnus <burnus@net-b.de> PR fortran/61126 * invoke.texi (-Wunused-parameter): Make clearer when -Wextra implies this option. From-SVN: r211767
Diffstat (limited to 'gcc')
-rw-r--r--gcc/fortran/ChangeLog6
-rw-r--r--gcc/fortran/invoke.texi3
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index fefa81b..cbaf2ab 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,9 @@
+2014-06-18 Tobias Burnus <burnus@net-b.de>
+
+ PR fortran/61126
+ * invoke.texi (-Wunused-parameter): Make clearer when
+ -Wextra implies this option.
+
2014-06-18 Manuel López-Ibáñez <manu@gcc.gnu.org>
PR fortran/61126
diff --git a/gcc/fortran/invoke.texi b/gcc/fortran/invoke.texi
index 4c7d4a3..af71ad9 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}