https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107409
--- Comment #14 from Rama Malladi <rvmallad at amazon dot com> --- (In reply to Martin Liška from comment #13) > Note the mentioned revision is a fix and yes, sometimes these revisions can > end up with a regression as profile estimation is a complex guess. Yes, possibly. So, from my understanding, the update_max_bb_count() tracks the max basic block count and takes a decision to inline or not in this case/ run. That is likely why we see a larger instruction count w this function executed/ enabled.