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: Move SH TARGET_OPTIONS to sh.opt


Richard Sandiford wrote:

This patch moves the SH TARGET_OPTIONS to sh.opt.  It's very
mechanical really.  The only notable change is that sh_multcost_str
and sh_gettrcost_str are replaced with integer variables.

As with the TARGET_SWITCHES patch, there's the question of what
to do with superh.h.  That file isn't currently used, but it does
define SUBTARGET_OPTIONS.  It didn't seem worth moving these options
to a .opt file (and consequently adding another file that isn't used
to CVS) so I just left it as-is.  Like before with (even at that time
unused) TARGET_PROCESSOR_SWITCHES, the justification is that it will
document what's indended for anyone who works on superh.h later.

Tested by building sh-linux-gnu in combination with the following patches:

   http://gcc.gnu.org/ml/gcc-patches/2005-05/msg02594.html
   http://gcc.gnu.org/ml/gcc-patches/2005-05/msg02686.html

and checking each option by hand. OK to install?


OK. I've done a regression check on sh64-elf with this patch triad, and it showed
no change against the baseline of today 12:00 UTC.



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