diff options
author | Michael Matz <matz@suse.de> | 2009-04-26 19:24:16 +0000 |
---|---|---|
committer | Michael Matz <matz@gcc.gnu.org> | 2009-04-26 19:24:16 +0000 |
commit | 17c665a9974c98d2835680cdc6fd92408f1c87f3 (patch) | |
tree | b8f137fd4c9613bd54aa4345bda23480a00c92f6 /gcc/tree-ssa-ter.c | |
parent | ce372372f42ee04164f2b188383e8a7b5d204058 (diff) | |
download | gcc-17c665a9974c98d2835680cdc6fd92408f1c87f3.tar.gz |
tree-ssa-copyrename.c (rename_ssa_copies): Don't iterate beyond num_ssa_names.
* tree-ssa-copyrename.c (rename_ssa_copies): Don't iterate
beyond num_ssa_names.
* tree-ssa-ter.c (free_temp_expr_table): Likewise.
* tree-ssa-coalesce.c (create_outofssa_var_map): Likewise.
From-SVN: r146815
Diffstat (limited to 'gcc/tree-ssa-ter.c')
-rw-r--r-- | gcc/tree-ssa-ter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-ter.c b/gcc/tree-ssa-ter.c index b415971a243..6fd7ca14485 100644 --- a/gcc/tree-ssa-ter.c +++ b/gcc/tree-ssa-ter.c @@ -225,7 +225,7 @@ free_temp_expr_table (temp_expr_table_p t) unsigned x; for (x = 0; x <= num_var_partitions (t->map); x++) gcc_assert (!t->kill_list[x]); - for (x = 0; x < num_ssa_names + 1; x++) + for (x = 0; x < num_ssa_names; x++) { gcc_assert (t->expr_decl_uids[x] == NULL); gcc_assert (t->partition_dependencies[x] == NULL); |