This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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]

Re: [PATCH] libstdc++/8645


On Fri, Nov 22, 2002 at 03:07:23PM +0100, Paolo Carlini wrote:
> 	* include/bits/stl_tree.h (_Rb_tree_rebalance_for_erase):
> 	Don't check that __w->_M_left != 0 and __w->_M_right != 0
> 	when they can't be otherwise.

Thanks.  As an aside, I wondered if those couldn't already be elided by
the compiler using

    http://gcc.gnu.org/news/null.html

but I don't know whether this optimization is still performed.


Phil

-- 
I would therefore like to posit that computing's central challenge, viz. "How
not to make a mess of it," has /not/ been met.
                                                 - Edsger Dijkstra, 1930-2002


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