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: enhanced structure offset tracking


All,

Neil Booth wrote:
> 
> Graham Stott wrote:-
> 
> > I wonder if it has anything to do with the
> >
> >       typedef tree_union *_function_tree;
> >       #define tree _function_tree;
> >
> > that occurs in function.h
> 
> Ugh.  How disgusting.
> 
> Neil.

Yes, exactly.

Now that the forward defs for "struct rtx_def + rtx", "struct rtvec_def + rtvec"
and "union tree_node +tree" are in system.h and have been for sometime. I think
we can remove some outdated stuff from the header files which are providing forward
defs for these.

In addition I think we can always use the typedefs "rtx, rtvec and tree" in the
GCC sources rather that "struct rtx_def *, struct rtvec_def * and union tree_node *"

Graham


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