cfghooks.c (tidy_fallthru_edges): Add ??? comment.
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 4 Apr 2011 12:34:29 +0000 (12:34 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 4 Apr 2011 12:34:29 +0000 (12:34 +0000)
* 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
gcc/cfghooks.c
gcc/tree-inline.c

index 4447037cbc61887f45acd5e4237684e4204e757f..72735b898320b4225d91a8084ea8547e7b3ef411 100644 (file)
@@ -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.
index 2311ddfcbf2bc461f28befedd2a3af4b2b83358a..fb991a761715d99dc2d3264d34d287f149dc6770 100644 (file)
@@ -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)
index 8c8aef662942d14dd47f731c604f27205aec7738..4cf2a12b3ce3b20864be85f714f9f582b6d07706 100644 (file)
@@ -4964,8 +4964,6 @@ delete_unreachable_blocks_update_callgraph (copy_body_data *id)
        }
     }
 
-  if (changed)
-    tidy_fallthru_edges ();
   return changed;
 }