On 02/21/2017 09:49 AM, Jakub Jelinek wrote:
Hi!

We ICE in the following hunk which has been added by Alexandre back
in VTA merge.  A fairly recent change started clearing BLOCK_FOR_INSN
for instructions that are temporarily removed from the IL (but those
would never previously satisfy the condition - they would never be
heads of their block).  While it isn't well understood why the condition
is in there, the patch pretty much restores the previous behavior for
such DEBUG_INSNs.  Bootstrapped/regtested on x86_64-linux and i686-linux,
ok for trunk?

2017-02-21  Jakub Jelinek  <[email protected]>

        PR target/79570
        * sel-sched.c (moveup_expr_cached): Don't call sel_bb_head
        on temporarily removed DEBUG_INSNs.

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

Reply via email to