This is the mail archive of the
mailing list for the GCC project.
Re: No address_cost calls when inlining ?
Ahhh ok, so basically I've hit the same wall as for the constant
folding and constant propagation!
Oh well, I will see how important it is for me to try to fix it in this case.
Thanks for the answer,
On Tue, Mar 10, 2009 at 4:18 AM, Paolo Bonzini <email@example.com> wrote:
>> I want the version of foo because the store with an address as
>> destination is costly on my architecture, which is why I defined
>> TARGET_ADDRESS_COST and added a cost when I get this scenario.
>> However, in the compilation of this code, it seems that, when the
>> function is inlined, the address_cost function does not seem to be
>> called anymore. Any ideas why ?
> This is (a variant of) PR33699.