public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* libstdc++/8645: unnecessary non-0 checks in stl_tree.h
@ 2002-11-26 18:36 erseklaszlo
0 siblings, 0 replies; only message in thread
From: erseklaszlo @ 2002-11-26 18:36 UTC (permalink / raw)
To: gcc-gnats
>Number: 8645
>Category: libstdc++
>Synopsis: unnecessary non-0 checks in stl_tree.h
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: pessimizes-code
>Submitter-Id: net
>Arrival-Date: Tue Nov 19 12:36:02 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Laszlo Ersek
>Release: 3.0.2
>Organization:
>Environment:
>Description:
This is not a bug, just two (I think) unnecessary non-0 checks in "g++-v3/bits/stl_tree.h", at lines 416 and 445. At these places, "__w->_M_left" and "__w->_M_right" can't be 0. (They are valid and red, which follows from lines 406-409, 414-415 and 435-438, 443-444).
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-11-19 20:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-26 18:36 libstdc++/8645: unnecessary non-0 checks in stl_tree.h erseklaszlo
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).