The testcase I'm going to attach ICEs at -m64 -O1 on ppc:
A.c: In function 'test':
A.c:129: internal compiler error: in gen_add2_insn, at optabs.c:4126

gen_add2_insn is called with
(mem/u/c/i:DI (plus:DI (reg:DI 2 2)
        (const:DI (minus:DI (symbol_ref/u:DI ("*.LC1") [flags 0x2])
                (symbol_ref:DI ("*.LCTOC1"))))) [0 S8 A64])
as the second argument which doesn't match adddi3's predicate -
reg_or_add_cint_operand.


-- 
           Summary: Reload ICE in gen_add2_insn
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jakub at gcc dot gnu dot org
GCC target triplet: powerpc64-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25432

Reply via email to