re PR tree-optimization/78777 (ICE in mark_reachable_handlers, at tree-eh.c:3823...
authorJakub Jelinek <jakub@redhat.com>
Mon, 12 Dec 2016 22:02:52 +0000 (23:02 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 12 Dec 2016 22:02:52 +0000 (23:02 +0100)
commit1697df8c99b5b5d0252c7c26113f16f0d0c87c1b
tree804190b7b83c8a1f184990fb9350a40ad0146095
parent27ec22668ffe96569b1860008e398d29f08ebd6c
re PR tree-optimization/78777 (ICE in mark_reachable_handlers, at tree-eh.c:3823 (aarch64-linux-gnu))

PR tree-optimization/78777
* gimple-ssa-strength-reduction.c (create_add_on_incoming_edge,
insert_initializers): Use stmt_ends_bb_p instead of is_ctrl_stmt.

* g++.dg/torture/pr78777.C: New test.

From-SVN: r243584
gcc/ChangeLog
gcc/gimple-ssa-strength-reduction.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr78777.C [new file with mode: 0644]