https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67628
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-09-18 CC| |pinskia at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This is due to the fold-const.c optimization which should not be there any more. You need to do benchmarking on x86 also if you remove it. I have not done that yet which is why I have not submitted the patch to fix this.