This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] wrong type passed in tree-ssa-threadupdate.c


Please someone with CVS access pic the folowing up.

2005-02-06 Marcin Dalecki <martin@dalecki.de>

	* tree-ssa-threadupdate.c: Use the proper enumeration type, since
	  lookup_redirection_data() is passing it down as such.

diff -urN gcc-4.0-20050130/gcc/tree-ssa-threadupdate.c gcc-4.0-20050130-new/gcc/tree-ssa-threadupdate.c
--- gcc-4.0-20050130/gcc/tree-ssa-threadupdate.c Thu Jan 27 19:22:22 2005
+++ gcc-4.0-20050130-new/gcc/tree-ssa-threadupdate.c Thu Feb 3 17:18:38 2005
@@ -222,7 +222,7 @@
edges associated with E in the hash table. */


static struct redirection_data *
-lookup_redirection_data (edge e, edge incoming_edge, bool insert)
+lookup_redirection_data (edge e, edge incoming_edge, enum insert_option insert)
{
void **slot;
struct redirection_data *elt;
@@ -489,7 +489,7 @@


 	  /* Insert the outgoing edge into the hash table if it is not
 	     already in the hash table.  */
-	  lookup_redirection_data (e2, e, true);
+	  lookup_redirection_data (e2, e, INSERT);
 	}
     }

@@ -500,7 +500,7 @@
if (all)
{
edge e = EDGE_PRED (bb, 0)->aux;
- lookup_redirection_data (e, NULL, false)->do_not_duplicate = true;
+ lookup_redirection_data (e, NULL, NO_INSERT)->do_not_duplicate = true;
}


/* Now create duplicates of BB.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]