]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Tue, 11 Jul 2023 00:18:39 +0000 (00:18 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Tue, 11 Jul 2023 00:18:39 +0000 (00:18 +0000)
gcc/DATESTAMP
libstdc++-v3/ChangeLog

index 1d5dd3c5cda4ca5e33ec5974fcbed924b13fa830..2dbd21ed6c0bba0e9e099185bb949739281974c3 100644 (file)
@@ -1 +1 @@
-20230710
+20230711
index 2041fb7219a8fea42a23335bb022b75cfe760371..600a07064046c3de346eca076153fc4fffba962f 100644 (file)
@@ -1,3 +1,26 @@
+2023-07-10  Jonathan Wakely  <jwakely@redhat.com>
+
+       Backported from master:
+       2022-11-11  Jonathan Wakely  <jwakely@redhat.com>
+
+       PR libstdc++/95048
+       * include/bits/fs_path.h (path::_Codecvt): New class template
+       that selects the kind of code conversion done.
+       (path::_Codecvt<wchar_t>): 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<value_type>, 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  <jwakely@redhat.com>
 
        Backported from master: