This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [tree-ssa] empty_stmt_nodes, deleted statements, iterators, andgsi_step_bb


On Fri, 2002-11-29 at 13:04, Daniel Berlin wrote:
> 
> On Friday, November 29, 2002, at 12:50  PM, Diego Novillo wrote:
> 
> > On Fri, 29 Nov 2002, Andrew Macleod wrote:
> >
> >> So why does the builder do this? why doesn't it do something such as
> >> link a compound statement into the tree, hang an empty_stmt node off 
> >> it,
> >> and then point to that?
> >>
> > Because the CFG builder is not particularly bright.  Your
> > suggestion sounds good to me.  Care to implement it?  :)
> 
> You have to hang two, no?
> :)
> 
I originally wrote that we'd need 2, but then figured I only needed one
which could be both the first and last statement in the block. So I
reworded it :-) There must be other blocks which only have one
statement. As long as there is *something* in the tree we're pointing
to.

Andrew




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]