https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116845
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- It is definitely ilp32 related but maybe a missed optimization there. And might be a missed optimization for lp64 when using long too.