re PR rtl-optimization/85423 (ICE in code_motion_process_successors, at sel-sched...
authorAndrey Belevantsev <abel@ispras.ru>
Mon, 23 Apr 2018 15:19:06 +0000 (18:19 +0300)
committerAndrey Belevantsev <abel@gcc.gnu.org>
Mon, 23 Apr 2018 15:19:06 +0000 (18:19 +0300)
commit99219dba378cab4ad63a338eb9a48f8685940dda
tree035b6d33491758fed68fc5f9b173f71a5a905eb4
parent0ef9f21d3c4de3a6af258338523d35ea6c4d492f
re PR rtl-optimization/85423 (ICE in code_motion_process_successors, at sel-sched.c:6403)

        PR rtl-optimization/85423

        * sel-sched-ir.c (has_dependence_note_mem_dep): Only discard
        dependencies to debug insns when the previous insn is non-debug.

        * gcc.dg/pr85423.c: New test.

From-SVN: r259563
gcc/ChangeLog
gcc/sel-sched-ir.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr85423.c [new file with mode: 0644]