https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83336
--- Comment #2 from David Malcolm <dmalcolm at gcc dot gnu.org> --- I'm testing a fix for the above which simply removes the 540 else if (!flag_auto_profile && debug_info_level == DINFO_LEVEL_NONE) clause: i.e. to always retain blocks that satisfy inlined_function_outer_scope_p.