https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85633
--- Comment #2 from Julian Taylor <jtaylor.debian at googlemail dot com> --- changing the fpu state does not count as a side effect? This doesn't seem plausible, this type of code is one the reasons the fpu exception state exists. There is a lot of code written with this in mind which worked for decades and now not anymore. I think that classifies as a regression.