This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/40094] FAIL: ext/throw_allocator/deallocate_global.cc execution test
- From: "dave at hiauly1 dot hia dot nrc dot ca" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 May 2009 20:15:57 -0000
- Subject: [Bug libstdc++/40094] FAIL: ext/throw_allocator/deallocate_global.cc execution test
- References: <bug-40094-276@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #18 from dave at hiauly1 dot hia dot nrc dot ca 2009-05-28 20:15 -------
Subject: Re: FAIL: ext/throw_allocator/deallocate_global.cc execution test
> At least, now we are sure the issue was not caused by my tentative fixes to
> throw_allocator.
My conclusion was that this is a target bug involving the ordering
of atexit and static destructors. The C++ standard apparently requires
that these be interleaved based on the order of registration. I don't
think it would be possible to achieve full compliance because of the
limited capability of atexit, but it might be possible to change the
ordering.
Dave
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40094