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]

Re: Integrated cpp: hack specs so -traditional and -save-temps work


Neil Booth wrote:-

>  	* gcc.c (cpp_options_common): Renamed from cpp_options; this
>  	forms the specs common to preprocessing assembly and C.
>  	(cpp_options): cpp_options_asm with -lang-c and -ansi.
> 	(cc1_options): add invocation of as to reduce duplication.
>  	Simplify existing specs to use these 2 changes.
>  	Add specs to invoke tradcpp0 on the integrated preprocessor
>  	if any of -traditional, -traditional-cpp or -ftraditional
>  	is specified, passing the output to cc1.
> 	Add specs to invoke the relevant preprocessor if
> 	-save-temps is specified.

Typo; should read

 	* gcc.c (cpp_options_common): Renamed from cpp_options; this
 	forms the specs common to preprocessing assembly and C.
 	(cpp_options): cpp_options_common with -lang-c and -ansi.
	(cc1_options): add invocation of as to reduce duplication.
 	Simplify existing specs to use these 2 changes.
 	Add specs to invoke tradcpp0 on the integrated preprocessor
 	if any of -traditional, -traditional-cpp or -ftraditional
 	is specified, passing the output to cc1.
	Add specs to invoke the relevant preprocessor if
	-save-temps is specified.

Neil.

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