aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJoern Rennecke <amylaar@spamcop.net>2010-01-23 12:21:15 +0000
committerJoern Rennecke <amylaar@gcc.gnu.org>2010-01-23 12:21:15 +0000
commite96d7dd79ffae0fe785a360396025ab278e672a1 (patch)
tree2506922a73633d267833fdbe7863dd0a6507d87b /gcc
parentfb0553d11d150cc0d88d258d263395120ef33c53 (diff)
downloadgcc-e96d7dd79ffae0fe785a360396025ab278e672a1.zip
gcc-e96d7dd79ffae0fe785a360396025ab278e672a1.tar.gz
gcc-e96d7dd79ffae0fe785a360396025ab278e672a1.tar.bz2
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
Diffstat (limited to 'gcc')
-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;