From 8effe8566fcbd6a61c0372fa69a2077f967e1116 Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Mon, 4 Apr 2011 12:34:29 +0000 Subject: [PATCH] cfghooks.c (tidy_fallthru_edges): Add ??? comment. * cfghooks.c (tidy_fallthru_edges): Add ??? comment. * tree-inline.c (delete_unreachable_blocks_update_callgraph): Remove call to tidy_fallthru_edges. From-SVN: r171936 --- gcc/ChangeLog | 6 ++++++ gcc/cfghooks.c | 4 +++- gcc/tree-inline.c | 2 -- 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 + + * 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 * 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; } -- 2.30.2