re PR tree-optimization/83605 (ICE: verify_gimple failed (error: dead STMT in EH...
authorJakub Jelinek <jakub@redhat.com>
Fri, 5 Jan 2018 08:51:32 +0000 (09:51 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 5 Jan 2018 08:51:32 +0000 (09:51 +0100)
commitbef52a6895ddb01d4b349f2f43b8ab0cd99fa3be
treedd78b3fcb7149b6b1f01919954805387f20f2265
parent64b371b1b5a681e58c22c6decb1884e0811d6014
re PR tree-optimization/83605 (ICE: verify_gimple failed (error: dead STMT in EH table))

PR tree-optimization/83605
* gimple-ssa-strength-reduction.c: Include tree-eh.h.
(find_candidates_dom_walker::before_dom_children): Ignore stmts that
can throw.

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

From-SVN: r256274
gcc/ChangeLog
gcc/gimple-ssa-strength-reduction.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr83605.c [new file with mode: 0644]