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

--- Comment #14 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Rainer Orth <[email protected]>:

https://gcc.gnu.org/g:829fc51a5c98c27c39046bbbeccef375236c88dd

commit r16-6209-g829fc51a5c98c27c39046bbbeccef375236c88dd
Author: Rainer Orth <[email protected]>
Date:   Wed Dec 17 13:17:32 2025 +0100

    testsuite: c++: Skip g++.dg/cpp26/literals2.C on Solaris [PR112652]

    The g++.dg/cpp26/literals2.C FAILs on Solaris like this:

    FAIL: g++.dg/cpp26/literals2.C  -std=gnu++11  (test for errors, line 10)
    FAIL: g++.dg/cpp26/literals2.C  -std=gnu++11  (test for errors, line 11)
    FAIL: g++.dg/cpp26/literals2.C  -std=gnu++11  (test for errors, line 13)
    FAIL: g++.dg/cpp26/literals2.C  -std=gnu++11  (test for errors, line 41)
    FAIL: g++.dg/cpp26/literals2.C  -std=gnu++11  (test for errors, line 42)
    FAIL: g++.dg/cpp26/literals2.C  -std=gnu++11  (test for errors, line 44)

    As discussed in the PR, this is an issue with the Solaris iconv
    implementation.  While one could fix it by requiring GNU libiconv or
    implement a workaround in libcpp, it seems easier to just skip the test
    on Solaris.  xfailing it isn't really an option since that would have to
    be applied to every single affected dg-error which seems overkill.

    Tested on i386-pc-solaris2.11 and x86_64-pc-linux-gnu.

    2024-03-13  Rainer Orth  <[email protected]>

            gcc/testsuite:
            PR c++/112652
            * g++.dg/cpp26/literals2.C: Skip on Solaris.

Reply via email to