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

--- Comment #5 from Paul le roux <xonar.leroux at gmail dot com> ---
On the GCC trunk version on godbolt.org there is still a difference between the
two cases, but it seems to have turned around. The noprofile case has
vector::resize partially inlined and in the profile case, it is not inlined.

This makes more sense (to me at least) since I expect that certain functions
won't be inlined so that one can gather better profile information. If it is
the case that `--profile-generate` should be less aggressive when inlining then
this bug report can be closed.

Reply via email to