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: [RFC] Let's kill specs, completely rewrite gcc.c


Per Bothner wrote:-

> Likewise.  In other words:  I don't really know how this is handled now,
> in gcc.c, but some equivalent mechanism can be designed, and if so
> why can't the lang front-ends use the same mechanism?

You're right - I was just thinking of reducing the table size for
them, and how to distinguish the relevant options from those that
aren't relevant.  Of course, I had answered the latter point in my
original post - we should use flags - sorry for my confusion.

Target-specific stuff is currently handled in gcc.c by a whole hairy
series of macros and suchlike, I think.  Target-specific HAVE_XYZ
macros, and macros to add target-specific specs, etc.

Neil.

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