* python/Makefile.am: Ensure gdb.py is installed for libstdc++ not
[official-gcc.git] / libstdc++-v3 / ChangeLog
blob0c278c8665768875364516c23dfb695e2ea43686
1 2015-08-20  Jonathan Wakely  <jwakely@redhat.com>
3         * python/Makefile.am: Ensure gdb.py is installed for libstdc++ not
4         libstdc++fs.
5         * python/Makefile.in: Regenerate.
7 2015-08-19  Paolo Carlini  <paolo.carlini@oracle.com>
9         * include/c_global/cmath: Fix typo in comment.
11 2015-08-19  Paolo Carlini  <paolo.carlini@oracle.com>
13         * include/c_global/cmath: Revert fix for libstdc++/58625, no
14         longer necessary (__builtin_signbit is now type-generic).
16 2015-08-18  Jonathan Wakely  <jwakely@redhat.com>
18         PR c++/67216
19         * testsuite/tr1/2_general_utilities/shared_ptr/observers/bool_conv.cc:
20         Fix use of safe-bool idiom that isn't valid in C++11.
22         * include/bits/ptr_traits.h: Include <bits/move.h> for addressof.
24         PR libstdc++/67066
25         * doc/xml/manual/configure.xml (manual.intro.setup.configure): Add
26         caveats for --enable-concept-checks. Improve link text.
27         * doc/xml/manual/diagnostics.xml (std.diagnostics.concept_checking):
28         Clarify caveats.
29         * doc/html/*: Regenerate.
30         * include/bits/stl_deque.h (deque): Only use concept checks in C++03.
31         * include/bits/stl_stack.h (stack): Likewise.
32         * include/bits/stl_vector.h (vector): Likewise.
34 2015-08-14  Jonathan Wakely  <jwakely@redhat.com>
36         * include/experimental/any (any::operator=(const any&)): Move check
37         for self-assignment.
38         (any::operator=(any&&)): Add check for self-assignment.
39         (any::operator=(_ValueType&&)): Constrain template argument.
40         (any::swap(any&)): Add check for self-swap.
41         * testsuite/experimental/any/assign/self.cc: Test move and swap.
42         * testsuite/experimental/any/misc/any_cast_neg.cc: Update dg-error.
44 2015-08-14  Jonathan Wakely  <jwakely@redhat.com>
46         * include/experimental/array: Add feature-test macro.
47         * testsuite/experimental/array/neg.cc: Update dg-error.
49 2015-08-13  Ville Voutilainen  <ville.voutilainen@gmail.com>
51         * testsuite/experimental/array/neg.s: Remove.
52         * testsuite/experimental/array/neg.ii.gz: Remove.
54 2015-08-13  Ville Voutilainen  <ville.voutilainen@gmail.com>
56         Implement std::experimental::fundamentals_v2::make_array and
57         std::experimental::fundamentals_v2::to_array.
58         * include/Makefile.am: Add array.
59         * include/Makefile.in: Add array.
60         * include/experimental/array: New.
61         * testsuite/experimental/array/make_array.cc: Likewise.
62         * testsuite/experimental/array/neg.cc: Likewise.
63         * doc/html/manual/status.html: Mark make_array as Y.
64         * doc/xml/manual/status_cxx2017.xml: Likewise.
66 2015-08-13  Jonathan Wakely  <jwakely@redhat.com>
68         * include/bits/alloc_traits.h: Add feature-test macro.
69         * include/bits/allocator.h: Likewise.
70         * include/bits/range_access.h: Likewise.
71         * include/bits/stl_map.h: Likewise.
72         * include/bits/unordered_map.h: Likewise.
74 2015-08-13  Jonathan Wakely  <jwakely@redhat.com>
76         * testsuite/30_threads/mutex/unlock/2.cc: New.
77         * testsuite/30_threads/recursive_mutex/unlock/2.cc: New.
78         * testsuite/30_threads/recursive_timed_mutex/unlock/2.cc: New.
79         * testsuite/30_threads/shared_mutex/unlock/1.cc: New.
80         * testsuite/30_threads/shared_timed_mutex/unlock/1.cc: New.
81         * testsuite/30_threads/timed_mutex/unlock/2.cc: New.
83 2015-08-13  Eelis van der Weegen  <eelis@eelis.net>
85         * include/std/shared_mutex (shared_mutex::unlock()): Fix typo.
87 2015-08-12  Caroline Tice <cmtice@google.com>
89         PR 66521, Contributed by Eric Gallager
90         * acinclude.m4 (VTV_CXXLINKFLAGS): Make this variable OS-specific, and
91         fix the rpath flag to work properly for darwin.
92         * configure: Regenerated.
94 2015-08-12  Jonathan Wakely  <jwakely@redhat.com>
96         * doc/xml/manual/appendix_contributing.xml: Update patch email policy.
97         * doc/xml/manual/status_cxx2017.xml: Update status table.
98         * doc/html/manual/*: Regenerate.
100 2015-08-09  Ville Voutilainen  <ville.voutilainen@gmail.com>
102         Implement N4279, Improved insertion interface for unique-key maps.
103         * include/bits/stl_map.h (try_emplace, insert_or_assign): New.
104         * include/bits/stl_tree.h (_M_get_insert_unique_pos,
105         _M_get_insert_equal_pos, _M_get_insert_hint_unique_pos,
106         _M_get_insert_hint_equal_pos): Make public.
107         * include/bits/unordered_map.h (try_emplace, insert_or_assign): New.
108         * testsuite/23_containers/map/modifiers/insert_or_assign/1.cc:
109         Likewise.
110         * testsuite/23_containers/map/modifiers/try_emplace/1.cc: Likewise.
111         * testsuite/23_containers/unordered_map/modifiers/insert_or_assign.cc:
112         Likewise.
113         * testsuite/23_containers/unordered_map/modifiers/try_emplace.cc:
114         Likewise.
116 2015-08-08  Ville Voutilainen  <ville.voutilainen@gmail.com>
118         Implement N4089 Safe conversions in unique_ptr<T[]> (LWG 2118)
119         and N4366 LWG 2228: Missing SFINAE rule in unique_ptr
120         templated assignment
121         * include/bits/unique_ptr.h
122         (__remove_cv, __is_derived_Tp): Remove.
123         (default_delete::default_delete(const default_delete<_Up[]>)):
124         Constrain with array convertibility.
125         (default_delete::operator(_Up*)): Turn into a template,
126         constrain with array convertibility.
127         (__safe_conversion_up): New, single object version.
128         (unique_ptr(unique_ptr<_Up, _Ep>&&)): Constrain with deleter
129         convertibility.
130         (unique_ptr::operator=(unique_ptr<_Up, _Ep>&&)): Likewise, and add
131         is_assignable as a constraint.
132         (__safe_conversion_up): Array version, renamed from __safe_conversion,
133         updated to implement N4089.
134         (__safe_conversion_raw): New.
135         (unique_ptr(_Up)): Turn into a template, constrain with array
136         convertibility.
137         (unique_ptr(_Up,
138         typename conditional<is_reference<deleter_type>::value,
139         deleter_type, const deleter_type&>::type)): Likewise.
140         (unique_ptr(_Up, typename
141         remove_reference<deleter_type>::type&&)): Likewise.
142         (unique_ptr(unique_ptr<_Up, _Ep>&&)): Likewise.
143         (operator=(unique_ptr<_Up, _Ep>&&)): Likewise, and add
144         is_assignable as a constraint (array version).
145         (reset(_Up)): Turn into a template, constrain with array
146         convertibility.
147         (reset(nullptr_t)): New.
148         * testsuite/20_util/default_delete/48631_neg.cc: Adjust.
149         * testsuite/20_util/unique_ptr/assign/48635.cc: Likewise.
150         * testsuite/20_util/unique_ptr/assign/48635_neg.cc: Likewise.
151         * testsuite/20_util/unique_ptr/assign/cv_qual.cc: Likewise.
152         * testsuite/20_util/unique_ptr/cons/cv_qual.cc: Likewise.
153         * testsuite/20_util/unique_ptr/dr2228.cc: New.
154         * testsuite/20_util/unique_ptr/modifiers/cv_qual.cc: Adjust.
156 2015-08-05  Nikolai Bozhenov  <n.bozhenov@samsung.com>
158         * testsuite/20_util/enable_shared_from_this/cons/constexpr.cc: Remove
159         redundant -save-temps option.
160         * testsuite/20_util/shared_ptr/cons/constexpr.cc: Likewise.
161         * testsuite/20_util/unique_ptr/cons/constexpr.cc: Likewise.
162         * testsuite/20_util/weak_ptr/cons/constexpr.cc: Likewise.
163         * testsuite/30_threads/future/cons/constexpr.cc: Likewise.
164         * testsuite/30_threads/shared_future/cons/constexpr.cc: Likewise.
166 2015-08-03  Jonathan Wakely  <jwakely@redhat.com>
168         PR libstdc++/67078
169         * include/bits/range_access.h (size, empty, data): Fix _N bad name.
171 2015-07-30  Jonathan Wakely  <jwakely@redhat.com>
173         * testsuite/experimental/filesystem/operations/current_path.cc: Use
174         canonical paths for comparisons.
176 2015-07-30  Tim Shen  <timshen@google.com>
178         * include/bits/regex_automaton.h (_State_base, _State<>):
179         Remove _TraitsT dependency from _State<>; Make matcher member
180         into the union to reduce struct size.
181         * include/bits/regex_automaton.tcc (_State_base<>::_M_print,
182         _State_base<>::_M_dot, _StateSeq<>::_M_clone):
183         Adjust to fit the interface. Factor out common parts in
184         _M_clone as _State<>::_M_has_alt.
185         * include/bits/regex_executor.h (_Executer<>::_M_lookahead):
186         Only pass state id instead of the whole state.
187         * include/bits/regex_executor.tcc (_Executer<>::_M_dfs,
188         _Executer<>::_M_lookahead): Adjust to fit the interface.
189         * include/std/regex: Include <ext/aligned_buffer.h>
191 2015-07-30  Jonathan Wakely  <jwakely@redhat.com>
193         * include/experimental/any (any::operator=(const any&)): Check for
194         self-assignment.
195         * testsuite/experimental/any/assign/self.cc: New.
196         * testsuite/experimental/any/misc/any_cast_neg.cc: Adjust dg-error.
198 2015-07-29  Jonathan Wakely  <jwakely@redhat.com>
200         PR libstdc++/66829
201         * testsuite/lib/libstdc++.exp (v3-build_support): Compile
202         testsuite_shared.cc with -std=gnu++98.
204 2015-07-29  Ville Voutilainen  <ville.voutilainen@gmail.com>
206         * include/bits/range_access.h: Change class to typename in every
207         template.
208         (size, empty, data): New functions from N4280.
209         * testsuite/24_iterators/container_access.cc: New.
211         PR libstdc++/60970
212         * include/bits/functional_hash.h (__hash_enum): New.
213         (hash): Derive from __hash_enum.
214         * testsuite/20_util/hash/60970.cc: New.
216 2015-07-29  Tim Shen  <timshen@google.com>
218         PR libstdc++/67015
219         * include/bits/regex_compiler.h (_Compiler<>::_M_expression_term,
220         _BracketMatcher<>::_M_add_collating_element): Change signature
221         to make checking the and of bracket expression easier.
222         * include/bits/regex_compiler.tcc (_Compiler<>::_M_expression_term):
223         Treat '-' as a valid literal if it's at the end of bracket expression.
224         * testsuite/28_regex/algorithms/regex_match/cstring_bracket_01.cc:
225         New testcases.
227 2015-07-24  Jonathan Wakely  <jwakely@redhat.com>
229         * include/bits/atomic_futex.h [_GLIBCXX_HAVE_LINUX_FUTEX]
230         (_M_load_and_test_until): Whitespace.
231         (_M_load_and_test): Value-initialize the unused durations.
232         (_M_load_when_equal): Add missing return value.
234 2015-07-24  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
236         * fragment.am (AM_CPPFLAGS): Add CPPFLAGS.
237         * Makefile.in: Regenerate.
238         * doc/Makefile.in: Regenerate.
239         * include/Makefile.in: Regenerate.
240         * libsupc++/Makefile.in: Regenerate.
241         * po/Makefile.in: Regenerate.
242         * python/Makefile.in: Regenerate.
243         * src/Makefile.in: Regenerate.
244         * src/c++11/Makefile.in: Regenerate.
245         * src/c++98/Makefile.in: Regenerate.
246         * src/filesystem/Makefile.in: Regenerate.
247         * testsuite/Makefile.in: Regenerate.
249 2015-07-23  DJ Delorie  <dj@redhat.com>
251         * include/bits/functional_hash.h: Add specializations for __intN
252         types.
254         * include/ext/pb_ds/detail/thin_heap_/thin_heap_.hpp (__gnu_pbds):
255         Guard against values that might exceed size_t's precision.
257 2015-07-20  Jason Merrill  <jason@redhat.com>
259         * include/bits/c++config: Fix abi_tag in special modes.
261 2015-07-19  Jonathan Wakely  <jwakely@redhat.com>
263         * doc/xml/manual/status_cxx2017.xml: Fix URL for N4279.
264         * doc/html/manual/status.html: Regenerate.
266 2015-07-17  Jonathan Wakely  <jwakely@redhat.com>
268         * doc/xml/manual/status_cxx2011.xml: Add caveats for native_handle.
269         * doc/html/manual/status.html: Regenerate.
271 2015-07-16  François Dumont  <fdumont@gcc.gnu.org>
273         * include/bits/stl_algobase.h (__miter_base): Move...
274         * include/bits/cpp_type_traits.h: ...here.
275         * include/debug/functions.h (__foreign_iterator_aux): Use latter.
276         * testsuite/23_containers/vector/debug/insert7_neg.cc: New.
278 2015-07-13  Jonathan Wakely  <jwakely@redhat.com>
280         PR libstdc++/66855
281         * src/c++11/codecvt.cc (__codecvt_utf8_utf16_base::do_in): Override
282         endianness bit in mode.
283         * testsuite/22_locale/codecvt/codecvt_utf8_utf16/66855.cc: New.
285         * include/bits/c++config (_GLIBCXX_NOEXCEPT_IF): Define.
286         * include/bits/forward_list.h (forward_list::swap): Make noexcept
287         unconditional.
288         * include/bits/hashtable.h (_Hashtable::swap): Do not use
289         _S_nothrow_swap().
290         * include/bits/stl_bvector.h (vector<bool>::swap): Make noexcept
291         unconditional.
292         * include/bits/stl_deque.h (deque::swap): Likewise.
293         (swap(deque&, deque&)): Use _GLIBCXX_NOEXCEPT_IF.
294         * include/bits/stl_list.h (list::swap): Make noexcept unconditional.
295         (swap(list&, list&)): Use _GLIBCXX_NOEXCEPT_IF.
296         * include/bits/stl_map.h (map::swap, swap(map&, map&)): Use
297         _GLIBCXX_NOEXCEPT_IF, do not depend on _S_nothrow_swap.
298         * include/bits/stl_multimap.h (multimap::swap,
299         swap(multimap&, multimap&)): Likewise.
300         * include/bits/stl_multiset.h (multiset::swap,
301         swap(multiset&, multiset&)): Likewise.
302         * include/bits/stl_set.h (set::swap, swap(set&, set&)): Likewise.
303         * include/bits/stl_tree.h (_Rb_tree::swap,
304         swap(_Rb_tree&, _Rb_tree&)): Likewise.
305         * include/bits/stl_vector.h (vector::swap): Make noexcept
306         unconditional.
307         (swap(vector&, vector&)): Use _GLIBCXX_NOEXCEPT_IF.
308         * include/debug/deque (deque::swap, swap): Likewise.
309         * include/debug/forward_list (swap): Add noexcept.
310         * include/debug/list (list::swap, swap): Use _GLIBCXX_NOEXCEPT_IF.
311         * include/debug/map.h (map::swap, swap): Likewise.
312         * include/debug/multimap.h (multimap::swap, swap): Likewise.
313         * include/debug/multiset.h (multiset::Swap, swap): Likewise.
314         * include/debug/set.h (set::swap, swap): Likewise.
315         * include/debug/unordered_map (unordered_map::swap,
316         unordered_multimap::swap, swap): Likewise.
317         * include/debug/unordered_set (unordered_set::swap,
318         unordered_multiset::swap, swap): Likewise.
319         * include/debug/vector (vector::swap, swap): Likewise.
320         * include/ext/alloc_traits.h (__alloc_traits::_S_nothrow_swap()):
321         Remove.
322         * include/profile/deque (deque::swap, swap): Use _GLIBCXX_NOEXCEPT_IF.
323         * include/profile/forward_list (swap): Add noexcept.
324         * include/profile/list (list::swap, swap) : Use _GLIBCXX_NOEXCEPT_IF.
325         * include/profile/map.h (map::swap, swap): Likewise.
326         * include/profile/multimap.h (multimap::swap, swap): Likewise.
327         * include/profile/multiset.h (multiset::swap, swap): Likewise.
328         * include/profile/set.h (set::swap, swap): Likewise.
329         * include/profile/unordered_map (swap): Likewise.
330         * include/profile/unordered_set (swap): Likewise.
331         * include/profile/vector (vector::swap, swap): Likewise. Remove
332         overloads for swapping rvalues.
333         * testsuite/23_containers/deque/allocator/noexcept.cc: Update tests
334         for noexcept on swap.
335         * testsuite/23_containers/forward_list/allocator/noexcept.cc:
336         Likewise.
337         * testsuite/23_containers/list/allocator/noexcept.cc: Likewise.
338         * testsuite/23_containers/map/allocator/noexcept.cc: Likewise.
339         * testsuite/23_containers/multimap/allocator/noexcept.cc: Likewise.
340         * testsuite/23_containers/multiset/allocator/noexcept.cc: Likewise.
341         * testsuite/23_containers/set/allocator/noexcept.cc: Likewise.
342         * testsuite/23_containers/unordered_map/allocator/noexcept.cc:
343         Likewise.
344         * testsuite/23_containers/unordered_multimap/allocator/noexcept.cc:
345         Likewise.
346         * testsuite/23_containers/unordered_multiset/allocator/noexcept.cc:
347         Likewise.
348         * testsuite/23_containers/unordered_set/allocator/noexcept.cc:
349         Likewise.
350         * testsuite/23_containers/vector/allocator/noexcept.cc: Likewise.
351         * testsuite/23_containers/vector/bool/allocator/noexcept.cc: Likewise.
352         * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error line
353         number.
355 2015-07-13  John Marino  <gnugcc@marino.st>
357         * config/os/bsd/dragonfly/os_defines.h (_GLIBCXX_USE_C99_CHECK,
358         _GLIBCXX_USE_C99_DYNAMIC, _GLIBCXX_USE_C99_LONG_LONG_CHECK,
359         _GLIBCXX_USE_C99_LONG_LONG_DYNAMIC): Define.
361 2015-07-05  François Dumont  <fdumont@gcc.gnu.org>
363         * include/bits/hashtable.h (_Hashtable<>::__rehash_policy): Do not
364         rehash container.
365         * testsuite/23_containers/unordered_set/max_load_factor/robustness.cc:
366         Adapt.
368 2015-07-03  Jonathan Wakely  <jwakely@redhat.com>
370         * doc/xml/manual/status_cxx2017.xml: Update status table.
371         * doc/html/manual/*: Regenerate.
373 2015-07-03  Ville Voutilainen  <ville.voutilainen@gmail.com>
375         Implement std::experimental::fundamentals_v2::propagate_const.
376         * include/Makefile.am: Add propagate_const.
377         * include/Makefile.in: Regenerate.
378         * include/experimental/propagate_const: New.
379         * testsuite/experimental/propagate_const/assignment/copy.cc: Likewise.
380         * testsuite/experimental/propagate_const/assignment/move.cc: Likewise.
381         * testsuite/experimental/propagate_const/assignment/move_neg.cc:
382         Likewise.
383         * testsuite/experimental/propagate_const/cons/copy.cc: Likewise.
384         * testsuite/experimental/propagate_const/cons/default.cc: Likewise.
385         * testsuite/experimental/propagate_const/cons/move.cc: Likewise.
386         * testsuite/experimental/propagate_const/cons/move_neg.cc: Likewise.
387         * testsuite/experimental/propagate_const/hash/1.cc: Likewise.
388         * testsuite/experimental/propagate_const/observers/1.cc: Likewise.
389         * testsuite/experimental/propagate_const/relops/1.cc: Likewise.
390         * testsuite/experimental/propagate_const/requirements1.cc: Likewise.
391         * testsuite/experimental/propagate_const/requirements2.cc: Likewise.
392         * testsuite/experimental/propagate_const/requirements3.cc: Likewise.
393         * testsuite/experimental/propagate_const/requirements4.cc: Likewise.
394         * testsuite/experimental/propagate_const/requirements5.cc: Likewise.
395         * testsuite/experimental/propagate_const/swap/1.cc: Likewise.
396         * testsuite/experimental/propagate_const/typedefs.cc: Likewise.
398 2015-07-02  Jonathan Wakely  <jwakely@redhat.com>
400         * acinclude.m4 (GLIBCXX_DEFAULT_ABI): Change valid arguments for
401         --with-default-libstdcxx-abi
402         * configure: Regenerate.
403         * doc/xml/manual/configure.xml: Document valid arguments.
405 2015-07-02  Uros Bizjak  <ubizjak@gmail.com>
407         * libsupc++/guard.cc (__test_and_acquire): Use __p after __atomic_load
408         to avoid unused variable warning.
409         (__set_and_release): Use __p after __atomic_store to avoid unused
410         variable warning.
412 2015-07-01  Jonathan Wakely  <jwakely@redhat.com>
414         * include/bits/alloc_traits.h (__alloctr_rebind): Remove.
415         (__allocator_traits_base): New base class.
416         (__alloc_rebind): Reimplement in terms of detection idiom.
417         (allocator_traits): Derive from __allocator_traits_base. Reimplement
418         nested types in terms of detection idiom. Simplify SFINAE constraints
419         on overloaded static member functions.
420         * include/bits/hashtable.h (_Hashtable): Use __alloc_rebind instead
421         of __alloctr_rebind.
422         * testsuite/20_util/scoped_allocator/propagation.cc: Define rebind.
423         * testsuite/23_containers/unordered_set/instantiation_neg.cc: Adjust
424         dg-error line number.
426         * include/bits/ptr_traits.h (__ptrtr_elt_type, __ptrtr_diff_type,
427         __ptrtr_rebind, __ptrtr_not_void): Remove
428         (__get_first_arg, __replace_first_arg, __make_not_void): Define new
429         transformations.
430         (__detected_or_): New detection trait.
431         (pointer_traits): Use new traits.
432         * testsuite/20_util/pointer_traits/pointer_to.cc: Add rebind member.
433         * testsuite/20_util/pointer_traits/requirements/
434         explicit_instantiation.cc: Use valid arguments to pointer_traits.
436         * doc/xml/manual/status_cxx2017.xml: Update status table.
437         * include/experimental/type_traits (void_t, is_detected,
438         is_detected_v, detected_t, detected_or, detected_or_t,
439         is_detected_exact, is_detected_exact_v, is_detected_convertible,
440         is_detected_convertible_v): Define.
441         * include/std/type_traits (__detector, __detected_or, __detected_or_t,
442         __detected_or_t_): Define.
443         * testsuite/experimental/type_traits/detection.cc: New.
445 2015-06-30  Jonathan Wakely  <jwakely@redhat.com>
447         * doc/Makefile.am (stamp-pdf-doxygen): Grep for LaTeX errors in log.
448         * doc/Makefile.in: Regenerate.
450         * include/bits/stl_pair.h: Replace class keyword with typename.
452 2015-06-30  Ville Voutilainen  <ville.voutilainen@gmail.com>
454         Implement N4387, "Improving pair and tuple", and LWG 2367.
456         * include/bits/stl_pair.h (_ConstructiblePair,
457         _ImplicitlyConvertiblePair, _MoveConstructiblePair,
458         _ImplicitlyMoveConvertiblePair): New.
459         (pair()): Constrain it.
460         (pair(const _T1&, const _T2&), pair(const pair<_U1, _U2>&),
461         pair(_U1&&, const _T2&), pair(const _T1&, _U2&&), pair(_U1&&, _U2&&),
462         pair(pair<_U1, _U2>&&)): Make conditionally explicit.
463         * include/std/tuple (_TC, tuple::_TC2, tuple::TCC, tuple::TMC): New.
464         (tuple()): Constrain it.
465         (tuple(const _UElements&...), tuple(_UElements&&...),
466         tuple(const tuple<_UElements...>&), tuple(tuple<_UElements...>&&),
467         tuple(allocator_arg_t, const _Alloc&, const _UElements&...),
468         tuple(allocator_arg_t, const _Alloc&, _UElements&&...),
469         tuple(allocator_arg_t, const _Alloc&, const tuple<_UElements...>&),
470         tuple(allocator_arg_t, const _Alloc&, tuple<_UElements...>&&),
471         tuple(const pair<_U1, _U2>&), tuple(pair<_U1, _U2>&&),
472         tuple(allocator_arg_t, const _Alloc&, const pair<_U1, _U2>&),
473         tuple(allocator_arg_t, const _Alloc&, pair<_U1, _U2>&&)): Make
474         conditionally explicit.
475         * include/experimental/functional (__boyer_moore_array_base): Name
476         array type explicitly instead of using an empty braced-init-list.
477         * testsuite/20_util/pair/cons/explicit_construct.cc: New.
478         * testsuite/20_util/pair/piecewise.cc: Use piecewise_construct.
479         * testsuite/20_util/pair/requirements/dr2367.cc: New.
480         * testsuite/20_util/tuple/cons/explicit_construct.cc: New.
481         * testsuite/20_util/tuple/requirements/dr2367.cc: New.
483 2015-06-30  Jonathan Wakely  <jwakely@redhat.com>
485         * configure: Regenerate.
487 2015-06-29  François Dumont  <fdumont@gcc.gnu.org>
489         * include/bits/stl_iterator_base_types.h (_Iter_base): Limit definition
490         to pre-C++11 mode.
491         * include/debug/functions.h
492         (__gnu_debug::__valid_range, __gnu_debug::__base): Move...
493         * include/debug/safe_iterator.h
494         (__gnu_debug::_Sequence_traits): New.
495         (__gnu_debug::__get_distance_from_begin): New.
496         (__gnu_debug::__get_distance_to_end): New.
497         (__gnu_debug::_Safe_iterator<>::_M_valid_range): Expose iterator range
498         distance information. Add optional check_dereferenceable parameter,
499         default true.
500         (__gnu_debug::_Distance_precision, __gnu_debug::__get_distance): Move
501         default definition...
502         (__gnu_debug::__get_distance): New overload for _Safe_iterator.
503         (__gnu_debug::__unsafe): Likewise.
504         * include/debug/helper_functions.h: ...here. New.
505         (__gnu_debug::__unsafe): New helper function to remove safe iterator
506         layer.
507         * include/debug/stl_iterator.h: New. Include latter.
508         * include/bits/stl_iterator.h: Include latter in debug mode.
509         * include/debug/stl_iterator.tcc: Adapt.
510         * include/debug/safe_local_iterator.h (__gnu_debug::__get_distance): Add
511         overload for _Safe_local_iterator.
512         (__gnu_debug::__unsafe): Likewise.
513         * include/debug/safe_local_iterator.tcc: Adapt.
514         * include/debug/macros.h (__glibcxx_check_valid_range2): New.
515         (__glibcxx_check_insert_range): Add _Dist parameter.
516         (__glibcxx_check_insert_range_after): Likewise.
517         (__glibcxx_check_string, __glibcxx_check_string_len): Implement using
518         _GLIBCXX_DEBUG_PEDASSERT.
519         * include/debug/deque (deque<>::assign): Remove iterator debug layer
520         when possible.
521         (deque<>::insert): Likewise.
522         * include/debug/forward_list (__glibcxx_check_valid_fl_range): New.
523         (forward_list<>::splice_after): Use latter.
524         (forward_list<>::assign): Remove iterator debug layer when possible.
525         (forward_list<>::insert_after): Likewise.
526         (__gnu_debug::_Sequence_traits<>): Partial specialization.
527         * include/debug/list (list<>::assign): Remove iterator debug layer when
528         possible.
529         (list<>::insert): Likewise.
530         [__gnu_debug::_Sequence_traits<>]: Partial specialization pre C++11 ABI.
531         * include/debug/map.h (map<>::insert): Remove iterator debug layer when
532         possible.
533         * include/debug/multimap.h (multimap<>::insert): Likewise.
534         * include/debug/set.h (set<>::insert): Likewise.
535         * include/debug/multiset.h (multiset<>::insert): Likewise.
536         * include/debug/string (basic_string<>::append, basic_string<>::assign,
537         basic_string<>::insert, basic_string<>::replace): Likewise.
538         * include/debug/unordered_map
539         (unordered_map<>::insert, unordered_multimap<>::insert): Likewise.
540         * include/debug/unordered_set
541         (unordered_set<>::insert, unordered_multiset<>insert): Likewise.
542         * include/debug/vector
543         (vector<>::assign, vector<>::insert): Likewise.
544         * include/Makefile.am: Add new debug headers.
545         * include/Makefile.in: Regenerate.
547 2015-06-26  Jonathan Wakely  <jwakely@redhat.com>
549         * doc/xml/manual/intro.xml: Document LWG 2108 status.
550         * include/bits/alloc_traits.h (allocator_traits::is_always_equal):
551         Define.
552         * include/bits/allocator.h (allocator::is_always_equal): Likewise.
553         * include/bits/forward_list.h
554         (forward_list::operator=(forward_list&&)): Use __bool_constant.
555         (forward_list::swap(forward_list&)): Add noexcept.
556         * include/bits/hashtable.h (_Hashtable::operator=(_Hashtable&&)):
557         Likewise.
558         (_Hashtable::swap(_Hashtable&)): Likewise.
559         * include/bits/stl_deque.h (_Deque_base::_Deque_base(_Deque_base&&)):
560         Use _Alloc_traits::is_always_equal.
561         (deque::operator=(deque&&)): Likewise.
562         (deque::_M_move_assign1(deque&&, false_type)): Add comment and use
563         __bool_constant.
564         (swap(deque&, deque&)): Add noexcept.
565         * include/bits/stl_list.h (list::operator=(list&&)): Use
566         __bool_constant.
567         (swap(list&, list&)): Add noexcept.
568         * include/bits/stl_map.h (map::swap(map&)): Include _Compare in
569         noexcept.
570         (swap(map&, map&)): Add noexcept.
571         * include/bits/stl_multimap.h (multimap::swap(multimap&)): Include
572         _Compare in noexcept.
573         (swap(multimap&, multimap&)): Add noexcept.
574         * include/bits/stl_multiset.h (multiset::swap(multiset&)): Include
575         _Compare in noexcept.
576         (swap(multiset&, multiset&)): Add noexcept.
577         * include/bits/stl_set.h (set::swap(set&)): Include _Compare in
578         noexcept.
579         (swap(set&, set&)): Add noexcept.
580         * include/bits/stl_tree.h (_Rb_tree::operator=(_Rb_tree&&)): Include
581         _Compare in noexcept.
582         (_Rb_tree::_Rb_tree(_Rb_tree&&, _Node_alloc_type&&)): Use
583         is_always_equal.
584         * include/bits/stl_vector.h (vector::operator=(vector&&)): Use
585         __bool_constant.
586         (swap(vector&, vector&)): Add noexcept.
587         * include/bits/unordered_map.h (swap(unordered_map&, unordered_map&),
588         swap(unordered_multimap& unordered_multimap&)): Add noexcept.
589         * include/bits/unordered_set.h (swap(unordered_set&, unordered_set&),
590         swap(unordered_multiset& unordered_multiset&)): Add noexcept.
591         * include/ext/alloc_traits.h (__allocator_always_compares_equal):
592         Remove.
593         (__alloc_traits::_S_always_equal()): Use is_always_equal instead of
594         __allocator_always_compares_equal.
595         * include/ext/array_allocator.h (array_allocator::is_always_equal):
596         Define.
597         * include/std/scoped_allocator (__any_of, __propagate_on_copy,
598         __propagate_on_move, __propagate_on_swap): Remove.
599         (scoped_allocator_adaptor::propagate_on_container_copy_assignment,
600         scoped_allocator_adaptor::propagate_on_container_move_assignment,
601         scoped_allocator_adaptor::propagate_on_container_swap): Define with
602         __and_ instead of __any_of.
603         (scoped_allocator_adaptor::is_always_equal): Define.
604         * testsuite/20_util/allocator_traits/members/is_always_equal.cc: New.
605         * testsuite/20_util/scoped_allocator/propagation.cc: Make traits
606         derive from true_type or false_type.
607         * testsuite/23_containers/deque/allocator/move_assign-2.cc: Add
608         is_always_equal member and remove the trait specialization.
609         * testsuite/23_containers/vector/52591.cc: Likewise.
610         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
611         Adjust dg-error line number.
612         * testsuite/23_containers/deque/requirements/dr438/
613         constructor_1_neg.cc: Likewise.
614         * testsuite/23_containers/deque/requirements/dr438/
615         constructor_2_neg.cc: Likewise.
616         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
617         Likewise.
618         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
619         Likewise.
620         * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
621         Likewise.
622         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
623         Likewise.
624         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
625         Likewise.
626         * testsuite/23_containers/vector/requirements/dr438/
627         constructor_1_neg.cc: Likewise.
628         * testsuite/23_containers/vector/requirements/dr438/
629         constructor_2_neg.cc: Likewise.
630         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
631         Likewise.
633         * include/bits/stl_bvector.h (vector<bool>::vector()): Add noexcept.
634         * include/bits/stl_map.h (map::map()): Likewise.
635         * include/bits/stl_multimap.h (multimap::multimap()): Likewise.
636         * include/bits/stl_multiset.h (multiset::multiset()): Likewise.
637         * include/bits/stl_set.h (set::set()): Likewise.
639 2015-06-25  Jonathan Wakely  <jwakely@redhat.com>
641         * include/bits/locale_conv.h (__do_str_codecvt): Set __count.
643 2015-06-24  François Dumont  <fdumont@gcc.gnu.org>
645         * include/bits/basic_string.h (basic_string<>::front()): Add !empty
646         debug check.
647         (basic_string<>::back()): Likewise.
648         (basic_string<>::pop_back()): Likewise.
650 2015-06-24  Paolo Carlini  <paolo.carlini@oracle.com>
652         * testsuite/23_containers/array/tuple_interface/get_neg.cc: Adjust
653         dg-error line numbers.
654         * testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc:
655         Likewise.
657 2015-06-23  François Dumont  <fdumont@gcc.gnu.org>
659         * include/debug/array: Include <array>. Add version namespace when
660         specializing tuple interface to array. Add specialization for
661         __is_tuple_like_impl.
662         * include/profile/array: Likewise.
663         * include/std/array: Include <utility>. Add specialization for
664         __is_tuple_like_impl.
665         * include/std/tuple
666         (__is_tuple_like_impl<>, __is_tuple_like_impl<pair>): Move...
667         * include/std/utility: ... here. Include <type_traits>.
668         * testsuite/23_containers/array/tuple_interface/get_debug_neg.cc: Adjust
669         dg-error line number.
670         * testsuite/23_containers/array/tuple_interface/
671         tuple_element_debug_neg.cc: Likewise.
673 2015-06-22  Jonathan Wakely  <jwakely@redhat.com>
675         * testsuite/26_numerics/complex/value_operations/1.cc: Use
676         non-negative rho argument.
678         * include/debug/list (__gnu_debug::list): Use allocator-aware
679         _Safe_container base.
680         * include/debug/string (__gnu_debug::basic_string): Use
681         allocator-aware _Safe_container base for cxx11 ABI.
683         * include/bits/locale_conv.h (__do_str_codecvt): Handle empty range.
684         (wstring_convert): Move into __cxx11 namespace.
685         (wbuffer_convert(streambuf*, _Codecvt*, state_type)): Fix exception
686         message.
688         PR libstdc++/64657
689         * include/bits/stl_uninitialized.h
690         (__uninitialized_copy::__uninit_copy): Cast expression to void.
692 2015-06-17  Jonathan Wakely  <jwakely@redhat.com>
694         PR libstdc++/55409
695         * include/bits/list.tcc (_List_base::_M_clear()): Use allocator traits.
696         (list::list(const list&)): Use allocator propagation trait. Use
697         _M_assign_dispatch to copy elements.
698         * include/bits/stl_list.h (_List_node): Use __aligned_membuf in C++11.
699         (_List_node::_M_valptr()): Add accessor for stored value.
700         (_List_iterator, _List_const_iterator, _List_base): Use _M_valptr().
701         (_List_base, list): Use allocator traits.
702         (_List_base::_M_get_Tp_allocator, _List_base::get_allocator): Remove.
703         (_List_base::_M_move_nodes): New function.
704         (_List_base(_List_base&&)): Use _M_move_nodes.
705         (_List_base(_List_base&&, _Node_alloc_type&&)): New constructor.
706         (list::_M_create_node, list::_M_erase, list::max_size): Use allocator
707         traits.
708         (list(size_type)): Add allocator parameter.
709         (list(const list&)): Use allocator propagation trait.
710         (list(const list&, const allocator_type&)): New constructor.
711         (list(list&&, const allocator_type&)): Likewise.
712         (list::operator=(list&&), list::swap(list&)): Use allocator
713         propagation traits.
714         (list::_M_move_assign): New functions.
715         * include/debug/list: Add allocator-extended constructors.
716         * include/profile/list: Likewise.
717         * python/libstdcxx/v6/printers.py (get_value_from_list_node): New
718         function to get value from _List_node.
719         (StdListPrinter): Use get_value_from_list_node.
720         * testsuite/23_containers/list/allocator/copy.cc: New.
721         * testsuite/23_containers/list/allocator/copy_assign.cc: New.
722         * testsuite/23_containers/list/allocator/minimal.cc: New.
723         * testsuite/23_containers/list/allocator/move.cc: New.
724         * testsuite/23_containers/list/allocator/move_assign.cc: New.
725         * testsuite/23_containers/list/allocator/noexcept.cc: New.
726         * testsuite/23_containers/list/allocator/swap.cc: New.
727         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
728         Adjust dg-prune-output line number.
729         * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
730         Likewise.
731         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
732         Likewise.
734         * include/bits/forward_list.h
735         (_Fwd_list_base(const _Node_alloc_type&)): Change parameter to
736         rvalue-reference.
737         (_Fwd_list_base(_Fwd_list_base&&, const _Node_alloc_type&)): Likewise.
738         (forward_list(const _Alloc&)): Split default constructor out to
739         separate function.
740         (forward_list(forward_list&&, const _Alloc&)): Move elements if base
741         class didn't do so.
742         (forward_list::_M_move_assign(forward_list&&, true_type)): Replace
743         swap call with two assignments.
744         * include/bits/forward_list.tcc
745         (_Fwd_list_base(_Fwd_list_base&&, const _Node_alloc_type&)): Don't
746         move elements when allocators are not equal.
747         * include/debug/forward_list (forward_list(const allocator_type&)):
748         Split default constructor out to separate function.
749         * include/profile/forward_list (forward_list(const _Alloc&)):
750         Likewise.
752         * include/bits/forward_list.h (forward_list::_M_get_Node_allocator):
753         Remove unnecessary uses of operator& and static_cast.
754         * include/bits/forward_list.tcc
755         (forward_list::operator=(const forward_list&)): Use __addressof
756         instead of operator&.
757         (forward_list::remove(const _Tp&), forward_list::remove(_Pred)):
758         Remove invalid static_casts.
759         * include/debug/forward_list: Use __addressof instead of operator&.
760         * testsuite/23_containers/forward_list/modifiers/addressof.cc: New.
762         * include/ext/alloc_traits.h (__alloc_traits::_S_nothrow_swap()): Use
763         __is_nothrow_swappable.
765 2015-06-16  Jonathan Wakely  <jwakely@redhat.com>
767         * include/bits/allocated_ptr.h (__allocated_ptr): Use __addressof.
769         * include/bits/list.tcc (list::operator=(const list&), list::merge):
770         Use __addressof instead of operator&.
771         (list::sort): Use array-to-pointer decay instead of operator&.
772         * include/bits/stl_list.h (list::splice): Use __addressof instead of
773         operator&.
774         * include/debug/formatter.h (_Error_formatter::_Parameter::_Parameter):
775         Likewise.
776         * include/debug/functions.h (__check_singular): Likewise.
777         * include/debug/list (list::splice, list::merge): Likewise.
778         * testsuite/23_containers/list/modifiers/addressof.cc: New.
780         PR libstdc++/65393
781         * src/c++11/thread.cc (thread::_M_make_thread): Replace shared_ptr
782         copies with moves.
784 2015-06-12  Jonathan Wakely  <jwakely@redhat.com>
786         * include/precompiled/stdc++.h: Include <codecvt> and <shared_mutex>.
788         PR libstdc++/66464
789         * src/c++11/codecvt.cc (codecvt_utf16_base<char32_t>::do_max_length):
790         Return 4 not 3.
792 2015-06-12  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
794         PR c++/66192
795         PR target/66200
796         * config/cpu/alpha/atomic_word.h: Remove.
797         * config/cpu/ia64/atomic_word.h: Remove.
798         * config/cpu/powerpc/atomic_word.h: Remove.
799         * config/os/aix/atomic_word.h: Remove.
800         * configure.host (atomic_word_dir) [ia64, aix*, powerpc, alpha]:
801         Use generic definition.
803 2015-06-12  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
805         PR target/66200
806         PR c++/66192
807         * * config/cpu/generic/atomic_word.h (_GLIBCXX_READ_MEM_BARRIER): Define
808         (_GLIBCXX_WRITE_MEM_BARRIER): Likewise
809         * include/bits/shared_ptr_base.h: Use ACQ_REL barrier.
810         * include/ext/atomicity.h: Likewise.
811         * include/tr1/shared_ptr.h: Likewise.
812         * libsupc++/guard.cc (__test_and_acquire): Rewrite with atomics.
813         Update comment.
814         (__set_and_release): Likewise.
815         * testsuite/20_util/shared_ptr/cons/43820_neg.cc (test01): Adjust for
816         line numbers.
817         * testsuite/20_util/shared_ptr/cons/void_neg.cc: Likewise.
818         * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc:
819         Likewise.
821 2015-06-12  Jonathan Wakely  <jwakely@redhat.com>
823         * include/std/tuple (__is_tuple_like_impl): Disambiguate array in
824         debug and profile modes.
825         * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Adjust tests
826         for swap in C++11 and later.
828 2015-06-09  Jonathan Wakely  <jwakely@redhat.com>
830         PR libstdc++/66030
831         * config/abi/pre/gnu.ver: Export codecvt_byname and codecvt symbols
832         for mingw32.
834 2015-06-08  Jonathan Wakely  <jwakely@redhat.com>
836         PR libstdc++/66441
837         * testsuite/22_locale/conversions/string/66441.cc: New.
838         * include/bits/locale_conv.h (__do_str_codecvt): Reserve enough space
839         in the output string for BOM and complete result.
841         PR libstdc++/66417
842         * src/c++11/codecvt.cc (write_utf16_code_point): Use adjust_byte_order
843         for single UTF-16 units.
844         * testsuite/22_locale/codecvt/codecvt_utf16/66417.cc: New.
846 2015-06-07  François Dumont  <fdumont@gcc.gnu.org>
848         * include/bits/stl_tree.h (_Rb_tree<>::__is_transparent<>): Move to
849         outer scope and rename to ...
850         (std::__hash_is_transparent<>): ... this.
851         * include/debug/stl_map.h (map::find<>,
852         map::lower_bound<>, map::upper_bound<>, map::equal_range<>): New
853         member function templates to perform heterogeneous lookup.
854         * include/debug/stl_multimap.h (multimap::find<>,
855         multimap::lower_bound<>, multimap::upper_bound<>,
856         multimap::equal_range<>): Likewise.
857         * include/debug/stl_multiset.h (multiset::find<>,
858         multiset::lower_bound<>, multiset::upper_bound<>,
859         multiset::equal_range<>): Likewise.
860         * include/debug/stl_set.h (set::find<>,
861         set::lower_bound<>, set::upper_bound<>, set::equal_range<>): Likewise.
862         * include/profile/stl_map.h (map::find<>, map::count<>,
863         map::lower_bound<>, map::upper_bound<>, map::equal_range<>): Likewise.
864         * include/profile/stl_multimap.h (multimap::find<>, multimap::count<>,
865         multimap::lower_bound<>, multimap::upper_bound<>,
866         multimap::equal_range<>): Likewise.
867         * include/profile/stl_multiset.h (multiset::find<>, multiset::count<>,
868         multiset::lower_bound<>, multiset::upper_bound<>,
869         multiset::equal_range<>): Likewise.
870         * include/profile/stl_set.h (set::find<>, set::count<>,
871         set::lower_bound<>, set::upper_bound<>, set::equal_range<>): Likewise.
872         * testsuite/23_containers/map/operations/1.cc: Check const variants.
873         * testsuite/23_containers/multimap/operations/1.cc: Likewise.
874         * testsuite/23_containers/multiset/operations/1.cc: Likewise.
875         * testsuite/23_containers/set/operations/1.cc: Likewise.
877 2015-06-05  Jonathan Wakely  <jwakely@redhat.com>
879         * doc/xml/manual/status_cxx2017.xml: Update status tables.
880         * doc/html/manual/*: Regenerate.
881         * include/std/type_traits (bool_constant): Define.
882         * testsuite/20_util/bool_constant/requirements.cc: New.
883         * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error.
884         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
885         Likewise.
886         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
887         Likewise.
889         * include/std/shared_mutex (__shared_mutex_pthread,
890         __shared_mutex_cv): New helper types implementing the shared mutex
891         requirements.
892         (shared_mutex): New type for C++17.
893         (shared_timed_mutex): Derive from one of the new helper types.
894         * testsuite/30_threads/shared_mutex/cons/1.cc: New.
895         * testsuite/30_threads/shared_mutex/cons/assign_neg.cc: New.
896         * testsuite/30_threads/shared_mutex/cons/copy_neg.cc: New.
897         * testsuite/30_threads/shared_mutex/requirements/standard_layout.cc:
898         New.
899         * testsuite/30_threads/shared_mutex/try_lock/1.cc: New.
900         * testsuite/30_threads/shared_mutex/try_lock/2.cc: New.
902 2015-06-05  Ville Voutilainen  <ville.voutilainen@gmail.com>
904         Add __is_nothrow_swappable and take it into use.
905         * include/bits/algorithmfwd.h (swap): Only declare for C++98 mode.
906         * include/bits/move.h (swap): Add constraints in C++11 and later.
907         * include/bits/stl_pair.h (swap): Use __is_nothrow_swappable
908         for the free swap function for pair.
909         * include/bits/stl_queue.h (swap): Use __is_nothrow_swappable
910         for the free swap functions for queue and priority_queue.
911         * include/bits/stl_stack.h (swap): Use __is_nothrow_swappable
912         for the free swap function for stack.
913         * include/debug/array (swap): Use __is_nothrow_swappable
914         for the free swap function for array.
915         * include/profile/array (swap): Likewise.
916         * include/std/array (swap): Likewise.
917         * include/std/tuple (_Tuple_impl::_M_swap): Use __is_nothrow_swappable.
918         * include/std/type_traits (__is_swappable_impl::__is_swappable,
919         __is_nothrow_swappable_impl, __is_nothrow_swappable): New.
920         * testsuite/20_util/is_nothrow_swappable/requirements/
921         explicit_instantiation.cc: New.
922         * testsuite/20_util/is_nothrow_swappable/requirements/typedefs.cc:
923         New.
924         * testsuite/20_util/is_nothrow_swappable/value.cc: New.
926 2015-06-03  François Dumont  fdumont@gcc.gnu.org>
928         * testsuite/23_containers/list/61347.cc: Add dg-require-normal-mode.
930 2015-06-02  Jonathan Wakely  <jwakely@redhat.com>
932         * doc/xml/manual/abi.xml: Document versioning for 5.1.0 release.
933         * doc/html/manual/*: Regenerate.
935         * doc/html/ext/lwg-active.html: Update to R93.
936         * doc/html/ext/lwg-closed.html: Likewise.
937         * doc/html/ext/lwg-defects.html: Likewise.
938         * doc/html/manual/*: Regenerate.
939         * doc/xml/manual/intro.xml: Document status of several DRs.
941 2015-06-02  Renlin Li  <renlin.li@arm.com>
943         * testsuite/27_io/fpos/14775.cc: Add _GLIBCXX_HAVE_LIMIT_FSIZE check.
945 2015-06-01  Jonathan Wakely  <jwakely@redhat.com>
947         * testsuite/lib/libstdc++.exp (libstdc++_init): Unset LANGUAGE
948         environment variable.
950 2015-05-31  Jonathan Wakely  <jwakely@redhat.com>
952         PR libstdc++/66354
953         * include/bits/stl_algobase.h (__fill_a): Check length before calling
954         memset.
956 2015-05-30  Jonathan Wakely  <jwakely@redhat.com>
958         * include/bits/stl_algobase.h (__equal<true>::equal): Check length
959         instead of checking for null pointers.
960         (__lexicographical_compare<true>::__lc): Only check shorter length.
962 2015-05-29  François Dumont  fdumont@gcc.gnu.org>
964         * include/debug/debug.h (_GLIBCXX_DEBUG_ASSERT,
965         _GLIBCXX_DEBUG_PEDASSERT, _GLIBCXX_DEBUG_ONLY): Move definition...
966         * include/debug/assertions.h: ...here, new.
967         * include/debug/formatter.h
968         (_Error_formatter::_Is_iterator_value_type): New.
969         (_Error_formatter::_Is_instance): New.
970         (_Error_formatter::_Parameter): Make public and not friend anymore.
971         (_Error_formatter::_Parameter::__instance): New _M_kind enum entry.
972         (_Error_formatter::_Parameter::__iterator_value_type): New _M_kind enum
973         entry.
974         (_Error_formatter::_Parameter::_Type): New.
975         (_Error_formatter::_Parameter::_Instance): New, inherit from
976         latter.
977         (union _Error_formatter::_Parameter::_M_variant): Reorganize.
978         (_Parameter(_Iterator const&, const char*, _Is_iterator)): Make all
979         overloads take iterator through a const reference.
980         (_Parameter(const _Iterator&, const char*, _Is_iterator_value_type)):
981         New.
982         (_Parameter(const _Type&, const char*, _Is_instance)): New.
983         (_Error_formatter::_M_print_type): Delete.
984         (_Error_formatter::_M_iterator_value_type): New.
985         (_Error_formatter::_M_instance): New.
986         * include/Makefile.am: Add new above debug file.
987         * include/Makefile.in: Regenerate.
988         * include/debug/functions.h
989         (__check_dereferenceable(const _Safe_iterator<>&),
990         __valid_range(const _Safe_iterator<>&),
991         __is_safe_random_iterator<_Safe_iterator<>>): Move...
992         * include/debug/safe_iterator.h: ... here.
993         Replace debug.h include with assertions.h.
994         (__check_singular_aux): Move...
995         * include/debug/safe_base.h: ... here.
996         * include/debug/functions.h
997         (__check_dereferenceable(const _Safe_local_iterator<>&),
998         __valid_range(const _Safe_local_iterator<>&): Move...
999         * include/debug/safe_local_iterator.h: ...here.
1000         * include/debug/safe_sequence.h: Replace debug.h with assertions.h.
1001         Remove _Safe_iterator declaration.
1002         * include/debug/safe_unordered_container.h: Replace debug.h with
1003         assertions.h.
1004         * include/debug/array: Replace safe_sequence.h include with
1005         formatter.h and macros.h.
1006         * include/debug/deque: Include functions.tcc.
1007         * include/debug/forward_list: Likewise.
1008         * include/debug/list: Likewise.
1009         * include/debug/string: Likewise.
1010         * include/debug/vector: Likewise.
1011         * include/bits/unique_ptr.h: Replace debug.h include with new
1012         assertions.h.
1013         * include/bits/stl_iterator_base_funcs.h: Likewise.
1014         * testsuite/23_containers/array/tuple_interface/get_debug_neg.cc:
1015         Adjust dg-error line number.
1016         * testsuite/23_containers/array/tuple_interface/
1017         tuple_element_debug_neg.cc: Likewise.
1018         * src/c++11/debug.cc: Adapt.
1020 2015-05-29  Jonathan Wakely  <jwakely@redhat.com>
1022         * doc/xml/manual/status_cxx2017.xml: Fix duplicate ID attribute.
1023         * doc/html/manual/*: Regenerate.
1025         * include/std/future (__async_result_of): New alias template.
1026         (async): Use __async_result_of to pass decayed types to result_of.
1027         * testsuite/30_threads/async/lwg2021.cc: New.
1028         * doc/xml/manual/intro.xml: Document LWG 2021 status.
1030         PR libstdc++/66327
1031         * include/bits/stl_algobase.h (__equal<true>::equal): Do not call
1032         memcmp with null pointers.
1033         (__lexicographical_compare<true>::__lc): Do not call memcmp for empty
1034         ranges.
1036 2015-05-28  Jonathan Wakely  <jwakely@redhat.com>
1038         PR libstdc++/65352
1039         * include/profile/array (array::data): Use _S_ptr.
1040         * include/debug/array (array::data): Likewise.
1042         PR libstdc++/65352
1043         * include/std/array (__array_traits::_S_ptr): New function.
1044         (array::data): Use _S_ptr to avoid creating invalid reference.
1045         * testsuite/23_containers/array/tuple_interface/get_neg.cc: Adjust
1046         dg-error line numbers.
1047         * testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc:
1048         likewise.
1050 2015-05-27  Jonathan Wakely  <jwakely@redhat.com>
1052         * include/bits/stl_tree.h (_Rb_tree::_M_end()): Return _Base_ptr
1053         instead of downcasting.
1054         (_Rb_tree::_M_copy): Change second parameter to _Base_ptr.
1055         (_Rb_tree::_M_lower_bound, _Rb_tree:_M_upper_bound): Likewise.
1056         (_Rb_tree::_S_iter): Remove.
1057         (_Rb_tree::_S_lower_bound_tr, _Rb_tree::_S_upper_bound_tr): Remove.
1058         (_Rb_tree::_M_find_tr(const _Kt&) const): Call _M_lower_bound_tr
1059         instead of _S_lower_bound_tr
1060         (_Rb_tree::_M_find_tr(const _Kt&)): Call const overload.
1061         (_Rb_tree::_M_lower_bound_tr(const _Kt&) const): Do the search here
1062         instead of calling _S_lower_bound_tr.
1063         (_Rb_tree::_M_lower_bound_tr(const _Kt&)): Call const overload.
1064         (_Rb_tree::_M_upper_bound_tr(const _Kt&) const): Do the search here
1065         instead of calling _S_upper_bound_tr.
1066         (_Rb_tree::_M_upper_bound_tr(const _Kt&)): Call const overload.
1067         (_Rb_tree::_M_equal_range_tr(const _Kt&)): Likewise.
1068         (_Rb_tree::equal_range): Use _Base_ptr for end pointer.
1069         (_Rb_tree::_M_get_insert_unique_pos): Likewise.
1070         (_Rb_tree::_M_get_insert_equal_pos): Likewise.
1071         (_Rb_tree::_M_insert_equal_lower_node): Likewise.
1072         (_Rb_tree::_M_insert_unique, _Rb_tree::_M_emplace_unique,
1073         _Rb_tree::_M_emplace_hint_unique): Remove static_cast.
1075         PR libstdc++/66017
1076         * include/bits/stl_tree.h (_Rb_tree_node): Use __aligned_membuf.
1077         (_Rb_tree_iterator, _Rb_tree_const_iterator): Support construction
1078         from _Base_ptr.
1079         (_Rb_tree_const_iterator::_M_const_cast): Remove static_cast.
1080         (_Rb_tree::begin, _Rb_tree::end): Remove static_cast.
1081         * include/ext/aligned_buffer.h (__aligned_membuf): New type using
1082         alignment of _Tp as a member subobject, not as a complete object.
1083         * python/libstdcxx/v6/printers.py (StdRbtreeIteratorPrinter): Lookup
1084         _Link_type manually as it might not be in the debug info.
1086 2015-05-26  Doug Evans  <dje@google.com>
1088         * python/libstdcxx/v6/xmethods.py (UniquePtrMethodsMatcher): Add
1089         operator-> support.
1090         * testsuite/libstdc++-xmethods/unique_ptr.cc: Add tests for
1091         operator->.
1093 2015-05-26  Jonathan Wakely  <jwakely@redhat.com>
1095         * include/bits/locale_conv.h: Fix copyright years.
1096         * include/bits/quoted_string.h: Likewise.
1097         * src/filesystem/Makefile.am: Likewise.
1098         * testsuite/22_locale/conversions/buffer/1.cc: Likewise.
1099         * testsuite/22_locale/conversions/buffer/requirements/typedefs.cc:
1100         Likewise.
1101         * testsuite/22_locale/conversions/string/1.cc: Likewise.
1102         * testsuite/22_locale/conversions/string/2.cc: Likewise.
1103         * testsuite/22_locale/conversions/string/3.cc: Likewise.
1104         * testsuite/22_locale/conversions/string/requirements/typedefs-2.cc:
1105         Likewise.
1106         * testsuite/22_locale/conversions/string/requirements/typedefs.cc:
1107         Likewise.
1108         * testsuite/util/testsuite_fs.h: Likewise.
1110 2015-05-23  François Dumont  fdumont@gcc.gnu.org>
1112         PR libstdc++/64657
1113         * include/debug/functions.h (__check_sorted_aux): Cast expression to
1114         void.
1116 2015-05-21  David Edelsohn  <dje.gcc@gmail.com>
1118         PR target/66224
1119         * config/cpu/powerpc/atomic_word.h (_GLIBCXX_READ_MEM_BARRIER):
1120         Don't use isync. Use lwsync if available.
1121         * configure.host (atomic_word_dir) [aix[56789]*]: Delete to use
1122         powerpc cpu definition.
1124 2015-05-21  Jason Merrill  <jason@redhat.com>
1126         * libsupc++/del_opv.cc: Suppress -Wsized-deallocation.
1127         * libsupc++/del_op.cc: Likewise.
1129 2015-05-20  François Dumont  fdumont@gcc.gnu.org>
1131         * include/debug/formatter.h (_GLIBCXX_TYPEID): New macro to simplify
1132         usage of typeid.
1133         (_Error_formatter::_M_print_type): New.
1134         * src/c++11/debug.cc
1135         (_Error_formatter::_Parameter::_M_print_field): Use latter.
1136         (_Error_formatter::_M_print_type): Implement latter using
1137         __cxaabiv1::__cxa_demangle to print demangled type name.
1139         * include/bits/cpp_type_traits.h
1140         (std::move_iterator): Delete declaration.
1141         (std::__is_move_iterator<move_iterator>): Move partial specialization...
1142         * include/bits/stl_iterator.h: ... here.
1143         (std::__miter_base): Overloads for std::reverse_iterator and
1144         std::move_iterator.
1145         * include/bits/stl_algobase.h (std::__miter_base): Provide default
1146         implementation.
1148 2015-05-20  Jonathan Wakely  <jwakely@redhat.com>
1150         * testsuite/util/testsuite_fs.h (nonexistent_path): Don't use tempnam.
1152         PR libstdc++/66078
1153         * include/bits/stl_iterator.h (__make_move_if_noexcept_iterator): Add
1154         overload for pointers.
1155         * testsuite/20_util/specialized_algorithms/uninitialized_copy/
1156         808590.cc: Add -std=gnu++03 switch.
1157         * testsuite/20_util/specialized_algorithms/uninitialized_copy/
1158         808590-cxx11.cc: Copy of 808590.cc to test with -std=gnu++11.
1159         * testsuite/23_containers/vector/modifiers/push_back/
1160         strong_guarantee.cc: New.
1162 2015-05-19  Jonathan Wakely  <jwakely@redhat.com>
1164         * include/bits/stl_list.h (_M_resize_pos(size_type&)): Declare.
1165         (operator==(const list&, const list&)): If size() is O(1) compare
1166         sizes before comparing each element.
1167         * include/bits/list.tcc (list::_M_resize_pos(size_type&)): Define.
1168         (list::resize): Use _M_resize_pos.
1170 2015-05-19  François Dumont  <fdumont@gcc.gnu.org>
1172         * testsuite/23_containers/unordered_map/cons/66055.cc: Add constructor
1173         invocations.
1174         * testsuite/23_containers/unordered_multimap/cons/66055.cc: Likewise.
1175         * testsuite/23_containers/unordered_multiset/cons/66055.cc: Likewise.
1176         * testsuite/23_containers/unordered_set/cons/66055.cc: Likewise.
1178 2015-05-17  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
1180         * configure.host: Define cpu_defines_dir for ARM.
1181         * config/cpu/arm/cpu_defines.h: New file.
1183 2015-05-17  François Dumont  <fdumont@gcc.gnu.org>
1185         * include/bits/unordered_map.h (unordered_map, unordered_multimap): Add
1186         missing constructors.
1187         * include/bits/unordered_set.h (unordered_set, unordered_multiset):
1188         Likewise.
1189         * include/debug/unordered_map (unordered_map, unordered_multimap): Add
1190         missing constructors.
1191         * include/debug/unordered_set (unordered_set, unordered_multiset):
1192         Likewise.
1193         * include/profile/unordered_map (unordered_map, unordered_multimap): Add
1194         missing constructors.
1195         * include/profile/unordered_set (unordered_set, unordered_multiset):
1196         Likewise.
1198 2015-05-15  Jonathan Wakely  <jwakely@redhat.com>
1200         * src/filesystem/ops.cc (stat_type): Define alias for struct stat and
1201         use throughout the file.
1202         (make_file_type): New function.
1203         (file_size(const path&, error_code&)): Report an error for anything
1204         that isn't a regular file.
1205         (status(const path&), symlink_status(const path&)): Do not throw for
1206         file_type::not_found.
1207         (temp_directory_path()): Check additional environment variables.
1208         * testsuite/experimental/filesystem/operations/exists.cc: New.
1209         * testsuite/experimental/filesystem/operations/file_size.cc: New.
1210         * testsuite/experimental/filesystem/operations/status.cc: New.
1211         * testsuite/experimental/filesystem/operations/temp_directory_path.cc:
1212         New.
1214 2015-05-14  Nathan Myers  <ncm@cantrip.org>
1215             Jonathan Wakely  <jwakely@redhat.com>
1217         PR libstdc++/66055
1218         * include/std/unordered_map (unordered_map, unordered_multimap): Add
1219         missing constructors.
1220         * include/std/unordered_set (unordered_set, unordered_multiset):
1221         Likewise.
1222         * testsuite/23_containers/unordered_map/cons/66055.cc: New.
1223         * testsuite/23_containers/unordered_multimap/cons/66055.cc: New.
1224         * testsuite/23_containers/unordered_multiset/cons/66055.cc: New.
1225         * testsuite/23_containers/unordered_set/cons/66055.cc: New.
1227 2015-05-14  Jonathan Wakely  <jwakely@redhat.com>
1229         PR libstdc++/66011
1230         * acinclude.m4 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Check for fchmod and
1231         sendfile.
1232         * config.h.in: Regenerate.
1233         * configure: Regenerate.
1234         * src/filesystem/ops.cc (do_copy_file): Fix arguments to open(). Do
1235         not return after copying contents. Use fchmod, fchmodat, and sendfile
1236         when available.
1237         (current_path, permissions, space): Use errno not return value.
1239         PR libstdc++/66018
1240         * acinclude.m4 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Check for struct
1241         dirent.d_type.
1242         * config.h.in: Regenerate.
1243         * configure: Regenerate.
1244         * configure.ac (AC_STRUCT_DIRENT_D_TYPE): Remove.
1246 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
1248         * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Delete.
1249         * configure.ac: Remove GLIBCXX_ENABLE_SJLJ_EXCEPTIONS.
1250         * config.h.in: Regenerate.
1251         * configure: Likewise.
1252         * libsupc++/eh_personality.cc: Replace _GLIBCXX_SJLJ_EXCEPTIONS by
1253         __USING_SJLJ_EXCEPTIONS__.
1254         * libsupc++/eh_throw.cc: Likewise.
1255         * libsupc++/eh_ptr.cc: Likewise.
1256         * doc/html/manual/appendix_porting.html: Remove
1257         GLIBCXX_ENABLE_SJLJ_EXCEPTIONS
1258         * doc/xml/manual/build_hacking.xml: Likewise.
1259         * doc/html/manual/configure.html: Remove --enable-sjlj-exceptions.
1260         * doc/xml/manual/configure.xml: Likewise.
1262 2015-05-13  Jonathan Wakely  <jwakely@redhat.com>
1264         * include/bits/shared_ptr_base.h (__shared_count(unique_ptr&&)): Check
1265         for nullptr (LWG 2415).
1266         * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter.cc: Test
1267         construction from empty unique_ptr.
1268         * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error.
1269         * testsuite/20_util/shared_ptr/cons/void_neg.cc: Likewise.
1271         * include/bits/stl_raw_storage_iter.h (raw_storage_iterator::base()):
1272         Define (LWG 2454).
1273         * testsuite/20_util/raw_storage_iterator/base.cc: New.
1275         * include/std/future (packaged_task(allocator_arg_t, const A&, F&&):
1276         Remove explicit (LWG 2407).
1278         * include/bits/basic_string.h (basic_string::basic_string()): Make
1279         noexcept conditional on allocator (LWG 2455).
1281         * include/std/complex (polar): Check for negative rho (LWG 2459).
1283         * include/experimental/tuple (apply): Handle pointers to member (LWG
1284         2418).
1285         * include/std/functional (_Mem_fn_base): Make constructors constexpr.
1286         (_Maybe_wrap_member_pointer::__do_wrap): Make constexpr.
1287         * testsuite/experimental/tuple/apply.cc: Test pointer to member.
1289         * include/bits/random.h (seed_seq): More noexcept (LWG 2440).
1291         * include/bits/alloc_traits.h (_S_max_size): Implement LWG 2466.
1292         * testsuite/20_util/allocator_traits/members/max_size.cc: Adjust.
1293         * testsuite/23_containers/forward_list/allocator/minimal.cc:
1294         Likewise.
1295         * testsuite/23_containers/map/allocator/minimal.cc: Likewise.
1296         * testsuite/23_containers/multimap/allocator/minimal.cc: Likewise.
1297         * testsuite/23_containers/multiset/allocator/minimal.cc: Likewise.
1298         * testsuite/23_containers/set/allocator/minimal.cc: Likewise.
1299         * testsuite/23_containers/unordered_map/allocator/minimal.cc:
1300         Likewise.
1301         * testsuite/23_containers/unordered_multimap/allocator/minimal.cc:
1302         Likewise.
1303         * testsuite/23_containers/unordered_multiset/allocator/minimal.cc:
1304         Likewise.
1305         * testsuite/23_containers/unordered_set/allocator/minimal.cc:
1306         Likewise.
1307         * testsuite/util/testsuite_allocator.h: Remove unused parameter.
1309         * acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Re-enable on solaris.
1310         * configure: Regenerate.
1312 2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
1314         * Makefile.in: Regenerated with automake-1.11.6.
1315         * aclocal.m4: Likewise.
1316         * configure: Likewise.
1317         * doc/Makefile.in: Likewise.
1318         * include/Makefile.in: Likewise.
1319         * libsupc++/Makefile.in: Likewise.
1320         * po/Makefile.in: Likewise.
1321         * python/Makefile.in: Likewise.
1322         * src/Makefile.in: Likewise.
1323         * src/c++11/Makefile.in: Likewise.
1324         * src/c++98/Makefile.in: Likewise.
1325         * src/filesystem/Makefile.in: Likewise.
1326         * testsuite/Makefile.in: Likewise.
1328 2015-05-09  Jason Merrill  <jason@redhat.com>
1330         * testsuite/20_util/headers/functional/synopsis.cc: Add
1331         _GLIBCXX14_CONSTEXPR.
1332         * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
1334 2015-05-08  Jason Merrill  <jason@redhat.com>
1336         * testsuite/19_diagnostics/headers/system_error/std_c++0x_neg.cc: Add -std=c++98.
1337         * testsuite/20_util/auto_ptr/1.cc: Add -std=c++98.
1338         * testsuite/20_util/auto_ptr/2.cc: Add -std=c++98.
1339         * testsuite/20_util/auto_ptr/3.cc: Add -std=c++98.
1340         * testsuite/20_util/auto_ptr/4.cc: Add -std=c++98.
1341         * testsuite/20_util/auto_ptr/5.cc: Add -std=c++98.
1342         * testsuite/20_util/auto_ptr/6.cc: Add -std=c++98.
1343         * testsuite/20_util/auto_ptr/7.cc: Add -std=c++98.
1344         * testsuite/20_util/auto_ptr/3946.cc: Add -std=c++98.
1345         * testsuite/20_util/auto_ptr/assign_neg.cc: Add -std=c++98.
1346         * testsuite/20_util/auto_ptr/requirements/explicit_instantiation/1.cc:
1347         Likewise.
1348         * testsuite/20_util/headers/functional/synopsis.cc: Add -Wno-deprecated.
1349         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
1350         Adjust expected errors.
1351         * testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc:
1352         Likewise.
1353         * testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc:
1354         Likewise.
1355         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
1356         Likewise.
1357         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
1358         Likewise.
1359         * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
1360         Likewise.
1361         * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
1362         Likewise.
1363         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
1364         Likewise.
1365         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
1366         Likewise.
1367         * testsuite/23_containers/vector/requirements/dr438
1368         /constructor_1_neg.cc: Likewise.
1369         * testsuite/23_containers/vector/requirements/dr438
1370         /constructor_2_neg.cc: Likewise.
1371         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
1372         Likewise.
1373         * testsuite/ext/array_allocator/1.cc: Add -Wno-deprecated.
1374         * testsuite/ext/array_allocator/2.cc: Add -Wno-deprecated.
1375         * testsuite/ext/array_allocator/26875.cc: Add -Wno-deprecated.
1376         * testsuite/ext/array_allocator/3.cc: Add -Wno-deprecated.
1377         * testsuite/ext/array_allocator/check_allocate_max_size.cc:
1378         Add -Wno-deprecated.
1379         * testsuite/ext/array_allocator/check_deallocate_null.cc:
1380         Add -Wno-deprecated.
1381         * testsuite/ext/array_allocator/check_delete.cc: Add -Wno-deprecated.
1382         * testsuite/ext/array_allocator/check_new.cc: Add -Wno-deprecated.
1383         * testsuite/ext/profile/mutex_extensions_neg.cc: Prune follow-on error.
1384         * testsuite/tr1/2_general_utilities/shared_ptr/assign/auto_ptr.cc:
1385         Add -std=c++98.
1386         * testsuite/tr1/2_general_utilities/shared_ptr/assign/auto_ptr_neg.cc:
1387         Add -std=c++98.
1388         * testsuite/tr1/2_general_utilities/shared_ptr/assign
1389         /auto_ptr_rvalue_neg.cc: Add -std=c++98.
1390         * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc:
1391         Add -std=c++98 -fno-show-column.
1392         * testsuite/tr1/2_general_utilities/shared_ptr/cons/auto_ptr.cc:
1393         Add -std=c++98.
1394         * testsuite/tr1/2_general_utilities/shared_ptr/cons/auto_ptr_neg.cc:
1395         Add -std=c++98.
1396         * testsuite/tr1/6_containers/utility/pair.cc: Add -std=c++98.
1397         * testsuite/tr1/8_c_compatibility/cmath/pow_cmath.cc: Add -std=c++98.
1399         * src/c++98/Makefile.am (AM_CXXFLAGS): Add -std=gnu++98.
1400         * src/c++98/Makefile.in: Regenerate.
1401         * src/Makefile.am (AM_CXXFLAGS): Add -std=gnu++98.
1402         * src/Makefile.in: Regenerate.
1404 2015-05-02  Jonathan Wakely  <jwakely@redhat.com>
1406         PR libstdc++/51617
1407         * include/std/future (async): Change default policy to launch::async.
1409         * include/experimental/any (any::_Storage): Fix alignment of buffer.
1410         (any::_Internal): Check alignment of type.
1411         * testsuite/experimental/any/cons/aligned.cc: New.
1412         * testsuite/experimental/any/misc/any_cast_neg.cc: Adjust dg-error.
1414         * include/experimental/iterator (ostream_joiner): Simplify by using
1415         the injected-class-name and the ostream_type typedef.
1417         * include/experimental/iterator: New. Define ostream_joiner.
1418         * include/Makefile.am: Add new header.
1419         * include/Makefile.in: Regenerate.
1420         * testsuite/experimental/iterator/make_ostream_joiner.cc: New.
1421         * testsuite/experimental/iterator/ostream_joiner.cc: New.
1422         * testsuite/experimental/iterator/requirements.cc: New.
1423         * doc/xml/manual/status_cxx2017.xml: Update status.
1424         * doc/html/manual/status.html: Regenerate.
1426         * include/experimental/numeric: New. Define gcd and lcm.
1427         * include/Makefile.am: Add new header.
1428         * include/Makefile.in: Regenerate.
1429         * testsuite/experimental/numeric/gcd.cc: New.
1430         * testsuite/experimental/numeric/lcm.cc: New.
1431         * doc/xml/manual/status_cxx2017.xml: Update status.
1432         * doc/html/manual/status.html: Regenerate.
1434 2015-05-02  Edward Smith-Rowland  <3dw4rd@verizon.net>
1436         Revert addition of feature macros from other headers per latest SD-6.
1437         * include/experimental/deque: Remove feature-test macro.
1438         * include/experimental/forward_list: Ditto.
1439         * include/experimental/list: Ditto.
1440         * include/experimental/map: Ditto.
1441         * include/experimental/set: Ditto.
1442         * include/experimental/string: Ditto.
1443         * include/experimental/unordered_map: Ditto.
1444         * include/experimental/unordered_set: Ditto.
1446 2015-05-02  Jonathan Wakely  <jwakely@redhat.com>
1448         * include/experimental/any (any::_Storage): Make non-copyable.
1449         (any::any): Do not copy _Storage object.
1450         (any::operator=): Implement more efficiently than swapping.
1451         (any::swap): Use new _Op_xfer operation.
1452         (any::_Op::_Op_xfer): New enumerator.
1453         (_Manager_internal::_S_alloc): Remove unused function.
1454         (_Manager_internal::_S_create, _Manager_external::_S_create): Use out
1455         parameter instead of returning a _Storage object.
1456         (_Manager_internal::_S_manage, _Manager_external::_S_manage): Add
1457         _Op_xfer operation for moving and swapping.
1458         * testsuite/experimental/any/cons/nontrivial.cc: New.
1459         * testsuite/experimental/any/misc/any_cast_neg.cc: Adjust dg-error.
1461         * include/experimental/fs_path.h (filesystem_error::~filesystem_error):
1462         Declare.
1463         * src/filesystem/path.cc (filesystem_error::~filesystem_error):
1464         Define.
1466         PR libstdc++/65978
1467         * include/std/tuple (forward_as_tuple, tie): Add constexpr.
1468         * testsuite/20_util/tuple/creation_functions/constexpr.cc: Uncomment
1469         and fix tests for forward_as_tuple and tie.
1471         * src/filesystem/ops.cc (last_write_time) [_GLIBCXX_USE_UTIMENSAT]:
1472         Set timespec members explicitly instead of with a braced-init-list.
1473         [_GLIBCXX_HAVE_UTIME_H]: Use lambda to handle st_atime being a macro.
1475 2015-05-02  Edward Smith-Rowland  <3dw4rd@verizon.net>
1477         * include/experimental/deque: Add feature-test macro.
1478         * include/experimental/forward_list: Ditto.
1479         * include/experimental/list: Ditto.
1480         * include/experimental/map: Ditto.
1481         * include/experimental/set: Ditto.
1482         * include/experimental/string: Ditto.
1483         * include/experimental/unordered_map: Ditto.
1484         * include/experimental/unordered_set: Ditto.
1486 2015-05-01  Jonathan Wakely  <jwakely@redhat.com>
1488         * include/experimental/memory: Correct feature-test macro.
1490         * include/experimental/memory: Add feature-test macro.
1491         * include/experimental/vector: Likewise.
1492         * doc/xml/manual/status_cxx2017.xml: Update status.
1493         * doc/html/manual/status.html: Regenerate.
1495 2015-05-01  Ville Voutilainen  <ville.voutilainen@gmail.com>
1497         Implement observer_ptr.
1498         * include/Makefile.am: Add new header.
1499         * include/Makefile.in: Regenerate.
1500         * include/experimental/memory: New.
1501         * testsuite/experimental/memory/observer_ptr/assignment/assign.cc: New.
1502         * testsuite/experimental/memory/observer_ptr/cons/cons.cc: New.
1503         * testsuite/experimental/memory/observer_ptr/hash/hash.cc: New.
1504         * testsuite/experimental/memory/observer_ptr/make_observer.cc: New.
1505         * testsuite/experimental/memory/observer_ptr/relops/relops.cc: New.
1506         * testsuite/experimental/memory/observer_ptr/requirements.cc: New.
1507         * testsuite/experimental/memory/observer_ptr/swap/swap.cc: New.
1508         * testsuite/experimental/memory/observer_ptr/typedefs.cc: New.
1510 2015-05-01  Jonathan Wakely  <jwakely@redhat.com>
1512         * src/filesystem/path.cc (path::compare): Do not copy strings.
1514         * acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Disable when <dirent.h>
1515         is not available.
1516         (GLIBCXX_CHECK_FILESYSTEM_DEPS): Check for fchmodat.
1517         * configure: Regenerate.
1518         * config.h.in: Regenerate.
1519         * configure.ac: Check for utime.h
1520         * include/experimental/fs_path.h (path::string<>)
1521         [_GLIBCXX_FILESYSTEM_IS_WINDOWS]: Remove stray typename keyword.
1522         * src/filesystem/dir.cc [!_GLIBCXX_HAVE_DIRENT_H] (DIR, opendir,
1523         closedir, dirent, readdir_r): Replace dummy functions with #error.
1524         (native_readdir, _Dir::advance): Use readdir when readdir_r is missing.
1525         * src/filesystem/ops.cc (do_stat, is_set): Make inline.
1526         (last_write_time) [!_GLIBCXX_USE_UTIMENSAT]: Use utime.
1527         (permissions) [!_GLIBCXX_USE_FCHMODAT]: Use chmod.
1528         (space, temp_directory_path) [_GLIBCXX_FILESYSTEM_IS_WINDOWS]: Set
1529         error_code.
1531         * include/experimental/fs_path.h (path::_List): Use vector instead of
1532         list.
1533         * python/libstdcxx/v6/printers.py (StdExpPathPrinter): Adapt.
1534         * src/filesystem/path.cc: Use std::prev instead of decrementing
1535         rvalues. Fix whitespace.
1536         * testsuite/experimental/filesystem/path/decompose/parent_path.cc:
1537         Do not decrement iterators before begin.
1539         * include/experimental/fs_dir.h: Fix use of non-reserved names.
1540         * include/experimental/fs_ops.h: Likewise.
1541         * include/experimental/fs_path.h: Likewise.
1542         * testsuite/lib/libstdc++.exp (check_v3_target_filesystem_ts): Use
1543         C++11 when checking for support.
1545         * include/bits/locale_classes.h (locale::facet): Delete copy
1546         operations in C++11 mode.
1548         * include/bits/alloc_traits.h (__alloc_rebind): Change parameter name.
1550         * acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Disable for solaris.
1551         * configure: Regenerate.
1553 2015-05-01  Edward Smith-Rowland  <3dw4rd@verizon.net>
1555         Inline one-line erasure dispatch functions.
1556         * include/experimental/forward_list (erase_if(), erase()): Inline.
1557         * include/experimental/list (erase_if(), erase()): Inline.
1558         * include/experimental/map (erase_if(*)): Inline.
1559         * include/experimental/set (erase_if(*)): Inline.
1560         * include/experimental/string (erase_if(), erase()): Inline.
1561         * include/experimental/unordered_map (erase_if(*)): Inline.
1562         * include/experimental/unordered_set (erase_if(*)): Inline.
1564 2015-05-01  Jonathan Wakely  <jwakely@redhat.com>
1566         * doc/xml/manual/intro.xml: Link to new status_cxx2017.xml file.
1567         * doc/xml/manual/status_cxx2011.xml: Update status tables.
1568         * doc/xml/manual/status_cxx2014.xml: Likewise.
1569         * doc/xml/manual/status_cxx2017.xml: New.
1570         * doc/xml/manual/using.xml: Fix typo.
1571         * doc/html/*: Regenerate.
1573         * include/std/memory (pointer_safety, declare_reachable,
1574         undeclare_reachable, declare_no_pointers, undeclare_no_pointers,
1575         get_pointer_safety): Define.
1576         * testsuite/20_util/pointer_safety/1.cc: New.
1578 2015-04-30  Jonathan Wakely  <jwakely@redhat.com>
1580         Implement N4100 File System TS
1581         * acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Define.
1582         (GLIBCXX_CHECK_FILESYSTEM_DEPS): Define.
1583         * config.h.in: Regenerate.
1584         * configure: Regenerate.
1585         * configure.ac: Enable filesystem TS and check its dependencies.
1586         * include/Makefile.am: Add new headers.
1587         * include/Makefile.in: Regenerate.
1588         * include/bits/locale_conv.h (__do_str_code_cvt, __str_codecvt_in,
1589         __str_codecvt_out): Move code conversion logic from wstring_convert
1590         into new global functions.
1591         (wstring_convert::to_bytes, wstring_convert::from_bytes): Use new
1592         functions.
1593         (wstring_convert::_M_conv): Remove.
1594         * include/bits/quoted_string.h (_Quoted_string): Split out of iomanip.
1595         * include/experimental/filesystem: New.
1596         * include/experimental/fs_dir.h: New.
1597         * include/experimental/fs_fwd.h: New.
1598         * include/experimental/fs_ops.h: New.
1599         * include/experimental/fs_path.h: New.
1600         * include/std/iomanip (_Quoted_string): Move to bits/quoted_string.h.
1601         * python/libstdcxx/v6/printers.py (StdExpPathPrinter): Add.
1602         * src/Makefile.am (SUBDIRS): Add filesystem.
1603         * src/Makefile.in: Regenerate.
1604         * src/filesystem/Makefile.am: New.
1605         * src/filesystem/Makefile.in: New.
1606         * src/filesystem/dir.cc: New.
1607         * src/filesystem/ops.cc: New.
1608         * src/filesystem/path.cc: New.
1609         * testsuite/experimental/filesystem/operations/absolute.cc: New.
1610         * testsuite/experimental/filesystem/operations/copy.cc: New.
1611         * testsuite/experimental/filesystem/operations/current_path.cc: New.
1612         * testsuite/experimental/filesystem/path/append/path.cc: New.
1613         * testsuite/experimental/filesystem/path/assign/assign.cc: New.
1614         * testsuite/experimental/filesystem/path/assign/copy.cc: New.
1615         * testsuite/experimental/filesystem/path/compare/compare.cc: New.
1616         * testsuite/experimental/filesystem/path/compare/path.cc: New.
1617         * testsuite/experimental/filesystem/path/compare/strings.cc: New.
1618         * testsuite/experimental/filesystem/path/concat/path.cc: New.
1619         * testsuite/experimental/filesystem/path/concat/strings.cc: New.
1620         * testsuite/experimental/filesystem/path/construct/copy.cc: New.
1621         * testsuite/experimental/filesystem/path/construct/default.cc: New.
1622         * testsuite/experimental/filesystem/path/construct/locale.cc: New.
1623         * testsuite/experimental/filesystem/path/construct/range.cc: New.
1624         * testsuite/experimental/filesystem/path/decompose/extension.cc: New.
1625         * testsuite/experimental/filesystem/path/decompose/filename.cc: New.
1626         * testsuite/experimental/filesystem/path/decompose/parent_path.cc:
1627         New.
1628         * testsuite/experimental/filesystem/path/decompose/relative_path.cc:
1629         New.
1630         * testsuite/experimental/filesystem/path/decompose/root_directory.cc:
1631         New.
1632         * testsuite/experimental/filesystem/path/decompose/root_name.cc:
1633         New.
1634         * testsuite/experimental/filesystem/path/decompose/root_path.cc:
1635         New.
1636         * testsuite/experimental/filesystem/path/decompose/stem.cc: New.
1637         * testsuite/experimental/filesystem/path/generic/generic_string.cc:
1638         New.
1639         * testsuite/experimental/filesystem/path/itr/traversal.cc: New.
1640         * testsuite/experimental/filesystem/path/modifiers/clear.cc: New.
1641         * testsuite/experimental/filesystem/path/modifiers/make_preferred.cc:
1642         New.
1643         * testsuite/experimental/filesystem/path/modifiers/remove_filename.cc:
1644         New.
1645         * testsuite/experimental/filesystem/path/modifiers/replace_extension.cc:
1646         New.
1647         * testsuite/experimental/filesystem/path/modifiers/replace_filename.cc:
1648         New.
1649         * testsuite/experimental/filesystem/path/modifiers/swap.cc: New.
1650         * testsuite/experimental/filesystem/path/nonmember/hash_value.cc: New.
1651         * testsuite/experimental/filesystem/path/query/empty.cc: New.
1652         * testsuite/experimental/filesystem/path/query/has_extension.cc: New.
1653         * testsuite/experimental/filesystem/path/query/has_filename.cc: New.
1654         * testsuite/experimental/filesystem/path/query/has_parent_path.cc:
1655         New.
1656         * testsuite/experimental/filesystem/path/query/has_relative_path.cc:
1657         New.
1658         * testsuite/experimental/filesystem/path/query/has_root_directory.cc:
1659         New.
1660         * testsuite/experimental/filesystem/path/query/has_root_name.cc:
1661         New.
1662         * testsuite/experimental/filesystem/path/query/has_root_path.cc:
1663         New.
1664         * testsuite/experimental/filesystem/path/query/has_stem.cc: New.
1665         * testsuite/experimental/filesystem/path/query/is_relative.cc: New.
1666         * testsuite/util/testsuite_fs.h: New.
1668 2015-04-30  Edward Smith-Rowland  <3dw4rd@verizon.net>
1670         Add fundamentals TR container erasure.
1671         * include/Makefile.am: Add new headers.
1672         * include/Makefile.in: Add new headers.
1673         * include/experimental/array: New.
1674         * include/experimental/deque: New.
1675         * include/experimental/erase_if.tcc: New.
1676         * include/experimental/forward_list: New.
1677         * include/experimental/list: New.
1678         * include/experimental/map: New.
1679         * include/experimental/set: New.
1680         * include/experimental/string: New.
1681         * include/experimental/unordered_map: New.
1682         * include/experimental/unordered_set: New.
1683         * include/experimental/vector: New.
1684         * testsuite/experimental/deque/erasure.cc: New.
1685         * testsuite/experimental/forward_list/erasure.cc: New.
1686         * testsuite/experimental/list/erasure.cc: New.
1687         * testsuite/experimental/map/erasure.cc: New.
1688         * testsuite/experimental/set/erasure.cc: New.
1689         * testsuite/experimental/string/erasure.cc: New.
1690         * testsuite/experimental/unordered_map/erasure.cc: New.
1691         * testsuite/experimental/unordered_set/erasure.cc: New.
1692         * testsuite/experimental/vector/erasure.cc: New.
1694 2015-04-30  François Dumont  <fdumont@gcc.gnu.org>
1696         * include/bits/cpp_type_traits.h
1697         (__gnu_cxx::__is_normal_iterator): Delete.
1698         * include/bits/stl_algobase.h (std::__niter_base): Adapt.
1699         * include/bits/stl_iterator.h (__make_reverse_iterator): New in C++11.
1700         (std::__niter_base): Overloads for std::reverse_iterator,
1701         __gnu_cxx::__normal_iterator and std::move_iterator.
1703 2015-04-30  François Dumont  <fdumont@gcc.gnu.org>
1705         * include/bits/hashtable_policy.h (_Prime_rehash_policy::_S_n_primes):
1706         Delete.
1707         * src/c++11/hashtable_c++0x.cc (_Prime_rehash_policy::_M_next_bkt):
1708         Remove usage of latter and compute size of the prime numbers array
1709         locally.
1711 2015-04-29  Doug Evans  <dje@google.com>
1713         PR libstdc++/65839
1714         * python/libstdcxx/v6/xmethods.py (get_bool_type): New function.
1715         Replace all lookups of "bool" with this.
1716         (get_std_size_type): New function.  Replace all lookups of std::size_t
1717         with this.
1718         (*Worker): New method get_result_type.
1719         (DequeWorkerBase.__init__): New arg val_type.  All callers updated.
1720         (ListWorkerBase.__init__): New arg val_type.  All callers updated.
1721         (UniquePtrGetWorker.__init__): New arg elem_type.  All callers updated.
1722         Delete setting of name, enabled.
1723         (UniquePtrDerefWorker.__init__): New arg elem_type.  All callers
1724         updated.  Delete setting of name.
1725         (UniquePtrMethodsMatcher): Rewrite for consistency with all other
1726         libstdc++ xmethod matchers.
1727         * testsuite/libstdc++-xmethods/array.cc: Add whatis tests.
1728         * testsuite/libstdc++-xmethods/associative-containers.cc: Ditto.
1729         * testsuite/libstdc++-xmethods/deque.cc: Ditto.
1730         * testsuite/libstdc++-xmethods/forwardlist.cc: Ditto.
1731         * testsuite/libstdc++-xmethods/list.cc: Ditto.
1732         * testsuite/libstdc++-xmethods/unique_ptr.cc: Ditto.
1733         * testsuite/libstdc++-xmethods/vector.cc: Ditto.
1735 2015-04-29  Doug Evans  <dje@google.com>
1737         Use consistent naming for value type attributes.
1738         * python/libstdcxx/v6/xmethods.py (ArrayWorkerBase): Rename _valtype
1739         to _val_type.
1740         (ArraySizeWorker, ArrayEmptyWorker): Ditto.
1741         (ArrayFrontWorker, ArrayBackWorker): Ditto.
1742         (ArrayAtWorker, ArraySubscriptWorker): Ditto.
1743         (DequeWorkerBase): Rename elemtype to val_type.
1744         (ForwardListWorkerBase): Rename _elem_type to _val_type.
1745         (ForwardListFrontWorker): Ditto.  And rename elem_address to
1746         val_address.
1747         (ForwardListMethodsMatcher): Rename elem_type to val_type.
1748         (VectorWorkerBase): Rename _elemtype to _val_type.
1750 2015-04-29  Jonathan Wakely  <jwakely@redhat.com>
1752         PR libstdc++/65760
1753         * include/std/functional (__check_func_return_type): Use is_same to
1754         avoid using _is_convertible on incomplete types.
1755         * testsuite/20_util/function/65760.cc: New.
1757         PR libstdc++/64657
1758         * include/bits/basic_string (basic_string::_S_copy_chars): Cast
1759         expression to void.
1760         * include/bits/locale_facets_nonio.tcc (money_get::_M_extract,
1761         time_get::_M_extract_num, time_get::_M_extract_name,
1762         time_get::_M_extract_wday_or_month): Likewise.
1763         * include/bits/stl_algo.h (__includes, __replace_copy_if,
1764         __is_sorted_until, __is_permutation, transform): Likewise.
1765         * include/bits/stl_algobase.h (swap_ranges, __copy_move::__copy_m,
1766         __equal::equal, __lexicographical_compare_impl, equal): Likewise.
1767         * include/bits/stl_numeric.h (inner_product): Likewise.
1768         * include/bits/stl_uninitialized.h (__uninitialized_copy_a): Likewise.
1769         * testsuite/util/testsuite_iterators.h (output_iterator_wrapper,
1770         input_iterator_wrapper): Declare unusable comma operator.
1771         * testsuite/21_strings/basic_string/cons/char/64657.cc: New.
1772         * testsuite/21_strings/basic_string/modifiers/assign/char/64657.cc:
1773         New.
1775 2015-04-28  Doug Evans  <dje@google.com>
1777         * testsuite/libstdc++-xmethods/list.cc (_GLIBCXX_USE_CXX11_ABI):
1778         Define to zero.
1780 2015-04-28  Jonathan Wakely  <jwakely@redhat.com>
1782         * include/bits/stl_algo.h (random_shuffle): Only define for hosted
1783         implementations.
1785 2015-04-28  Jonathan Wakely  <jwakely@redhat.com>
1787         * Makefile.am (SUBDIRS): Move python to hosted_source.
1788         * Makefile.in: Regenerate.
1789         * acinclude.m4 (glibcxx_SUBDIRS): Reorder.
1790         * configure: Regenerate.
1792 2015-04-28  Marc Glisse  <marc.glisse@inria.fr>
1794         PR libstdc++/65883
1795         * include/std/limits (numeric_limits): Add missing unsigned.
1797 2015-04-28  Stephan Bergmann  <sbergman@redhat.com>
1799         * include/debug/vector (_Safe_vector::operator=): Add missing returns.
1801 2015-04-28  Jonathan Wakely  <jwakely@redhat.com>
1803         PR libstdc++/60333
1804         * include/std/type_traits (__make_unsigned_selector<_Tp, false, true>):
1805         Handle enumeration types larger than sizeof(long).
1806         (__make_signed_selector<_Tp, false, true>): Find unsigned type then
1807         make it signed.
1808         * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error.
1809         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
1810         Likewise.
1811         * testsuite/20_util/make_signed/requirements/typedefs-3.cc: New.
1812         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Adjust
1813         dg-error.
1814         * testsuite/20_util/make_unsigned/requirements/typedefs-3.cc: New.
1816         PR libstdc++/61645
1817         * include/bits/forward_list.h (forward_list::splice_after): Add
1818         noexcept.
1819         * include/bits/forward_list.tcc (forward_list::splice_after):
1820         Likewise.
1822         PR libstdc++/65631
1823         * include/bits/random.h (seed_seq) Define copy constructor and copy
1824         assignment as deleted.
1825         * testsuite/26_numerics/random/seed_seq/cons/65631.cc: New.
1827         * libsupc++/exception (uncaught_exceptions): Add comment. Reorder #if.
1828         * testsuite/18_support/uncaught_exceptions/uncaught_exceptions.cc:
1829         Use -std=gnu++1z. Check feature-test macro.
1831         * include/std/type_traits (void_t): Add.
1832         * testsuite/20_util/void_t/1.cc: New.
1834 2015-04-28  Tim Shen  <timshen@google.com>
1836         * include/bits/regex.tcc: Handle regex_constants::__polynomial.
1837         * include/bits/regex_automaton.tcc: Throw exception when parsing
1838         back-reference with flag __polynomial.
1839         * include/bits/regex_constants.h: Add extension flag
1840         syntax_option_type __polynomial.
1841         * bits/regex_executor.tcc: Still let BFS process ECMAScript.
1842         Alternative operation will be fixed in the coming refactoring.
1843         * testsuite/28_regex/algorithms/regex_search/61424.cc: Turn
1844         loose match_search_debug to use DFS only.
1846 2015-04-27  Sandra Loosemore  <sandra@codesourcery.com>
1848         PR libstdc++/65909
1849         * testsuite/lib/libstdc++.exp (check_v3_target_namedlocale):
1850         Make the generated test program fail gracefully if the target
1851         doesn't support passing command-line arguments.
1853 2015-04-27  Federico Lenarduzzi  <federico.lenarduzzi@tallertechnologies.com>
1854             Jonathan Wakely  <jwakely@redhat.com>
1856         * libsupc++/eh_catch.cc (uncaught_exception, uncaught_exceptions):
1857         Return false or zero if the library is built without exceptions.
1858         * libsupc++/eh_term_handler.cc: Disable verbose terminate handler if
1859         the library is built without exceptions.
1861 2015-04-27  Ville Voutilainen  <ville.voutilainen@gmail.com>
1863         * config/abi/pre/gnu.ver: Fix comment.
1865         Add support for std::uncaught_exceptions.
1866         * acinclude.m4: Bump libtool_VERSION.
1867         * config/abi/pre/gnu.ver: Export the new symbol.
1868         * configure: Regenerate.
1869         * libsupc++/eh_catch.cc (uncaught_exceptions): New.
1870         * libsupc++/exception (uncaught_exceptions): New.
1871         * testsuite/18_support/uncaught_exceptions/uncaught_exceptions.cc: New.
1872         * testsuite/util/testsuite_abi.cc: Add 3.4.22 as the latest version.
1874 2015-04-27  Dmitry Prokoptsev  <dprokoptsev@gmail.com>
1875             Michael Hanselmann  <public@hansmi.ch>
1877         PR libstdc++/62258
1878         * libsupc++/eh_ptr.cc (rethrow_exception): Increment count of
1879         uncaught exceptions.
1880         * testsuite/18_support/exception_ptr/62258.cc: New.
1882 2015-04-27  Jonathan Wakely  <jwakely@redhat.com>
1884         * doc/xml/manual/extensions.xml: Add cross-reference.
1885         * doc/html/manual/ext_compile_checks.html: Regenerate.
1887 2015-04-22  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1889         * config/os/generic/os_defines.h (_GLIBCXX_GTHREAD_USE_WEAK): Define.
1890         * configure.host (os_include_dir): Set to "os/generic" for linux-musl*.
1892 2015-04-22  Renlin Li  <renlin.li@arm.com>
1894         * testsuite/lib/dg-options.exp (dg-require-thread-fence): New.
1895         * testsuite/lib/libstdc++.exp (check_v3_target_thread_fence): New.
1896         * testsuite/29_atomics/atomic_flag/clear/1.cc: Use it.
1897         * testsuite/29_atomics/atomic_flag/test_and_set/explicit.cc: Likewise.
1898         * testsuite/29_atomics/atomic_flag/test_and_set/implicit.cc: Likewise.
1900 2015-04-21  Jonathan Wakely  <jwakely@redhat.com>
1902         * doc/xml/manual/configure.xml: Update descriptions of options
1903         affecting dual ABI and add cross-references.
1904         * doc/xml/manual/strings.xml: Clarify that string isn't COW now.
1905         * doc/xml/manual/using.xml: Document ABI transition.
1906         * doc/html/*: Regenerate.
1908         * doc/xml/manual/abi.xml: Use uppercase for C++ Standard Library.
1909         * doc/xml/manual/using.xml: Document newer -std options. Use better
1910         examples of nested namespaces.
1912 2015-04-20  Jonathan Wakely  <jwakely@redhat.com>
1914         * doc/xml/manual/concurrency_extensions.xml: Update documentation
1915         on atomics.
1916         * doc/xml/manual/using.xml: Likewise. Improve markup.
1917         * doc/html/*: Regenerate.
1919 2015-04-15  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1921         * scripts/extract_symvers.pl: Ignore elfdump error output.
1923 2015-04-14  Marc Glisse  <marc.glisse@inria.fr>
1925         PR libstdc++/61347
1926         * include/bits/stl_iterator_base_funcs.h (_List_iterator,
1927         _List_const_iterator): Declare.
1928         (__distance): Declare new overloads for _List_iterator and
1929         _List_const_iterator.
1930         * include/bits/stl_list.h (__distance): New overloads for
1931         _List_iterator and _List_const_iterator.
1932         * testsuite/23_containers/list/61347.cc: New testcase.
1934 2015-04-14  Jonathan Wakely  <jwakely@redhat.com>
1936         * doc/xml/manual/evolution.xml: Fix typos.
1937         * doc/html/manual/api.html: Regenerate.
1939 2015-04-14  Hans-Peter Nilsson  <hp@axis.com>
1941         * testsuite/29_atomics/atomic/62259.cc: Assert atomic
1942         alignment is larger-equal, not equal, to default alignment.
1944 2015-04-13  Jonathan Wakely  <jwakely@redhat.com>
1946         PR libstdc++/65754
1947         * config/abi/pre/gnu.ver: Export base object constructors for
1948         fstreams.
1949         * config/abi/post/aarch64-linux-gnu/baseline_symbols.txt: Update.
1950         * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Update.
1951         * config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Update.
1952         * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
1953         * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Update.
1954         * config/abi/post/m68k-linux-gnu/baseline_symbols.txt: Update.
1955         * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Update
1956         * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Update.
1957         * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt: Update.
1958         * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Update.
1959         * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Update.
1960         * config/abi/post/solaris2.10/baseline_symbols.txt: Regenerate.
1961         * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
1962         * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
1963         * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Update.
1964         * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
1965         * config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: Update.
1966         * testsuite/27_io/basic_fstream/cons/base.cc: New.
1968 2015-04-13  Jonathan Wakely  <jwakely@redhat.com>
1970         * doc/xml/manual/evolution.xml: Document changes since 4.5 release.
1971         * doc/html/*: Regenerate.
1973 2015-04-12  Uros Bizjak  <ubizjak@gmail.com>
1975         * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Update.
1977 2015-04-10  Andreas Schwab  <schwab@linux-m68k.org>
1979         * config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Update.
1981         * config/abi/post/m68k-linux-gnu/baseline_symbols.txt: Update.
1983 2015-04-10  Jonathan Wakely  <jwakely@redhat.com>
1985         * doc/xml/manual/test.xml: Improve documentation on running a subset
1986         of tests.
1987         * doc/html/manual/test.html: Regenerate.
1989 2015-04-10  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
1991         * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Update
1992         for GCC 5.1 release.
1993         * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
1994         Likewise.
1996 2015-04-10  Jonathan Wakely  <jwakely@redhat.com>
1998         * include/std/shared_mutex (shared_timed_mutex): Add comments to
1999         explain the logic in the non-pthread_rwlock_t version.
2000         (_Mutex): Remove redundant type.
2001         (_M_n_readers): Rename to _S_max_readers.
2002         (_M_write_entered, _M_readers): New convenience functions.
2003         (lock, lock_shared, try_lock_shared, unlock_shared): Use convenience
2004         functions. Use predicates with condition variables. Simplify bitwise
2005         operations.
2006         (try_lock_for, try_shared_lock_for): Convert duration to time_point
2007         and call try_lock_until or try_shared_lock_until respectively.
2008         (try_lock_until, try_shared_lock_until): Wait on the condition
2009         variables until the specified time passes.
2010         (unlock): Add Debug Mode assertion.
2011         (unlock_shared): Add Debug Mode assertion.
2012         * testsuite/30_threads/shared_timed_mutex/try_lock/3.cc: New.
2014         * include/std/shared_mutex (shared_timed_mutex): Only use
2015         pthread_rwlock_t when the POSIX Timeouts option is supported.
2016         * testsuite/30_threads/shared_lock/cons/5.cc: Remove
2017         dg-require-gthreads-timed.
2018         * testsuite/30_threads/shared_lock/cons/6.cc: Likewise.
2019         * testsuite/30_threads/shared_lock/locking/3.cc: Likewise.
2020         * testsuite/30_threads/shared_lock/locking/4.cc: Likewise.
2022 2015-04-09  H.J. Lu  <hongjiu.lu@intel.com>
2024         * config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: Update.
2026 2015-04-09  Jonathan Wakely  <jwakely@redhat.com>
2027             Richard Henderson  <rth@redhat.com>
2029         PR libstdc++/65147
2030         * include/bits/atomic_base.h (__atomic_base<_ITp>): Increase
2031         alignment.
2032         * include/std/atomic (atomic): For types with a power of two size set
2033         alignment to at least the size.
2034         * testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number.
2035         * testsuite/29_atomics/atomic/65147.cc: New.
2036         * testsuite/29_atomics/atomic_integral/65147.cc: New.
2038 2015-04-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2040         * config/abi/post/solaris2.10/baseline_symbols.txt: Regenerate.
2041         * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
2042         * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
2044 2015-04-07  Jakub Jelinek  <jakub@redhat.com>
2046         * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Update.
2047         * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
2048         * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
2049         * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Update.
2050         * config/abi/post/aarch64-linux-gnu/baseline_symbols.txt: Update.
2051         * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Update.
2052         * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Update.
2053         * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Update.
2055 2015-03-30  Jonathan Wakely  <jwakely@redhat.com>
2057         PR libstdc++/65630
2058         * config/abi/pre/gnu.ver: Export operator+ for new strings.
2059         * testsuite/21_strings/basic_string/operators/char/65630.cc: New.
2060         * testsuite/21_strings/basic_string/operators/wchar_t/65630.cc: New.
2062 2015-03-28  Tim Shen  <timshen@google.com>
2064         PR libstdc++/65420
2065         * include/bits/regex_constants.h: Use constexpr variables for flags.
2066         * testsuite/28_regex/constants/constexpr.cc: New testcase.
2068 2015-03-27  Jonathan Wakely  <jwakely@redhat.com>
2070         PR libstdc++/65499
2071         * include/std/chrono: Add using-directive for literals to std::chrono.
2072         * testsuite/20_util/duration/literals/65499.cc: New.
2074 2015-03-26  Jonathan Wakely  <jwakely@redhat.com>
2076         PR libstdc++/58038
2077         PR libstdc++/60421
2078         * include/std/thread (this_thread::sleep_for): Check for negative
2079         durations.
2080         (this_thread::sleep_until): Check for times in the past.
2081         * testsuite/30_threads/this_thread/58038.cc: New.
2082         * testsuite/30_threads/this_thread/60421.cc: New.
2084 2015-03-26  Jonathan Wakely  <jwakely@redhat.com>
2086         PR libstdc++/62259
2087         PR libstdc++/65147
2088         * include/std/atomic (atomic<T>): Increase alignment for types with
2089         the same size as one of the integral types.
2090         * testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number.
2091         * testsuite/29_atomics/atomic/62259.cc: New.
2093 2015-03-26  Richard Henderson  <rth@redhat.com>
2095         PR libstdc++/65033
2096         * include/bits/atomic_base.h (__atomic_base<T>::is_lock_free): Build
2097         a fake pointer indicating type alignment.
2098         (__atomic_base<T *>::is_lock_free): Likewise.
2099         * include/std/atomic (atomic<T>::is_lock_free): Likewise.
2101 2015-03-25  Alan Lawrence  <alan.lawrence@arm.com>
2103         PR libstdc++/33394
2104         * testsuite/21_strings/basic_string/pthread33394.cc: Use
2105         dg-additional-options.
2107 2015-03-25  Paolo Carlini  <paolo.carlini@oracle.com>
2109         PR libstdc++/65543
2110         * include/std/istream (operator>>(basic_istream<>&&, _Tp&): Revert
2111         thinko in r150387.
2112         * include/std/ostream (operator<<(basic_ostream<>&&, const _Tp&):
2113         Likewise.
2114         * testsuite/27_io/rvalue_streams-2.cc: New.
2116 2015-03-24  Jonathan Wakely  <jwakely@redhat.com>
2118         PR libstdc++/33394
2119         * testsuite/21_strings/basic_string/pthread33394.cc: Add test.
2121 2015-03-23  Jonathan Wakely  <jwakely@redhat.com>
2123         PR libstdc++/64967
2124         * acinclude.m4: Disable dual ABI when gnu-versioned-namespace in use.
2125         * configure: Regenerate.
2126         * src/c++11/compatibility-c++0x.cc (error_category), generic_category,
2127         system_category): Use macros for versioned namespace.
2128         * src/c++11/futex.cc: Add missing end macro for versioned namespace.
2130 2015-03-20  James Greenhalgh  <james.greenhalgh@arm.com>
2132         * testsuite/17_intro/headers/c++1998/all_attributes.cc: Disable
2133         test for unused for ARM.
2134         * testsuite/17_intro/headers/c++200x/all_attributes.cc: Likewise.
2135         * testsuite/17_intro/headers/c++2014/all_attributes.cc: Likewise.
2137 2015-03-20  Jonathan Wakely  <jwakely@redhat.com>
2139         * include/bits/c++config (__gnu_cxx::__cxx11): Define new namespace.
2140         * include/ext/codecvt_specializations.h (encoding_state,
2141         encoding_char_traits): Remove abi-tag and use inline namespace.
2142         * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error line.
2144 2015-03-19  Jason Merrill  <jason@redhat.com>
2146         * config/locale/gnu/messages_members.cc: Revert abi-tag change.
2147         * src/c++11/cxx11-shim_facets.cc: Revert abi-tag change.
2149 2015-03-18  Jonathan Wakely  <jwakely@redhat.com>
2151         PR c++/65046
2152         * config/locale/gnu/messages_members.cc (Catalog_info, Catalogs,
2153         get_catalogs): Add abi-tag.
2154         * include/ext/codecvt_specializations.h (encoding_state,
2155         encoding_char_traits): Likewise.
2156         * src/c++11/cxx11-ios_failure.cc (io_error_category): Likewise.
2157         * src/c++11/cxx11-shim_facets.cc (__any_string::operator basic_string,
2158         numpunct_shim, collate_shim, time_get_shim, moneypunct_shim,
2159         money_get_shim, money_put_shim, messages_shim): Likewise.
2160         * src/c++11/future.cc (future_error_category::message): Likewise.
2161         * src/c++11/system_error.cc (generic_error_category::message,
2162         system_error_category::message): Likewise.
2163         (__sso_string): Disable -Wabi-tag warnings.
2165 2015-03-18  Jonathan Wakely  <jwakely@redhat.com>
2167         PR libstdc++/13631
2168         * config/locale/gnu/messages_members.cc (get_glibc_msg): Fix fallback
2169         implementation for old glibc. Fix whitespace.
2171 2015-03-18  Jonathan Wakely  <jwakely@redhat.com>
2172             Torvald Riegel  <triegel@redhat.com>
2174         * acinclude.m4 (GLIBCXX_CHECK_GTHREADS): Check for pthread_rwlock_t.
2175         * config.h.in: Regenerate.
2176         * configure: Regenerate.
2177         * include/std/shared_mutex: Check _GLIBCXX_USE_PTHREAD_RWLOCK_T.
2178         (shared_timed_mutex::_M_rwlock): Use PTHREAD_RWLOCK_INITIALIZER.
2179         (shared_timed_mutex::lock_shared()): Retry on EAGAIN.
2180         (shared_timed_mutex::try_lock_shared_until()): Retry on EAGAIN and
2181         EDEADLK.
2183 2015-03-17  Jonathan Wakely  <jwakely@redhat.com>
2185         * libsupc++/nested_exception.h: Do not try to derive from final
2186         classes.
2187         * testsuite/18_support/nested_exception/throw_with_nested.cc: Test
2188         final class.
2190         * testsuite/30_threads/shared_lock/modifiers/1.cc: Remove name of
2191         unused exception variable.
2192         * testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise.
2193         * testsuite/30_threads/shared_lock/modifiers/2.cc: Remove duplicate
2194         test.
2195         * testsuite/30_threads/unique_lock/modifiers/2.cc: Likewise.
2197 2015-03-13  Jonathan Wakely  <jwakely@redhat.com>
2199         * acinclude.m4: Make --enable-libstdcxx-time=auto work for dragonfly.
2200         * configure: Regenerate.
2202         * include/experimental/system_error: Fix include guard.
2204 2015-03-12  Renlin Li  <renlin.li@arm.com>
2206         * testsuite/27_io/ios_base/sync_with_stdio/1.cc: Remove xfail for
2207         wrapped target.
2209 2015-03-10  Tim Shen  <timshen@google.com>
2211         PR libstdc++/64441
2212         * include/bits/regex.h (match_results<>::size,
2213         match_results<>::position, match_results<>::str,
2214         match_results<>::operator[], match_results<>::prefix,
2215         match_results<>::suffix, match_results<>::end,
2216         match_results<>::_M_resize, match_results<>::_M_unmatched_sub,
2217         match_results<>::_M_prefix, match_results<>::_M_suffix): Remove
2218         global __unmatched_sub. Add unmatched submatch as part of
2219         match_results.
2220         * include/bits/regex.tcc (__regex_algo_impl<>, regex_replace<>,
2221         regex_iterator<>::operator++): Adjust to use match_results::_M_prefix.
2222         * testsuite/28_regex/match_results/out_of_range_submatches.cc:
2223         New testcases.
2225 2015-03-09  Jonathan Wakely  <jwakely@redhat.com>
2227         PR libstdc++/64467
2228         * testsuite/28_regex/traits/char/isctype.cc: Don't test newline
2229         for newlib targets. Really fix mixed line-endings this time.
2231 2015-03-06  Jonathan Wakely  <jwakely@redhat.com>
2233         * include/std/future (future_error(error_code)): Construct base
2234         class with error_code's message.
2235         * src/c++11/future.cc (future_error::what()): Do not call c_str() on
2236         temporary string.
2238 2015-03-05  Jonathan Wakely  <jwakely@redhat.com>
2240         * include/bits/locale_conv.h (wstring_convert::_M_conv): Handle
2241         noconv result.
2242         * testsuite/22_locale/conversions/string/2.cc: Also test UTF-8.
2243         * testsuite/22_locale/conversions/string/3.cc: Likewise, and UTF-16.
2245 2015-03-04  Jonathan Wakely  <jwakely@redhat.com>
2247         PR libstdc++/64797
2248         * include/bits/locale_conv.h (wstring_convert::_M_conv): Handle
2249         incomplete multibyte sequences correctly.
2250         * include/std/codecvt (codecvt_utf8, codecvt_utf16,
2251         codecvt_utf8_utf16): Limit _Maxcode to maximum Unicode code point.
2252         * src/c++11/codecvt.cc (invalid_mb_sequence, incomplete_mb_character):
2253         Define constants.
2254         (is_high_surrogate, is_low_surrogate, surrogate_pair_to_code_point):
2255         Define convenience functions.
2256         (read_utf8_code_point): Return relevant constant to distinguish
2257         incomplete characters from invalid sequences.
2258         (read_utf16_code_point): Likewise. Check for invalid sequences.
2259         (ucs4_in, utf16_in): Use incomplete_mb_character constant.
2260         (utf16_out): Check for invalid sequences.
2261         (utf16_span): Fix condition.
2262         (ucs2_out): Use is_high_surrogate.
2263         (ucs2_in): Use incomplete_mb_character constant and fix condition.
2264         * testsuite/22_locale/codecvt/char16_t.cc: Fix whitespace.
2265         * testsuite/22_locale/conversions/buffer/1.cc: New.
2266         * testsuite/22_locale/conversions/string/2.cc: Use char16_t and
2267         char32_t instead of wchar_t.
2268         * testsuite/22_locale/conversions/string/3.cc: New.
2270 2015-03-03  Iain Sandoe  <iain@codesourcery.com>
2272         PR libstdc++/64883
2273         * testsuite/17_intro/headers/c++1998/all_attributes.cc: Don't check
2274         visibility for Darwin.
2275         * testsuite/17_intro/headers/c++200x/all_attributes.cc: Likewise, and
2276         also deprecated.
2277         * testsuite/17_intro/headers/c++2014/all_attributes.cc: Likewise.
2279 2015-03-02  Jonathan Wakely  <jwakely@redhat.com>
2281         PR libstdc++/65279
2282         * include/std/scoped_allocator (__inner_type_impl,
2283         scoped_allocator_adaptor): Add defaulted copy assignment and move
2284         assignment operators.
2285         * testsuite/20_util/scoped_allocator/65279.cc: New.
2287 2015-03-02  Jonathan Wakely  <jwakely@redhat.com>
2289         PR libstdc++/64367
2290         * include/std/stdexcept (__sso_string): Don't use non-static member
2291         in sizeof.
2293 2015-02-28  Matthias Klose  <doko@ubuntu.com>
2295         PR libstdc++/65246
2296         * python/libstdcxx/v6/__init__.py: Use explicit relative imports.
2298 2015-02-22  Jonathan Wakely  <jwakely@redhat.com>
2300         * doc/xml/manual/status_cxx2011.xml: Remove duplicated information.
2301         * doc/html/manual/status.html: Regenerate.
2303 2015-02-20  Jonathan Wakely  <jwakely@redhat.com>
2305         PR libstdc++/64695
2306         * python/libstdcxx/v6/printers.py (StdTuplePrinter): Handle new
2307         tuple layout.
2309         * doc/xml/manual/status_cxx2011.xml: Document implementation-defined
2310         behavior.
2311         * doc/html/manual/status.html: Regenerate.
2313 2015-02-19  Jonathan Wakely  <jwakely@redhat.com>
2315         PR libstdc++/58357
2316         * include/bits/algorithmfwd.h (rotate): Move to inline namespace _V2.
2317         * include/bits/stl_algo.h (__rotate, rotate): Likewise.
2319 2015-02-19  Hans-Peter Nilsson  <hp@axis.com>
2321         PR testsuite/65093
2322         * testsuite/26_numerics/random/binomial_distribution/operators/values.cc
2323         (test01): Add explanatory comment.  Keep only the bd1 sub-test and
2324         split out bd2, bd3, bd4, and bd5 sub-tests into...
2325         * testsuite/26_numerics/random/binomial_distribution/operators/values2.cc,
2326         testsuite/26_numerics/random/binomial_distribution/operators/values3.cc,
2327         testsuite/26_numerics/random/binomial_distribution/operators/values4.cc,
2328         testsuite/26_numerics/random/binomial_distribution/operators/values5.cc:
2329         New separate files with the old parts.
2331 2015-02-18  Jonathan Wakely  <jwakely@redhat.com>
2333         * src/c++11/codecvt.cc (write_utf16_code_point): Fix code to output
2334         surrogate pairs.
2335         (utf16_in): Pass mode argument to write_utf16_code_point.
2336         (codecvt<char16_t, char, mbstate_t>::do_in): Set mode according to
2337         native byte order.
2338         * testsuite/22_locale/codecvt/char16_t.cc: New.
2339         * testsuite/22_locale/codecvt/in/wchar_t/1.cc: Fix typo.
2341         * testsuite/22_locale/codecvt/char16_t.cc: Add dg-require-cstdint.
2342         * testsuite/22_locale/codecvt/char32_t.cc: Likewise.
2344 2015-02-17  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2345             Jonathan Wakely  <jwakely@redhat.com>
2347         * testsuite/22_locale/codecvt/char32_t.cc: New.
2349 2015-02-17  Jonathan Wakely  <jwakely@redhat.com>
2351         PR libstdc++/65085
2352         * include/bits/basic_string.h (basic_string(basic_string&&)): Ensure
2353         empty string gets null-terminated.
2354         * testsuite/21_strings/basic_string/cons/char/65085.cc: New.
2356 2015-02-13  Matthew Wahab  <matthew.wahab@arm.com>
2358         * testsuite/28_regex/traits/char/isctype.cc (test01): Fix
2359         mixed line-endings introduced in last change.
2361 2015-02-12  Matthew Wahab  <matthew.wahab@arm.com>
2363         * testsuite/28_regex/traits/char/isctype.cc (test01): Replace test
2364         for __NEWLIB__ macro with a dejagnu set macro.
2365         * testsuite/28_regex/traits/wchar_t/isctype.cc (test01): Likewise.
2367 2015-02-04  Matthew Wahab  <matthew.wahab@arm.com>
2369         PR libstdc++/64467
2370         * testsuite/28_regex/traits/char/isctype.cc (test01):   Add newlib
2371         special case for '\n'.
2372         * testsuite/28_regex/traits/wchar_t/isctype.cc (test01): Likewise.
2374 2015-02-01  Jonathan Wakely  <jwakely@redhat.com>
2376         * src/c++11/futex.cc: Do not define for gthr-single.h targets.
2378 2015-02-01  Jonathan Wakely  <jwakely@redhat.com>
2380         PR libstdc++/64883
2381         * include/c_global/cstdio (gets): Use __deprecated__ attribute instead
2382         of deprecated.
2383         * include/c_std/cstdio (gets): Likewise.
2384         * testsuite/17_intro/headers/c++1998/all_attributes.cc: Avoid clashing
2385         with attributes used in darwin headers.
2387 2015-01-29  Jakub Jelinek  <jakub@redhat.com>
2389         * acinclude.m4 (VTV_CYGMIN): Use x$vtv_cygmin = xyes instead of
2390         $vtv_cygmin = yes.  Initialize vtv_cygmin=no unconditionally first.
2391         * configure: Regenerated.
2393 2015-01-29  H.J. Lu  <hongjiu.lu@intel.com>
2395         * acinclude.m4 (GLIBCXX_ENABLE_VTABLE_VERIFY): Define VTV_CYGMIN
2396         after vtv_cygmin is set.
2397         * configure: Regenerated.
2399 2015-01-29  Matthias Klose  <doko@ubuntu.com>
2401         * acinclude.m4 (GLIBCXX_ENABLE_VTABLE_VERIFY): Define VTV_CYGMIN
2402         unconditionally.
2403         * configure: Regenerate.
2405 2015-01-29  Caroline Tice  <cmtice@google.com>
2407         Committing VTV Cywin/Ming patch for Patrick Wollgast
2408         * configure: Regenerate.
2409         * libsupc++/Makefile.in: Regenerate.
2410         * src/Makefile.in: Regenerate.
2412 2015-01-29  Jonathan Wakely  <jwakely@redhat.com>
2414         * include/bits/atomic_base.h: Use __always_inline__ instead of
2415         always_inline.
2416         * include/bits/atomic_futex.h: Likewise.
2417         * include/bits/c++config: Use __abi_tag__ instead of abi_tag.
2418         * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Use
2419         __packed__ instead of packed.
2420         * include/std/shared_mutex: Use __unused__ instead of unused.
2421         * testsuite/17_intro/headers/c++1998/all_attributes.cc: New.
2422         * testsuite/17_intro/headers/c++200x/all_attributes.cc: New.
2423         * testsuite/17_intro/headers/c++2014/all_attributes.cc: New.
2425 2015-01-28  Caroline Tice  <cmtice@google.com>
2427         Committing VTV Cywin/Ming patch for Patrick Wollgast
2428         * acinclude.m4: Define VTV_CYGMIN.
2429         * libsupc++/Makefile.am: Add vtv_sources only to libsupc___la_SOURCES
2430         and libsupc__convenience_la_SOURCES if VTV_CYGMIN is not set.
2431         * libsupc++/vtv_stubs.cc: Add none weak declaration of every function
2432         for Cygwin and MinGW.
2433         * src/Makefile.am: Add libvtv.la to toolexeclib_LTLIBRARIES, if
2434         VTV_CYGMIN is set. Define libvtv_la_SOURCES, libvtv_la_LDFLAGS,
2435         libvtv_la_AM_CXXFLAGS and libvtv_la_LINK if VTV_CYGMIN is set.
2437 2015-01-28  Jonathan Wakely  <jwakely@redhat.com>
2439         PR libstdc++/64828
2440         * libsupc++/Makefile.am: Compile del_opvs.cc as C++14.
2441         * libsupc++/Makefile.in: Regenerate.
2442         * src/c++11/Makefile.in: Regenerate.
2444 2015-01-28  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
2446         * testsuite/lib/libstdc++.exp (v3_target_compile): Remove
2447         check for unsupported.
2448         (v3_target_compile_as_c): Likewise.
2450 2015-01-28  Richard Biener  <rguenther@suse.de>
2452         PR libstdc++/64798
2453         * libsupc++/eh_alloc.cc (struct allocated_entry): Align
2454         data member.
2455         (pool::allocate): Adjust allocation size and alignment to
2456         that change.
2457         (pool::free): Adjust pointer offsetting.
2459 2015-01-27  Jonathan Wakely  <jwakely@redhat.com>
2461         PR libstdc++/64368
2462         * include/std/shared_mutex (shared_timed_mutex::try_lock_for,
2463         shared_timed_mutex::try_lock_until): Only define when POSIX thread
2464         timeouts option is supported.
2465         (shared_timed_mutex::try_shared_lock_for,
2466         shared_timed_mutex::try_shared_lock_until): Likewise.
2468 2015-01-26  Jonathan Wakely  <jwakely@redhat.com>
2470         PR libstdc++/64368
2471         * config/locale/gnu/numeric_members.cc (numpunct<char>::~numpunct(),
2472         numpunct<wchar_t>::~numpunct()): Do not set _M_data->_M_grouping.
2473         * src/c++11/cxx11-shim_facets.cc (numpunct_shim): Remove _M_grouping
2474         and use cache's _M_grouping field.
2475         (__numpunct_fill_cache): Likewise.
2476         (__moneypunct_fill_cache): Improve comments.
2478 2015-01-26  Jonathan Wakely  <jwakely@redhat.com>
2480         * testsuite/23_containers/set/operations/2.cc: Add test for
2481         non-transparent comparison function.
2483 2015-01-25  Oleg Endo  <olegendo@gcc.gnu.org>
2485         PR target/29366
2486         * config/cpu/sh/atomicity.h (__exchange_and_add, __atomic_add): 
2487         Remove SH4A inline asm and lock based implementations and use the
2488         defaults from ext/atomicity.h.
2490 2015-01-23  Jonathan Wakely  <jwakely@redhat.com>
2492         * config/abi/pre/gnu.ver: Tighten GLIBCXX_3.4 patterns to not match
2493         new std::string constructors for byname facets.
2495 2015-01-22  Richard Biener  <rguenther@suse.de>
2497         PR libstdc++/64535
2498         * libsupc++/eh_alloc.cc: Include new.
2499         (bitmask_type): Remove.
2500         (one_buffer): Likewise.
2501         (emergency_buffer): Likewise.
2502         (emergency_used): Likewise.
2503         (dependents_buffer): Likewise.
2504         (dependents_used): Likewise.
2505         (class pool): New custom fixed-size arena, variable size object
2506         allocator.
2507         (emergency_pool): New global.
2508         (__cxxabiv1::__cxa_allocate_exception): Use new emergency_pool.
2509         (__cxxabiv1::__cxa_free_exception): Likewise.
2510         (__cxxabiv1::__cxa_allocate_dependent_exception): Likewise.
2511         (__cxxabiv1::__cxa_free_dependent_exception): Likewise.
2513 2015-01-22  Tim Shen  <timshen@google.com>
2515         PR libstdc++/64680
2516         * include/bits/regex.h (basic_regex<>::basic_regex,
2517         basic_regex<>::operator=, basic_regex<>::imbue): Conform to the
2518         standard interface.
2519         * testsuite/28_regex/basic_regex/assign/char/cstring.cc: New testcase.
2521 2015-01-22  Tim Shen  <timshen@google.com>
2523         PR libstdc++/64649
2524         * include/bits/regex.tcc (regex_traits<>::lookup_collatename,
2525         regex_traits<>::lookup_classname): Correctly narrow input chars.
2526         * testsuite/28_regex/traits/wchar_t/user_defined.cc: New testcase.
2528 2015-01-21  Jonathan Wakely  <jwakely@redhat.com>
2530         * config/abi/pre/gnu.ver: Use [jmy] for size_t parameters.
2532 2015-01-21  Jonathan Wakely  <jwakely@redhat.com>
2534         * testsuite/29_atomics/atomic/64658.cc: Test stored value.
2536 2015-01-20  Jonathan Wakely  <jwakely@redhat.com>
2538         * doc/xml/manual/status_cxx2011.xml: Remove stray dbhtml tags.
2539         * doc/xml/manual/status_cxx2014.xml: Update status.
2540         * doc/html/manual/status.html: Regenerate.
2542 2015-01-20  Jonathan Wakely  <jwakely@redhat.com>
2544         PR libstdc++/64650
2545         * include/experimental/optional (bad_optional_access): Add default
2546         constructor.
2547         * testsuite/experimental/optional/requirements.cc: Test for default
2548         constructor.
2550 2015-01-20  Jonathan Wakely  <jwakely@redhat.com>
2552         * include/bits/stl_map.h (map::find<>, map::count<>,
2553         map::lower_bound<>, map::upper_bound<>, map::equal_range<>): New
2554         member function templates to perform heterogeneous lookup.
2555         * include/bits/stl_multimap.h (multimap::find<>, multimap::count<>,
2556         multimap::lower_bound<>, multimap::upper_bound<>,
2557         multimap::equal_range<>): Likewise.
2558         * include/bits/stl_multiset.h (multiset::find<>, multiset::count<>,
2559         multiset::lower_bound<>, multiset::upper_bound<>,
2560         multiset::equal_range<>): Likewise.
2561         * include/bits/stl_set.h (set::find<>, set::count<>,
2562         set::lower_bound<>, set::upper_bound<>, set::equal_range<>): Likewise.
2563         * include/bits/stl_tree.h (_Rb_tree::_S_lower_bound_tr,
2564         _Rb_tree::_S_upper_bound_tr, _Rb_tree::_M_find_tr,
2565         _Rb_tree::_M_count_tr, _Rb_tree::_M_lower_bound_tr,
2566         _Rb_tree::_M_upper_bound_tr, _Rb_tree::_M_equal_range_tr): Likewise.
2567         * testsuite/23_containers/map/operations/2.cc: New.
2568         * testsuite/23_containers/multimap/operations/2.cc: New.
2569         * testsuite/23_containers/multiset/operations/2.cc: New.
2570         * testsuite/23_containers/set/operations/2.cc: New.
2572 2015-01-20  Jonathan Wakely  <jwakely@redhat.com>
2574         * config/abi/pre/gnu.ver: Export new constructors.
2575         * include/bits/codecvt.h (codecvt_byname): Add string constructor.
2576         (codecvt_byname<char16_t>, codecvt_byname<char32_t>): Define explicit
2577         specializations and declare explicit instantiations.
2578         * include/bits/locale_classes.h (locale, collate_byname): Add string
2579         constructors.
2580         * include/bits/locale_facets.h (ctype_byname, numpunct_byname):
2581         Likewise.
2582         * include/bits/locale_facets_nonio.h (time_get_byname,
2583         time_put_byname, moneypunct_byname, messages_byname): Likewise.
2584         * src/c++11/codecvt.cc (codecvt_byname<char16_t>,
2585         codecvt_byname<char32_t>): Define explicit instantiations.
2586         * src/c++11/locale-inst.cc (time_put_byname, codecvt_byname):
2587         Instantiate string constructors.
2588         (ctype_byname): Define string constructor.
2589         * testsuite/22_locale/codecvt_byname/1.cc: New.
2590         * testsuite/22_locale/collate_byname/1.cc: New.
2591         * testsuite/22_locale/ctype_byname/2.cc: New.
2592         * testsuite/22_locale/messages_byname/1.cc: New.
2593         * testsuite/22_locale/moneypunct_byname/1.cc: New.
2594         * testsuite/22_locale/numpunct_byname/1.cc: New.
2596 2015-01-20  Jonathan Wakely  <jwakely@redhat.com>
2598         PR libstdc++/64658
2599         * include/std/atomic (atomic_init): Define.
2600         * testsuite/29_atomics/atomic/64658.cc: New.
2602 2015-01-19  Tim Shen  <timshen@google.com>
2604         PR libstdc++/64649
2605         * include/bits/regex.tcc (regex_traits<>::lookup_collatename,
2606         regex_traits<>::lookup_classname): Support forward iterators.
2607         * testsuite/28_regex/traits/char/lookup_classname.cc: New testcases.
2608         * testsuite/28_regex/traits/char/lookup_collatename.cc: New testcase.
2610 2015-01-19  Tim Shen  <timshen@google.com>
2612         PR libstdc++/64584
2613         PR libstdc++/64585
2614         * include/bits/regex.h (basic_regex<>::basic_regex,
2615         basic_regex<>::assign, basic_regex<>::imbue,
2616         basic_regex<>::swap, basic_regex<>::mark_count): Drop NFA after
2617         imbuing basic_regex; Make assign() transactional against exception.
2618         * include/bits/regex_compiler.h (__compile_nfa<>): Add back
2619         __compile_nfa SFINAE.
2620         * include/std/regex: Adjust include order to avoid __compile_nfa
2621         forward declaration.
2622         * testsuite/28_regex/basic_regex/assign/char/string.cc: New testcase.
2623         * testsuite/28_regex/basic_regex/imbue/string.cc: New testcase.
2625 2015-01-19  Ville Voutilainen  <ville.voutilainen@gmail.com>
2626             Jonathan Wakely  <jwakely@redhat.com>
2628         * include/bits/range_access.h (begin, end): Use _GLIBCXX14_CONSTEXPR
2629         on overloads for arrays.
2630         (cbegin, cend, rbegin, rend, crbegin, crend): New.
2631         * testsuite/24_iterators/range_access_cpp14.cc: New.
2633 2015-01-18  Jonathan Wakely  <jwakely@redhat.com>
2635         PR libstdc++/64646
2636         * include/bits/stl_algo.h (__is_permutation): Also test for reaching
2637         end of the second range.
2638         * testsuite/25_algorithms/is_permutation/64646.cc: New.
2640 2015-01-18  Jonathan Wakely  <jwakely@redhat.com>
2642         * doc/xml/manual/status_cxx2011.xml: Remove note about offsetof.
2643         * doc/html/manual/status.html: Regenerate.
2645 2015-01-18  Jonathan Wakely  <jwakely@redhat.com>
2647         * include/bits/atomic_futex.h: Use mutex and condition_variable when
2648         atomic int is not lock-free. Make member variables private.
2649         * src/c++11/futex.cc: Likewise.
2651         * src/c++11/futex.cc: Fix order of includes and preprocessor condition.
2653 2015-01-17  Jonathan Wakely  <jwakely@redhat.com>
2655         PR libstdc++/64638
2656         * include/bits/atomic_futex.h: Use appropriate config macros for
2657         availability of std::mutex, std::condition and std::chrono.
2659 2015-01-17  Ville Voutilainen  <ville.voutilainen@gmail.com>
2660             Jonathan Wakely  <jwakely@redhat.com>
2662         * doc/xml/manual/status_cxx2011.xml: Update C++11 status.
2663         * doc/html/*: Regenerate.
2665 2015-01-17  Jonathan Wakely  <jwakely@redhat.com>
2667         DR 488
2668         PR libstdc++/58357
2669         * include/bits/algorithmfwd.h (rotate): Return an iterator.
2670         * include/bits/stl_algo.h (rotate, __rotate): Likewise.
2671         * testsuite/25_algorithms/rotate/dr488.cc: New.
2672         * testsuite/25_algorithms/rotate/check_type.cc: Adjust function type.
2673         * testsuite/25_algorithms/rotate/requirements/explicit_instantiation/
2674         2.cc: Likewise.
2675         * testsuite/25_algorithms/rotate/requirements/explicit_instantiation/
2676         pod.cc: Likewise.
2678 2015-01-17  Jonathan Wakely  <jwakely@redhat.com>
2680         PR libstdc++/60940
2681         * include/bits/atomic_base.h: Remove atomic integral typedefs as
2682         synonyms for __atomic_base<int> etc.
2683         * include/std/atomic: Make atomic_int a synonym for atomic<int> and
2684         likewise for all atomic integral types.
2685         * testsuite/29_atomics/atomic_integral/cons/copy_list.cc: New.
2686         * testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number.
2688 2015-01-17  Jonathan Wakely  <jwakely@redhat.com>
2690         PR libstdc++/56785
2691         * include/std/tuple (_Tuple_impl): Remove zero-element specialization
2692         and define one-element specialization.
2693         * testsuite/20_util/tuple/56785.cc: New.
2695 2015-01-17  Jonathan Wakely  <jwakely@redhat.com>
2697         * testsuite/22_locale/codecvt/codecvt_utf8/requirements/1.cc:
2698         Remove unused header.
2699         * testsuite/22_locale/codecvt/codecvt_utf16/requirements/1.cc:
2700         Likewise.
2701         * testsuite/22_locale/codecvt/codecvt_utf8_utf16/requirements/1.cc:
2702         Likewise.
2704 2015-01-16  Jonathan Wakely  <jwakely@redhat.com>
2706         * include/bits/locale_conv.h (wstring_convert, wbuffer_convert): New.
2707         * include/std/locale: Include new header.
2708         * include/Makefile.am: Add it.
2709         * include/Makefile.in: Regenerate.
2710         * testsuite/22_locale/conversions/buffer/requirements/typedefs.cc: New.
2711         * testsuite/22_locale/conversions/string/1.cc: New.
2712         * testsuite/22_locale/conversions/string/2.cc: New.
2713         * testsuite/22_locale/conversions/string/requirements/typedefs.cc: New.
2714         * testsuite/22_locale/conversions/string/requirements/typedefs-2.cc:
2715         New.
2717 2015-01-16  Jonathan Wakely  <jwakely@redhat.com>
2719         * config/abi/pre/gnu.ver: Export new symbols.
2720         * include/Makefile.am: Add codecvt.
2721         * include/Makefile.in: Regenerate.
2722         * include/std/codecvt: New header.
2723         * src/c++11/codecvt.cc (__codecvt_utf8_base, __codecvt_utf16_base,
2724         __codecvt_utf8_utf16_base): Define specializations.
2725         * testsuite/22_locale/codecvt/codecvt_utf8/requirements/1.cc: New.
2726         * testsuite/22_locale/codecvt/codecvt_utf16/requirements/1.cc: New.
2727         * testsuite/22_locale/codecvt/codecvt_utf8_utf16/requirements/1.cc:
2728         New.
2730 2015-01-16  Torvald Riegel  <triegel@redhat.com>
2732         * src/c++11/futex.cc: New file.
2733         * include/bits/atomic_futex.h: New file.
2734         * include/std/future (__future_base::_State_baseV2): Use
2735         atomic_futex_unsigned instead of mutex+condvar.
2736         * src/c++11/futex.cc: Likewise.
2737         * include/Makefile.am: Add atomic_futex.h.
2738         * include/Makefile.in: Likewise.
2739         * src/c++11/Makefile.am: Add futex.cc.
2740         * src/c++11/Makefile.in: Likewise.
2742 2015-01-16  Jonathan Wakely  <jwakely@redhat.com>
2744         * acinclude.m4: Fix typo in comment.
2745         * configure: Regenerate.
2746         * include/bits/codecvt.h (codecvt<char16_t, char, mbstate_t>,
2747         codecvt<char16_t, char, mbstate_t>): Declare specializations.
2748         * include/bits/locale_facets.h: Reserve space for new specializations.
2749         * src/c++11/Makefile.am: Add codecvt.cc.
2750         * src/c++11/Makefile.in: Regenerate.
2751         * src/c++11/codecvt.cc: New.
2752         * src/c++98/Makefile.am: Compile locale_init.cc and localename.cc
2753         with -std=gnu++11.
2754         * src/c++98/Makefile.in: Regenerate.
2755         * src/c++98/locale_init.cc: Initialize new codecvt specializations.
2756         * src/c++98/localename.cc: Likewise.
2757         * config/abi/pre/gnu.ver: Exports for new codecvt specializations.
2758         * testsuite/22_locale/codecvt/utf8.cc: New.
2759         * testsuite/22_locale/locale/cons/unicode.cc: Check that new
2760         specializations are installed in locale objects.
2762 2015-01-16  Torvald Riegel  <triegel@redhat.com>
2764         * include/std/shared_mutex (shared_timed_mutex): Add POSIX-based
2765         implementation.
2767 2015-01-13  Jonathan Wakely  <jwakely@redhat.com>
2769         PR libstdc++/64571
2770         * config/abi/pre/gnu.ver: Export fstream functions using new string.
2772 2015-01-12  Jonathan Wakely  <jwakely@redhat.com>
2774         PR libstdc++/64560
2775         * src/c++11/cxx11-shim_facets.cc (locale::facet::_M_sso_shim): Check
2776         for RTTI support.
2778         PR libstdc++/64553
2779         * src/c++11/cxx11-shim_facets.cc: Check for wchar_t support.
2781 2015-01-10  Thomas Schwinge  <thomas@codesourcery.com>
2783         * doc/xml/manual/parallel_mode.xml: Update for libgomp being
2784         renamed from "GNU OpenMP Runtime Library" to "GNU Offloading and
2785         Multi Processing Runtime Library".
2787 2015-01-09  Jonathan Wakely  <jwakely@redhat.com>
2789         PR libstdc++/64476
2790         * include/bits/stl_uninitialized.h (uninitialized_copy): Fix
2791         is_assignable arguments.
2792         * testsuite/20_util/specialized_algorithms/uninitialized_copy/64476.cc:
2793         New.
2795 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
2797         * libsupc++/unwind-cxx.h: Revert previous commit.
2799 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
2801         * configure.host: Add arm*-*-freebsd* port_specific_symbol_files.
2803 2015-01-09  Tim Shen  <timshen@google.com>
2805         PR libstdc++/64239
2806         * include/bits/regex.h (match_results<>::swap): Use std::swap
2807         instead of swap.
2808         * include/bits/regex_compiler.tcc (_Compiler<>::_M_quantifier):
2809         Likewise.
2810         * testsuite/28_regex/match_results/swap.cc: New testcase.
2812 2015-01-08  Jonathan Wakely  <jwakely@redhat.com>
2814         PR libstdc++/60132
2815         * include/std/type_traits (has_trivial_default_constructor,
2816         has_trivial_copy_constructor, has_trivial_copy_assign): Add deprecated
2817         attribute.
2818         * testsuite/20_util/has_trivial_copy_assign/requirements/
2819         explicit_instantiation.cc: Use -Wno-deprecated.
2820         * testsuite/20_util/has_trivial_copy_assign/requirements/typedefs.cc:
2821         Likewise.
2822         * testsuite/20_util/has_trivial_copy_assign/value.cc: Likewise.
2823         * testsuite/20_util/has_trivial_copy_constructor/requirements/
2824         explicit_instantiation.cc: Likewise.
2825         * testsuite/20_util/has_trivial_copy_constructor/requirements/
2826         typedefs.cc: Likewise.
2827         * testsuite/20_util/has_trivial_copy_constructor/value.cc: Likewise.
2828         * testsuite/20_util/has_trivial_default_constructor/requirements/
2829         explicit_instantiation.c: Likewise.
2830         * testsuite/20_util/has_trivial_default_constructor/requirements/
2831         typedefs.cc: Likewise.
2832         * testsuite/20_util/has_trivial_default_constructor/value.cc:
2833         Likewise.
2834         * testsuite/20_util/pair/requirements/dr801.cc: Replace deprecated
2835         trait.
2836         * testsuite/20_util/tuple/requirements/dr801.cc: Likewise.
2837         * testsuite/util/testsuite_common_types.h: Likewise.
2839 2015-01-08  Jonathan Wakely  <jwakely@redhat.com>
2841         * include/bits/hashtable_policy.h: Use __bool_constant.
2843 2015-01-07  Jonathan Wakely  <jwakely@redhat.com>
2845         * libsupc++/Makefile.am: Compile del_ops.cc as C++14.
2846         * libsupc++/Makefile.in: Regenerate.
2848 2015-01-06  Jonathan Wakely  <jwakely@redhat.com>
2850         * config/abi/pre/gnu.ver: Fix version conflict for std::locale::name().
2852 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
2854         Update copyright years.
2856 2015-01-04  Jonathan Wakely  <jwakely@redhat.com>
2858         PR libstdc++/64483
2859         * testsuite/18_support/exception_ptr/64241.cc: Use
2860         dg-require-atomic-builtins.
2862 2015-01-02  Jonathan Wakely  <jwakely@redhat.com>
2864         * testsuite/21_strings/basic_string/modifiers/64422.cc: Fix copyright
2865         date.
2867 2015-01-02  Tim Shen  <timshen@google.com>
2869         PR libstdc++/64475
2870         * include/bits/regex_executor.tcc (_Executor<>::_M_dfs): Copy the
2871         iterator, since the original one shouldn't be mutated.
2873 2015-01-02  Bernd Edlinger  <bernd.edlinger@hotmail.de>
2875         PR libstdc++/64422
2876         * src/c++98/misc-inst.cc (string::erase): Add missing overloads.
2877         (string::insert): Likewise.
2878         (string::replace): Likewise.
2879         (wstring::erase): Likewise.
2880         (wstring::insert): Likewise.
2881         (wstring::replace): Likewise.
2882         * testsuite/21_strings/basic_string/modifiers/64422.cc: New testcase.
2884 2015-01-02  Jonathan Wakely  <jwakely@redhat.com>
2886         PR libstdc++/64468
2887         * doc/doxygen/user.cfg.in: Set correct TAB_SIZE.
2889 2015-01-02  Jonathan Wakely  <jwakely@redhat.com>
2891         PR libstdc++/64438
2892         * testsuite/21_strings/basic_string/numeric_conversions/char/dr1261.cc:
2893         Revert removal of dg-require-string-conversions.
2894         * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
2895         Likewise.
2896         * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
2897         Likewise.
2898         * testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
2899         Likewise.
2900         * testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
2901         Likewise.
2902         * testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc:
2903         Likewise.
2904         * testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc:
2905         Likewise.
2906         * testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
2907         Likewise.
2908         * testsuite/21_strings/basic_string/numeric_conversions/char/
2909         stoull.cc: Likewise.
2910         * testsuite/21_strings/basic_string/numeric_conversions/char/
2911         to_string.cc: Likewise.
2913 Copyright (C) 2015 Free Software Foundation, Inc.
2915 Copying and distribution of this file, with or without modification,
2916 are permitted in any medium without royalty provided the copyright
2917 notice and this notice are preserved.