aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/invoke.texi
diff options
context:
space:
mode:
authorBernhard Fischer <aldot@gcc.gnu.org>2006-10-15 14:12:59 +0200
committerBernhard Reutner-Fischer <aldot@gcc.gnu.org>2006-10-15 14:12:59 +0200
commit2e5758e8c13ded54350723f97d339c4a2d61c3ca (patch)
tree9cdc011254cd071b183d4caa9eff4ce2d25931e3 /gcc/fortran/invoke.texi
parent9d6968a4dac504d9353c68944b401666922f1f93 (diff)
downloadgcc-2e5758e8c13ded54350723f97d339c4a2d61c3ca.zip
gcc-2e5758e8c13ded54350723f97d339c4a2d61c3ca.tar.gz
gcc-2e5758e8c13ded54350723f97d339c4a2d61c3ca.tar.bz2
re PR fortran/24767 (gfortran: -Wno-unused-label does not work properly)
fortran/ChangeLog 2006-10-13 Bernhard Fischer <aldot@gcc.gnu.org> PR fortran/24767 * lang.opt (Wunused-labels): Remove. * options.c: Remove references to gfc_option.warn_unused_labels. * gfortran.h: Remove variable warn_unused_labels. * resolve.c (warn_unused_fortran_label) : Use warn_unused_label instead of gfc_option.warn_unused_labels. * invoke.texi: Remove documentation of -Wunused-labels. testsuite/ChangeLog 2006-10-13 Bernhard Fischer <aldot@gcc.gnu.org> PR fortran/24767 * gfortran.dg/label_4.f90: Adjust warning flag. From-SVN: r117743
Diffstat (limited to 'gcc/fortran/invoke.texi')
-rw-r--r--gcc/fortran/invoke.texi12
1 files changed, 2 insertions, 10 deletions
diff --git a/gcc/fortran/invoke.texi b/gcc/fortran/invoke.texi
index 91ad3ca..b742d169 100644
--- a/gcc/fortran/invoke.texi
+++ b/gcc/fortran/invoke.texi
@@ -130,7 +130,7 @@ by type. Explanations are in the following sections.
-fsyntax-only -pedantic -pedantic-errors @gol
-w -Wall -Waliasing -Wampersand -Wconversion -Wimplicit-interface @gol
-Wtabs -Wnonstd-intrinsics -Wsurprising -Wunderflow @gol
--Wunused-labels -Wline-truncation -W}
+-Wline-truncation -W}
@item Debugging Options
@xref{Debugging Options,,Options for Debugging Your Program or GCC}.
@@ -403,7 +403,7 @@ Inhibit all warning messages.
@cindex warnings, all
Enables commonly used warning options pertaining to usage that
we recommend avoiding and that we believe are easy to avoid.
-This currently includes @option{-Wunused-labels}, @option{-Waliasing},
+This currently includes @option{-Waliasing},
@option{-Wampersand}, @option{-Wsurprising}, @option{-Wnonstd-intrinsic},
@option{-Wno-tabs}, and @option{-Wline-truncation}.
@@ -501,14 +501,6 @@ Produce a warning when numerical constant expressions are
encountered, which yield an UNDERFLOW during compilation.
-@cindex -Wunused-labels option
-@cindex options, -Wunused-labels
-@item -Wunused-labels
-@cindex unused labels
-@cindex labels, unused
-Warn whenever a label is defined but never referenced.
-
-
@cindex -Werror
@cindex options, -Werror
@item -Werror