https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71741
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2016-07-24
Ever confirmed|0 |1
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Have you tried the binary you created with GCC 4.8.x and used it on the newer
distro? If it is slower there, then this is a glibc issue. It has been known
that glibc has slowed down sin/cos to make it more accurate in some corner
cases which might be what you are seeing.