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 called as expected. I also tried "-fno-non-call-exceptions -fexceptions" and got the same result.
My question: when do I really need -fnon-call-exceptions? Is there some simple program where I can see the difference whether it is on or off?? Helmut