re PR target/83986 (ICE in maybe_record_trace_start, at dwarf2cfi.c:2348)
authorJakub Jelinek <jakub@redhat.com>
Tue, 30 Jan 2018 20:03:04 +0000 (21:03 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 30 Jan 2018 20:03:04 +0000 (21:03 +0100)
commitc5370327b043595a13cda2237cf2007b690440ef
treeb5053a5eee16279b6ff819bdd0480579d6c70ce2
parentb1c7b29a3cae7dcf652cc3e3f971ec010153d814
re PR target/83986 (ICE in maybe_record_trace_start, at dwarf2cfi.c:2348)

PR rtl-optimization/83986
* sched-deps.c (sched_analyze_insn): For frame related insns, add anti
dependence against last_pending_memory_flush in addition to
pending_jump_insns.

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

From-SVN: r257203
gcc/ChangeLog
gcc/sched-deps.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr83986.c [new file with mode: 0644]