This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/52113] [4.7 regression][lower-subreg.c] ICE: in extract_insn, at recog.c:2123
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 04 Feb 2012 00:10:04 +0000
- Subject: [Bug rtl-optimization/52113] [4.7 regression][lower-subreg.c] ICE: in extract_insn, at recog.c:2123
- Auto-submitted: auto-generated
- References: <bug-52113-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52113
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
AssignedTo|unassigned at gcc dot |jakub at gcc dot gnu.org
|gnu.org |
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-02-04 00:10:04 UTC ---
Created attachment 26568
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26568
gcc47-pr52113.patch
Untested fix. The problem is that lower-subreg relies on recog_memoized being
performed on all insns before changing decomposable regs into concatn, because
otherwise they might not be recognized. They will be fixed up during the pass
later on, but if they weren't recognized first, extract_insn will already ICE.
Don't have time to test this for avr, will only include it in my next
x86_64/i686 bootstrap/regtest.