This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Start moving toplev options to opts.c
Jonathan Lennox wrote:-
> Neil Booth writes:
> > This patch maintains the clean separation. lang.opt can contain
> > language declarations, which are used by opts.sh to declare macros
> > and by the front end in question to tell the options machinery
> > which subset of switches it is interested in.
>
> If you have 24 or more languages, can't the CL_ language flags start
> conflicting with CL_JOINED etc.? This isn't an immediate problem, but a
> paranoia test might not be out of order. (I'd suggest putting this under
> ENABLE_CHECKING but that might be hard to stick into an awk script.)
Heh; I'll worry about that when we get close. We can't handle 65537
macro parameters in cpplib, but I'm not too worried about that either 8-)
Neil.