This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Fix typo in cfgloopmanip.c
- From: Sebastian Pop <sebastian dot pop at cri dot ensmp dot fr>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 12 Dec 2005 19:08:35 +0100
- Subject: 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;