2019-01-04 12:06:49 +01:00
|
|
|
|
2019-01-04 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
2019-01-05 00:23:22 +01:00
|
|
|
|
* config/abi/pre/gnu.ver (GLIBCXX_3.4.21): Make patterns less greedy
|
|
|
|
|
for const member functions of std::basic_string.
|
|
|
|
|
(GLIBCXX_3.4.26): Export member functions of std::basic_string added
|
|
|
|
|
in C++17.
|
|
|
|
|
* include/bits/basic_string.h (basic_string(__sv_wrapper, const A&)):
|
|
|
|
|
Make non-standard constructor private.
|
|
|
|
|
[!_GLIBCXX_USE_CXX11_ABI] (basic_string(__sv_wrapper, const A&)):
|
|
|
|
|
Likewise.
|
|
|
|
|
* include/bits/basic_string.tcc (std::string, std::wstring): Declare
|
|
|
|
|
explicit instantiations for C++17 as well as earlier dialects.
|
|
|
|
|
* src/c++17/Makefile.am: Add new source files.
|
|
|
|
|
* src/c++17/Makefile.in: Regenerate.
|
|
|
|
|
* src/c++17/cow-string-inst.cc: New file defining explicit
|
|
|
|
|
instantiations for basic_string member functions added in C++17.
|
|
|
|
|
* src/c++17/string-inst.cc: Likewise.
|
|
|
|
|
|
2019-01-05 00:23:17 +01:00
|
|
|
|
* config/abi/pre/gnu.ver (GLIBCXX_3.4.26): Export allocator-extended
|
|
|
|
|
copy/move constructors for old std::basic_string.
|
|
|
|
|
* include/bits/basic_string.h [!_GLIBCXX_USE_CXX11_ABI]
|
|
|
|
|
(basic_string::reference, basic_string::const_reference): Define
|
|
|
|
|
as plain references for C++11 and later.
|
|
|
|
|
(basic_string::basic_string()): Put constructor body outside
|
|
|
|
|
preprocessor conditional groups.
|
|
|
|
|
(basic_string::basic_string(basic_string&&)): Move _Alloc_hider
|
|
|
|
|
instead of copying it.
|
|
|
|
|
(basic_string::basic_string(const basic_string&, const _Alloc&)):
|
|
|
|
|
Define.
|
|
|
|
|
(basic_string::basic_string(basic_string&&, const _Alloc&)):
|
|
|
|
|
Define.
|
|
|
|
|
* include/bits/fs_path.h [!_GLIBCXX_USE_CXX11_ABI]: Remove special
|
|
|
|
|
cases for old basic_string.
|
|
|
|
|
* testsuite/21_strings/basic_string/cons/char/8.cc: Test
|
|
|
|
|
allocator-extended constructors unconditionally. Add extra members to
|
|
|
|
|
allocator type when using old string ABI.
|
|
|
|
|
* testsuite/21_strings/basic_string/allocator/71964.cc: Enable test
|
|
|
|
|
for old string ABI.
|
|
|
|
|
* testsuite/21_strings/basic_string/cons/wchar_t/8.cc: Likewise.
|
|
|
|
|
|
2019-01-04 19:56:26 +01:00
|
|
|
|
* testsuite/23_containers/list/61347.cc: Avoid spurious failure when
|
|
|
|
|
-fno-inline added to test flags.
|
|
|
|
|
|
2019-01-04 17:07:06 +01:00
|
|
|
|
* testsuite/21_strings/basic_string/requirements/
|
|
|
|
|
explicit_instantiation/debug.cc: Remove XFAIL for old ABI.
|
|
|
|
|
|
2019-01-04 16:42:33 +01:00
|
|
|
|
* testsuite/27_io/filesystem/filesystem_error/copy.cc: Fix static
|
|
|
|
|
assertion failures with old std::string ABI.
|
|
|
|
|
|
2019-01-04 15:03:59 +01:00
|
|
|
|
* include/bits/fs_path.h (path::_List::erase): Replace both overloads
|
|
|
|
|
with ...
|
|
|
|
|
(path::pop_back(), path::_M_erase_from(const_iterator)): New member
|
|
|
|
|
functions that will only erase elements at the end.
|
|
|
|
|
* src/filesystem/std-path.cc (path::_List::_Impl::pop_back()): Define.
|
|
|
|
|
(path::_List::_Impl::_M_erase_from(const_iterator)): Define.
|
|
|
|
|
(path::_List::operator=(const _List&)): Use _M_erase_from(p) instead
|
|
|
|
|
of erase(p, end()).
|
|
|
|
|
(path::_List::pop_back()): Define.
|
|
|
|
|
(path::_List::_M_erase_from(const_iterator)): Define.
|
|
|
|
|
(path::operator/=(const path&)): Use pop_back to remove last component
|
|
|
|
|
and _M_erase_from to remove multiple components.
|
|
|
|
|
(path::_M_append(basic_string_view<value_type>)): Likewise.
|
|
|
|
|
(path::operator+=(const path&)): Likewise.
|
|
|
|
|
(path::_M_concat(basic_string_view<value_type>)): Likewise.
|
|
|
|
|
(path::remove_filename()): Likewise.
|
|
|
|
|
(path::lexically_normal()): Use _List::_Impl iterators instead of
|
|
|
|
|
path::iterator. Use pop_back to remove components from the end. Clear
|
|
|
|
|
trailing filename, instead of using erase(const_iterator) to remove
|
|
|
|
|
a non-final component.
|
|
|
|
|
* testsuite/27_io/filesystem/path/generation/normal.cc: Test
|
|
|
|
|
additional cases.
|
|
|
|
|
* testsuite/27_io/filesystem/path/generation/normal2.cc: New test.
|
|
|
|
|
|
2019-01-04 12:43:09 +01:00
|
|
|
|
* src/filesystem/std-path.cc (path::operator+=(const path&)): Fix
|
|
|
|
|
incorrect treatment of empty filename after trailing slash.
|
|
|
|
|
* testsuite/27_io/filesystem/path/concat/path.cc: Test problem case.
|
|
|
|
|
|
2019-01-04 12:06:49 +01:00
|
|
|
|
* testsuite/21_strings/basic_string/modifiers/assign/char/
|
|
|
|
|
move_assign_optim.cc: Avoid spurious failure when -fno-inline added
|
|
|
|
|
to test flags.
|
|
|
|
|
* testsuite/21_strings/basic_string/modifiers/assign/wchar_t/
|
|
|
|
|
move_assign_optim.cc: Likewise.
|
|
|
|
|
|
2019-01-03 23:07:52 +01:00
|
|
|
|
2019-01-03 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/88607
|
|
|
|
|
* include/experimental/memory: Replace UTF-8 quote characters.
|
|
|
|
|
* include/std/future: Replace UTF-8 "em dash" characters.
|
|
|
|
|
|
2019-01-03 21:38:04 +01:00
|
|
|
|
2019-01-03 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
2019-01-03 21:38:11 +01:00
|
|
|
|
PR libstdc++/88607
|
|
|
|
|
* include/bits/forward_list.h: Replace UTF-8 "ligature fi" character.
|
|
|
|
|
* include/debug/forward_list: Likewise.
|
|
|
|
|
* include/experimental/bits/shared_ptr.h: Remove UTF-8 "section sign"
|
|
|
|
|
character.
|
|
|
|
|
* include/experimental/chrono: Likewise.
|
|
|
|
|
* include/experimental/functional: Likewise.
|
|
|
|
|
* include/experimental/ratio: Likewise.
|
|
|
|
|
* include/experimental/system_error: Likewise.
|
|
|
|
|
* include/experimental/tuple: Likewise.
|
|
|
|
|
* include/experimental/type_traits: Likewise.
|
|
|
|
|
* include/parallel/workstealing.h: Replace UTF-8 "en dash" character.
|
|
|
|
|
* include/parallel/multiseq_selection.h: Likewise.
|
|
|
|
|
|
2019-01-03 21:38:04 +01:00
|
|
|
|
PR libstdc++/88681
|
|
|
|
|
* config/abi/pre/gnu.ver: Add missing exports.
|
|
|
|
|
* testsuite/22_locale/collate_byname/88681.cc: New test.
|
|
|
|
|
* testsuite/22_locale/time_get/get/char/88681.cc: New test.
|
|
|
|
|
* testsuite/22_locale/time_get/get/wchar_t/88681.cc: New test.
|
|
|
|
|
|
2019-01-02 11:44:35 +01:00
|
|
|
|
2019-01-02 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
2019-01-02 17:30:49 +01:00
|
|
|
|
* testsuite/23_containers/map/cons/deduction.cc: Test deduction from
|
|
|
|
|
initializer_list<value_type> and from input iterator ranges.
|
|
|
|
|
* testsuite/23_containers/multimap/cons/deduction.cc: Likewise.
|
|
|
|
|
|
2019-01-02 11:44:35 +01:00
|
|
|
|
* testsuite/experimental/string_view/element_access/char/empty.cc:
|
|
|
|
|
Fix year range in copyright header.
|
|
|
|
|
|
2019-01-02 07:04:51 +01:00
|
|
|
|
2019-01-02 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/21_strings/basic_string_view/element_access/char/empty.cc:
|
|
|
|
|
Fix year range in copyright header.
|
|
|
|
|
|
2019-01-01 13:31:55 +01:00
|
|
|
|
2019-01-01 Jakub Jelinek <jakub@redhat.com>
|
2015-01-05 13:33:28 +01:00
|
|
|
|
|
|
|
|
|
Update copyright years.
|
2015-01-02 17:50:45 +01:00
|
|
|
|
|
2019-01-01 13:31:55 +01:00
|
|
|
|
Copyright (C) 2019 Free Software Foundation, Inc.
|
2015-01-02 17:50:45 +01:00
|
|
|
|
|
|
|
|
|
Copying and distribution of this file, with or without modification,
|
|
|
|
|
are permitted in any medium without royalty provided the copyright
|
|
|
|
|
notice and this notice are preserved.
|