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]

Re: Remove std::construct and std::destroy


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


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