This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/25432] New: Reload ICE in gen_add2_insn
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Dec 2005 18:01:55 -0000
- Subject: [Bug rtl-optimization/25432] New: Reload ICE in gen_add2_insn
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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