This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/28145] C++ (throw() and catch(...) {/* fall through */ } ) and pthread cancellation are incompatible (at least with NPTL)
- From: "jason at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Jul 2006 09:38:14 -0000
- Subject: [Bug other/28145] C++ (throw() and catch(...) {/* fall through */ } ) and pthread cancellation are incompatible (at least with NPTL)
- References: <bug-28145-3264@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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