https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112718

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
            Summary|[11/12/13/14 Regression]    |[11/12/13/14 Regression]
                   |ICE: in add_dwarf_attr, at  |ICE: in add_dwarf_attr, at
                   |dwarf2out.cc:4501 with -g   |dwarf2out.cc:4501 with -g
                   |-fdebug-types-section -flto |-fdebug-types-section -flto
                   |-fno-use-linker-plugin      |-ffat-lto-objects
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2023-11-27
   Target Milestone|---                         |11.5

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.  Same with -g -fdebug-types-section -flto -ffat-lto-objects

Note -fdebug-types-section has known issues with LTO, it shouldn't be used.

In fact I asked whether we can remove it ...

I think I've seen this particular bug before as well.

Reply via email to