This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Integrated cpp: final take on -save-temps and -traditional
- To: gcc-patches at gcc dot gnu dot org
- Subject: Re: Integrated cpp: final take on -save-temps and -traditional
- From: Neil Booth <NeilB at earthling dot net>
- Date: Tue, 26 Sep 2000 07:59:45 +0100
- References: <20000924102936.A6374@daikokuya.demon.co.uk>
Would someone please approve these specs changes?
Neil.
Neil Booth wrote:-
> This patch bootstraps all front ends both with and without integrated
> cpp, and introduces no new regressions in either case.
>
> It consists of 2 steps:
>
> a) define a new spec invoke_as, without which things would get really
> verbose. Update all specs to use this.
>
> b) Update c, c++ and objc specs to handle -save-temps and -traditional
> (except the c++ frontend).
>
> Also add a cpp spec for the -ftabstop= option.
>
> OK to commit?
>
> Neil.
>
> * gcc.c (cpp_options): Add spec for -ftabstop=.
> (invoke_as): New spec that handles invoking as.
> Update specs to handle -save-temps and -traditional.
> * ch/lang-specs.h, f/lang-specs.h, java/lang-specs.h:
> Use invoke_as.
> * cp/lang-specs.h, objc/lang-specs.h: Update to use
> invoke_as, and handle -save-temps and -traditional (if
> appropriate).
[...]