https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89514
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |88878 --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- -fdebug-types-section isn't implemented for -flto and it doesn't really make much sense for it. See PR88878. One possibility would be to ignore the option but the workaround is to not use it. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88878 [Bug 88878] .debug_pubnames/types empty with -flto