From: GCC Administrator Date: Tue, 11 Jul 2023 00:18:39 +0000 (+0000) Subject: Daily bump. X-Git-Tag: releases/gcc-11.5.0~680 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad292b7174069984343fc6a00c466e3e0fd720e8;p=thirdparty%2Fgcc.git Daily bump. --- diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 1d5dd3c5cda4..2dbd21ed6c0b 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20230710 +20230711 diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 2041fb7219a8..600a07064046 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: