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

--- Comment #2 from Pilar Latiesa <pilarlatiesa at gmail dot com> ---

It seems that as is failing because of a duplicate symbol.

This is the content of m.s generated with -save-temps:

        .file   "m.cpp"
        .text
        .globl  _ZGIW1m
        .type   _ZGIW1m, @function
_ZGIW1m:
.LFB0:
        .cfi_startproc
        pushq   %rbp
        .cfi_def_cfa_offset 16
        .cfi_offset 6, -16
        movq    %rsp, %rbp
        .cfi_def_cfa_register 6
        nop
        popq    %rbp
        .cfi_def_cfa 7, 8
        ret
        .cfi_endproc
.LFE0:
        .size   _ZGIW1m, .-_ZGIW1m
        .globl  _ZGIW1m
        .type   _ZGIW1m, @function
_ZGIW1m:
.LFB1:
        .cfi_startproc
        pushq   %rbp
        .cfi_def_cfa_offset 16
        .cfi_offset 6, -16
        movq    %rsp, %rbp
        .cfi_def_cfa_register 6
        nop
        popq    %rbp
        .cfi_def_cfa 7, 8
        ret
        .cfi_endproc
.LFE1:
        .size   _ZGIW1m, .-_ZGIW1m
        .ident  "GCC: (GNU) 15.0.1 20250418 (prerelease)"
        .section        .note.GNU-stack,"",@progbits

Reply via email to