This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Move handling of lang-specific switches to toplev
- From: Neil Booth <neil at daikokuya dot co dot uk>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 7 Jun 2003 12:14:59 +0100
- Subject: Re: Move handling of lang-specific switches to toplev
- References: <20030607111411.GA17859@daikokuya.co.uk>
Neil Booth wrote:-
> This handles C switches in opts.c, a sister of toplev.c that will
> ultimately contain all of toplev's switch code.
>
> At present, only the C front end uses the new scheme; the next
> step is to convert the other front ends. The C front option
> handler is now little more than a large switch statement.
>
> I wanted options.h for a header file; unfortunately that is
> already used for a generated file. I renamed the exisiting
> one options_.h; eventually I don't think it will be needed.
>
> Kaveh will be glad to know that I've removed the #include-ing
> of .c files.
I meant to add, bootstrapped on c, objc, c++ and f77. Java didn't
bootstrap for unrelated reasons.
Neil.