------- Comment #18 from kreckel at ginac dot de 2006-11-19 11:22 ------- An idea: Would it help if feholdexcept, fetestexcept and all those standard functions accessing the status and control flags were implemented as builtins, not as extern libcalls?
This probably wouldn't help against elimination of unused statements that nevertheless trigger side effects. But it would inhibit the worst cases of code reordering, I suppose. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29186