[Bug rtl-optimization/52113] [4.7 regression][lower-subreg.c] ICE: in extract_insn, at recog.c:2123

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Feb 4 00:10:00 GMT 2012


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.



More information about the Gcc-bugs mailing list