From: Kazu Hirata Date: Wed, 11 Jan 2006 20:25:09 +0000 (+0000) Subject: df-core.c (df_compact_blocks, [...]): Use SET_BASIC_BLOCK instead of BASIC_BLOCK. X-Git-Tag: releases/gcc-4.2.0~4921 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9be0cc75f123329373c012d9379e63d992f717bf;p=thirdparty%2Fgcc.git df-core.c (df_compact_blocks, [...]): Use SET_BASIC_BLOCK instead of BASIC_BLOCK. * df-core.c (df_compact_blocks, df_bb_replace): Use SET_BASIC_BLOCK instead of BASIC_BLOCK. From-SVN: r109600 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3e700b7c9c2a..f361cc9cba8c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2006-01-11 Kazu Hirata + + * df-core.c (df_compact_blocks, df_bb_replace): Use + SET_BASIC_BLOCK instead of BASIC_BLOCK. + 2006-01-11 Richard Guenther PR tree-optimization/25734 diff --git a/gcc/df-core.c b/gcc/df-core.c index aef38cb43547..59602dea2917 100644 --- a/gcc/df-core.c +++ b/gcc/df-core.c @@ -792,7 +792,7 @@ df_compact_blocks (struct df *df) i = NUM_FIXED_BLOCKS; FOR_EACH_BB (bb) { - BASIC_BLOCK (i) = bb; + SET_BASIC_BLOCK (i, bb); bb->index = i; i++; } @@ -800,7 +800,7 @@ df_compact_blocks (struct df *df) gcc_assert (i == n_basic_blocks); for (; i < last_basic_block; i++) - BASIC_BLOCK (i) = NULL; + SET_BASIC_BLOCK (i, NULL); } @@ -830,7 +830,7 @@ df_bb_replace (struct df *df, int old_index, basic_block new_block) } } - BASIC_BLOCK (old_index) = new_block; + SET_BASIC_BLOCK (old_index, new_block); new_block->index = old_index; }