From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 22B933858401; Wed, 12 Jul 2023 20:16:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 22B933858401 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1689192995; bh=0/+lwfRHJCcyunZsvlOrPgM+kAU1FcaE/kebUp/hM+Y=; h=From:To:Subject:Date:In-Reply-To:References:From; b=HWsIoTvPLQlgKMSDAUJhMOVQ9F6kPAAZkETzX1ceAIWnopFWUSqETVKX9Ea/SyK7G tYEBom4/5eKUDei5/Z1nkqWyZ81WomPjeFPHHwtRhuzXJkZwtJDTaj3fONc914/PHr R+dPvtO8mW7pyZ+LsfXwso5HAhijrQdE9UYg7m8M= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/95048] [11 Regression] wstring-constructor of std::filesystem::path throws for non-ASCII characters Date: Wed, 12 Jul 2023 20:16:34 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.5 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=3D95048 --- Comment #28 from CVS Commits --- The releases/gcc-13 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:db179779c9416cebb646758d276744f78536cc25 commit r13-7559-gdb179779c9416cebb646758d276744f78536cc25 Author: Jonathan Wakely Date: Wed Jul 12 14:40:19 2023 +0100 libstdc++: Check conversion from filesystem::path to wide strings [PR95= 048] The testcase added for this bug only checks conversion from wide strings on construction, but the fix also covered conversion to wide strings via path::wstring(). Add checks for that, and u16string() and u32string(). libstdc++-v3/ChangeLog: PR libstdc++/95048 * testsuite/27_io/filesystem/path/construct/95048.cc: Check conversions to wide strings. * testsuite/experimental/filesystem/path/construct/95048.cc: Likewise. (cherry picked from commit d6384ad1a9ab7ea46990a7ed1299d5a2be4acece)=