https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47292
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- case dw_val_class_str: form = AT_string_form (a); if (form == DW_FORM_strp || form == DW_FORM_line_strp) size += dwarf_offset_size; if (a->dw_attr_val.v.val_str->form == DW_FORM_strp) dw2_asm_output_offset (dwarf_offset_size, a->dw_attr_val.v.val_str->label, debug_str_section, "%s: \"%s\"", name, AT_string (a)); if (node->form == DW_FORM_strp) dw2_asm_output_offset (dwarf_offset_size, node->label, debug_str_section, "The macro: \"%s\"", ref->info); >This version of the compiler marks its debug information as dwarf-3 >This version of the compiler is generating 32 bit integers for both 32 and 64 >bit formats. Actually it outputs dwarf3 32bit by default. So this is a misunderstanding here. Even if gcc is outting for 64bit, GCC defaults to outputting 32bit dwarf[2-5]. GCC 11 (r11-5742-g65312dfc647444) adds an option to change to outputting 64bit dwarf[2-5] though. (note only powerpc-aix defaults to 64bit dwarf output; all other targets use 32bit dwarf).