[Bug c++/112652] g++.dg/cpp26/literals2.C FAILs
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Dec 17 12:18:19 GMT 2025
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 <ro@gcc.gnu.org>:
https://gcc.gnu.org/g:829fc51a5c98c27c39046bbbeccef375236c88dd
commit r16-6209-g829fc51a5c98c27c39046bbbeccef375236c88dd
Author: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
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 <ro@CeBiTec.Uni-Bielefeld.DE>
gcc/testsuite:
PR c++/112652
* g++.dg/cpp26/literals2.C: Skip on Solaris.
More information about the Gcc-bugs
mailing list