public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Why are BLOCK_HEAD/BLOCK_END not used?
@ 2003-12-08 15:33 Steven Bosscher
  2003-12-08 22:09 ` [RFC] Use accessor macros for the head and end of a basic block Steven Bosscher
  0 siblings, 1 reply; 8+ messages in thread
From: Steven Bosscher @ 2003-12-08 15:33 UTC (permalink / raw)
  To: gcc

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2003-12-10 22:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-08 15:33 Why are BLOCK_HEAD/BLOCK_END not used? Steven Bosscher
2003-12-08 22:09 ` [RFC] Use accessor macros for the head and end of a basic block Steven Bosscher
2003-12-08 22:35   ` Jan Hubicka
2003-12-09  5:04     ` law
2003-12-09  6:52       ` Steven Bosscher
2003-12-09  9:28         ` law
2003-12-10  8:47           ` Steven Bosscher
2003-12-10 22:49             ` Zack Weinberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).