This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Remove std::construct and std::destroy
- To: Jeffrey Oldham <oldham at codesourcery dot com>,libstdc++ at gcc dot gnu dot org
- Subject: Re: Remove std::construct and std::destroy
- From: Stephen M. Webb <stephen at bregmasoft dot com>
- Date: Tue, 3 Jul 2001 16:05:00 -0400
- Organization: CRYPTOCard Corporation
- References: <20010703123911.A12094@codesourcery.com>
- Reply-To: stephen at bregmasoft dot com
On Tue, 03 Jul 2001, Jeffrey Oldham wrote:
>
> This morning, gcc/testsuite/g++.old-deja/g++.robertl/eb130.C failed
> for my i686-pc-linux-gnu gcc 3.1 build. The problem was caused by a
> call to an undefined destroy() inside
> libstdc++-v3/include/ext/stl_hashtable.h's hashtable::_M_delete_node.
>
> I modifying its source code using the attached patch which fixed the
> problem but gcc.c-torture/execute/920730-1t.c then failed. It does
> not seem that my patch caused the problem.
>
> Would you be willing to look at the patch for correctness?
*blush* I missed the extensions entirely. Your patch looks correct but you may
as well fix ext/stl_rope.h and ext/ropeimpl.h while you're at it, it's just
simple text substitution.
For what it's worth, I got the same results from gcc.c-torture/execute/920730-1t.c
both before and after patching stl_hashtable.h.
Stephen M. Webb