From: Joern Rennecke Date: Sat, 23 Jan 2010 12:21:15 +0000 (+0000) Subject: tree-loop-distribution.c (distribute_loop): Fix declaration and initialization of... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e96d7dd79ffae0fe785a360396025ab278e672a1;p=gcc.git tree-loop-distribution.c (distribute_loop): Fix declaration and initialization of variable res to agree with return type. * tree-loop-distribution.c (distribute_loop): Fix declaration and initialization of variable res to agree with return type. From-SVN: r156190 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3c761a2126b..d15dc7030fa 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2010-01-23 Joern Rennecke + + * tree-loop-distribution.c (distribute_loop): Fix declaration and + initialization of variable res to agree with return type. + 2010-01-22 Steve Ellcey * Makefile.in (tree-sra.o): Add $(EXPR_H) dependency. diff --git a/gcc/tree-loop-distribution.c b/gcc/tree-loop-distribution.c index ea3005e2531..13ac7ea584a 100644 --- a/gcc/tree-loop-distribution.c +++ b/gcc/tree-loop-distribution.c @@ -1120,7 +1120,7 @@ ldist_gen (struct loop *loop, struct graph *rdg, static int distribute_loop (struct loop *loop, VEC (gimple, heap) *stmts) { - bool res = false; + int res = 0; struct graph *rdg; gimple s; unsigned i;