https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64231
--- Comment #15 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Ok, I was finally able to trace this down, This is a 32bit vs 64bit host compiler difference. The problem is with: if (SYMBOL_REF_WEAK (x) || INTVAL (offset) < (HOST_WIDE_INT) -4294967263 || INTVAL (offset) > (HOST_WIDE_INT) 4294967264) This really should be something like: if (SYMBOL_REF_WEAK (x) || INTVAL (offset) < (HOST_WIDE_INT) -4294967263LL || INTVAL (offset) > (HOST_WIDE_INT) 4294967264LL)