re PR tree-optimization/85615 (ICE at -O2 and above on valid code on x86_64-linux...
authorRichard Biener <rguenther@suse.de>
Thu, 3 May 2018 13:20:02 +0000 (13:20 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 3 May 2018 13:20:02 +0000 (13:20 +0000)
commita378f85c5416aaf7ffea7ee114ee166ff4dd92da
tree68a04fc7dd5d757a880144521e04223c13eb5ba5
parentb7244ccba711298c906d4c7ca51f9f49bf2438c7
re PR tree-optimization/85615 (ICE at -O2 and above on valid code on x86_64-linux-gnu: in dfs_enumerate_from, at cfganal.c:1197)

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.

From-SVN: r259891
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr85615.c [new file with mode: 0644]
gcc/tree-ssa-threadupdate.c