This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: No address_cost calls when inlining ?
- From: Paolo Bonzini <bonzini at gnu dot org>
- To: Jean Christophe Beyler <jean dot christophe dot beyler at gmail dot com>
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Tue, 10 Mar 2009 09:18:47 +0100
- Subject: Re: No address_cost calls when inlining ?
- References: <c568a2600903091258x260540d2u9ddbf8bd082dfce1@mail.gmail.com>
> 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.
Paolo