This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Why are BLOCK_HEAD/BLOCK_END not used?
- From: Steven Bosscher <s dot bosscher at student dot tudelft dot nl>
- To: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Mon, 8 Dec 2003 16:30:14 +0100
- Subject: Why are BLOCK_HEAD/BLOCK_END not used?
Hello,
For tree-ssa I would like to make the basic block head/end a union because we
now have a head and end for both RTL and trees, and obviously we only can use
one at a time so one field at least is redundant.
Problem is, everything uses bb->head instead of BLOCK_HEAD (bb), and bb->end
instead of BLOCK_END (bb). Is there a reason for this? Would a patch to
update _all_ of these to use the macro be acceptable in stage3 if it prevents
merge trouble for the tree-ssa branch maintainers?
Gr.
Steven