diff options
author | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-01-23 12:21:15 +0000 |
---|---|---|
committer | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-01-23 12:21:15 +0000 |
commit | eeb74f9f363aad87d2db46e1d0657e9b45bba8c2 (patch) | |
tree | 2506922a73633d267833fdbe7863dd0a6507d87b /gcc | |
parent | 8e61effdf7f1a4cfeb7e0f8fb6985ee71a62ea89 (diff) | |
download | gcc-eeb74f9f363aad87d2db46e1d0657e9b45bba8c2.tar.gz |
* tree-loop-distribution.c (distribute_loop): Fix declaration and
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/tree-loop-distribution.c | 2 |
2 files changed, 6 insertions, 1 deletions
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 <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 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; |