Rename tree_ann to tree_ann_t

Steven Bosscher stevenb@suse.de
Mon May 17 21:31:00 GMT 2004


On Monday 17 May 2004 22:20, Diego Novillo wrote:
> On Sun, 2004-05-16 at 06:32, Steven Bosscher wrote:
> > But the generic tree_ann is a type name, where the other kinds
> > of tree annotations have a *_t suffix.  This patch renames
> > tree_ann to tree_ann_t, and adds a few functions to create and
> > access the generic tree_ann_t annotations.
>
> Why do you want to create a generic tree_ann_t object?  What annotations
> are you trying to add?  It'd be better to sub-type them like we did for
> the others.

We attach them to expressions (in this context, anything that can 
be the rhs of a MODIFY_EXPR) to get the value representative for
that expression without looking it up in a hash table.

Gr.
Steven




More information about the Gcc-patches mailing list