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 <andrew_pinski@playstation.sony.com>2007-09-19 22:16:22 +0000
commit26927fd0e562d3bf2ca85afb3396a84d151c83e4 (patch)
treef57d698dc95dd55fadc04eacbc556d6f1ea26d82 /gcc/cfgexpand.c
parentf287327835730d418cdd039c978cfc292e41a087 (diff)
2007-09-19 Andrew Pinski <andrew_pinski@playstation.sony.com>
* cfgexpand.c (dump_stack_var_partition): Use the correct index for the offset. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@128607 138bc75d-0d04-0410-961f-82ee72b054a4
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 69c65bd5e49..e550a4c8b7e 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);
}
}
}