This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/79058] [7 Regression] ARM: internal compiler error: in extract_constrain_insn, at recog.c:2213
- From: "vogt at linux dot vnet.ibm.com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 13 Jan 2017 13:14:49 +0000
- Subject: [Bug target/79058] [7 Regression] ARM: internal compiler error: in extract_constrain_insn, at recog.c:2213
- Auto-submitted: auto-generated
- References: <bug-79058-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79058
--- Comment #14 from Dominik Vogt <vogt at linux dot vnet.ibm.com> ---
Isn't this more or less the same problem as the Avr issue?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78883
On Avr, the register allocator would allow r31:HI if the expression is a
paradoxical subreg of memory. This results in an invalid register pair,
r31/r32.
On Arm, the register allocator allows r0:SI for (subreg:DI (reg:SI)). Again we
get an invalid register pair, r-1/r0. (Note that the cause of the crash is a
"-1" in "regno"; comment 8.)
=> Bug in the register allocator?