bug 2474 and cxa_atexit

Nathan Sidwell nathan@codesourcery.com
Fri May 4 05:56:00 GMT 2001


Hi,
bug 2474 concerns static object destruction ordering. That has
to be done in reverse order of constructor _completion_ [3.6.3]/1
The cxa_atexit API DTRT here, the non cxa_atexit algorithm gets it
wrong, as the bug report shows.

Will -fuse-cxa-atexit be enabled by default on the 3.0 branch?
Needless to say, this is an ABI issue. I have marked the bug
high priority.

nathan
-- 
Dr Nathan Sidwell   ::   http://www.codesourcery.com   ::   CodeSourcery LLC
         'But that's a lie.' - 'Yes it is. What's your point?'
nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org



More information about the Gcc-bugs mailing list