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: RFA: Remove support for TARGET_SWITCHES and TARGET_OPTIONS


Richard Sandiford <rsandifo@redhat.com> writes:

> Following on from:
> 
>     http://gcc.gnu.org/ml/gcc-patches/2005-05/msg02594.html
>     http://gcc.gnu.org/ml/gcc-patches/2005-05/msg02686.html
>     http://gcc.gnu.org/ml/gcc-patches/2005-05/msg02687.html
> 
> this patch removes support for TARGET_SWITCHES and TARGET_OPTIONS,
> and poisons those macros in system.h.
> 
> This allows the --target-help routine to be moved from toplev.c
> to opts.c, where the other help-printing functions are found.
> set_target_switch can be deleted outright.
> 
> There were a couple of lingering mentions of TARGET_OPTIONS in comments.
> There was also a mention of TARGET_SWITCHES in doc/invoke.texi.  This
> seems strange for user-level documentation, and hasn't been strictly
> accurate since the invention of TARGET_OPTIONS, so I just removed
> that bit.
> 
> Tested by bootstrapping and regression testing on i686-pc-linux-gnu
> in combination with the patches above.  OK to install?

This is OK, once the other patches are in.  I'm leaving the SH one for
a SH maintainer, but let me know if it doesn't get reviewed.


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