This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

libstdc++/8645: unnecessary non-0 checks in stl_tree.h


>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]