diff options
author | Richard Biener <rguenther@suse.de> | 2016-08-11 09:02:04 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2016-08-11 09:02:04 +0000 |
commit | 183ac6d0d295cedffd0e7971151008e9a411f345 (patch) | |
tree | 8d5fbd4bacf84fae62437497b5b8a89b8f7f2ed5 /gcc/testsuite/gcc.dg | |
parent | b152f5a2b33b251ab1874a43d97ce73d11eec0a4 (diff) | |
download | gcc-183ac6d0d295cedffd0e7971151008e9a411f345.zip gcc-183ac6d0d295cedffd0e7971151008e9a411f345.tar.gz gcc-183ac6d0d295cedffd0e7971151008e9a411f345.tar.bz2 |
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
Diffstat (limited to 'gcc/testsuite/gcc.dg')
-rw-r--r-- | gcc/testsuite/gcc.dg/graphite/pr35356-1.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/tree-ssa/pr59597.c | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/gcc/testsuite/gcc.dg/graphite/pr35356-1.c b/gcc/testsuite/gcc.dg/graphite/pr35356-1.c index 649302b..9b633d2 100644 --- a/gcc/testsuite/gcc.dg/graphite/pr35356-1.c +++ b/gcc/testsuite/gcc.dg/graphite/pr35356-1.c @@ -34,4 +34,4 @@ if (n >= k + 1 && k >= 0) { */ -/* { dg-final { scan-tree-dump "if \\\(P_9 >= P_10 \\\+ 1 && P_10 >= 0\\\) \\\{" "graphite" } } */ +/* { dg-final { scan-tree-dump "if \\\(P_8 >= P_9 \\\+ 1 && P_9 >= 0\\\) \\\{" "graphite" } } */ diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr59597.c b/gcc/testsuite/gcc.dg/tree-ssa/pr59597.c index b776016..4ac12c8 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/pr59597.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/pr59597.c @@ -54,5 +54,6 @@ main (int argc, char argv[]) return crc; } -/* { dg-final { scan-tree-dump "Cancelling" "vrp1" } } */ - +/* { dg-final { scan-tree-dump-times "Registering jump thread" 3 "vrp1" } } */ +/* { dg-final { scan-tree-dump-not "joiner" "vrp1" } } */ +/* { dg-final { scan-tree-dump-times "Threaded jump" 3 "vrp1" } } */ |