aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2008-10-08 22:50:13 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2008-10-08 22:50:13 +0200
commit88b98d1a0ccb87588adfffc4b215a99095867d50 (patch)
tree4fc648f3ab59c41957fee9b67f37802d11924335
parent7787b4aa9ba5ebdeaa63e4cb8fcb7f9d6c2ef5b0 (diff)
downloadgcc-88b98d1a0ccb87588adfffc4b215a99095867d50.zip
gcc-88b98d1a0ccb87588adfffc4b215a99095867d50.tar.gz
gcc-88b98d1a0ccb87588adfffc4b215a99095867d50.tar.bz2
graphite.c (gloog): Don't call find_unreachable_blocks before delte_unreachable_blocks.
* graphite.c (gloog): Don't call find_unreachable_blocks before delte_unreachable_blocks. From-SVN: r140987
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/graphite.c1
2 files changed, 3 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4f1cc5c..9b03488 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,8 @@
2008-10-08 Jakub Jelinek <jakub@redhat.com>
+ * graphite.c (gloog): Don't call find_unreachable_blocks
+ before delte_unreachable_blocks.
+
* cfgexpand.c (expand_gimple_cond): Convert also goto_block and
goto_locus of true_edge into RTL locator.
diff --git a/gcc/graphite.c b/gcc/graphite.c
index 4531936..a615e2c 100644
--- a/gcc/graphite.c
+++ b/gcc/graphite.c
@@ -4162,7 +4162,6 @@ gloog (scop_p scop, struct clast_stmt *stmt)
if (new_scop_exit_edge->dest == EXIT_BLOCK_PTR)
new_scop_exit_edge->flags = 0;
- find_unreachable_blocks ();
delete_unreachable_blocks ();
patch_phis_for_virtual_defs ();
patch_scop_exit_phi_args (new_scop_exit_edge, phi_args);