> Btw, I think we should enable this flag by default for all languages but > Java so that if you enable -fnon-call-exceptions for C or C++ you don't get > too many spurious exceptions from dead code.
The flag isn't formally tied to -fnon-call-exceptions though, so there might be subtleties in C++, but I agree that in practice this should work fine. -- Eric Botcazou