[Bug lto/50568] [4.7 Regression] Massive LTO failures

hjl.tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Sep 29 23:22:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50568

--- Comment #26 from H.J. Lu <hjl.tools at gmail dot com> 2011-09-29 23:19:49 UTC ---
(In reply to comment #24)
> Thanks. Does it work with this change?

I posted a different patch to avoid indirect reference on
64bit host and avoid overflow in

static int lto_splay_compare_ids (splay_tree_key a, splay_tree_key b)
{
   unsigned HOST_WIDE_INT *ai = (unsigned HOST_WIDE_INT *)a;
   unsigned HOST_WIDE_INT *bi = (unsigned HOST_WIDE_INT *)b;

   return *ai - *bi;
}



More information about the Gcc-bugs mailing list