re PR rtl-optimization/31771 (g++.dg/gomp/pr26913.C ICEs)

PR tree-optimization/31771
	* tree-cfg.c (move_block_to_fn): Assign bb to the correct index.

From-SVN: r124362
This commit is contained in:
Zdenek Dvorak 2007-05-03 00:34:38 +02:00 committed by Zdenek Dvorak
parent ad1ec76fea
commit e0310afb08
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2007-05-03 Zdenek Dvorak <dvorakz@suse.cz>
PR tree-optimization/31771
* tree-cfg.c (move_block_to_fn): Assign bb to the correct index.
2007-05-02 Paul Brook <paul@codesourcery.com>
* config/arm/bpabi.S (aeabi_lcmp): Fix result on overflow.

View file

@ -4624,7 +4624,7 @@ move_block_to_fn (struct function *dest_cfun, basic_block bb,
}
VEC_replace (basic_block, cfg->x_basic_block_info,
cfg->x_last_basic_block, bb);
bb->index, bb);
/* The statements in BB need to be associated with a new TREE_BLOCK.
Labels need to be associated with a new label-to-block map. */