summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2006-01-11 20:25:09 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2006-01-11 20:25:09 +0000
commita9b9dcf44ab2890599533d4b7f5db0e5917f8649 (patch)
treeaf1f96ea91d94eb0a7510487aed90d581b974c94 /gcc
parent4ddaa7c66c74e5f943f2a94bd50ca116c22ef08b (diff)
downloadgcc-a9b9dcf44ab2890599533d4b7f5db0e5917f8649.tar.gz
* df-core.c (df_compact_blocks, df_bb_replace): Use
SET_BASIC_BLOCK instead of BASIC_BLOCK. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109600 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/df-core.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3e700b7c9c2..f361cc9cba8 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2006-01-11 Kazu Hirata <kazu@codesourcery.com>
+
+ * df-core.c (df_compact_blocks, df_bb_replace): Use
+ SET_BASIC_BLOCK instead of BASIC_BLOCK.
+
2006-01-11 Richard Guenther <rguenther@suse.de>
PR tree-optimization/25734
diff --git a/gcc/df-core.c b/gcc/df-core.c
index aef38cb4354..59602dea291 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;
}