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]

Fix typo in cfgloopmanip.c


loop_version is supposed to work at both tree and rtl levels, and
consequently its "cond_expr" parameter is defined as a "void *".  This
patch updates the params of helper function lv_adjust_loop_entry_edge
as well.  Ok for mainline?

	* cfgloopmanip.c (lv_adjust_loop_entry_edge): Adjust the type of
	cond_expr parameter.

Index: cfgloopmanip.c
===================================================================
--- cfgloopmanip.c	(revision 108280)
+++ cfgloopmanip.c	(working copy)
@@ -1404,7 +1404,7 @@ static basic_block
 lv_adjust_loop_entry_edge (basic_block first_head,
 			   basic_block second_head,
 			   edge e,
-			   tree cond_expr)
+			   void *cond_expr)
 {
   basic_block new_head = NULL;
   edge e1;


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