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

--- Comment #10 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:a032c319cb9cf5348d71f008f311bcf95f3dac40

commit r14-8979-ga032c319cb9cf5348d71f008f311bcf95f3dac40
Author: Rainer Orth <r...@cebitec.uni-bielefeld.de>
Date:   Wed Feb 14 14:52:54 2024 +0100

    testsuite: gdc: Require ucn in gdc.test/runnable/mangle.d etc. [PR104739]

    gdc.test/runnable/mangle.d and two other tests come out UNRESOLVED on
    Solaris with the native assembler:

    UNRESOLVED: gdc.test/runnable/mangle.d   compilation failed to produce
executable
    UNRESOLVED: gdc.test/runnable/mangle.d -shared-libphobos compilation failed
    to produce executable
    UNRESOLVED: gdc.test/runnable/testmodule.d compilation failed to produce
    executable
    UNRESOLVED: gdc.test/runnable/testmodule.d -shared-libphobos compilation
    failed to produce executable
    UNRESOLVED: gdc.test/runnable/ufcs.d   compilation failed to produce
executable
    UNRESOLVED: gdc.test/runnable/ufcs.d -shared-libphobos compilation failed
    to produce executable

    Assembler: mangle.d
            "/var/tmp//cci9q2Sc.s", line 115 : Syntax error
            Near line: "    movzbl 
test_ÑлÑÑийÑкие_пиÑÑмена_9, %eax"
            "/var/tmp//cci9q2Sc.s", line 115 : Syntax error
            Near line: "    movzbl 
test_ÑлÑÑийÑкие_пиÑÑмена_9, %eax"
            "/var/tmp//cci9q2Sc.s", line 115 : Syntax error
            Near line: "    movzbl 
test_ÑлÑÑийÑкие_пиÑÑмена_9, %eax"
            "/var/tmp//cci9q2Sc.s", line 115 : Syntax error
            Near line: "    movzbl 
test_ÑлÑÑийÑкие_пиÑÑмена_9, %eax"
            "/var/tmp//cci9q2Sc.s", line 115 : Syntax error
    [...]

    since /bin/as lacks UCN support.

    Iain recently added UNICODE_NAMES: annotations to the affected tests and
    those recently were imported into trunk.

    This patch handles the DejaGnu side of things, adding

            { dg-require-effective-target ucn }

    to those tests on the fly.

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

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

            gcc/testsuite:
            PR d/104739
            * lib/gdc-utils.exp (gdc-convert-test) <UNICODE_NAMES>: Require
            ucn support.

Reply via email to