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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
clang outputs the same here, that is the "auto" type.

        .byte   4                               # Abbrev [4] 0x48:0x1b
DW_TAG_subprogram
        .long   .Linfo_string5                  # DW_AT_linkage_name
        .long   .Linfo_string6                  # DW_AT_name
        .byte   1                               # DW_AT_decl_file
        .byte   4                               # DW_AT_decl_line
        .long   198                             # DW_AT_type
                                        # DW_AT_declaration
                                        # DW_AT_external
        .byte   1                               # DW_AT_accessibility
                                        # DW_ACCESS_public
....

        .byte   11                              # Abbrev [11] 0xc6:0x5
DW_TAG_unspecified_type
        .long   .Linfo_string7                  # DW_AT_name
...

.Linfo_string5:
        .asciz  "_ZN2AA4funcEi"                 # string offset=132
.Linfo_string6:
        .asciz  "func"                          # string offset=146
.Linfo_string7:
        .asciz  "auto"                          # string offset=151

Reply via email to