public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c/7127: -Wswitch ineffective on GCC 3.0/Debian (Regression from 2.95)
@ 2003-01-08  1:46 bangerth
  0 siblings, 0 replies; 5+ messages in thread
From: bangerth @ 2003-01-08  1:46 UTC (permalink / raw)
  To: claus.fischer, gcc-bugs, gcc-prs, nobody

Synopsis: -Wswitch ineffective on GCC 3.0/Debian (Regression from 2.95)

State-Changed-From-To: open->closed
State-Changed-By: bangerth
State-Changed-When: Tue Jan  7 17:46:03 2003
State-Changed-Why:
    Fixed some time ago.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7127


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

* Re: c/7127: -Wswitch ineffective on GCC 3.0/Debian (Regression from 2.95)
@ 2002-06-25 16:06 Andrew Pinski
  0 siblings, 0 replies; 5+ messages in thread
From: Andrew Pinski @ 2002-06-25 16:06 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c/7127; it has been noted by GNATS.

From: Andrew Pinski <pinskia@physics.uc.edu>
To: Claus Fischer <claus.fischer@clausfischer.com>
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: c/7127: -Wswitch ineffective on GCC 3.0/Debian (Regression from 2.95)
Date: Tue, 25 Jun 2002 18:52:55 -0400

 I found one:
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-
 trail&database=gcc&pr=4475
 Some times the bug search engine is just not working.
 If you wan to check if is fixed in gcc check out the mailing 
 list archives.
 
 Thanks,
 Andrew Pinski
 
 On Tuesday, June 25, 2002, at 06:41 , Claus Fischer wrote:
 
 > On Tue, Jun 25, 2002 at 06:38:44PM -0400, Andrew Pinski wrote:
 > : This has been fixed in gcc 3.2 at least, I think this was fixed
 > : in 3.1 also.
 >
 > Thank you. I thought it might have been, but I searched
 > the GNATS frontend for -Wswitch and didn't find anything.
 >
 > Apologies for the inconvenience.
 >
 > Claus
 >
 > --
 > Claus Fischer <claus.fischer@clausfischer.com>
 > http://www.clausfischer.com/
 >
 >
 


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

* Re: c/7127: -Wswitch ineffective on GCC 3.0/Debian (Regression from 2.95)
@ 2002-06-25 15:56 Claus Fischer
  0 siblings, 0 replies; 5+ messages in thread
From: Claus Fischer @ 2002-06-25 15:56 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c/7127; it has been noted by GNATS.

From: Claus Fischer <claus.fischer@clausfischer.com>
To: Andrew Pinski <pinskia@physics.uc.edu>
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: c/7127: -Wswitch ineffective on GCC 3.0/Debian (Regression from 2.95)
Date: Wed, 26 Jun 2002 00:41:40 +0200

 On Tue, Jun 25, 2002 at 06:38:44PM -0400, Andrew Pinski wrote:
 : This has been fixed in gcc 3.2 at least, I think this was fixed 
 : in 3.1 also.
 
 Thank you. I thought it might have been, but I searched
 the GNATS frontend for -Wswitch and didn't find anything.
 
 Apologies for the inconvenience.
 
 Claus
 
 -- 
 Claus Fischer <claus.fischer@clausfischer.com>
 http://www.clausfischer.com/


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

* Re: c/7127: -Wswitch ineffective on GCC 3.0/Debian (Regression from 2.95)
@ 2002-06-25 15:46 Andrew Pinski
  0 siblings, 0 replies; 5+ messages in thread
From: Andrew Pinski @ 2002-06-25 15:46 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c/7127; it has been noted by GNATS.

From: Andrew Pinski <pinskia@physics.uc.edu>
To: claus.fischer@clausfischer.com
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: c/7127: -Wswitch ineffective on GCC 3.0/Debian (Regression from 2.95)
Date: Tue, 25 Jun 2002 18:38:44 -0400

 This has been fixed in gcc 3.2 at least, I think this was fixed 
 in 3.1 also.
 
 Thanks,
 Andrew Pinski
 


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

* c/7127: -Wswitch ineffective on GCC 3.0/Debian (Regression from 2.95)
@ 2002-06-25 15:46 claus.fischer
  0 siblings, 0 replies; 5+ messages in thread
From: claus.fischer @ 2002-06-25 15:46 UTC (permalink / raw)
  To: gcc-gnats


>Number:         7127
>Category:       c
>Synopsis:       -Wswitch ineffective on GCC 3.0/Debian (Regression from 2.95)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 25 15:26:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Claus Fischer
>Release:        GCC 3.0.4-7 as packaged in Debian testing
>Organization:
>Environment:
Debian GNU/Linux Woody
>Description:
In Debian's gcc 3.0.4-7 the -Wswitch option does not work as expected; gcc 2.95 does:
cat >t.c <<EOF
enum {a, b} x = a;

int main()
{
    switch (x)
    {
    case a:
    break;
    }
    return 0;
}
EOF

$ gcc -Wswitch -o t t.c
  t.c: In function `main':
  t.c:9: warning: enumeration value `b' not handled in switch

$ gcc-3.0 -Wswitch -o t t.c

(No warning message).

>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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

end of thread, other threads:[~2003-01-08  1:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-08  1:46 c/7127: -Wswitch ineffective on GCC 3.0/Debian (Regression from 2.95) bangerth
  -- strict thread matches above, loose matches on Subject: below --
2002-06-25 16:06 Andrew Pinski
2002-06-25 15:56 Claus Fischer
2002-06-25 15:46 claus.fischer
2002-06-25 15:46 Andrew Pinski

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).