aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgexpand.c
diff options
context:
space:
mode:
authorAndrew Pinski <andrew_pinski@playstation.sony.com>2007-09-19 22:16:22 +0000
committerAndrew Pinski <pinskia@gcc.gnu.org>2007-09-19 15:16:22 -0700
commit1c50a20a4f81b9fc6a4451b8951c290bb57cd637 (patch)
treef57d698dc95dd55fadc04eacbc556d6f1ea26d82 /gcc/cfgexpand.c
parent4f3f76e6c39bbd7924032dca7ed5de404f247e3b (diff)
downloadgcc-1c50a20a4f81b9fc6a4451b8951c290bb57cd637.zip
gcc-1c50a20a4f81b9fc6a4451b8951c290bb57cd637.tar.gz
gcc-1c50a20a4f81b9fc6a4451b8951c290bb57cd637.tar.bz2
cfgexpand.c (dump_stack_var_partition): Use the correct index for the offset.
2007-09-19 Andrew Pinski <andrew_pinski@playstation.sony.com> * cfgexpand.c (dump_stack_var_partition): Use the correct index for the offset. From-SVN: r128607
Diffstat (limited to 'gcc/cfgexpand.c')
-rw-r--r--gcc/cfgexpand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c
index 69c65bd..e550a4c 100644
--- a/gcc/cfgexpand.c
+++ b/gcc/cfgexpand.c
@@ -512,7 +512,7 @@ dump_stack_var_partition (void)
fputc ('\t', dump_file);
print_generic_expr (dump_file, stack_vars[j].decl, dump_flags);
fprintf (dump_file, ", offset " HOST_WIDE_INT_PRINT_DEC "\n",
- stack_vars[i].offset);
+ stack_vars[j].offset);
}
}
}