52be2ce88e4baa65e86e3e015b4749019c0d427d
[gcc.git] / libstdc++-v3 / ChangeLog
1 2021-01-20 David Edelsohn <dje.gcc@gmail.com>
2
3 * config/os/aix/ctype_inline.h (bool ctype<char>:: is): Cast
4 _OBJ_DATA subscript to unsigned char. Add _THREAD_SAFE access to
5 __lc_type.
6 (const char* ctype<char>:: is): Same.
7
8 2021-01-18 Jonathan Wakely <jwakely@redhat.com>
9
10 PR libstdc++/98725
11 * testsuite/20_util/unique_ptr/io/lwg2948.cc: Do not try to
12 write to a wide character stream if wide character support is
13 disabled in the library.
14
15 2021-01-18 Jonathan Wakely <jwakely@redhat.com>
16
17 * testsuite/27_io/basic_stringstream/cons/char/1.cc: Use
18 stringbuf not wstringbuf.
19
20 2021-01-18 Jakub Jelinek <jakub@redhat.com>
21
22 PR debug/98708
23 * src/c++11/Makefile.am (cxx11-ios_failure-lt.s, cxx11-ios_failure.s):
24 Compile with -gno-as-loc-support.
25 * src/c++11/Makefile.in: Regenerated.
26
27 2021-01-16 H.J. Lu <hjl.tools@gmail.com>
28
29 * testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc:
30 Add -fcf-protection=none to -march=i486.
31
32 2021-01-14 François Dumont <fdumont@gcc.gnu.org>
33
34 * testsuite/23_containers/deque/debug/98466.cc: Make it pre-C++11
35 compliant.
36
37 2021-01-14 Alexandre Oliva <oliva@adacore.com>
38
39 * testsuite/30_threads/future/members/poll.cc: Calibrate
40 iteration count.
41
42 2021-01-14 François Dumont <fdumont@gcc.gnu.org>
43
44 PR libstdc++/98466
45 * include/bits/hashtable_policy.h (_Node_iterator_base()): Set _M_cur to nullptr.
46 (_Node_iterator()): Make default.
47 (_Node_const_iterator()): Make default.
48 * include/debug/macros.h (__glibcxx_check_erae_range_after): Add _M_singular
49 iterator checks.
50 * include/debug/safe_iterator.h
51 (_GLIBCXX_DEBUG_VERIFY_OPERANDS): Accept if both iterator are value initialized.
52 * include/debug/safe_local_iterator.h (_GLIBCXX_DEBUG_VERIFY_OPERANDS):
53 Likewise.
54 * include/debug/safe_iterator.tcc (_Safe_iterator<>::_M_valid_range): Add
55 _M_singular checks on input iterators.
56 * src/c++11/debug.cc (_Safe_iterator_base::_M_can_compare): Remove _M_singular
57 checks.
58 * testsuite/23_containers/deque/debug/98466.cc: New test.
59 * testsuite/23_containers/unordered_map/debug/98466.cc: New test.
60
61 2021-01-14 Jonathan Wakely <jwakely@redhat.com>
62
63 PR libstdc++/98471
64 * include/bits/fs_path.h (__throw_conversion_error): New
65 function to throw or abort on character conversion errors.
66 (__wstr_from_utf8): Move definition after filesystem_error has
67 been defined. Use __throw_conversion_error.
68 (path::_S_convert<_EcharT>): Use __throw_conversion_error.
69 (path::_S_str_convert<_CharT, _Traits, _Allocator>): Likewise.
70 (path::u8string): Likewise.
71
72 2021-01-14 Jonathan Wakely <jwakely@redhat.com>
73
74 * include/std/barrier: Update copyright years. Fix whitespace.
75 * include/std/version: Fix whitespace.
76 * testsuite/30_threads/barrier/1.cc: Update copyright years.
77 * testsuite/30_threads/barrier/2.cc: Likewise.
78 * testsuite/30_threads/barrier/arrive.cc: Likewise.
79 * testsuite/30_threads/barrier/arrive_and_drop.cc: Likewise.
80 * testsuite/30_threads/barrier/arrive_and_wait.cc: Likewise.
81 * testsuite/30_threads/barrier/completion.cc: Likewise.
82
83 2021-01-13 Jonathan Wakely <jwakely@redhat.com>
84
85 * doc/doxygen/user.cfg.in (INPUT): Remove include/debug/array.
86
87 2021-01-10 David Edelsohn <dje.gcc@gmail.com>
88
89 PR libstdc++/98613
90 * testsuite/ext/vstring/cons/moveable.cc: Suppress false positive
91 warning.
92 * testsuite/ext/vstring/modifiers/assign/move_assign.cc: Same.
93
94 2021-01-08 Olivier Hainque <hainque@adacore.com>
95
96 * testsuite/20_util/bind/ref_neg.cc: Tweak the
97 dg-prune-output regex for out-of-build-tree contexts.
98
99 2021-01-07 Thomas Rodgers <trodgers@redhat.com>
100
101 * doc/doxygen/user.cfg.in: Add new header.
102 * include/Makefile.am (std_headers): likewise.
103 * include/Makefile.in: Regenerate.
104 * include/precompiled/stdc++.h: Add new header.
105 * include/std/barrier: New file.
106 * include/std/version: Add __cpp_lib_barrier feature test macro.
107 * testsuite/30_threads/barrier/1.cc: New test.
108 * testsuite/30_threads/barrier/2.cc: Likewise.
109 * testsuite/30_threads/barrier/arrive_and_drop.cc: Likewise.
110 * testsuite/30_threads/barrier/arrive_and_wait.cc: Likewise.
111 * testsuite/30_threads/barrier/arrive.cc: Likewise.
112 * testsuite/30_threads/barrier/completion.cc: Likewise.
113
114 2021-01-07 Patrick Palka <ppalka@redhat.com>
115
116 PR libstdc++/98384
117 * testsuite/20_util/to_chars/long_double.cc: Use nexttowardl
118 instead of the non-standard nextupl and nextdownl.
119
120 2021-01-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
121
122 * configure: Re-generate.
123
124 2021-01-05 Ed Smith-Rowland <3dw4rd@verizon.net>
125
126 * include/precompiled/stdc++.h: Add <source_location> to C++20 section.
127
128 2021-01-01 Jakub Jelinek <jakub@redhat.com>
129
130 * ChangeLog-2020: Rotate ChangeLog. New file.
131
132 \f
133 Copyright (C) 2021 Free Software Foundation, Inc.
134
135 Copying and distribution of this file, with or without modification,
136 are permitted in any medium without royalty provided the copyright
137 notice and this notice are preserved.