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: [SH] Fix defunct -mbranch-cost option


Oleg Endo <oleg.endo@t-online.de> wrote:
> while working on another PR I've noticed that the -mbranch-cost option
> in the SH target is not really working.  The attached patch brings it
> back to life, leaving the default behavior unchanged.
> 
> Cheers,
> Oleg
> 
> 
> 2011-12-28  Oleg Endo  <oleg.endo@t-online.de>
> 
> 	* config/sh/sh.h (BRANCH_COST): Use sh_branch_cost variable.
> 	* config/sh/sh.c (sh_option_override): Simplify sh_branch_cost
> 	expression.

Ok as the obvious fix.  Thanks for the patch.

Regards,
	kaz


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