> On x864 Linux -fasynchronous-unwind-tables is the default. That is
> probably sufficient to make your test case work.
The testcase g++.dg/torture/except-1.C you recently added to the testsuite
does not pass at all if -fnon-call-exceptions is not specified (and does not
pass with optimization
On Wed, Jun 7, 2023 at 10:09 AM Helmut Zeisel via Gcc wrote:
>
> I wrote some simple program that set a signal handler for SIGFPE, throws a
> C++ exception in the signal handler
> and catches the exception.
> I compiled with and without -fnon-call-exceptions (on x64 Linux).
> In both cases, the r
I wrote some simple program that set a signal handler for SIGFPE, throws a C++
exception in the signal handler
and catches the exception.
I compiled with and without -fnon-call-exceptions (on x64 Linux).
In both cases, the result was the same: the exception was caught and the
destructors were cal