summaryrefslogtreecommitdiff
path: root/gcc/cfgexpand.c
diff options
context:
space:
mode:
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>2007-09-19 22:16:22 +0000
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>2007-09-19 22:16:22 +0000
commit571057ed7bf68e588402ccd4294422dff1b59fe4 (patch)
treef57d698dc95dd55fadc04eacbc556d6f1ea26d82 /gcc/cfgexpand.c
parent009b318f3d6363ef0a41b8e33c63d3e723c55fb3 (diff)
downloadgcc-571057ed7bf68e588402ccd4294422dff1b59fe4.tar.gz
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: svn+ssh://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);
}
}
}