There are more.

In toplev.c:
  /* One region RA really helps to decrease the code size.  */
  if (flag_ira_region == IRA_REGION_AUTODETECT)
    flag_ira_region
      = optimize_size || !optimize ? IRA_REGION_ONE : IRA_REGION_MIXED;

In config/i386/i386.c:
  * Assignment of ix86_cost
  * Decision of alignment

2014-07-23 19:32 GMT+08:00 Richard Biener <richard.guent...@gmail.com>:
> On Wed, Jul 23, 2014 at 1:04 PM, Pengfei Yuan <0xcool...@gmail.com> wrote:
>> I guess some optimizations are controlled only by "optimize_size", not
>> by the profile.
>
> I only see tree-inline.c:estimate_move_cost which we should indeed fix,
> it could make a significant difference.
>
> One other use in tree-ssa-phiopt.c, but probably doesn't really matter.
>
> Richard.

Reply via email to