https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47819
--- Comment #4 from Mark Wielaard <mark at gcc dot gnu.org> --- The following bugs might be added to this meta-bug. But they seemed not very urgent because they involve non-default -g/-f debug flags: - -flto -g -gsplit-dwarf is broken https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88389 - .debug_pubnames/types empty with -flto https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88878 - -g -flto -fdebug-types-section is broken for units with over 64k types https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93117 - exception and unwind state is not carried to LTO but controls EH vs debug frame https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91794 - ICE with '-flto -g -femit-struct-debug-baseonly' https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93951 There is also: - LTO produces line info entries with invalid line numbers https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94311 But that seems to have been reduced to a variant of: - debug_line with LTO refers to bogus file-names https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93865 (Which already blocks this bug)