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

--- Comment #21 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Rainer Orth <r...@gcc.gnu.org>:

https://gcc.gnu.org/g:8e8eac3dea017eae739eb79d540887bb2cf1dc9f

commit r14-9190-g8e8eac3dea017eae739eb79d540887bb2cf1dc9f
Author: Rainer Orth <r...@cebitec.uni-bielefeld.de>
Date:   Tue Feb 27 08:20:25 2024 +0100

    testsuite: Fix gcc.dg/attr-weakref-1.c on Solaris/x86 with as [PR70582]

    gcc.dg/attr-weakref-1.c FAILs on 32 and 64-bit Solaris/x86 with the
    native assembler:

    FAIL: gcc.dg/attr-weakref-1.c (test for excess errors)
    UNRESOLVED: gcc.dg/attr-weakref-1.c compilation failed to produce
executable

    Excess errors:
    Assembler: attr-weakref-1.c
            "/var/tmp//ccUSaysF.s", line 171 : Multiply defined symbol: "Wv3a"

    This is a bug in the native as, which isn't seeing fixes recently.

    Since only a single subtest is affected, this patch omits that one.

    Tested on i386-pc-solaris2.11 (as and gas) and x86_64-pc-linux-gnu.

    2024-02-24  Rainer Orth  <r...@cebitec.uni-bielefeld.de>

            gcc/testsuite:
            PR ipa/70582
            * gcc.dg/attr-weakref-1.c (dg-additional-options): Define
            SOLARIS_X86_AS as appropriate.
            (lv3, Wv3a, pv3a): Wrap in !SOLARIS_X86_AS.
            (main): Likewise for chk (pv3a).

Reply via email to