diff options
author | Jan Hubicka <jh@suse.cz> | 2009-04-04 20:31:39 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2009-04-04 18:31:39 +0000 |
commit | 1ff7d06b775f00bd32a5a83945f0676a867fb61b (patch) | |
tree | 6adda91d66fe398c1ac9ee82618b9a70f78c30fb /gcc/tree-ssa-uncprop.c | |
parent | 14925fcd4738293fae74f5f86328d6bee131dcf8 (diff) | |
download | gcc-1ff7d06b775f00bd32a5a83945f0676a867fb61b.zip gcc-1ff7d06b775f00bd32a5a83945f0676a867fb61b.tar.gz gcc-1ff7d06b775f00bd32a5a83945f0676a867fb61b.tar.bz2 |
tree-ssa-uncprop.c (associate_equivalences_with_edges): Use last_basic_block for size of bb->index indexed array.
* tree-ssa-uncprop.c (associate_equivalences_with_edges): Use
last_basic_block for size of bb->index indexed array.
* bt-load.c (compute_defs_uses_and_gen, compute_kill,
compute_out, link_btr_uses, build_btr_def_use_webs,
build_btr_def_use_webs, migrate_btr_defs): Likewise.
From-SVN: r145546
Diffstat (limited to 'gcc/tree-ssa-uncprop.c')
-rw-r--r-- | gcc/tree-ssa-uncprop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-uncprop.c b/gcc/tree-ssa-uncprop.c index ceaa40d..59c9b44 100644 --- a/gcc/tree-ssa-uncprop.c +++ b/gcc/tree-ssa-uncprop.c @@ -177,7 +177,7 @@ associate_equivalences_with_edges (void) && !SSA_NAME_OCCURS_IN_ABNORMAL_PHI (cond)) { int i, n_labels = gimple_switch_num_labels (stmt); - tree *info = XCNEWVEC (tree, n_basic_blocks); + tree *info = XCNEWVEC (tree, last_basic_block); /* Walk over the case label vector. Record blocks which are reached by a single case label which represents |