This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/28145] C++ (throw() and catch(...) {/* fall through */ } ) and pthread cancellation are incompatible (at least with NPTL)
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Jun 2006 01:43:41 -0000
- Subject: [Bug libstdc++/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 #2 from pinskia at gcc dot gnu dot org 2006-06-24 01:43 -------
Actually I think the consensus was talk to the C++ and POSIX standards comittee
about this case.
It is not just libstdc++ that could cause problems but any program that uses
throw() or catch(...) {/* fall through */ }.
In fact I can come up with a simple C++ case which fails without using
libstdc++.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |minor
Summary|libstdc++ and pthread |C++ (throw() and catch(...)
|cancellation are |{/* fall through */ } ) and
|incompatible (at least with |pthread cancellation are
|NPTL) |incompatible (at least with
| |NPTL)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28145