From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8034D3858C33; Wed, 22 Nov 2023 15:26:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8034D3858C33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1700666797; bh=8Iiu9BkSHBRDcG/n9cktF03nHxDiJNIsWF86N+V/jOQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=RICiAZpZf05x7sBraDMqDQdgxtW2dthjsGzThJLY3oj8HVCxaJC0iWFeNICFiCJLl qvrxdgcP9U096IzjHT0fhssIqFyKrAtafssq4QT6yoLWXIwhe6Hi01XxUfbJlJoFet DYNl8NdwzDOlrIjc55HkMUCucO+8T7e9nws57+cU= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/112652] g++.dg/cpp26/literals2.C FAILs Date: Wed, 22 Nov 2023 15:26:36 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: testsuite-fail X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D112652 --- Comment #3 from Jakub Jelinek --- (In reply to ro@CeBiTec.Uni-Bielefeld.DE from comment #2) > > --- Comment #1 from Jakub Jelinek --- > > Strange. On cfarm211 which is > > SunOS gcc-solaris11 5.11 11.3 sun4u sparc SUNW,SPARC-Enterprise > > the test passes. >=20 > Can you check which libiconv got picked up there? The non-standard > OpenCSW packages on that system may include GNU libiconv and install > into default system directories, so they are picked up by default. /opt/csw/lib/libiconv.so.2 >=20 > > You get no diagnostics for those lines at all? Buggy libconv? >=20 > No. There's no separate libiconv on Solaris; the iconv* functions are > included in libc. On Linux I get: echo =C3=A1 | iconv -f UTF-8 -t ASCII -; echo =F0=9F=98=81 | iconv -f UTF-8= -t ISO-8859-1 - iconv: illegal input sequence at position 0 iconv: illegal input sequence at position 0 while on Solaris echo =C3=A1 | iconv -f UTF-8 -t ASCII -; echo =F0=9F=98=81 | iconv -f UTF-8= -t ISO-8859-1 - ? ? If it maps all characters which do not have representation in the destinati= on character set into ?, then it is useless for the test in question.=