This is the mail archive of the gcc@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]

Re: Experiences using struct gcc_target


Alexandre Oliva wrote:-

> Perhaps we should have alternate headers akin to C++'s <iosfwd> that
> #defined rtx and tree (or just `typedef'ed them) without actually
> defining the underlying types.

I don't like making them macros at all.

Since things like rtx and tree are so universal in GCC, we could just
put forward declarations and the typedefs thereon in some universal
header like config.h or system.h.  Or we could just type a few extra
lines of code and predeclare them where necessary.

Neil.


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