https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90981
Mark Wielaard <mark at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |mark at gcc dot gnu.org --- Comment #4 from Mark Wielaard <mark at gcc dot gnu.org> --- Created attachment 46518 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46518&action=edit Don't emit debug_addr attribute or addr index if there is no addr table. Testing the following patch that makes sure we don't try to emit a DW_AT_addr_base and .debug_addr debug table if there is no (or an empty) address table.