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 target/64231] [5 Regression] SIGSEGV building glibc on aarch64-linux-gnu from r217852


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)


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