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: 1 Aug 2006 02:13:08 -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 #8 from jason at gcc dot gnu dot org 2006-08-01 02:13 -------
Created an attachment (id=11985)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11985&action=view)
libstdc++ patch to prevent ... from catching forced unwird
Finally, this patch stops ... from catching forced unwind, as specified by the
ABI.
I think the catch (abi::__forced_unwind &) patch should be uncontroversial, and
works well with either solution to the catch (...) problem.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28145