On Fri, Dec 12, 2014 at 1:21 PM, Zamyatin, Igor <igor.zamya...@intel.com> wrote:

> When adding checks for PIC register in address cost calculation 
> (http://gcc.gnu.org/ml/gcc-cvs/2014-10/msg00411.html) it was meant to affect 
> only RTL passes.
> Since !pic_offset_table_rtx is not enough for it (I see that 
> pic_offset_table_rtx enabled on GIMPLE level) following change explicitly 
> adds this restriction.
>
> Bootstrapped and regtested with 
> RUNTESTFLAGS="--target_board='unix{-m32,-fpic}'"
> Is it ok for trunk?
>
> 2014-12-12  Igor Zamyatin  <igor.zamya...@intel.com>
>
>         * config/i386/i386.c (ix86_address_cost): Add explicit restriction
>         to RTL level for the check for PIC register.

OK.

Thanks,
Uros.

Reply via email to