On Thu, Sep 1, 2016 at 3:17 PM, Eric Botcazou <ebotca...@adacore.com> wrote:
>> So I think it's better to apply get_base_address here rather than only
>> stripping VIEW_CONVERT_EXRPs.
>> (beware of it returning NULL_TREE for WITH_SIZE_EXPRs, thus maybe
>> strip those first as well)
>
> Something like this?  The testsuite is still clean with it.

Yes.

Thanks,
Richard.

>
>         * ipa-inline-analysis.c (param_change_prob): Get to the base object
>         first in all cases.
>
> --
> Eric Botcazou

Reply via email to