libstdc++ PATCH for c++/41174, c++/59224, Core DR 475

Jason Merrill
Mon Jan 27 13:57:00 GMT 2014

DR 475 clarified that uncaught_exception shouldn't return true until we 
are done creating the exception object and enter the unwinder:

Fixed by moving the adjustment of the uncaughtExceptions count from the 
allocation to the throw.

Tested x86_64-pc-linux-gnu, applying to trunk and 4.8.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 41174.patch
Type: text/x-patch
Size: 3271 bytes
Desc: not available
URL: <>

More information about the Gcc-patches mailing list