public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/8581: assert distracts -Wunreachable-code in g++-3.2
@ 2002-11-20 18:06 bangerth
  0 siblings, 0 replies; 2+ messages in thread
From: bangerth @ 2002-11-20 18:06 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, michael.pronath, nobody

Synopsis: assert distracts -Wunreachable-code in g++-3.2

State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Thu Nov 14 07:37:36 2002
State-Changed-Why:
    True. I can confirm this, it's somewhat strange. This is
    a regression against 3.0.4, but already fixed on mainline.

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


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

* c++/8581: assert distracts -Wunreachable-code in g++-3.2
@ 2002-11-20 17:58 michael.pronath
  0 siblings, 0 replies; 2+ messages in thread
From: michael.pronath @ 2002-11-20 17:58 UTC (permalink / raw)
  To: gcc-gnats


>Number:         8581
>Category:       c++
>Synopsis:       assert distracts -Wunreachable-code in g++-3.2
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 14 06:06:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     michael.pronath@gmx.de
>Release:        3.2.1
>Organization:
>Environment:
Linux glibc2 Debian
>Description:
the option -Wunreachable-code gives me wrong warnings about
unreachable code after some assert(...) statements with g++-3.2, but not with g++-3.0
example see attachment
>How-To-Repeat:
g++-3.2 -Wunreachable-code testit.c
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="testit.c"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="testit.c"

I2luY2x1ZGUgPGNhc3NlcnQ+CgppbnQgeno9MTsKCmludCBtYWluKCkKewogICBhc3NlcnQoeno+
MCk7CiAgIGludCB4OwoKICAgeD00OwogICByZXR1cm4gMDsKfQo=


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

end of thread, other threads:[~2002-11-14 15:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-20 18:06 c++/8581: assert distracts -Wunreachable-code in g++-3.2 bangerth
  -- strict thread matches above, loose matches on Subject: below --
2002-11-20 17:58 michael.pronath

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