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

--- Comment #13 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:6c97934fde7caf483ffc5079eb8ca4af04354a2c

commit r15-767-g6c97934fde7caf483ffc5079eb8ca4af04354a2c
Author: Tom de Vries <tdevr...@suse.de>
Date:   Wed May 22 10:06:10 2024 +0200

    testsuite: Allow for non-SECTION_MERGE systems in gcc.dg/pr115066.c
[PR115066]

    gcc.dg/pr115066.c currently FAILs on Solaris/SPARC with the native as:

    FAIL: gcc.dg/pr115066.c scan-assembler \\\\.byte\\\\t0xb\\\\t# Define macro
strx

    Instead of the expected

            .byte   0xb     ! Define macro strx

    the assembler output contains

            .byte   0x1     ! Define macro

    Apparently this happens because the Solaris as/ld combo doesn't support
    SHF_MERGE.

    While I initially meant to just skip the test on sparc*-*-solaris2* &&
!gas,
    Tom suggested to allow for both forms instead, which is what his patch
    does.

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

    2024-05-21  Tom de Vries  <tdevr...@suse.de>

            gcc/testsuite:
            PR debug/115066
            * gcc.dg/pr115066.c (scan-assembler): Allow for alternative form
            of Define macro.

Reply via email to