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: Rename tree_ann to tree_ann_t


In message <1084826556.3630.130.camel@localhost.localdomain>, Diego Novillo wri
tes:
 >I would like to have a generic mechanism for this.  We have an
 >annotation scheme that sort of works but it's dynamically checked (See
 >var_ann_d, stmt_ann_d, ssa_name_ann_d in tree-flow.h).  Do you have any
 >thoughts about this?
And there's absolutely no reason to do this...  The set of annotations we
attach to nodes is completely determined by the type of the node the
annotation is attached to.  In fact, the whole concept of having 
tree_ann_common_d is braindead -- the only thing in there is the type
variant which we ought to be able to trivially deduce from the type
of the node which has the annotation.

jeff


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