aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/tree-loop-distribution.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3c761a2..d15dc70 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/tree-loop-distribution.c b/gcc/tree-loop-distribution.c
index ea3005e..13ac7ea 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;