Patchwork Restore bootstrap

login
register
mail settings
Submitter Jeff Law
Date Oct. 24, 2012, 12:45 a.m.
Message ID <50873A27.7060909@redhat.com>
Download mbox | patch
Permalink /patch/193609/
State New
Headers show

Comments

Jeff Law - Oct. 24, 2012, 12:45 a.m.
The obvious fix.
commit 36d5e6eace0697b2f8613ab5c24bc23ea359d347
Author: law <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Wed Oct 24 00:43:24 2012 +0000

           * tree-ssa-threadedge.c (thread_across_edge): Remove unused
            parameter in call to cond_arg_set_in_bb.
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192754 138bc75d-0d04-0410-961f-82ee72b054a4

Patch

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index cda72a0..fe52992 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,8 @@ 
 2012-10-23  Jeff Law  <law@redhat.com>
 
+	* tree-ssa-threadedge.c (thread_across_edge): Remove unused
+	parameter in call to cond_arg_set_in_bb.
+
 	* tree-ssa-threadedge.c (cond_arg_set_in_bb): Remove unused
 	debugging argument.
 
diff --git a/gcc/tree-ssa-threadedge.c b/gcc/tree-ssa-threadedge.c
index 4669f65..6249e2f 100644
--- a/gcc/tree-ssa-threadedge.c
+++ b/gcc/tree-ssa-threadedge.c
@@ -743,7 +743,7 @@  thread_across_edge (gimple dummy_cond,
      safe to thread this edge.  */
   if (e->flags & EDGE_DFS_BACK)
     {
-      if (cond_arg_set_in_bb (e, e->dest, 1))
+      if (cond_arg_set_in_bb (e, e->dest))
 	goto fail;
     }
 
@@ -787,7 +787,7 @@  thread_across_edge (gimple dummy_cond,
 	     of threading without having to re-run DOM or VRP.  */
 	  if (dest
 	      && ((e->flags & EDGE_DFS_BACK) == 0
-		  || ! cond_arg_set_in_bb (taken_edge, e->dest, 2)))
+		  || ! cond_arg_set_in_bb (taken_edge, e->dest)))
 	    {
 	      /* We don't want to thread back to a block we have already
  		 visited.  This may be overly conservative.  */
@@ -846,7 +846,7 @@  thread_across_edge (gimple dummy_cond,
 	do
 	  {
 	    if ((e->flags & EDGE_DFS_BACK) == 0
-		|| ! cond_arg_set_in_bb (e3, e->dest, 3))
+		|| ! cond_arg_set_in_bb (e3, e->dest))
 	      e2 = thread_around_empty_block (e3,
 					      dummy_cond,
 					      handle_dominating_asserts,