From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2168) id D31AE3858CDA; Tue, 11 Jul 2023 00:19:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D31AE3858CDA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1689034741; bh=tvAx/5fEMjXTR0gKdEzumvgw/WEqSE3pCYLa1cx2qi4=; h=From:To:Subject:Date:From; b=HxQO+hn/ET0WBepKcUb+Mp2AfdTC9lE/EEXVgrokKJ0c4u6JGpHOKXfV5JZfM4vLN rx3cEyEgm2yBojX43mvKYmhT2QoJczURRVotxD2ptp7kYiT7G9VHX/FmiJhvlPkWz5 5NGLt6oDWu76i8q6CMRONeXeihLEffOv4lr0hfSE= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: GCC Administrator To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r11-10904] Daily bump. X-Act-Checkin: gcc X-Git-Author: GCC Administrator X-Git-Refname: refs/heads/releases/gcc-11 X-Git-Oldrev: d308b11fa94728507984b4ccc949219511273ab6 X-Git-Newrev: ad292b7174069984343fc6a00c466e3e0fd720e8 Message-Id: <20230711001901.D31AE3858CDA@sourceware.org> Date: Tue, 11 Jul 2023 00:19:01 +0000 (GMT) List-Id: https://gcc.gnu.org/g:ad292b7174069984343fc6a00c466e3e0fd720e8 commit r11-10904-gad292b7174069984343fc6a00c466e3e0fd720e8 Author: GCC Administrator Date: Tue Jul 11 00:18:39 2023 +0000 Daily bump. Diff: --- gcc/DATESTAMP | 2 +- libstdc++-v3/ChangeLog | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 1d5dd3c5cda..2dbd21ed6c0 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20230710 +20230711 diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 2041fb7219a..600a0706404 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,26 @@ +2023-07-10 Jonathan Wakely + + Backported from master: + 2022-11-11 Jonathan Wakely + + PR libstdc++/95048 + * include/bits/fs_path.h (path::_Codecvt): New class template + that selects the kind of code conversion done. + (path::_Codecvt): Select based on sizeof(wchar_t). + (_GLIBCXX_CONV_FROM_UTF8): New macro to allow the same code to + be used for Windows and POSIX. + (path::_S_convert(const EcharT*, const EcharT*)): Simplify by + using _Codecvt and _GLIBCXX_CONV_FROM_UTF8 abstractions. + (path::_S_str_convert(basic_string_view, const A&)): + Simplify nested conditions. + * include/experimental/bits/fs_path.h (path::_Cvt): Define + nested typedef controlling type of code conversion done. + (path::_Cvt::_S_wconvert): Use new typedef. + (path::string(const A&)): Likewise. + * testsuite/27_io/filesystem/path/construct/95048.cc: New test. + * testsuite/experimental/filesystem/path/construct/95048.cc: New + test. + 2023-06-23 Jonathan Wakely Backported from master: