From: spop Date: Wed, 26 May 2010 16:45:56 +0000 (+0000) Subject: Make tree_if_conversion not return a bool. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd3354aa6d89f71b01b8ea6c95e59b8ec5511083;p=thirdparty%2Fgcc.git Make tree_if_conversion not return a bool. 2010-05-26 Sebastian Pop * tree-if-conv.c (tree_if_conversion): Do not return a bool. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159881 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 83760aecba4f..713a033b0e26 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2010-05-26 Sebastian Pop + + * tree-if-conv.c (tree_if_conversion): Do not return a bool. + 2010-05-26 Sebastian Pop * tree-if-conv.c: Update copyright years. Fix comments. diff --git a/gcc/tree-if-conv.c b/gcc/tree-if-conv.c index 127b5e36b595..ba3b7c6848ab 100644 --- a/gcc/tree-if-conv.c +++ b/gcc/tree-if-conv.c @@ -1004,10 +1004,10 @@ combine_blocks (struct loop *loop) merge_blocks (loop->header, exit_bb); } -/* Main entry point: return true when LOOP is if-converted, otherwise - the loop remains unchanged. */ +/* If-convert LOOP when it is legal. For the moment this pass has no + profitability analysis. */ -static bool +static void tree_if_conversion (struct loop *loop) { gimple_stmt_iterator itr; @@ -1027,7 +1027,7 @@ tree_if_conversion (struct loop *loop) ifc_bbs = NULL; } free_dominance_info (CDI_POST_DOMINATORS); - return false; + return; } for (i = 0; i < loop->num_nodes; i++) @@ -1071,8 +1071,6 @@ tree_if_conversion (struct loop *loop) clean_predicate_lists (loop); free (ifc_bbs); ifc_bbs = NULL; - - return true; } /* Tree if-conversion pass management. */