On 03/21/2016 02:19 PM, Jakub Jelinek wrote:
Hi!

An instruction with scratches is deleted during LRA inheritance,
and we ICE because restore_scratches wants to query its
lra_get_insn_recog_data even when it is a NOTE, but insn_extract
doesn't work on notes.

Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux, ok for
trunk?

2016-03-21  Jakub Jelinek  <ja...@redhat.com>

        PR middle-end/70326
        * lra.c (restore_scratches): Ignore deleted insns.

        * gcc.dg/pr70326.c: New test.
OK.
jeff

Reply via email to