Commit d4cbfca4 by Jakub Jelinek Committed by Jakub Jelinek

re PR target/79570 (ICE in sel-sched-ir.c:4534 in pr69956.c)

	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.

From-SVN: r245633
parent 00bc9de3
2017-02-21 Jakub Jelinek <jakub@redhat.com>
PR target/79570
* sel-sched.c (moveup_expr_cached): Don't call sel_bb_head
on temporarily removed DEBUG_INSNs.
PR tree-optimization/79649
* tree-loop-distribution.c (classify_partition): Give up on
non-generic address space loads/stores.
......
......@@ -2529,6 +2529,7 @@ moveup_expr_cached (expr_t expr, insn_t insn, bool inside_insn_group)
}
if (DEBUG_INSN_P (EXPR_INSN_RTX (expr))
&& BLOCK_FOR_INSN (EXPR_INSN_RTX (expr))
&& (sel_bb_head (BLOCK_FOR_INSN (EXPR_INSN_RTX (expr)))
== EXPR_INSN_RTX (expr)))
/* Don't use cached information for debug insns that are heads of
......
2017-02-21 Jakub Jelinek <jakub@redhat.com>
PR target/79570
* gcc.dg/pr79570.c: New test.
PR c++/79641
* c-c++-common/pr79641.c: New test.
......
/* PR target/79570 */
/* { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } } */
/* { dg-options "-O2 -fselective-scheduling2 -fvar-tracking-assignments" } */
/* { dg-warning "changes selective scheduling" "" { target *-*-* } 0 } */
#include "pr69956.c"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment