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 c/54338] New: internal compiler error: in find_costs_and_classes, at ira-costs.c:1711


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


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