re PR rtl-optimization/90082 (ICE in delete_unmarked_insns, at dce.c:653)
authorJakub Jelinek <jakub@redhat.com>
Tue, 16 Apr 2019 08:26:26 +0000 (10:26 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 16 Apr 2019 08:26:26 +0000 (10:26 +0200)
commit234b5365c5485a0606a0d2faac7e9f1e30ce8303
tree147f1985df30d9d59b8e88e486e3c2c03cd5ff39
parent41b5808d56c2f4c98cf783b13d97b775f59f123c
re PR rtl-optimization/90082 (ICE in delete_unmarked_insns, at dce.c:653)

PR rtl-optimization/90082
* dce.c (can_delete_call): New function.
(deletable_insn_p, mark_insn): Use it.

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

From-SVN: r270380
gcc/ChangeLog
gcc/dce.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr90082.c [new file with mode: 0644]