https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81968
--- Comment #68 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to rguent...@suse.de from comment #67) > On March 26, 2018 2:46:08 PM GMT+02:00, "jakub at gcc dot gnu.org" > <gcc-bugzi...@gcc.gnu.org> wrote: > >https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81968 > > > >--- Comment #66 from Jakub Jelinek <jakub at gcc dot gnu.org> --- > >(In reply to Jakub Jelinek from comment #63) > >> --- gcc/dwarf2out.c 2018-03-11 17:48:53.498068316 +0100 > >> +++ gcc/dwarf2out.c 2018-03-13 10:58:03.477514623 +0100 > >> @@ -28282,6 +28282,7 @@ output_macinfo (const char *debug_line_l > >> case DW_MACINFO_undef: > >> if ((!dwarf_strict || dwarf_version >= 5) > >> && HAVE_COMDAT_GROUP > >> + && !flag_lto > > Flag_generate_lto || Flag_generate_offload > > Is what we use elsewhere It is meant just to debug the issue, the final patch would use some configure macro if it helps.