> This patch has been tested on x86_64-pc-linux-gnu with a "make > bootstrap" and "make -k check" with no new failures. This should > be relatively safe, as there are no changes in behaviour unless > the user explicitly specifies -fnon-call-exceptions, when the C > compiler then behaves more like the C++/Ada compiler.
I think this will pessimize Ada, which defaults to -fnon-call-exceptions but where we do *not* want to preserve trapping instructions just because they may trap (i.e. -fdelete-dead-exceptions is enabled by default). And, as noticed by Richard, EH is orthogonal to side effects and pure/const. -- Eric Botcazou