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]

bug 2474 and cxa_atexit


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


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