This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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;
}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]