OSDN Git Service

* tree-loop-distribution.c (distribute_loop): Fix declaration and
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 23 Jan 2010 12:21:15 +0000 (12:21 +0000)
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 23 Jan 2010 12:21:15 +0000 (12:21 +0000)
initialization of variable res to agree with return type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156190 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 3c761a2..d15dc70 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 ea3005e..13ac7ea 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;