https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70586
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|4.9.4 |7.0 Summary|[4.9/5/6 Regression] wrong |[7 Regression] wrong code |code at -O2 and -O3 on |at -O2 and -O3 on |x86_64-linux-gnu in 32-bit |x86_64-linux-gnu in 32-bit |and 64-bit modes |and 64-bit modes --- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- This particular issue fixed for 6.x. Retargetting at 7.0+ for the general issue whether pure/const functions can trap or raise FPU exceptions and how we should handle them.