[Bug fortran/24767] New: gfortran: -Wno-unused-label does not work properly

anlauf at gmx dot de gcc-bugzilla@gcc.gnu.org
Wed Nov 9 22:08:00 GMT 2005


Hi,

compiling

 10   continue
      end

with the command line:

gfc -Wall -Wno-unused-label gfcbug30.f

produces the following warning:

 In file gfcbug30.f:1

 10   continue                                                          
  1
Warning: Label 10 at (1) defined but not used


I thought that -Wno-unused-label is supposed to just suppress
this warning?

Cheers,
-ha


-- 
           Summary: gfortran: -Wno-unused-label does not work properly
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: anlauf at gmx dot de
  GCC host triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24767



More information about the Gcc-bugs mailing list