OSDN Git Service

* cfghooks.c (tidy_fallthru_edges): Add ??? comment.
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 Apr 2011 12:34:29 +0000 (12:34 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 Apr 2011 12:34:29 +0000 (12:34 +0000)
* tree-inline.c (delete_unreachable_blocks_update_callgraph): Remove
call to tidy_fallthru_edges.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171936 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/cfghooks.c
gcc/tree-inline.c

index 4447037..72735b8 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 2311ddf..fb991a7 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 8c8aef6..4cf2a12 100644 (file)
@@ -4964,8 +4964,6 @@ delete_unreachable_blocks_update_callgraph (copy_body_data *id)
        }
     }
 
-  if (changed)
-    tidy_fallthru_edges ();
   return changed;
 }