Hi,

On Tue, Aug 11 2020, Gary Oblock via Gcc wrote:
> Note, I'm getting close to getting my part of the structure reorganization
> optimization minimally functional (my question about value range propagation 
> remains open since I re-enabled a couple of optimizations to bypass it.) 
> Therefore this is actually important for me to resolve.
>
> I obviously generated calls to the standard library function "free."
> Also, similar calls to malloc didn't have that ".2" appended on them.
> I'd normally handle a problem like this with a Google search but
> "free.2" gets turned into "free to" and I get an insane number of
> junk search results.
>
> This is obviously an easy question to answer for those that
> have seen something similar in the past.

This looks like the name has been privatized for LTRANS compilation (see
promote_symbol and privatize_symbol_name in lto/lto-partition.c).  Does
the decl you call have DECL_EXTERN and DECL_PUBLIC set?  Are all of the
relevant flags of the associated call graph node set as you'd expect?

Martin

Reply via email to