[Bug libstdc++/78015] pthread_cancel while some exception is pending results in std::terminate ()

2017-09-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78015 --- Comment #6 from Jakub Jelinek --- (In reply to Jonathan Wakely from comment #5) > (In reply to Jakub Jelinek from comment #0) > > fails with std::terminate (), while works with -DWORKAROUND. > > It's the other way around, right? Was the

[Bug libstdc++/78015] pthread_cancel while some exception is pending results in std::terminate ()

2017-09-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78015 --- Comment #5 from Jonathan Wakely --- (In reply to Jakub Jelinek from comment #0) > fails with std::terminate (), while works with -DWORKAROUND. It's the other way around, right? Was the testcase meant to use #ifndef? I can take a look at

[Bug libstdc++/78015] pthread_cancel while some exception is pending results in std::terminate ()

2017-09-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78015 --- Comment #4 from Jakub Jelinek --- No, but I'm not familiar enough with the C++ EH libsupc++ stuff to write it myself. Jason, do you think you could try that?

[Bug libstdc++/78015] pthread_cancel while some exception is pending results in std::terminate ()

2016-10-18 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78015 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/78015] pthread_cancel while some exception is pending results in std::terminate ()

2016-10-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78015 --- Comment #2 from Jakub Jelinek --- (In reply to Jakub Jelinek from comment #0) > #ifdef WORKAROUND > try > { > throw 1; > } > catch (int &) > #endif Oops, of course I meant #ifndef WORKAROUND. The problem is when there is an

[Bug libstdc++/78015] pthread_cancel while some exception is pending results in std::terminate ()

2016-10-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78015 Jakub Jelinek changed: What|Removed |Added CC||rth at gcc dot gnu.org --- Comment #1