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: Move handling of lang-specific switches to toplev


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.


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