https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102498
--- Comment #5 from Vincent Lefèvre <vincent-gcc at vinc17 dot net> --- (In reply to Andrew Pinski from comment #4) > A regression since GCC 3.2 (r0-47863-g881b2a9652748ad). Always reproducible with GCC 5. But with GCC 4.7 to 4.9, it seems that one needs -O1 to get fldpi generated. I can't reproduce the bug with GCC 4.1.2 to 4.6.4 on godbolt (even with -O3).