This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
internal compiler error in find_costs_and_classes
- From: Xinyu Qi <xyqi at marvell dot com>
- To: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Sun, 19 Aug 2012 22:40:20 -0700
- Subject: internal compiler error in find_costs_and_classes
Hi,
I did some iwmmxt intrinsic test for mainline gcc with this check-in
r190511 | nickc | 2012-08-19 15:11:35 +0800 (Sun, 19 Aug 2012) | 3 lines
PR target/54306
* config/arm/mmintrin.h: Remove spurious #endif.
and encountered an internal compiler error for this simple case, with option -march=iwmmxt2 -S
#include<mmintrin.h>
__m64 foo(__m64 r, int i)
{
r = _mm_slli_si64(r, i);
return r;
}
internal compiler error: in find_costs_and_classes, at ira-costs.c:1711
While with -O, compiling could pass.
File a bug?
Tnahks,
Xinyu