https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96383
--- Comment #21 from rguenther at suse dot de <rguenther at suse dot de> --- On Fri, 31 Jul 2020, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96383 > > --- Comment #20 from Jakub Jelinek <jakub at gcc dot gnu.org> --- > lang_hooks.finalize_early_debug_info ? > In the default definition move there just the > /* Emit early debug for reachable functions, and by consequence, > locally scoped symbols. */ > struct cgraph_node *cnode; > FOR_EACH_FUNCTION_WITH_GIMPLE_BODY (cnode) > (*debug_hooks->early_global_decl) (cnode->decl); > and for c-family do what you were testing? Hmm, works for me I guess.