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



------- 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


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