This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/54338] New: internal compiler error: in find_costs_and_classes, at ira-costs.c:1711
- From: "xyqi at marvell dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 21 Aug 2012 01:37:35 +0000
- Subject: [Bug c/54338] New: internal compiler error: in find_costs_and_classes, at ira-costs.c:1711
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54338
Bug #: 54338
Summary: internal compiler error: in find_costs_and_classes, at
ira-costs.c:1711
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: xyqi@marvell.com
I did some ARM 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.
Reproduce:
gcc -march=iwmmxt2 -S bug.i