PR tree-optimization/78777
commit1ce48903e2f60a3406b4269c17ca52b915b1d09f
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Dec 2016 22:02:52 +0000 (12 22:02 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Dec 2016 22:02:52 +0000 (12 22:02 +0000)
tree804190b7b83c8a1f184990fb9350a40ad0146095
parentdea80fd1d0bce0ab3330eabe40169203fd28951a
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@243584 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/gimple-ssa-strength-reduction.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr78777.C [new file with mode: 0644]