diff options
Diffstat (limited to 'libstdc++-v3/ChangeLog')
-rw-r--r-- | libstdc++-v3/ChangeLog | 117 |
1 files changed, 117 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 12ece4c3b64..42b24dd03ca 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,120 @@ +2022-08-03 Jonathan Wakely <jwakely@redhat.com> + + Backported from master: + 2022-06-28 Jonathan Wakely <jwakely@redhat.com> + + * src/c++17/fs_dir.cc (_Dir::dir_and_pathname):: Replace with + current() returning _At_path. + (_Dir::_Dir, _Dir::open_subdir, _Dir::do_unlink): Adjust. + * src/filesystem/dir-common.h (_Dir_base::_At_path): New class. + (_Dir_base::_Dir_Base, _Dir_base::openat): Use _At_path. + * src/filesystem/dir.cc (_Dir::dir_and_pathname): Replace with + current() returning _At_path. + (_Dir::_Dir, _Dir::open_subdir): Adjust. + +2022-08-03 Jonathan Wakely <jwakely@redhat.com> + + Backported from master: + 2022-07-29 Jonathan Wakely <jwakely@redhat.com> + + PR libstdc++/104443 + * include/bits/stl_iterator.h (common_iterator::operator->): + Change return type to just auto. + +2022-08-03 Jonathan Wakely <jwakely@redhat.com> + + Backported from master: + 2022-07-12 Jonathan Wakely <jwakely@redhat.com> + + PR libstdc++/106248 + * include/std/istream [C++17] (operator>>(istream&, char*)): + Set eofbit if we stopped extracting at EOF. + * testsuite/27_io/basic_istream/extractors_character/char/pr106248.cc: + New test. + * testsuite/27_io/basic_istream/extractors_character/wchar_t/pr106248.cc: + New test. + +2022-08-03 Jonathan Wakely <jwakely@redhat.com> + + Backported from master: + 2022-07-01 Jonathan Wakely <jwakely@redhat.com> + + * include/bits/fs_ops.h: Add nodiscard to all pure functions. + * include/experimental/bits/fs_ops.h: Likewise. + * testsuite/27_io/filesystem/operations/all.cc: Do not discard + results of absolute and canonical. + * testsuite/27_io/filesystem/operations/absolute.cc: Cast + discarded result to void. + * testsuite/27_io/filesystem/operations/canonical.cc: Likewise. + * testsuite/27_io/filesystem/operations/exists.cc: Likewise. + * testsuite/27_io/filesystem/operations/is_empty.cc: Likewise. + * testsuite/27_io/filesystem/operations/read_symlink.cc: + Likewise. + * testsuite/27_io/filesystem/operations/status.cc: Likewise. + * testsuite/27_io/filesystem/operations/symlink_status.cc: + Likewise. + * testsuite/27_io/filesystem/operations/temp_directory_path.cc: + Likewise. + * testsuite/experimental/filesystem/operations/canonical.cc: + Likewise. + * testsuite/experimental/filesystem/operations/exists.cc: + Likewise. + * testsuite/experimental/filesystem/operations/is_empty.cc: + Likewise. + * testsuite/experimental/filesystem/operations/read_symlink.cc: + Likewise. + * testsuite/experimental/filesystem/operations/temp_directory_path.cc: + Likewise. + +2022-08-03 Jonathan Wakely <jwakely@redhat.com> + + Backported from master: + 2022-06-16 Jonathan Wakely <jwakely@redhat.com> + + PR libstdc++/105995 + * include/bits/basic_string.h (_M_use_local_data): Initialize + the entire SSO buffer. + * testsuite/21_strings/basic_string/cons/char/105995.cc: New test. + +2022-08-03 Jonathan Wakely <jwakely@redhat.com> + + Backported from master: + 2022-06-14 Jonathan Wakely <jwakely@redhat.com> + + * include/bits/new_allocator.h: Fix indentation. + * include/ext/malloc_allocator.h: Likewise. + +2022-08-03 Jonathan Wakely <jwakely@redhat.com> + + Backported from master: + 2022-06-14 Jonathan Wakely <jwakely@redhat.com> + + PR libstdc++/105957 + * include/bits/allocator.h (allocator::allocate): Check for + overflow in constexpr allocation. + * testsuite/20_util/allocator/105975.cc: New test. + +2022-08-03 Jonathan Wakely <jwakely@redhat.com> + + Backported from master: + 2022-06-10 Jonathan Wakely <jwakely@redhat.com> + + PR libstdc++/105844 + * include/experimental/numeric (experimental::gcd): Simplify + assertions. Use __abs_r instead of __absu. + (experimental::lcm): Likewise. Remove use of __detail::__lcm so + overflow can be detected. + * include/std/numeric (__detail::__absu): Rename to __abs_r and + change to allow signed result type, so overflow can be detected. + (__detail::__lcm): Remove. + (gcd): Simplify assertions. Use __abs_r instead of __absu. + (lcm): Likewise. Remove use of __detail::__lcm so overflow can + be detected. + * testsuite/26_numerics/gcd/gcd_neg.cc: Adjust dg-error lines. + * testsuite/26_numerics/lcm/lcm_neg.cc: Likewise. + * testsuite/26_numerics/gcd/105844.cc: New test. + * testsuite/26_numerics/lcm/105844.cc: New test. + 2022-07-26 Thomas Rodgers <trodgers@redhat.com> Backported from master: |