This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [PATCH] libstdc++/8645
- From: Phil Edwards <phil at jaj dot com>
- To: Paolo Carlini <pcarlini at unitus dot it>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Fri, 22 Nov 2002 13:33:53 -0500
- Subject: Re: [PATCH] libstdc++/8645
- References: <3DDE3A1B.9040308@unitus.it>
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