re PR tree-optimization/72772 (Missed SCEV after pass reordering@236440)
authorRichard Biener <rguenther@suse.de>
Thu, 11 Aug 2016 09:02:04 +0000 (09:02 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 11 Aug 2016 09:02:04 +0000 (09:02 +0000)
commit183ac6d0d295cedffd0e7971151008e9a411f345
tree8d5fbd4bacf84fae62437497b5b8a89b8f7f2ed5
parentb152f5a2b33b251ab1874a43d97ce73d11eec0a4
re PR tree-optimization/72772 (Missed SCEV after pass reordering@236440)

2016-08-11  Richard Biener  <rguenther@suse.de>

PR tree-optimization/72772
* cfgloopmanip.c (create_preheader): Use split_edge if there
is a single loop entry, avoiding degenerate PHIs.

* gcc.dg/graphite/pr35356-1.c: Adjust.
* gcc.dg/tree-ssa/pr59597.c: Likewise.

From-SVN: r239357
gcc/ChangeLog
gcc/cfgloopmanip.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/graphite/pr35356-1.c
gcc/testsuite/gcc.dg/tree-ssa/pr59597.c