This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/64364] gcc ICE on min() on Intel Sandy Bridge CPU if compiler built on Haswell
- From: "mikpelinux at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 20 Dec 2014 11:45:57 +0000
- Subject: [Bug target/64364] gcc ICE on min() on Intel Sandy Bridge CPU if compiler built on Haswell
- Auto-submitted: auto-generated
- References: <bug-64364-4 at http dot gcc dot gnu dot org/bugzilla/>
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).