https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64346

--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> ---
(In reply to dehao from comment #3)
> For AutoFDO, we actually needs symbols from the symbol table because
> indirect call promotion needs the symbol name to find the right callee.

I don't understand why the -O0 output is relevant for autofdo; surely you want
to do data collection on an optimized build and then use it on another
optimized build?

We could change debug output so that you see the C1 as an intermediate inline
function, but it's not clear to me why that would be beneficial.

Also, there's no indirect call here, constructors are always called directly.

Reply via email to