summaryrefslogtreecommitdiff
path: root/gcc/tree-loop-distribution.c
diff options
context:
space:
mode:
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>2010-01-23 12:21:15 +0000
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>2010-01-23 12:21:15 +0000
commiteeb74f9f363aad87d2db46e1d0657e9b45bba8c2 (patch)
tree2506922a73633d267833fdbe7863dd0a6507d87b /gcc/tree-loop-distribution.c
parent8e61effdf7f1a4cfeb7e0f8fb6985ee71a62ea89 (diff)
downloadgcc-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/tree-loop-distribution.c')
-rw-r--r--gcc/tree-loop-distribution.c2
1 files changed, 1 insertions, 1 deletions
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;