2018-05-03 Richard Biener <rguenther@suse.de>
commit9a56d038aebc6b873971dc0921470fdfad9d0988
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 May 2018 13:20:02 +0000 (3 13:20 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 May 2018 13:20:02 +0000 (3 13:20 +0000)
tree68a04fc7dd5d757a880144521e04223c13eb5ba5
parent5977f2ba1943ed19ec746fa64fb3a9bb07a04abc
2018-05-03  Richard Biener  <rguenther@suse.de>

PR tree-optimization/85615
* tree-ssa-threadupdate.c (thread_block_1): Only allow exits
to loops not nested in BBs loop father to avoid creating multi-entry
loops.

* gcc.dg/torture/pr85615.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@259891 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr85615.c [new file with mode: 0644]
gcc/tree-ssa-threadupdate.c