https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96383
--- Comment #7 from rguenther at suse dot de <rguenther at suse dot de> --- On Thu, 30 Jul 2020, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96383 > > Jakub Jelinek <jakub at gcc dot gnu.org> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > CC| |jakub at gcc dot gnu.org > > --- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- > I think at least compared to 4.8 this regressed with the PR65549 change > r224029. Yeah, so that means we've created those DIEs late and only when doing DW_TAG_GNU_call_site processing which we appearantly not do at -O0 and thus get no DIE then. For LTO we need them early anyway so it makes more sense to create them for all neede calls.