Quote:
If I instruct the compiler to keep track of where these exceptions occur, ALL these optimizations would immediately be disabled.
All of what you posted sounds nice, but here's the thing - I haven't been able to find any sort of documentation that explicitly backs up what you're saying over the course of about 4 hours of searching.
The only thing I have been able to find so far is a potential implicit issue if you use -fp-model fast. That said though, the documentation for that model says that exception specifications are disabled by default. If exception specifications are disabled, then I would think that the compiler would still do all the "smart" things. BTW, I've also read that exception
specifications are not so good, so this might be where your reservations come from. However, there are other ways to do exception handling, specifically table generation / zero-cost.
Several weeks ago, I had asked if you could PM me your compiler options used. I got no response.
Just like with asking for the debug info, I think you're hung up on the idea that I want to steal your code. I don't.