summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/cfghooks.c4
-rw-r--r--gcc/tree-inline.c2
3 files changed, 9 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4447037cbc6..72735b89832 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2011-04-04 Eric Botcazou <ebotcazou@adacore.com>
+
+ * cfghooks.c (tidy_fallthru_edges): Add ??? comment.
+ * tree-inline.c (delete_unreachable_blocks_update_callgraph): Remove
+ call to tidy_fallthru_edges.
+
2011-04-04 Joseph Myers <joseph@codesourcery.com>
* doc/options.texi (ToLower): Document.
diff --git a/gcc/cfghooks.c b/gcc/cfghooks.c
index 2311ddfcbf2..fb991a76171 100644
--- a/gcc/cfghooks.c
+++ b/gcc/cfghooks.c
@@ -830,7 +830,9 @@ tidy_fallthru_edge (edge e)
/* Fix up edges that now fall through, or rather should now fall through
but previously required a jump around now deleted blocks. Simplify
the search by only examining blocks numerically adjacent, since this
- is how they were created. */
+ is how they were created.
+
+ ??? This routine is currently RTL specific. */
void
tidy_fallthru_edges (void)
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c
index 8c8aef66294..4cf2a12b3ce 100644
--- a/gcc/tree-inline.c
+++ b/gcc/tree-inline.c
@@ -4964,8 +4964,6 @@ delete_unreachable_blocks_update_callgraph (copy_body_data *id)
}
}
- if (changed)
- tidy_fallthru_edges ();
return changed;
}