aboutsummaryrefslogtreecommitdiff
path: root/gcc/ifcvt.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2006-01-11 18:43:15 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2006-01-11 18:43:15 +0000
commit68f9b84438d3ad84f1baf6413723a205e6a49b07 (patch)
tree107754d72857ad15b86879bbb0e898761aed1c26 /gcc/ifcvt.c
parent043c2d9e0840ed72c6eca4eb9eb75e382224ad3d (diff)
downloadgcc-68f9b84438d3ad84f1baf6413723a205e6a49b07.zip
gcc-68f9b84438d3ad84f1baf6413723a205e6a49b07.tar.gz
gcc-68f9b84438d3ad84f1baf6413723a205e6a49b07.tar.bz2
basic-block.h (control_flow_graph): Change the type of x_basic_block_info to VEC(basic_block,gc) *.
* basic-block.h (control_flow_graph): Change the type of x_basic_block_info to VEC(basic_block,gc) *. (BASIC_BLOCK_FOR_FUNCTION, BASIC_BLOCK): Adjust the uses of basic_block_info. (SET_BASIC_BLOCK): New. * cfg.c (compact_blocks, expunge_block): Use SET_BASIC_BLOCK instead of BASIC_BLOCK when assigning to BASIC_BLOCK. * cfgbuild.c (find_basic_blocks): Likewise. * cfglayout.c (fixup_reorder_chain): Likewise. * cfgrtl.c (create_basic_block_structure, rtl_create_basic_block): Likewise. * ifcvt.c (find_if_case_1): Likewise. * tree-cfg.c (init_empty_tree_cfg, build_tree_cfg, create_bb): Likewise. From-SVN: r109596
Diffstat (limited to 'gcc/ifcvt.c')
-rw-r--r--gcc/ifcvt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ifcvt.c b/gcc/ifcvt.c
index d892535..2390f2f 100644
--- a/gcc/ifcvt.c
+++ b/gcc/ifcvt.c
@@ -3135,7 +3135,7 @@ find_if_case_1 (basic_block test_bb, edge then_edge, edge else_edge)
if (new_bb)
{
new_bb->index = then_bb_index;
- BASIC_BLOCK (then_bb_index) = new_bb;
+ SET_BASIC_BLOCK (then_bb_index, new_bb);
/* Since the fallthru edge was redirected from test_bb to new_bb,
we need to ensure that new_bb is in the same partition as
test bb (you can not fall through across section boundaries). */