public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/24767]  New: gfortran: -Wno-unused-label does not work properly
@ 2005-11-09 22:08 anlauf at gmx dot de
  2005-11-09 23:14 ` [Bug fortran/24767] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: anlauf at gmx dot de @ 2005-11-09 22:08 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug fortran/24767] gfortran: -Wno-unused-label does not work properly
  2005-11-09 22:08 [Bug fortran/24767] New: gfortran: -Wno-unused-label does not work properly anlauf at gmx dot de
@ 2005-11-09 23:14 ` pinskia at gcc dot gnu dot org
  2006-10-13 10:01 ` patchapp at dberlin dot org
  2006-10-18 21:29 ` burnus at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-09 23:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2005-11-09 23:14 -------
try:
-Wno-unused-labels
Though this is a bug still.

-Wno-unused-label from common.opt should be used instead of -Wno-unused-labels
from fortran/lang.opt.

Confirmed.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |diagnostic
   Last reconfirmed|0000-00-00 00:00:00         |2005-11-09 23:14:28
               date|                            |


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug fortran/24767] gfortran: -Wno-unused-label does not work properly
  2005-11-09 22:08 [Bug fortran/24767] New: gfortran: -Wno-unused-label does not work properly anlauf at gmx dot de
  2005-11-09 23:14 ` [Bug fortran/24767] " pinskia at gcc dot gnu dot org
@ 2006-10-13 10:01 ` patchapp at dberlin dot org
  2006-10-18 21:29 ` burnus at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: patchapp at dberlin dot org @ 2006-10-13 10:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from patchapp at dberlin dot org  2006-10-13 10:01 -------
Subject: Bug number PR24767

A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2006-10/msg00694.html


-- 


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug fortran/24767] gfortran: -Wno-unused-label does not work properly
  2005-11-09 22:08 [Bug fortran/24767] New: gfortran: -Wno-unused-label does not work properly anlauf at gmx dot de
  2005-11-09 23:14 ` [Bug fortran/24767] " pinskia at gcc dot gnu dot org
  2006-10-13 10:01 ` patchapp at dberlin dot org
@ 2006-10-18 21:29 ` burnus at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: burnus at gcc dot gnu dot org @ 2006-10-18 21:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from burnus at gcc dot gnu dot org  2006-10-18 21:29 -------
Fixed on trunk


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-10-18 21:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-09 22:08 [Bug fortran/24767] New: gfortran: -Wno-unused-label does not work properly anlauf at gmx dot de
2005-11-09 23:14 ` [Bug fortran/24767] " pinskia at gcc dot gnu dot org
2006-10-13 10:01 ` patchapp at dberlin dot org
2006-10-18 21:29 ` burnus at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).