tree-loop-distribution.c (distribute_loop): Fix declaration and initialization of...
authorJoern Rennecke <amylaar@spamcop.net>
Sat, 23 Jan 2010 12:21:15 +0000 (12:21 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Sat, 23 Jan 2010 12:21:15 +0000 (12:21 +0000)
* tree-loop-distribution.c (distribute_loop): Fix declaration and
initialization of variable res to agree with return type.

From-SVN: r156190

gcc/ChangeLog
gcc/tree-loop-distribution.c

index 3c761a2126b0f61ce6d48e676905500044d83256..d15dc7030fa76b2c9611c30d997ea2d9e3afc584 100644 (file)
@@ -1,3 +1,8 @@
+2010-01-23  Joern Rennecke  <amylaar@spamcop.net>
+
+       * tree-loop-distribution.c (distribute_loop): Fix declaration and
+       initialization of variable res to agree with return type.
+
 2010-01-22  Steve Ellcey  <sje@cup.hp.com>
 
        * Makefile.in (tree-sra.o): Add $(EXPR_H) dependency.
index ea3005e2531418b45b8af6f46f49d127cd3addaf..13ac7ea584a46424910261e51df25e3baf610b22 100644 (file)
@@ -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;