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
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
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?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78015
Jason Merrill changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
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
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