From 2e5758e8c13ded54350723f97d339c4a2d61c3ca Mon Sep 17 00:00:00 2001 From: Bernhard Fischer Date: Sun, 15 Oct 2006 14:12:59 +0200 Subject: re PR fortran/24767 (gfortran: -Wno-unused-label does not work properly) fortran/ChangeLog 2006-10-13 Bernhard Fischer 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 PR fortran/24767 * gfortran.dg/label_4.f90: Adjust warning flag. From-SVN: r117743 --- gcc/fortran/invoke.texi | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'gcc/fortran/invoke.texi') 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 -- cgit v1.1