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

[Bug libstdc++/40094] FAIL: ext/throw_allocator/deallocate_global.cc execution test



------- 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


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