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: Use -cpp= for Fortran -cpp option passed to f951


Joseph S. Myers wrote:
> This patch fixes the first of these issues, by changing the internal
> -cpp option to -cpp= taking a joined argument.  As a side-effect, the
> Negative markers on -cpp (public option to the driver, no argument)
> and -nocpp will now be effective (prune_options ignores all options
> marked Joined, so the Negative markers would not previously have done
> anything).
>   

Oh! Well spotted --  -no-cpp should work ...

> Bootstrapped with no regressions on x86_64-unknown-linux-gnu.  OK to
> commit?
>   

OK. Thanks for the patch!

Tobias

> 2010-07-28  Joseph Myers  <joseph@codesourcery.com>
>
> 	* lang.opt (cpp): Remove Joined and Separate markers.
> 	(cpp=): New internal option.
> 	* lang-specs.h (F951_CPP_OPTIONS): Generate -cpp= option.
> 	* cpp.c (gfc_cpp_handle_option): Handle OPT_cpp_ instead of
> 	OPT_cpp.
>
>   


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