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/64364] gcc ICE on min() on Intel Sandy Bridge CPU if compiler built on Haswell


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64364

--- Comment #2 from Mikael Pettersson <mikpelinux at gmail dot com> ---
Re-run g++ on the testcase with the -v flag, note the command line for cc1plus,
run cc1plus from gdb with that command line, and show us the faulting
instruction and what code/function it occurs in.

You didn't use --with-arch=native, which is good, but I suspect that your gmp
etc may have been built with Haswell-specific code.  For this use case, you
need to explicitly control how the support libraries are built (i.e. choose a
compatible --build triplet).


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