On Tue, 15 Mar 2016, Eric Botcazou wrote: > Hi, > > this is the failure of the LTO bootstrap with profile-directed optimization > when compiling gnat1 with debug info. The issue is that flush_limbo_die_list > doesn't actually fully flush the limbo list because it calls get_context_die, > which calls force_decl_die, which can put new DIEs on the limbo list in LTO > mode when nested functions are put in a different partition than that of > their > parent function. > > Richard, this is the version of the patch that you said you would approve. > Tested on x86_64-suse-linux, is it OK for GCC 6 or must it wait until GCC 7?
It's ok for GCC 6. Thanks, Richard. > 2016-03-15 Eric Botcazou <ebotca...@adacore.com> > > PR bootstrap/69513 > * dwarf2out.c (flush_limbo_die_list): Really flush the limbo list.