PR libstdc++/61374
[official-gcc.git] / libstdc++-v3 / ChangeLog
blob4d69c259abed8a00d0717ac93905412c67775d1d
1 2014-06-01  Jonathan Wakely  <jwakely@redhat.com>
3         PR libstdc++/61374
4         * include/experimental/string_view (operator basic_string): Correct
5         order of arguments.
6         (to_string): Replace with member function.
7         Add inline specifiers. Remove unused header. Remove _S_empty_rep and
8         allow _M_str to be null.
9         * testsuite/experimental/string_view/cons/char/1.cc: Adjust to new
10         default constructor semantics.
11         * testsuite/experimental/string_view/cons/wchar_t/1.cc: Likewise.
12         * testsuite/experimental/string_view/operations/copy/char/1.cc: Fix
13         copyright dates. Remove unused header.
14         * testsuite/experimental/string_view/operations/copy/wchar_t/1.cc:
15         Likewise.
16         * testsuite/experimental/string_view/operations/data/char/1.cc:
17         Fix copyright dates. Adjust to new default constructor semantics.
18         * testsuite/experimental/string_view/operations/data/wchar_t/1.cc:
19         Likewise.
20         * testsuite/experimental/string_view/operations/to_string/1.cc: New.
22 2014-05-30  Jonathan Wakely  <jwakely@redhat.com>
24         * testsuite/lib/libstdc++.exp (libstdc++_init): Adjust regexp to
25         work with previous versions of Tcl.
27         * doc/xml/manual/appendix_contributing.xml (list.copyright): Replace
28         Benjamin's old email address.
30         * doc/xml/manual/appendix_contributing.xml (list.copyright): Add
31         Paolo's address too.
33 2014-05-29  Jonathan Wakely  <jwakely@redhat.com>
35         * include/tr2/bool_set: Use UTF-8 for accented characters.
36         * scripts/run_doxygen: Handle Doxygen 1.8.x change.
37         * doc/doxygen/user.cfg.in: Update to Doxygen 1.8.6 format. Set
38         QUIET=YES, remove obsolete SYMBOL_CACHE_SIZE tag.
40 2014-05-27  Jonathan Wakely  <jwakely@redhat.com>
42         PR libstdc++/61329
43         * include/bits/regex_automaton.tcc (_State_base::_M_print): Add
44         inline specifier.
45         (_State_base::_M_dot): Likewise.
47 2014-05-25  Paolo Carlini  <paolo.carlini@oracle.com>
49         * include/profile/map.h: Fix typo in comment; minor formatting fix.
50         * include/profile/multimap.h: Likewise.
51         * include/profile/set.h: Likewise.
52         * include/profile/multiset.h: Likewise.
54 2014-05-24  François Dumont  <fdumont@gcc.gnu.org>
56         * include/profile/array: Clean useless white chars.
57         * include/profile/base.h: Likewise.
58         * include/profile/iterator_tracker.h: Likewise.
59         * include/profile/bitset: Code cleanup and remove not instrumented code.
60         * include/profile/deque: Likewise.
61         * include/profile/forward_list: Likewise.
62         * include/profile/list (std::__profile::_List_profile<>): New.
63         (std::__profile::list<>): Inherit from latter and adapt.
64         * include/profile/impl/profiler_map_to_unordered_map.h: Generalize
65         advise to match any ordered to unordered container conversion.
66         * include/profile/ordered_base.h (std::__profile::_Ordered_profile<>):
67         New.
68         * include/Makefile.am: Add latter.
69         * include/Makefile.in: Regenerate.
70         * include/profile/map.h (std::__profile::map<>): Inherit from latter,
71         remove not instrumented code.
72         * include/profile/multimap.h (std::__profile::multimap<>): Likewise.
73         * include/profile/set.h (std::__profile::set<>): Likewise.
74         * include/profile/multiset.h (std::__profile::multiset<>): Likewise.
75         * include/profile/unordered_base.h: Add some line feed.
76         * include/profile/unordered_map: Clean useless white chars and replace
77         spaces with tabs.
78         * include/profile/unordered_set: Likewise.
79         * include/profile/vector (std::__profile::_Vector_profile_pre<>): New.
80         (std::__profile::_Vector_profile_post<>): New.
81         (std::__profile::vector<>): Inherit from latter and adapt.
83 2014-05-23  Jonathan Wakely  <jwakely@redhat.com>
85         PR libstdc++/60793
86         * testsuite/*: Use 's/\*-\*-freebsd\* /&*-*-dragonfly* /' to add
87         dragonfly target selector to all tests that run on freebsd.
89         * testsuite/23_containers/vector/capacity/resize/1.cc: Add xfail for
90         dragonfly.
91         * testsuite/30_threads/call_once/60497.cc: Add target selectors.
92         * testsuite/30_threads/condition_variable/members/53841.cc: Likewise.
94         * testsuite/30_threads/async/54297.cc: Remove duplicate dragonfly
95         selector.
96         * testsuite/30_threads/call_once/60497.cc: Likewise.
97         * testsuite/30_threads/condition_variable/54185.cc: Likewise.
98         * testsuite/30_threads/condition_variable_any/53830.cc: Likewise.
99         * testsuite/30_threads/packaged_task/60564.cc: Likewise.
100         * testsuite/30_threads/packaged_task/cons/56492.cc: Likewise.
101         * testsuite/30_threads/promise/60966.cc: Likewise.
102         * testsuite/30_threads/shared_lock/cons/1.cc: Likewise.
103         * testsuite/30_threads/shared_lock/cons/2.cc: Likewise.
104         * testsuite/30_threads/shared_lock/cons/3.cc: Likewise.
105         * testsuite/30_threads/shared_lock/cons/4.cc: Likewise.
106         * testsuite/30_threads/shared_lock/cons/5.cc: Likewise.
107         * testsuite/30_threads/shared_lock/cons/6.cc: Likewise.
108         * testsuite/30_threads/shared_lock/locking/1.cc: Likewise.
109         * testsuite/30_threads/shared_lock/locking/2.cc: Likewise.
110         * testsuite/30_threads/shared_lock/locking/3.cc: Likewise.
111         * testsuite/30_threads/shared_lock/locking/4.cc: Likewise.
112         * testsuite/30_threads/shared_lock/modifiers/1.cc: Likewise.
113         * testsuite/30_threads/shared_lock/modifiers/2.cc: Likewise.
114         * testsuite/30_threads/shared_timed_mutex/cons/1.cc: Likewise.
115         * testsuite/30_threads/shared_timed_mutex/try_lock/1.cc:
116         * testsuite/30_threads/shared_timed_mutex/try_lock/2.cc: Likewise.
117         * testsuite/30_threads/thread/native_handle/cancel.cc: Likewise.
118         * testsuite/30_threads/timed_mutex/try_lock_until/57641.cc: Likewise.
120 2014-05-21  François Dumont  <fdumont@gcc.gnu.org>
122         PR libstdc++/61143
123         * include/bits/hashtable.h: Fix move semantic to leave hashtable in a
124         usable state.
125         * testsuite/23_containers/unordered_set/61143.cc: New.
126         * testsuite/23_containers/unordered_set/modifiers/swap.cc: New.
128 2014-05-21  Jonathan Wakely  <jwakely@redhat.com>
130         PR libstdc++/61269
131         * include/std/type_traits: Move include outside namespace std.
132         * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error.
133         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Likewise.
134         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
135         Likewise.
137         * config/locale/dragonfly/c_locale.cc (facet::_S_create_c_locale):
138         Fix warning.
140 2014-05-21  John Marino  <gnugcc@marino.st>
142         * acinclude.m4 (*-*-dragonfly*): New target.
143         * configure: Regenerate.
144         * configure.host (*-*-dragonfly*): New target.
145         * config/locale/dragonfly/c_locale.cc: New.
146         * config/locale/dragonfly/ctype_members.cc: New.
147         * config/os/bsd/dragonfly/ctype_base.h: New.
148         * config/os/bsd/dragonfly/ctype_configure_char.cc: New.
149         * config/os/bsd/dragonfly/ctype_inline.h: New.
150         * config/os/bsd/dragonfly/os_defines.h: New.
152 2014-05-20  Cesar Philippidis  <cesar@codesourcery.com>
154         * scripts/testsuite_flags.in (cxxflags): Remove @CXXFLAGS@ since 
155         libstdc++.exp imports those flags via getenv.
156         * testsuite/lib/libstdc++.exp (libstdc++_init): Ensure that 
157         CXXFLAGS contains a '-O' flag. 
159 2014-05-20  Alexey Merzlyakov  <alexey.merzlyakov@samsung.com>
161         PR libstdc++/61223
162         Revert:
163         2014-05-16  Alexey Merzlyakov  <alexey.merzlyakov@samsung.com>
165         PR libstdc++/60758
166         * libsupc++/eh_arm.cc (__cxa_end_cleanup): Change r4 to lr in save/restore
167         and add unwind directives.
169 2014-05-20  Sebastian Huber  <sebastian.huber@embedded-brains.de>
171         * testsuite/lib/libstdc++.exp (load_gcc_lib): Register loaded libs.
173 2014-05-20  Tim Shen  <timshen91@gmail.com>
175         PR libstdc++/61227
176         * include/bits/regex_compiler.h
177         (_BracketMatcher<>::_M_add_character_class): Add negative character
178         class support.
179         * include/bits/regex_compiler.tcc (_BracketMatcher<>::_M_apply):
180         Likewise.
181         * testsuite/28_regex/algorithms/regex_match/ecma/char/quoted_char.cc:
182         Add more testcases.
184 2014-05-19  Jonathan Wakely  <jwakely@redhat.com>
186         * python/libstdcxx/v6/printers.py: Use Python3 raise syntax.
188 2014-05-17  Marc Glisse  <marc.glisse@inria.fr>
190         * libsupc++/new_op.cc: Factor the calls to malloc, use __builtin_expect.
191         * libsupc++/new_opnt.cc: Likewise.
193 2014-05-17  Jonathan Wakely  <jwakely@redhat.com>
195         PR libstdc++/60966
196         * include/std/future (__future_base::_State_baseV2::_M_set_result):
197         Pass lock into _M_do_set and hold it until the function returns.
198         Signal condition variable after call_once completes.
199         (__future_base::_State_baseV2::_M_do_set): Use lock argument. Do not
200         signal here.
201         * testsuite/30_threads/promise/60966.cc: New.
203 2014-05-16  Iain Sandoe  <iain@codesourcery.com>
204             Sandra Loosemore  <sandra@codesourcery.com>
206         * testsuite/libstdc++-abi/abi.exp: Defer setting of baseline_subdir
207         until after checking that the test is eligible to be run.
209 2014-05-16  Jonathan Wakely  <jwakely@redhat.com>
211         * testsuite/20_util/make_unsigned/requirements/typedefs-1.cc: Fix
212         test for 32-bit target.
213         * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc:
214         Likewise.
215         * testsuite/tr1/2_general_utilities/shared_ptr/modifiers/reset_neg.cc:
216         Fix test.
218 2014-05-16  Alexey Merzlyakov  <alexey.merzlyakov@samsung.com>
220         PR libstdc++/60758
221         * libsupc++/eh_arm.cc (__cxa_end_cleanup): Change r4 to lr in save/restore
222         and add unwind directives.
224 2014-05-16  Jonathan Wakely  <jwakely@redhat.com>
226         * include/bits/parse_numbers.h (__parse_int::_Number_help): Check for
227         overflow.
228         * include/std/chrono (chrono_literals::__select_type::_Select_type):
229         Remove.
230         (chrono_literals::_Checked_integral_constant): Define.
231         Simplify UDL operator templates and check for overflow.
232         * testsuite/20_util/duration/literals/range.cc: New.
234 2014-05-16  Ed Smith-Rowland  <3dw4rd@verizon.net>
235             Jonathan Wakely  <jwakely@redhat.com>
237         PR libstdc++/61166
238         * include/bits/parse_numbers.h: Use integral_constant to remove
239         duplication and simplify.
240         * testsuite/20_util/duration/literals/61166.cc: New.
242 2014-05-15  Jonathan Wakely  <jwakely@redhat.com>
244         PR libstdc++/60326
245         * include/std/type_traits (__make_unsigned, __make_signed): Define
246         specializations for wchar_t, char16_t and char32_t.
247         * testsuite/20_util/make_signed/requirements/typedefs-4.cc: New.
248         * testsuite/20_util/make_unsigned/requirements/typedefs-1.cc: Correct
249         test for make_unsigned<volatile wchar_t>.
250         * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc:
251         Likewise.
252         * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
253         line number.
254         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
255         Likewise.
256         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
257         Likewise.
259 2014-05-15  Jonathan Wakely  <jwakely@redhat.com>
261         * include/std/tuple (tuple_size<cv _Tp>): Implement LWG 2313.
262         * include/std/array (tuple_size, tuple_element): Add Doxygen comments.
263         * include/std/utility (tuple_size, tuple_element): Likewise.
264         * testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc:
265         Adjust dg-error line number.
267 2014-05-14  Jonathan Wakely  <jwakely@redhat.com>
269         * include/std/tuple (__add_c_ref, __add_ref, __add_r_ref): Remove.
270         (__tuple_element_t): Define.
271         (tuple_element): Use __tuple_element_t.
272         (__cv_tuple_size): Define.
273         (tuple_size<cv _Tp>): Use __cv_tuple_size.
274         (get, __get_helper, __get_helper2): Remove uses of __add_ref etc.
275         (get<_Tp>(tuple<_Types...>&&)): Use forward instead of move.
276         (__tuple_compare): Remove size check, re-order parameters.
277         (operator==, operator<): Use static_assert to check requirements.
278         * include/std/functional (__volget): use __tuple_element_t.
279         * testsuite/20_util/tuple/element_access/get_by_type.cc: Test rvalues.
280         * testsuite/20_util/uses_allocator/cons_neg.cc: Adjust dg-error.
282 2014-05-13  Jonathan Wakely  <jwakely@redhat.com>
284         PR libstdc++/60497
285         * include/std/tuple (get, __tuple_compare): Qualify more calls to
286         prevent ADL. Cast comparison results to bool.
287         * testsuite/20_util/tuple/60497.cc: Test accessing rvalues.
288         * testsuite/20_util/tuple/comparison_operators/overloaded.cc: New.
290         PR libstdc++/60497
291         * include/debug/array (get): Qualify call to other get overload.
292         * include/profile/array (get): Likewise.
293         * include/std/array (get): Likewise.
294         * include/std/functional (_Mu, _Bind, _Bind_result): Qualify std::get.
295         * include/std/mutex (unique_lock, call_once): Use __addressof.
296         (__unlock_impl): Remove unused template.
297         (__try_to_lock): Declare inline.
298         (__try_lock_impl::__do_try_lock): Qualify function calls.
299         (lock): Avoid narrowing conversion.
300         * testsuite/20_util/bind/60497.cc: New.
301         * testsuite/23_containers/array/element_access/60497.cc: New.
302         * testsuite/30_threads/call_once/60497.cc: New.
303         * testsuite/30_threads/unique_lock/cons/60497.cc: New.
305 2014-05-09  Jonathan Wakely  <jwakely@redhat.com>
307         * config/abi/pre/gnu.ver (GLIBCXX_3.4.20): Correct regex_error export.
308         (GLIBCXX_3.4.21): Export base object constructor for regex_error.
309         * acinclude.m4 (libtool_VERSION): Bump.
310         * configure: Regenerate.
311         * testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.21 version.
312         * testsuite/28_regex/regex_error/base.cc: New.
314 2014-05-08  Joshua Gay  <jgay@gnu.org>
316         PR libstdc++/61117
317         * doc/xml/faq.xml (faq.license.what_restrictions): Replace "open
318         source" with "free software".
319         * doc/html/faq.html: Likewise.
321 2014-05-08  Jonathan Wakely  <jwakely@redhat.com>
323         PR libstdc++/57394
324         * include/bits/ios_base.h (ios_base(const ios_base&)): Define as
325         deleted for C++11.
326         (operator=(const ios_base&)): Likewise.
327         * include/std/streambuf: Remove trailing whitespace.
328         (basic_streambuf(const basic_streambuf&)): Fix initializer for
329         _M_out_end. Define as defaulted for C++11.
330         (operator=(const basic_streambuf&)): Define as defaulted for C++11.
331         (swap(basic_streambuf&)): Define for C++11.
332         * testsuite/27_io/basic_streambuf/cons/57394.cc: New.
334         PR libstdc++/13860
335         * include/std/fstream (basic_filebuf): Enforce requirements on traits.
337         * include/std/iostream: Fix URL in comment.
338         * src/c++98/ios_init.cc: Fix path in comment.
340 2014-05-08  Paolo Carlini  <paolo.carlini@oracle.com>
342         * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Avoid -Wwrite-strings warning.
343         * configure: Regenerate.
345 2014-05-07  Jonathan Wakely  <jwakely@redhat.com>
347         PR libstdc++/61023
348         * include/bits/stl_tree.h (_Rb_tree::_M_move_assign): Copy the
349         comparison function.
350         * testsuite/23_containers/set/cons/61023.cc: New.
352         PR libstdc++/61086
353         * include/bits/stl_iterator.h (__normal_iterator::_M_const_cast):
354         Remove.
355         * include/bits/stl_vector.h (vector::insert, vector::erase): Use
356         arithmetic to obtain a mutable iterator from const_iterator.
357         * include/bits/vector.tcc (vector::insert): Likewise.
358         * include/debug/vector (vector::erase): Likewise.
359         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
360         Adjust dg-error line number.
361         * testsuite/23_containers/vector/requirements/dr438/
362         constructor_1_neg.cc: Likewise.
363         * testsuite/23_containers/vector/requirements/dr438/
364         constructor_2_neg.cc: Likewise.
365         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
366         Likewise.
368 2014-05-06  Paolo Carlini  <paolo.carlini@oracle.com>
370         * include/Makefile.in: Regenerate.
372 2014-05-06  François Dumont  <fdumont@gcc.gnu.org>
374         * include/debug/macros.h [__glibcxx_check_equal_allocs]: Add
375         parameter to pass the 2 instances to check allocator equality.
376         * include/debug/safe_container.h: New, define _Safe_container<>.
377         * include/Makefile.am: Add previous.
378         * include/debug/deque (std::__debug::deque<>): Inherit
379         _Safe_container<>. Use default implementation for all special
380         functions.
381         * include/debug/forward_list (std::__debug::forward_list<>):
382         Likewise.
383         * include/debug/list (std::__debug::list<>): Likewise.
384         * include/debug/map.h (std::__debug::map<>): Likewise.
385         * include/debug/multimap.h (std::__debug::multimap<>): Likewise.
386         * include/debug/set.h (std::__debug::set<>): Likewise.
387         * include/debug/multiset.h (std::__debug::multiset<>): Likewise.
388         * include/debug/string (std::__debug::basic_string<>): Likewise.
389         * include/debug/unordered_map
390         (std::__debug::unordered_map<>): Likewise.
391         (std::__debug::unordered_multimap<>): Likewise.
392         * include/debug/unordered_set
393         (std::__debug::unordered_set<>): Likewise.
394         (std::__debug::unordered_multiset<>): Likewise.
395         * include/debug/vector (std::__debug::vector<>): Likewise.
396         * include/debug/safe_base.h (_Safe_sequence_base()): Add
397         noexcept.
398         (_Safe_sequence_base(_Safe_sequence_base&&): Remove.
399         (~_Safe_sequence_base()): Add noexcept.
400         * include/debug/safe_sequence.h
401         (std::__debug::_Safe_node_sequence<>): New.
402         * include/debug/safe_unordered_base.h
403         (_Safe_unordered_container_base()): Add noexcept.
404         (~_Safe_unordered_container_base()): Likewise.
405         (_M_swap(_Safe_unordered_container_base&)): Likewise.
406         * include/debug/safe_unordered_container.h:
407         (_Safe_unordered_container<>::_M_invalidate_locals()): New.
408         (_Safe_unordered_container<>::_M_invalidate_all()): New.
409         * src/c++11/debug.cc: Limit includes, adapt methods noexcept
410         qualifications.
411         * testsuite/util/debug/checks.h (check_construct1): Just implement
412         an invalid constructor invocation  and no other operations
413         potentially not supported by some types of container.
414         (check_construct2): Likewise.
415         (check_construct3): Likewise.
416         * testsuite/23_containers/forward_list/allocator/move.cc: Add
417         check on iterators to make sure they are correctly moved in debug
418         mode.
419         * testsuite/23_containers/forward_list/allocator/move_assign.cc:
420         Likewise.
421         * testsuite/23_containers/map/allocator/move.cc: Likewise.
422         * testsuite/23_containers/map/allocator/move_assign.cc: Likewise.
423         * testsuite/23_containers/multimap/allocator/move.cc: Likewise.
424         * testsuite/23_containers/multimap/allocator/move_assign.cc:
425         Likewise.
426         * testsuite/23_containers/multiset/allocator/move.cc: Likewise.
427         * testsuite/23_containers/multiset/allocator/move_assign.cc:
428         Likewise.
429         * testsuite/23_containers/set/allocator/move.cc: Likewise.
430         * testsuite/23_containers/set/allocator/move_assign.cc: Likewise.
431         * testsuite/23_containers/unordered_map/allocator/move.cc:
432         Likewise.
433         * testsuite/23_containers/unordered_map/allocator/move_assign.cc:
434         Likewise.
435         * testsuite/23_containers/unordered_multimap/allocator/move.cc:
436         Likewise.
437         * testsuite/23_containers/unordered_multimap/allocator/move_assign.cc:
438         Likewise.
439         * testsuite/23_containers/unordered_multiset/allocator/move.cc:
440         Likewise.
441         * testsuite/23_containers/unordered_multiset/allocator/move_assign.cc:
442         Likewise.
443         * testsuite/23_containers/unordered_set/allocator/move.cc:
444         Likewise.
445         * testsuite/23_containers/unordered_set/allocator/move_assign.cc:
446         Likewise.
447         * testsuite/23_containers/forward_list/debug/construct1_neg.cc:
448         New.
449         * testsuite/23_containers/forward_list/debug/construct2_neg.cc:
450         New.
451         * testsuite/23_containers/forward_list/debug/construct3_neg.cc:
452         New.
453         * testsuite/23_containers/forward_list/debug/construct4_neg.cc:
454         New.
455         * testsuite/23_containers/forward_list/debug/move_assign_neg.cc:
456         New.
457         * testsuite/23_containers/forward_list/debug/move_neg.cc: New.
458         * testsuite/23_containers/map/debug/construct5_neg.cc: New.
459         * testsuite/23_containers/map/debug/move_assign_neg.cc: New.
460         * testsuite/23_containers/map/debug/move_neg.cc: New.
461         * testsuite/23_containers/multimap/debug/construct5_neg.cc: New.
462         * testsuite/23_containers/multimap/debug/move_assign_neg.cc: New.
463         * testsuite/23_containers/multimap/debug/move_neg.cc: New.
464         * testsuite/23_containers/multiset/debug/construct5_neg.cc: New.
465         * testsuite/23_containers/multiset/debug/move_assign_neg.cc: New.
466         * testsuite/23_containers/multiset/debug/move_neg.cc: New.
467         * testsuite/23_containers/set/debug/construct5_neg.cc: New.
468         * testsuite/23_containers/set/debug/move_assign_neg.cc: New.
469         * testsuite/23_containers/set/debug/move_neg.cc: New.
470         * testsuite/23_containers/unordered_map/debug/construct5_neg.cc:
471         New.
472         * testsuite/23_containers/unordered_map/debug/move_assign_neg.cc:
473         New.
474         * testsuite/23_containers/unordered_map/debug/move_neg.cc: New.
475         * testsuite/23_containers/unordered_multimap/debug/construct5_neg.cc:
476         New.
477         * testsuite/23_containers/unordered_multimap/debug/move_assign_neg.cc:
478         New.
479         * testsuite/23_containers/unordered_multimap/debug/move_neg.cc:
480         New.
481         * testsuite/23_containers/unordered_multiset/debug/construct5_neg.cc:
482         New.
483         * testsuite/23_containers/unordered_multiset/debug/move_assign_neg.cc:
484         New.
485         * testsuite/23_containers/unordered_multiset/debug/move_neg.cc:
486         New.
487         * testsuite/23_containers/unordered_set/debug/construct5_neg.cc:
488         New.
489         * testsuite/23_containers/unordered_set/debug/move_assign_neg.cc:
490         New.
491         * testsuite/23_containers/unordered_set/debug/move_neg.cc: New.
492         * testsuite/23_containers/vector/debug/move_neg.cc: New.
494 2014-05-05  Andreas Schwab  <schwab@linux-m68k.org>
496         * config/abi/post/ia64-linux-gnu/baseline_symbols.txt
497         (CXXABI_1.3.9): Remove __float128 symbols.
499 2014-05-02  Jonathan Wakely  <jwakely@redhat.com>
501         PR libstdc++/59476
502         * python/libstdcxx/v6/printers.py (get_value_from_Rb_tree_node): New
503         function to handle both C++03 and C++11 _Rb_tree_node implementations.
504         (StdRbtreeIteratorPrinter, StdMapPrinter, StdSetPrinter): Use it.
505         * testsuite/libstdc++-prettyprinters/simple.cc: Update comment to
506         refer to...
507         * testsuite/libstdc++-prettyprinters/simple11.cc: New.
509         PR libstdc++/61036
510         * include/bits/shared_ptr_base.h (__shared_ptr::__shared_ptr(_Tp1*)):
511         Check the correct type in the static assertion.
512         * testsuite/20_util/shared_ptr/cons/61036.cc: New.
514 2014-04-27  Tim Shen  <timshen91@gmail.com>
516         * include/bits/regex_automaton.h (_NFA<>::_M_insert_repeat):
517         Add _S_opcode_repeat support to distingush a loop from
518         _S_opcode_alternative.
519         * include/bits/regex_automaton.tcc (_State_base::_M_print,
520         _State_base::_M_dot, _NFA<>::_M_eliminate_dummy,
521         _StateSeq<>::_M_clone): Likewise.
522         * include/bits/regex_compiler.tcc (_Compiler<>::_M_quantifier):
523         Likewise.
524         * include/bits/regex_executor.tcc (_Executor<>::_M_dfs): Likewise.
525         * include/bits/regex_scanner.tcc (_Scanner<>::_M_eat_escape_ecma):
526         Uglify local variable __i.
527         * include/bits/regex_compiler.h (_BracketMatcher<>::_M_make_cache):
528         Use size_t instead of int to compare with vector::size().
530 2014-04-27  Tim Shen  <timshen91@gmail.com>
532         * include/bits/regex_executor.h: Add _M_rep_count to track how
533         many times this repeat node are visited.
534         * include/bits/regex_executor.tcc (_Executor<>::_M_rep_once_more,
535         _Executor<>::_M_dfs): Use _M_rep_count to prevent entering
536         infinite loop.
538 2014-04-27  Tim Shen  <timshen91@gmail.com>
540         * include/bits/regex.tcc (__regex_algo_impl<>): Remove
541         _GLIBCXX_REGEX_DFS_QUANTIFIERS_LIMIT and use
542         _GLIBCXX_REGEX_USE_THOMPSON_NFA instead.
543         * include/bits/regex_automaton.h: Remove quantifier counting variable.
544         * include/bits/regex_automaton.tcc (_State_base::_M_dot):
545         Adjust debug NFA dump.
547 2014-04-25  Lars Gullik Bjønnes  <larsbj@gullik.org>
549         PR libstdc++/60710
550         * include/experimental/optional (operator!=): Implement in terms of
551         operator==.
552         * testsuite/experimental/optional/relops/1.cc: Remove operator!=.
553         * testsuite/experimental/optional/relops/2.cc: Likewise.
554         * testsuite/experimental/optional/relops/3.cc: Likewise.
555         * testsuite/experimental/optional/relops/4.cc: Likewise.
556         * testsuite/experimental/optional/relops/5.cc: Likewise.
557         * testsuite/experimental/optional/relops/6.cc: Likewise.
559 2014-04-25  Jonathan Wakely  <jwakely@redhat.com>
561         PR libstdc++/60958
562         * include/tr1/regex (regex_traits::isctype): Comment out broken code.
563         * testsuite/util/testsuite_regex.h (regex_match_debug): Improve
564         comment.
566 2014-04-25  Marc Glisse  <marc.glisse@inria.fr>
568         * testsuite/util/testsuite_abi.cc (check_version): Update for
569         CXXABI_1.3.9.
571 2014-04-24  Tim Shen  <timshen91@gmail.com>
573         * include/bits/regex_automaton.tcc (_StateSeq<>::_M_clone()):
574         Do _M_alt before _M_next.
575         * testsuite/28_regex/basic_regex/multiple_quantifiers.cc: Add testcases.
577 2014-04-24  Marc Glisse  <marc.glisse@inria.fr>
579         PR libstdc++/43622
580         * config/abi/pre/gnu.ver (CXXABI_1.3.9): Remove __float128 symbols.
581         * config/abi/pre/gnu-versioned-namespace.ver: Likewise.
582         * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
584 2014-04-24  Andreas Schwab  <schwab@suse.de>
586         * config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Update for
587         new CXXABI_1.3.9 symbols.
589 2014-04-23  Andreas Schwab  <schwab@linux-m68k.org>
591         * config/abi/post/m68k-linux-gnu/baseline_symbols.txt
592         (CXXABI_1.3.9): New version.
594 2014-04-22  Marc Glisse  <marc.glisse@inria.fr>
596         PR libstdc++/43622
597         * config/abi/pre/gnu.ver (CXXABI_1.3.9): New version, new symbols.
598         * config/abi/pre/gnu-versioned-namespace.ver: New symbols.
599         * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
601 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
603         * configure.host: Remove solaris2.9 handling.
604         Change os_include_dir to os/solaris/solaris2.10.
605         * acinclude.m4 (ac_has_gthreads): Remove solaris2.9* handling.
606         * crossconfig.m4: Remove *-solaris2.9 handling, simplify.
607         * configure: Regenerate.
608         * config/abi/post/solaris2.9: Remove.
609         * config/os/solaris/solaris2.9: Rename to ...
610         * config/os/solaris/solaris2.10: ... this.
611         * config/os/solaris/solaris2.10/os_defines.h (CLOCK_MONOTONIC):
612         Remove.
614         * doc/xml/manual/configure.xml (--enable-libstdcxx-threads):
615         Remove Solaris 9 reference.
616         * doc/html/manual/configure.html: Regenerate.
618         * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
619         Remove *-*-solaris2.9 xfail.
620         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/12.cc:
621         Likewise.
623         * testsuite/ext/enc_filebuf/char/13598.cc: Remove *-*-solaris2.9
624         xfail.
626 2014-04-16  Jonathan Wakely  <jwakely@redhat.com>
628         * include/std/functional (__is_location_invariant): Use __or_ helper.
630 2014-04-15  Jonathan Wakely  <jwakely@redhat.com>
632         PR libstdc++/60734
633         * include/bits/stl_tree.h (_Rb_tree::_M_end): Fix invalid cast.
635         PR libstdc++/60695
636         * include/std/atomic (atomic<_Tp>): Add static assertion.
637         * testsuite/29_atomics/atomic/60695.cc: New.
639         PR libstdc++/60594
640         * include/std/functional (function::_Callable): Exclude own type
641         from the callable checks.
642         * testsuite/20_util/function/60594.cc: New.
644         * include/bits/atomic_base.h (__atomic_base<_PTp*>::_M_type_size): Add
645         const to constexpr member functions.
647         * include/bits/shared_ptr.h (shared_ptr::shared_ptr(nullptr_t)): Use
648         delegating constructor.
649         * include/bits/shared_ptr_base.h
650         (__shared_ptr::__shared_ptr(nullptr_t)): Likewise
652         * include/std/atomic: Uglify parameter names.
654         PR c++/60786
655         * testsuite/20_util/shared_ptr/requirements/explicit_instantiation/
656         1.cc: Fix invalid explicit instantiations with unqualified names.
657         * testsuite/20_util/shared_ptr/requirements/explicit_instantiation/
658         2.cc: Likweise.
659         * testsuite/20_util/tuple/53648.cc: Likweise.
660         * testsuite/20_util/weak_ptr/requirements/explicit_instantiation/1.cc:
661         Likewise.
662         * testsuite/20_util/weak_ptr/requirements/explicit_instantiation/2.cc:
663         Likewise.
664         * testsuite/23_containers/unordered_map/requirements/
665         debug_container.cc: Likewise.
666         * testsuite/23_containers/unordered_map/requirements/
667         explicit_instantiation/3.cc: Likewise.
668         * testsuite/23_containers/unordered_multimap/requirements/debug.cc:
669         Likewise.
670         * testsuite/23_containers/unordered_multimap/requirements/
671         explicit_instantiation/3.cc: Likewise.
672         * testsuite/23_containers/unordered_multiset/requirements/debug.cc:
673         Likewise.
674         * testsuite/23_containers/unordered_multiset/requirements/
675         explicit_instantiation/3.cc: Likewise.
676         * testsuite/23_containers/unordered_set/requirements/
677         debug_container.cc: Likewise.
678         * testsuite/23_containers/unordered_set/requirements/
679         explicit_instantiation/3.cc: Likewise.
681         * testsuite/24_iterators/insert_iterator/requirements/container.cc: Do
682         not use uninitialized members in mem-initializers.
683         * testsuite/ext/throw_value/cons.cc: Fix most vexing parse.
684         * testsuite/util/testsuite_common_types.h: Update comment.
686         * include/experimental/string_view: Fix inconsistent exception specs.
688         * include/bits/shared_ptr.h (shared_ptr::shared_ptr(nullptr_t)):
689         Remove name of unused parameter.
691 2014-04-14  Jonathan Wakely  <jwakely@redhat.com>
693         * include/bits/stl_vector.h (_Vector_base::_Vector_impl,
694         _Vector_base::_M_allocate): NullablePointer requirements do not
695         include initialization from literal zero, use value-initialization.
696         * include/bits/vector.tcc (vector::_M_insert_aux,
697         vector::_M_explace_back_aux): Likewise for assignment.
699         * include/bits/allocator.h (operator==, operator!=): Add exception
700         specifications.
702         PR libstdc++/60497
703         * include/std/tuple (get): Qualify calls to prevent ADL.
704         * testsuite/20_util/tuple/60497.cc: New.
706         * include/std/tuple (tuple_element_t): Define.
707         * testsuite/20_util/tuple/tuple_element.cc: Change to compile-only
708         test.
709         * testsuite/20_util/tuple/tuple_element_t.cc: New.
711 2014-04-11  Marc Glisse  <marc.glisse@inria.fr>
713         PR libstdc++/59434
714         * include/bits/stl_iterator.h (move_iterator::reference,
715         move_iterator::operator*): Implement LWG 2106.
716         * testsuite/24_iterators/move_iterator/dr2106.cc: New file.
718 2014-04-11  Marc Glisse  <marc.glisse@inria.fr>
720         * include/std/complex (__complex_exp, pow): Specify the template
721         parameter in calls to std::polar, for expression templates.
723 2014-04-10  Andreas Schwab  <schwab@suse.de>
725         * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Remove TLS
726         symbols.
727         * config/abi/post/m68k-linux-gnu/baseline_symbols.txt: Likewise.
728         * config/abi/post/mips64-linux-gnu/baseline_symbols.txt: Likewise.
730         * config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Update.
732 2014-04-07  Jonathan Wakely  <jwakely@redhat.com>
734         * testsuite/20_util/exchange/1.cc: Add missing return statements.
735         * testsuite/20_util/pair/40925.cc: Avoid most vexing parse.
736         * testsuite/22_locale/codecvt_byname/50714.cc: Add missing exception
737         specifications.
739 2014-04-02  Dominique d'Humieres  <dominiq@lps.ens.fr>
740             Jack Howarth <howarth@bromo.med.uc.edu>
742         PR target/54407
743         * testsuite/30_threads/condition_variable/54185.cc: Skip for
744         darwin < 11.
746 2014-04-01  Jonathan Wakely  <jwakely@redhat.com>
748         * doc/xml/manual/backwards_compatibility.xml (backwards.third.headers):
749         Update link.
750         * doc/xml/manual/policy_data_structures_biblio.xml (bibliography):
751         Fix broken links.
752         * doc/xml/manual/shared_ptr.xml (shared_ptr.impl): Likewise.
753         * doc/xml/manual/using_exceptions.xml (bibliography): Likewise.
754         * doc/xml/manual/concurrency_extensions.xml
755         (manual.ext.concurrency.impl.atomic_fallbacks): Likewise.
756         * doc/html/*: Regenerate.
758 2014-03-31  Lars Gullik Bjønnes  <larsbj@gullik.org>
759             Jonathan Wakely  <jwakely@redhat.com>
761         PR libstdc++/60270
762         * include/std/iomanip (_Quoted_string operator>>): Do not clear
763         string if input is not quoted.
764         * testsuite/27_io/manipulators/standard/char/60270.cc: New.
766 2014-03-31  Jonathan Wakely  <jwakely@redhat.com>
768         * libsupc++/eh_ptr.cc: Improve static_assert messages.
770 2014-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
772         * testsuite/18_support/exception_ptr/60612-terminate.cc
773         (terminate, f): Wrap in _GLIBCXX_USE_C99.
774         * testsuite/18_support/exception_ptr/60612-unexpected.cc: Likewise.
776 2014-03-27  Jonathan Wakely  <jwakely@redhat.com>
778         * doc/xml/manual/io.xml (std.io.objects): Additional markup.
780         * doc/xml/faq.xml (faq): Refer to clauses instead of chapters.
781         * doc/xml/manual/appendix_contributing.xml (contrib.design_notes):
782         Likewise.
783         * doc/xml/manual/backwards_compatibility.xml (backwards.third):
784         Likewise.
785         * doc/xml/manual/test.xml (test.organization.layout): Likewise.
787         * doc/xml/manual/containers.xml (associative.bitset.size_variable):
788         Fix bad s/part/chapter/ substitutions.
789         * doc/xml/manual/io.xml (std.io): Likewise.
790         * doc/xml/manual/numerics.xml (std.numerics.generalized_ops): Likewise.
791         * doc/xml/manual/strings.xml (strings.string.Cstring): Likewise.
793         * doc/html/*: Regenerate.
795 2014-03-27  Jonathan Wakely  <jwakely@redhat.com>
797         PR libstdc++/60612
798         * libsupc++/eh_ptr.cc: Assert __cxa_dependent_exception layout is
799         compatible with __cxa_exception.
800         * libsupc++/unwind-cxx.h (__cxa_dependent_exception): Add padding.
801         Fix typos in comments.
802         * testsuite/18_support/exception_ptr/60612-terminate.cc: New.
803         * testsuite/18_support/exception_ptr/60612-unexpected.cc: New.
805 2014-03-25  Jonathan Wakely  <jwakely@redhat.com>
807         PR libstdc++/60658
808         * include/bits/atomic_base.h (__atomic_base<_PTp*>::is_lock_free()):
809         Use sizeof pointer type not the element type.
810         * testsuite/29_atomics/atomic/60658.cc: New.
812 2014-03-24  Jakub Jelinek  <jakub@redhat.com>
814         * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt: Update.
815         * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
816         * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
817         * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
818         * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
819         * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
820         * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
821         * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
822         * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise.
823         * config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Remove TLS
824         entries.
826 2014-03-23  John David Anglin  <danglin@gcc.gnu.org>
828         * testsuite/23_containers/bitset/45713.cc: Skip compile on hppa*64*-*-*.
830 2014-03-23  François Dumont  <fdumont@gcc.gnu.org>
832         * include/bits/hashtable.h (_Hashtable(allocator_type)): Fix call
833         to delegated constructor.
834         (_Hashtable(size_type, _H1, key_equal, allocator_type)): Likewise.
835         (_Hashtable<_It>(_It, _It, size_type, _H1, key_equal, allocator_type)):
836         Likewise.
837         (_Hashtable(
838         initializer_list, size_type, _H1, key_equal, allocator_type)): Likewise.
840 2014-03-23  John David Anglin  <danglin@gcc.gnu.org>
842         PR libstdc++/60623
843         * config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Update.
845 2014-03-21  Jonathan Wakely  <jwakely@redhat.com>
847         PR libstdc++/60587
848         * include/debug/functions.h (_Is_contiguous_sequence): Define.
849         (__foreign_iterator): Accept additional iterator. Do not dispatch on
850         iterator category.
851         (__foreign_iterator_aux2): Likewise. Add overload for iterators
852         from different types of debug container. Use _Is_contiguous_sequence
853         instead of is_lvalue_reference.
854         (__foreign_iterator_aux3): Accept additional iterator. Avoid
855         dereferencing past-the-end iterator.
856         (__foreign_iterator_aux4): Use const value_type* instead of
857         potentially user-defined const_pointer type.
858         * include/debug/macros.h (__glibcxx_check_insert_range): Fix comment
859         and pass end iterator to __gnu_debug::__foreign_iterator.
860         (__glibcxx_check_insert_range_after): Likewise.
861         (__glibcxx_check_max_load_factor): Fix comment.
862         * include/debug/vector (_Is_contiguous_sequence): Define partial
863         specializations.
864         * testsuite/23_containers/vector/debug/57779_neg.cc: Remove
865         -std=gnu++11 option and unused header.
866         * testsuite/23_containers/vector/debug/60587.cc: New.
867         * testsuite/23_containers/vector/debug/60587_neg.cc: New.
869 2014-03-20  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
871         * crossconfig.m4: Support spu-*-elf* targets.
872         * configure: Regenerate.
874 2014-03-18  Jonathan Wakely  <jwakely@redhat.com>
876         PR libstdc++/60564
877         * include/std/future (__future_base::_Task_state<>): Change
878         constructors to template functions using perfect forwarding.
879         (__create_task_state): Use decayed type as stored task.
880         (packaged_task::packaged_task(_Fn&&)): Forward instead of moving.
881         * testsuite/30_threads/packaged_task/60564.cc: New.
883 2014-03-16  François Dumont  <fdumont@gcc.gnu.org>
885         * scripts/create_testsuite_files: Add testsuite/experimental in
886         the list of folders to search for tests.
888 2014-03-15  Andreas Schwab  <schwab@linux-m68k.org>
890         * config/abi/post/m68k-linux-gnu/baseline_symbols.txt: New file.
892 2014-03-15  Tim Shen  <timshen91@gmail.com>
894         * include/bits/regex.h: Add/modify comments.
895         * include/bits/regex_compiler.h: Likewise.
896         * include/bits/regex_executor.h: Likewise.
897         * include/bits/regex_executor.tcc: Likewise.
898         * include/bits/regex_scanner.h: Likewise.
900 2014-03-14  Jonathan Wakely  <jwakely@redhat.com>
902         PR ipa/58721
903         * config/abi/pre/gnu.ver (GLIBCXX_3.4.11): Remove unused pattern for
904         _ZNSt12system_errorC* symbols which are not exported on any target.
906 2014-03-12  Roland McGrath  <mcgrathr@google.com>
907             Mark Seaborn  <mseaborn@google.com>
909         PR libstdc++/59392
910         * libsupc++/eh_call.cc (__cxa_call_unexpected): Call __do_catch with
911         the address of a null pointer, not with a null pointer to pointer.
912         Copy comment for this case from eh_personality.cc:__cxa_call_unexpected.
913         * testsuite/18_support/bad_exception/59392.cc: New file.
915 2014-03-11  Jonathan Wakely  <jwakely@redhat.com>
917         PR libstdc++/60499
918         * include/debug/forward_list (forward_list::operator=(forward_list&&)):
919         Uglify name.
920         * include/debug/map (map::operator=(map&&)): Likewise.
921         * include/debug/multimap (multimap::operator=(multimap&&)): Likewise.
922         * include/debug/multiset (multiset::operator=(multiset&&)): Likewise.
923         * include/debug/set (set::operator=(set&&)): Likewise.
924         * include/debug/unordered_map
925         (unordered_map::operator=(unordered_map&&)): Likewise.
926         (unordered_multimap::operator=(unordered_multimap&&)): Likewise.
927         * include/debug/unordered_set
928         (unordered_set::operator=(unordered_set&&)): Likewise.
929         (unordered_multiset::operator=(unordered_multiset&&)): Likewise.
930         * include/debug/vector (vector::operator=(vector&&)): Likewise.
931         * testsuite/23_containers/forward_list/debug/60499.cc: New
932         * testsuite/23_containers/map/debug/60499.cc: New
933         * testsuite/23_containers/multimap/debug/60499.cc: New
934         * testsuite/23_containers/multiset/debug/60499.cc: New
935         * testsuite/23_containers/set/debug/60499.cc: New
936         * testsuite/23_containers/unordered_map/debug/60499.cc: New
937         * testsuite/23_containers/unordered_multimap/debug/60499.cc: New
938         * testsuite/23_containers/unordered_multiset/debug/60499.cc: New
939         * testsuite/23_containers/unordered_set/debug/60499.cc: New
940         * testsuite/23_containers/vector/debug/60499.cc: New
942 2014-03-05  Ed Smith-Rowland  <3dw4rd@verizon.net>
944         * doc/xml/manual/status_cxx2014.xml: Add new items and latest papers
945         for filesystem and fundamentals TS work items.
947 2014-03-04  Paolo Carlini  <paolo.carlini@oracle.com>
949         PR c++/60376
950         * testsuite/29_atomics/headers/atomic/types_std_c++0x_neg.cc:
951         Adjust dg-error directives.
953 2014-02-26  Tim Shen  <timshen91@gmail.com>
955         * include/bits/regex.tcc (match_results<>::format,
956         regex_replace<>): Update __out after calling std::copy.
957         * testsuite/28_regex/algorithms/regex_replace/char/dr2213.cc:
958         Add testcase.
959         * testsuite/28_regex/match_results/format.cc: Likewise.
961 2014-02-22  Marc Glisse  <marc.glisse@inria.fr>
963         PR libstdc++/60308
964         * include/bits/stl_deque.h (_Deque_base::_Deque_base(const
965         allocator_type&)): Remove redundant call to _M_initialize_map.
966         (deque::deque(const allocator_type&)): Initialize _Base with a
967         constructor that calls _M_initialize_map.
969         Partial revert:
971         2013-09-20  Marc Glisse  <marc.glisse@inria.fr>
972         PR libstdc++/58338
973         (_Deque_base) [_Deque_base(const allocator_type&)]: Add missing call to
974         _M_initialize_map.
976 2014-02-21  Ed Smith-Rowland  <3dw4rd@verizon.net>
978         Rename testsuite directory shared_mutex to shared_timed_mutex
979         for consistency.
980         * testsuite/30_threads/shared_mutex: Moved to...
981         * testsuite/30_threads/shared_timed_mutex: ...here
983 2014-02-20  Ed Smith-Rowland  <3dw4rd@verizon.net>
985         Rename shared_mutex to shared_timed_mutex per C++14 acceptance of N3891.
986         * include/std/shared_mutex: Rename shared_mutex to shared_timed_mutex.
987         * testsuite/30_threads/shared_lock/locking/2.cc: Ditto.
988         * testsuite/30_threads/shared_lock/locking/4.cc: Ditto.
989         * testsuite/30_threads/shared_lock/locking/1.cc: Ditto.
990         * testsuite/30_threads/shared_lock/locking/3.cc: Ditto.
991         * testsuite/30_threads/shared_lock/requirements/
992         explicit_instantiation.cc: Ditto.
993         * testsuite/30_threads/shared_lock/requirements/typedefs.cc: Ditto.
994         * testsuite/30_threads/shared_lock/cons/2.cc: Ditto.
995         * testsuite/30_threads/shared_lock/cons/4.cc: Ditto.
996         * testsuite/30_threads/shared_lock/cons/1.cc: Ditto.
997         * testsuite/30_threads/shared_lock/cons/6.cc: Ditto.
998         * testsuite/30_threads/shared_lock/cons/3.cc: Ditto.
999         * testsuite/30_threads/shared_lock/cons/5.cc: Ditto.
1000         * testsuite/30_threads/shared_lock/modifiers/2.cc: Ditto.
1001         * testsuite/30_threads/shared_lock/modifiers/1.cc: Ditto.
1002         * testsuite/30_threads/shared_mutex/requirements/
1003         standard_layout.cc: Ditto.
1004         * testsuite/30_threads/shared_mutex/cons/copy_neg.cc: Ditto.
1005         * testsuite/30_threads/shared_mutex/cons/1.cc: Ditto.
1006         * testsuite/30_threads/shared_mutex/cons/assign_neg.cc: Ditto.
1007         * testsuite/30_threads/shared_mutex/try_lock/2.cc: Ditto.
1008         * testsuite/30_threads/shared_mutex/try_lock/1.cc: Ditto.
1010 2014-02-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1012         * testsuite/22_locale/num_put/put/char/14220.cc: Don't xfail
1013         execution on i?86-*-solaris2.9, remove comment.
1014         * testsuite/22_locale/num_put/put/wchar_t/14220.cc: Likewise.
1016 2014-02-09  Richard Sandiford  <rdsandiford@googlemail.com>
1018         * config/abi/post/mips64-linux-gnu/32/baseline_symbols.txt: New file.
1019         * config/abi/post/mips64-linux-gnu/baseline_symbols.txt: Update.
1020         * config/abi/post/mips64-linux-gnu/64/baseline_symbols.txt: Likewise.
1022 2014-01-29  Jonathan Wakely  <jwakely@redhat.com>
1024         * include/bits/alloc_traits.h (allocator_traits::_S_allocate): Do
1025         not use varargs when argument could be non-POD.
1026         (__alloctr_rebind_helper): Eliminate static const bool member by
1027         using true_type and false_type.
1028         (allocator_traits::__allocate_helper): Likewise.
1029         (allocator_traits::__construct_helper): Likewise.
1030         (allocator_traits::__destroy_helper): Likewise.
1031         (allocator_traits::__maxsize_helper): Likewise.
1032         (allocator_traits::__select_helper): Likewise.
1033         * include/bits/ptr_traits.h (__ptrtr_rebind_helper): Likewise.
1034         * include/bits/stl_tree.h (_Rb_tree::operator=(const _Rb_tree&)):
1035         Remove redundant condition.
1036         * include/bits/stl_vector.h (vector::operator=(const vector&)):
1037         Likewise.
1038         (_Vector_impl::_M_allocate, _Vector_impl::_M_deallocate): Use
1039         indirection through __alloc_traits.
1040         * include/ext/alloc_traits.h (__allocator_always_compares_equal):
1041         Eliminate static const bool members by using true_type and false_type.
1042         (__gnu_cxx::__alloc_traits::__is_custom_pointer): Optimize.
1043         * testsuite/util/testsuite_allocator.h (PointerBase): Define.
1044         * testsuite/20_util/allocator_traits/members/allocate_hint_nonpod.cc:
1045         New.
1046         * testsuite/20_util/allocator_traits/requirements/typedefs2.cc: New.
1048         PR libstdc++/59829
1049         * include/bits/stl_vector.h (vector::data()): Call _M_data_ptr.
1050         (vector::_M_data_ptr): New overloaded functions to ensure empty
1051         vectors do not dereference the pointer.
1052         * testsuite/23_containers/vector/59829.cc: New.
1053         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
1054         Adjust dg-error line number.
1055         * testsuite/23_containers/vector/requirements/dr438/
1056         constructor_1_neg.cc: Likewise.
1057         * testsuite/23_containers/vector/requirements/dr438/
1058         constructor_2_neg.cc: Likewise.
1059         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
1060         Likewise.
1062         PR libstdc++/21609
1063         * include/ext/array_allocator.h: Add deprecated attribute.
1065         PR libstdc++/57226
1066         * doc/xml/manual/debug.xml (debug.gdb): Update documentation for
1067         installation and use of python printers.
1068         * doc/xml/manual/status_cxx2011.xml: Update.
1069         * doc/html/*: Regenerate.
1071 2014-01-28  Jonathan Wakely  <jwakely@redhat.com>
1072             Kyle Lippincott  <spectral@google.com>
1074         PR libstdc++/59656
1075         * include/bits/shared_ptr.h (shared_ptr): Add new non-throwing
1076         constructor and grant friendship to weak_ptr.
1077         (weak_ptr::lock()): Use new constructor.
1078         * include/bits/shared_ptr_base.h
1079         (_Sp_counted_base::_M_add_ref_lock_nothrow()): Declare new function
1080         and define specializations.
1081         (__shared_count): Add new non-throwing constructor.
1082         (__shared_ptr): Add new non-throwing constructor and grant friendship
1083         to __weak_ptr.
1084         (__weak_ptr::lock()): Use new constructor.
1085         * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error.
1086         * testsuite/20_util/shared_ptr/cons/void_neg.cc: Likewise.
1088 2014-01-27  Jonathan Wakely  <jwakely@redhat.com>
1090         PR libstdc++/59215
1091         * include/bits/shared_ptr_base.h
1092         (_Sp_counted_base<_S_atomic>::_M_add_ref_lock()): Use relaxed atomic
1093         load.
1095 2014-01-27  Jason Merrill  <jason@redhat.com>
1097         Core DR 475
1098         PR c++/41174
1099         PR c++/59224
1100         * libsupc++/eh_throw.cc (__cxa_throw): Set uncaughtExceptions.
1101         * libsupc++/eh_alloc.cc (__cxa_allocate_dependent_exception)
1102         (__cxa_allocate_exception): Don't set it here.
1104 2014-01-26  Jonathan Wakely  <jwakely@redhat.com>
1106         * include/bits/stl_map.h: Remove anachronistic comment.
1107         * include/bits/stl_multimap.h: Add whitespace.
1108         * testsuite/23_containers/map/modifiers/emplace/1.cc: Use
1109         -std=gnu++11 instead of -std=c++11.
1110         * testsuite/23_containers/map/operators/2.cc: Likewise.
1111         * testsuite/23_containers/multimap/modifiers/emplace/1.cc: Likewise.
1112         * testsuite/23_containers/multiset/modifiers/emplace/1.cc: Likewise.
1113         * testsuite/23_containers/set/modifiers/emplace/1.cc: Likewise.
1115         * acinclude.m4 (GLIBCXX_ENABLE_C99): Fix typo.
1116         * configure: Regenerate.
1118 2014-01-24  Ed Smith-Rowland  <3dw4rd@verizon.net>
1120         PR libstdc++/59531
1121         * testsuite/experimental/string_view/operations/copy/char/1.cc: New.
1122         * testsuite/experimental/string_view/operations/copy/wchar_t/1.cc: New.
1124 2014-01-24  Ed Smith-Rowland  <3dw4rd@verizon.net>
1125             Peter A. Bigot <pab@pabigot.com>
1127         PR libstdc++/59531
1128         * include/experimental/string_view
1129         (copy(_CharT*, size_type, size_type) const): Correct throw string.
1130         Correct copy start location.
1132 2014-01-24  Ed Smith-Rowland  <3dw4rd@verizon.net>
1133             Peter A. Bigot <pab@pabigot.com>
1135         PR libstdc++/59530
1136         * include/experimental/string_view (operator[](size_type) const):
1137         Fix one-off index error in debug check.
1138         * testsuite/experimental/string_view/element_access/char/1.cc: Don't
1139         test basic_string_view at size().
1140         * testsuite/experimental/string_view/element_access/wchar_t/1.cc: Ditto.
1142 2014-01-24  Ed Smith-Rowland  <3dw4rd@verizon.net>
1143             Peter A. Bigot <pab@pabigot.com>
1145         PR libstdc++/59529
1146         * include/experimental/string_view
1147         (basic_string_view(const _CharT*, size_type)): Don't care if len == 0.
1148         * testsuite/experimental/string_view/operations/substr/char/1.cc:
1149         Comment out catch of out_of_range; No terminating null
1150         in basic_string_view.  Check begin == end.
1151         * testsuite/experimental/string_view/operations/substr/wchar_t/1.cc:
1152         Ditto.
1154 2014-01-24  Jonathan Wakely  <jwakely@redhat.com>
1156         PR libstdc++/59548
1157         * include/debug/safe_base.h (_Safe_sequence_base): Define copy
1158         constructor to prevent it being implicitly defined as deleted, but
1159         do not copy anything.
1160         * include/debug/safe_unordered_base.h (_Safe_unordered_container_base):
1161         Define copy and move constructors similar to _Safe_sequence_base's.
1162         * testsuite/23_containers/unordered_map/59548.cc: New.
1164 2014-01-23  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
1165             Steve Ellcey  <sellcey@mips.com>
1167         * acinclude.m4 (GLIBCXX_CHECK_TMPNAM): New check for tmpnam
1168         function.
1169         * configure.ac: Use GLIBCXX_CHECK_TMPNAM.
1170         * (configure, config.h.in): Regenerate.
1171         * include/c_global/cstdio: Guard ::tmpnam with _GLIBCXX_USE_TMPNAM
1173 2014-01-23  Jonathan Wakely  <jwakely@redhat.com>
1175         * doc/xml/faq.xml (a-how_to_set_paths): Expand FAQ answer.
1176         * doc/xml/manual/abi.xml (abi.versioning.history): Correct symver.
1178         PR libstdc++/59872
1179         * include/bits/stl_map.h (map::operator=(map&&)): Fix comment.
1180         * include/bits/stl_multimap.h (multimap::operator=(multimap&&)):
1181         Likewise.
1182         * include/bits/stl_multiset.h (multiset::operator=(multiset&&)):
1183         Likewise.
1184         * include/bits/stl_set.h (set::operator=(set&&)): Likewise.
1185         * include/bits/stl_tree.h (_Rb_tree::_M_move_data): New overloaded
1186         functions to perform moving or copying of elements from rvalue tree.
1187         (_Rb_tree::_Rb_tree(_Rb_tree&&)): Use _M_move_data.
1188         (_Rb_tree::_Rb_tree(_Rb_tree&&, _Node_allocator&&)): Likewise.
1189         * testsuite/23_containers/map/59872.cc: New.
1190         * testsuite/23_containers/map/56613.cc: Remove duplicate include.
1192 2014-01-22  Jonathan Wakely  <jwakely@redhat.com>
1194         * include/bits/stl_deque.h (_Deque_impl): Move comment.
1196         PR libstdc++/58764
1197         * include/bits/stl_deque.h (deque::deque(const allocator_type&):
1198         Split into separate default constructor and constructor taking
1199         allocator.
1200         * include/bits/stl_list.h (list::list(const allocator_type&): Likewise.
1201         * include/bits/stl_vector.h (vector::vector(const allocator_type&):
1202         Likewise.
1203         * include/debug/deque (deque::deque(const allocator_type&)): Likewise.
1204         * include/debug/list (list::list(const _Allocator&)): Likewise.
1205         * include/debug/map.h (map::map(const _Compare&, const _Allocator&)):
1206         Likewise.
1207         * include/debug/multimap.h
1208         (multimap::multimap(const _Compare&, const _Allocator&)): Likewise.
1209         * include/debug/set.h (set::set(const _Compare&, const _Allocator&)):
1210         Likewise.
1211         * include/debug/multiset.h
1212         (multiset::multiset(const _Compare&, const _Allocator&)): Likewise.
1213         * include/debug/vector (vector::vector(const allocator_type&)):
1214         Likewise.
1215         * include/profile/deque (deque::deque(const _Allocator&)): Likewise.
1216         * include/profile/list (list::list(const _Allocator&)): Likewise.
1217         * include/profile/map.h
1218         (map::map(const _Compare&, const _Allocator&)): Likewise.
1219         * include/profile/multimap.h
1220         (multimap::multimap(const _Compare&, const _Allocator&)): Likewise.
1221         * include/profile/set.h
1222         (set::set(const _Compare&, const _Allocator&)): Likewise.
1223         * include/profile/multiset.h
1224         (multiset::multiset(const _Compare&, const _Allocator&)): Likewise.
1225         * include/profile/vector (vector::vector(const _Allocator&)):
1226         Likewise.
1227         * testsuite/23_containers/deque/58764.cc: New.
1228         * testsuite/23_containers/list/58764.cc: New.
1229         * testsuite/23_containers/map/58764.cc: New.
1230         * testsuite/23_containers/multimap/58764.cc: New.
1231         * testsuite/23_containers/set/58764.cc: New.
1232         * testsuite/23_containers/multiset/58764.cc: New.
1233         * testsuite/23_containers/vector/58764.cc: New.
1234         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
1235         Adjust dg-error line number.
1236         * testsuite/23_containers/deque/requirements/dr438/
1237         constructor_1_neg.cc: Likewise.
1238         * testsuite/23_containers/deque/requirements/dr438/
1239         constructor_2_neg.cc: Likewise.
1240         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
1241         Likewise.
1242         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
1243         Likewise.
1244         * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
1245         Likewise.
1246         * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
1247         Likewise.
1248         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
1249         Likewise.
1250         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
1251         Likewise.
1252         * testsuite/23_containers/vector/requirements/dr438/
1253         constructor_1_neg.cc: Likewise.
1254         * testsuite/23_containers/vector/requirements/dr438/
1255         constructor_2_neg.cc: Likewise.
1256         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
1257         Likewise.
1259         PR libstdc++/58764 (again)
1260         * include/bits/stl_list.h (list): Make default constructor's exception
1261         specification conditional.
1262         * include/bits/stl_vector.h (vector): Likewise.
1263         * testsuite/util/testsuite_allocator.h (SimpleAllocator): Add noexcept
1264         to default constructor.
1265         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
1266         Adjust dg-error line number.
1267         * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
1268         Likewise.
1269         * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
1270         Likewise.
1271         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
1272         Likewise.
1273         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
1274         Likewise.
1275         * testsuite/23_containers/vector/requirements/dr438/
1276         constructor_1_neg.cc: Likewise.
1277         * testsuite/23_containers/vector/requirements/dr438/
1278         constructor_2_neg.cc: Likewise.
1279         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
1280         Likewise.
1282 2014-01-21  Tim Shen  <timshen91@gmail.com>
1284         * include/bits/regex.tcc: Remove incorrect `nosubs` handling.
1285         * include/bits/regex_scanner.tcc: Handle `nosubs` correctly.
1286         * testsuite/28_regex/constants/syntax_option_type.cc: Add a test case.
1288 2014-01-21  Jonathan Wakely  <jwakely@redhat.com>
1290         PR libstdc++/56267
1291         * include/bits/hashtable.h (__cache_default): Do not depend on
1292         whether the hash function is DefaultConstructible or CopyAssignable.
1293         (_Hashtable): Adjust static assertions.
1294         * doc/xml/manual/containers.xml (containers.unordered.cache): Update.
1295         * testsuite/23_containers/unordered_set/instantiation_neg.cc: Adjust
1296         dg-error line number.
1297         * testsuite/23_containers/unordered_set/
1298         not_default_constructible_hash_neg.cc: Remove.
1300 2014-01-20  François Dumont  <fdumont@gcc.gnu.org>
1302         * scripts/create_testsuite_files: Add testsuite/experimental in
1303         the list of folders to search for tests.
1304         * include/experimental/string_view
1305         (basic_string_view<>::operator[]): Comment _GLIBCXX_DEBUG_ASSERT,
1306         incompatible with constexpr qualifier.
1307         (basic_string_view<>::front()): Likewise.
1308         (basic_string_view<>::back()): Likewise.
1309         * testsuite/experimental/string_view/element_access/wchar_t/2.cc:
1310         Merge dg-options directives into one.
1311         * testsuite/experimental/string_view/element_access/char/2.cc:
1312         Likewise. Remove invalid experimental namespace scope on
1313         string_view_type.
1315 2014-01-20  Jonathan Wakely  <jwakely@redhat.com>
1317         PR libstdc++/56267
1318         * include/bits/hashtable_policy.h (_Hash_code_base<... false>): Grant
1319         friendship to _Local_iterator_base<..., false>.
1320         (_Local_iterator_base): Give protected access to all existing members.
1321         (_Local_iterator_base::_M_curr()): New public accessor.
1322         (_Local_iterator_base::_M_get_bucket()): New public accessor.
1323         (_Local_iterator_base<..., false>::_M_init()): New function to manage
1324         the lifetime of the _Hash_code_base explicitly.
1325         (_Local_iterator_base<..., false>::_M_destroy()): Likewise.
1326         (_Local_iterator_base<..., false>): Define copy constructor and copy
1327         assignment operator that use new functions to manage _Hash_code_base.
1328         (operator==(const _Local_iterator_base&, const _Local_iterator_base&),
1329         operator==(const _Local_iterator_base&, const _Local_iterator_base&)):
1330         Use public API for _Local_iterator_base.
1331         * include/debug/safe_local_iterator.h (_Safe_local_iterator): Likewise.
1332         * include/debug/unordered_map (__debug::unordered_map::erase(),
1333         __debug::unordered_multimap::erase()): Likewise.
1334         * include/debug/unordered_set (__debug::unordered_set::erase(),
1335         __debug::unordered_multiset::erase()): Likewise.
1336         * testsuite/23_containers/unordered_set/56267-2.cc: New test.
1338 2014-01-19  Tim Shen  <timshen91@gmail.com>
1340         * include/bits/regex_compiler.h (_Comipler<>::_M_quantifier()):
1341         Fix parse error of multiple consecutive quantifiers like "a**".
1342         * include/bits/regex_compiler.tcc (_Comipler<>::_M_quantifier()):
1343         Likewise.
1344         * testsuite/28_regex/basic_regex/multiple_quantifiers.cc: New.
1346 2014-01-17  François Dumont  <fdumont@gcc.gnu.org>
1348         * include/profile/set.h (set): Implement C++11 allocator-aware
1349         container requirements.
1350         * include/profile/map.h (map): Likewise.
1351         * include/profile/multiset.h (multiset): Likewise.
1352         * include/profile/multimap.h (multimap): Likewise.
1353         * include/profile/set.h
1354         (set::operator=(const set&)): Define as default in C++11 mode.
1355         (set::operator=(set&&)): Likewise.
1356         * include/profile/map.h
1357         (map::operator=(const map&)): Likewise.
1358         (map::operator=(map&&)): Likewise.
1359         * include/profile/multiset.h
1360         (multiset::operator=(const multiset&)): Likewise.
1361         (multiset::operator=(multiset&&)): Likewise.
1362         * include/profile/multimap.h
1363         (multimap::operator=(const multimap&)): Likewise.
1364         (multimap::operator=(multimap&&)): Likewise.
1365         * include/profile/set.h (set::operator=(std::initializer_list<>)):
1366         Rely on the same operator from normal mode.
1367         * include/profile/map.h (map::operator=(std::initializer_list<>)):
1368         Likewise.
1369         * include/profile/multiset.h
1370         (multiset::operator=(std::initializer_list<>)): Likewise.
1371         * include/profile/multimap.h
1372         (multimap::operator=(std::initializer_list<>)): Likewise.
1373         * include/profile/set.h (set::swap(set&)): Add noexcept
1374         specification.
1375         * include/profile/map.h (map::swap(map&)): Likewise.
1376         * include/profile/multiset.h (multiset::swap(multiset&)): Likewise.
1377         * include/profile/multimap.h (multimap::swap(multimap&)): Likewise.
1379 2014-01-17  Tim Shen  <timshen91@gmail.com>
1381         * include/bits/regex_automaton.tcc (_StateSeq<>::_M_clone()): Do not
1382         use std::map.
1383         * include/bits/regex_automaton.h: Do not use std::set.
1384         * include/bits/regex_compiler.h (_BracketMatcher<>::_M_add_char(),
1385         _BracketMatcher<>::_M_add_collating_element(),
1386         _BracketMatcher<>::_M_add_equivalence_class(),
1387         _BracketMatcher<>::_M_make_range()): Likewise.
1388         * include/bits/regex_compiler.tcc (_BracketMatcher<>::_M_apply()):
1389         Likewise.
1390         * include/bits/regex_executor.h: Do not use std::queue.
1391         * include/bits/regex_executor.tcc (_Executor<>::_M_main(),
1392         _Executor<>::_M_dfs()): Likewise.
1393         * include/std/regex: Remove <map>, <set> and <queue>.
1395 2014-01-17  Tim Shen  <timshen91@gmail.com>
1397         * include/bits/regex.h (__compile_nfa<>(), basic_regex<>::basic_regex(),
1398         basic_regex<>::assign()): Change __compile_nfa to accept
1399         const _CharT* only.
1400         * include/bits/regex_compiler.h: Change _Compiler's template
1401         argument from <_FwdIter, _TraitsT> to <_TraitsT>.
1402         * include/bits/regex_compiler.tcc: Likewise.
1404 2014-01-17  Tim Shen  <timshen91@gmail.com>
1406         * include/bits/regex_compiler.h: Change _ScannerT into char-type
1407         templated.
1408         * include/bits/regex_scanner.h (_Scanner<>::_Scanner()): Separate
1409         _ScannerBase from _Scanner; Change _Scanner's template argument from
1410         _FwdIter to _CharT. Avoid use of std::map and std::set by using arrays
1411         instead.
1412         * include/bits/regex_scanner.tcc (_Scanner<>::_Scanner(),
1413         _Scanner<>::_M_scan_normal(), _Scanner<>::_M_eat_escape_ecma(),
1414         _Scanner<>::_M_eat_escape_posix(), _Scanner<>::_M_eat_escape_awk()):
1415         Likewise.
1416         * include/std/regex: Add <cstring> for using strchr.
1418 2014-01-17  Tim Shen  <timshen91@gmail.com>
1420         * bits/regex_automaton.tcc: Indentation fix.
1421         * bits/regex_compiler.h (__compile_nfa<>(), _Compiler<>,
1422         _RegexTranslator<> _AnyMatcher<>, _CharMatcher<>,
1423         _BracketMatcher<>): Add bool option template parameters and
1424         specializations to make matching more efficient and space saving.
1425         * bits/regex_compiler.tcc: Likewise.
1427 2014-01-15  François Dumont  <fdumont@gcc.gnu.org>
1429         PR libstdc++/59712
1430         * include/bits/hashtable_policy.h: Fix some long lines.
1431         * include/bits/hashtable.h (__hash_code_base_access): Define and
1432         use it to check its _M_bucket_index noexcept qualification. Use
1433         also in place of...
1434         (__access_protected_ctor): ...this.
1435         * testsuite/23_containers/unordered_set/instantiation_neg.cc:
1436         Adapt line number.
1437         * testsuite/23_containers/unordered_set/
1438         not_default_constructible_hash_neg.cc: Likewise.
1440 2014-01-13  François Dumont  <fdumont@gcc.gnu.org>
1442         * include/debug/set.h (set): Implement C++11 allocator-aware
1443         container requirements.
1444         * include/debug/map.h (map): Likewise.
1445         * include/debug/multiset.h (multiset): Likewise.
1446         * include/debug/multimap.h (multimap): Likewise.
1447         * include/debug/set.h (set::operator=(set&&)): Add noexcept and
1448         fix implementation regarding management of safe iterators.
1449         * include/debug/map.h (map::operator=(map&&)): Likewise.
1450         * include/debug/multiset.h (multiset::operator=(multiset&&)): Likewise.
1451         * include/debug/multimap.h (multimap::operator=(multimap&&)):
1452         Likewise.
1453         * include/debug/set.h (set::operator=(std::initializer_list<>)):
1454         Rely on the same operator from normal mode.
1455         * include/debug/map.h (map::operator=(std::initializer_list<>)):
1456         Likewise.
1457         * include/debug/multiset.h
1458         (multiset::operator=(std::initializer_list<>)): Likewise.
1459         * include/debug/multimap.h
1460         (multimap::operator=(std::initializer_list<>)): Likewise.
1461         * include/debug/set.h (set::swap(set&)): Add noexcept
1462         specification, add allocator equality check.
1463         * include/debug/map.h (map::swap(map&)): Likewise.
1464         * include/debug/multiset.h (multiset::swap(multiset&)): Likewise.
1465         * include/debug/multimap.h (multimap::swap(multimap&)): Likewise.
1467 2014-01-10  Jonathan Wakely  <jwakely@redhat.com>
1469         PR libstdc++/59698
1470         * doc/xml/manual/status_cxx1998.xml (iso.1998.specific): Markup
1471         and stylistic improvements.
1472         * doc/xml/manual/codecvt.xml (std.localization.facet.codecvt): Likewise
1473         and update for C++11.
1474         * doc/xml/manual/ctype.xml (std.localization.facet.ctype): Likewise.
1476         PR libstdc++/59687
1477         * doc/xml/manual/backwards_compatibility.xml
1478         (backwards.third.nocreate_noreplace): Correct and expand.
1480         PR libstdc++/59699
1481         * doc/xml/manual/support.xml (std.support.types.null): Update links.
1483 2014-01-09  Jonathan Wakely  <jwakely@redhat.com>
1485         PR libstdc++/59738
1486         * include/bits/stl_vector.h (vector<>::_M_move_assign): Restore
1487         support for non-Movable types.
1489         PR libstdc++/59680
1490         * src/c++11/thread.cc (__sleep_for): Fix call to ::sleep.
1492 2014-01-08  François Dumont  <fdumont@gcc.gnu.org>
1494         * include/bits/stl_vector.h (std::vector<>::_M_move_assign): Pass
1495         *this allocator instance when building temporary vector instance
1496         so that *this allocator does not get moved.
1497         * include/debug/safe_base.h
1498         (_Safe_sequence_base(_Safe_sequence_base&&)): New.
1499         * include/debug/vector (__gnu_debug::vector<>(vector&&)): Use new
1500         move constructor from _Safe_sequence_base.
1501         (__gnu_debug::vector<>(vector&&, const allocator_type&)): Swap
1502         safe iterators if the instance is moved.
1503         (__gnu_debug::vector<>::operator=(vector&&)): Likewise.
1504         * testsuite/23_containers/vector/allocator/move.cc (test01): Add
1505         check on a vector iterator.
1506         * testsuite/23_containers/vector/allocator/move_assign.cc
1507         (test02): Likewise.
1508         (test03): New, test with a non-propagating allocator.
1509         * testsuite/23_containers/vector/debug/move_assign_neg.cc: New.
1511 2014-01-07  Tim Shen  <timshen91@gmail.com>
1513         * include/bits/regex_compiler.h (_AnyMatcher<>::_AnyMatcher(),
1514         _AnyMatcher<>::operator(), _AnyMatcher<>::_M_apply(),
1515         _CharMatcher<>::_CharMatcher(), _CharMatcher<>::_M_translate(),
1516         _BracketMatcher<>::_BracketMatcher(), _BracketMatcher<>::operator(),
1517         _BracketMatcher<>::_M_add_char(),
1518         _BracketMatcher<>::_M_add_collating_element(),
1519         _BracketMatcher<>::_M_add_equivalence_class(),
1520         _BracketMatcher<>::_M_add_character_class(),
1521         _BracketMatcher<>::_M_make_range(), _BracketMatcher<>::_M_ready(),
1522         _BracketMatcher<>::_M_apply(), _BracketMatcher<>::_M_make_cache()):
1523         Fix _AnyMatcher behavior of POSIX style and move _M_flags
1524         to template parameter; Add cache for _BracketMatcher. Adjust
1525         declarations from here...
1526         * include/bits/regex.h (basic_regex<>::imbue()): ...to here. Also,
1527         imbuing a regex will trigger a recompilation to rebuild the cache.
1528         * include/bits/regex_compiler.tcc (_Compiler<>::_M_atom(),
1529         _Compiler<>::_M_bracket_expression()): Adjust matchers' caller for
1530         different template bool parameters.
1531         * include/bits/regex_executor.h: Remove unnecessary declarations.
1532         * include/std/regex: Adjust including orders.
1533         * testsuite/28_regex/traits/char/user_defined.cc: New.
1534         * testsuite/28_regex/traits/wchar_t/user_defined.cc: New.
1536 2014-01-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1538         * config/abi/post/solaris2.9/baseline_symbols.txt: Regenerate.
1539         * config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Likewise.
1540         * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
1541         * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
1542         * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
1544 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
1546         Update copyright years
1548 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
1550         * testsuite/18_support/new_handler.cc,
1551         testsuite/18_support/terminate_handler.cc,
1552         testsuite/18_support/unexpected_handler.cc: Use the standard form for
1553         the copyright notice.
1555 Copyright (C) 2014 Free Software Foundation, Inc.
1557 Copying and distribution of this file, with or without modification,
1558 are permitted in any medium without royalty provided the copyright
1559 notice and this notice are preserved.