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 other/28145] C++ (throw() and catch(...) {/* fall through */ } ) and pthread cancellation are incompatible (at least with NPTL)



------- Comment #6 from jason at gcc dot gnu dot org  2006-07-31 09:38 -------
Created an attachment (id=11978)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11978&action=view)
libstdc++ patch to allow catching forced unwind separately

Trying to move this issue forward: here's a libsupc++ patch that allows users
to detect forced unwind using a magic class.  This is a little ugly, as there
isn't actually an object for the catch parameter to bind to.  It should also be
discussed with the C++ ABI committee; I notice that the ABI EH document still
says  that you can't catch forced unwind (like Ada).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28145


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