gcc/ChangeLog
[official-gcc.git] / libstdc++-v3 / ChangeLog
blobfabbb803de3104398cedc087370bca6e1977dfcc
1 2013-05-23  Matthias Klose  <doko@ubuntu.com>
3         * include/Makefile.am (bits_headers): Remove ${bits_host_headers}.
4         (ext_headers): Remove ${ext_host_headers}.
5         (stamp-${host_alias}): Create ${host_builddir}/../ext.
6         (stamp-host): Link ${bits_host_headers} and ${ext_host_headers}.
7         (install-headers): Install ${bits_host_headers} and ${ext_host_headers}.
8         * include/Makefile.in: Regenerate.
9         * include/ext/random: Include ext/opt_random.h.
11 2013-05-22  Jonathan Wakely  <jwakely.gcc@gmail.com>
13         * acinclude.m4 (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Add KIND=auto to
14         enable features if target OS is known to support them.
15         * configure.ac (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Default to 'auto'.
16         * configure: Regenerate.
18 2013-05-21  Jonathan Wakely  <jwakely.gcc@gmail.com>
20         PR libstdc++/57336
21         * include/std/functional (__invoke): Do not form function types with
22         abstract return type.
23         * testsuite/20_util/reference_wrapper/invoke-3.cc: New.
25 2013-05-19  Jonathan Wakely  <jwakely.gcc@gmail.com>
27         * include/std/tuple (get): Implement N3670.
28         * include/std/utility (get): Likewise.
29         * testsuite/20_util/pair/get.cc: Move to ...
30         * testsuite/20_util/pair/astuple/get.cc: Here.
31         * testsuite/20_util/pair/astuple/astuple.cc: New.
32         * testsuite/20_util/pair/astuple/constexpr_get.cc: New.
33         * testsuite/20_util/pair/astuple/constexpr_get_by_type.cc: New.
34         * testsuite/20_util/pair/astuple/get_by_type.cc: New.
35         * testsuite/20_util/pair/astuple/get_by_type_neg.cc: New.
36         * testsuite/20_util/pair/astuple/get_neg.cc: New.
37         * testsuite/20_util/tuple/element_access/constexpr_get_by_type.cc: New.
38         * testsuite/20_util/tuple/element_access/get2_by_type.cc: New.
39         * testsuite/20_util/tuple/element_access/get_by_type.cc: New.
41 2013-05-19  Paolo Carlini  <paolo.carlini@oracle.com>
43         * Revert last commit.
45 2013-05-19  Matthias Klose  <doko@ubuntu.com>
47         * include/Makefile.am (bits_headers): Remove ${bits_host_headers}.
48         (ext_headers): Remove ${ext_host_headers}.
49         (stamp-${host_alias}): Create ${host_builddir}/../ext.
50         (stamp-host): Link ${bits_host_headers} and ${ext_host_headers}.
51         (install-headers): Install ${bits_host_headers} and ${ext_host_headers}.
52         * include/Makefile.in: Regenerate.
54 2013-05-18  Jonathan Wakely  <jwakely.gcc@gmail.com>
56         * include/std/system_error (error_category::error_category()): LWG
57         2145: Declare public and constexpr.
58         * src/c++11/system_error.cc (error_category::error_category()): Move
59         definition to ...
60         * src/c++11/compatibility-c++0x.cc: Here.
62 2013-05-18  Jonathan Wakely  <jwakely.gcc@gmail.com>
64         * include/std/typeindex (type_index::name()): LWG 2144: Add noexcept.
66 2013-05-18  Jonathan Wakely  <jwakely.gcc@gmail.com>
68         * include/bits/unique_ptr.h (make_unique): Declare inline.
69         (unique_ptr<T[],D>::reset()): Combine two overloads into one.
70         (default_delete, unique_ptr): Add doxygen comments.
71         * include/bits/shared_ptr_base.h: Improve doxygen comments.
72         * include/bits/shared_ptr.h: Likewise.
73         * testsuite/20_util/default_delete/48631_neg.cc: Adjust dg-error line
74         number.
75         * testsuite/20_util/unique_ptr/assign/48635_neg.cc: Likewise.
77 2013-05-18  Jonathan Wakely  <jwakely.gcc@gmail.com>
79         * doc/xml/manual/status_cxx2011.xml: Fix markup error.
81 2013-05-18  Jonathan Wakely  <jwakely.gcc@gmail.com>
83         * doc/xml/manual/status_cxx2011.xml: Fix markup error.
85 2013-05-18  Jonathan Wakely  <jwakely.gcc@gmail.com>
87         * include/std/utility (exchange): Define.
88         * testsuite/20_util/exchange/1.cc: New.
90 2013-05-18  Jonathan Wakely  <jwakely.gcc@gmail.com>
92         * include/bits/unique_ptr.h (make_unique): Define.
93         * testsuite/20_util/unique_ptr/creation/single.cc: New.
94         * testsuite/20_util/unique_ptr/creation/array.cc: New.
95         * testsuite/20_util/unique_ptr/creation/array_neg.cc: New.
97 2013-05-15  François Dumont  <fdumont@gcc.gnu.org>
99         * python/libstdcxx/v6/printers.py (Tr1HashtableIterator): Fix
100         rendering of std::tr1 unordered containers iterator.
101         (StdHashtableIterator): New, render std unordered containers iterator.
102         * testsuite/libstdc++-prettyprinters/tr1.cc: New.
104 2013-05-15  Jonathan Wakely  <jwakely.gcc@gmail.com>
106         * include/bits/basic_string.h (getline): Fix doxygen comments.
108 2013-05-14  Paolo Carlini  <paolo.carlini@oracle.com>
110         * include/bits/stl_iterator.h (__normal_iterator<>::_M_const_cast):
111         Use std::pointer_traits.
113 2013-05-13  Benjamin Kosnik  <bkoz@redhat.com>
115         * libsupc++/Makefile.am (sources): Add bad_array_length.cc,
116         bad_array_new.cc.
117         * libsupc++/Makefile.in: Regenerate.
118         * libsupc++/bad_array_length.cc: Tweak.
119         * libsupc++/bad_array_new.cc: Tweak.
121 2013-05-10  Paolo Carlini  <paolo.carlini@oracle.com>
123         PR libstdc++/54577
124         * include/bits/stl_deque.h (erase): Fix signatures in C++11 mode.
125         (_Deque_iterator<>::_M_const_cast): Add.
126         (deque<>::_M_erase): Declare.
127         * include/bits/deque.tcc: ... and define.
128         * include/bits/stl_list.h (erase): Fix signatures in C++11 mode.
129         (_List_const_iterator<>::_M_const_cast): Add.
130         * include/bits/list.tcc (erase (iterator)): Fix.
131         * include/bits/stl_iterator.h (__normal_iterator<>::_M_const_cast):
132         Add; include <ext/cast.h>.
133         * include/bits/stl_vector.h (erase): Fix signatures in C++11 mode.
134         (vector<>::_M_erase): Declare.
135         * include/bits/stl_bvector.h: Likewise.
136         * include/bits/vector.tcc (vector<>::_M_erase): Define.
137         * include/ext/vstring.h (erase): Fix signatures in C++11 mode.
138         * include/debug/deque: Adjust.
139         * include/debug/list: Likewise.
140         * include/debug/vector: Likewise.
141         * include/profile/deque: Likewise.
142         * include/profile/list: Likewise.
143         * include/profile/vector: Likewise.
144         * testsuite/util/exception/safety.h (erase_base<deque>,
145         erase_base<deque>, erase_base<vector>): Remove.
146         (erase_base<__versa_string>): Update.
147         * testsuite/ext/vstring/modifiers/char/54577.cc: New.
148         * testsuite/ext/vstring/modifiers/wchar_t/54577.cc: Likewise.
149         * testsuite/23_containers/deque/modifiers/erase/54577.cc: Likewise.
150         * testsuite/23_containers/list/modifiers/erase/54577.cc: Likewise.
151         * testsuite/23_containers/vector/bool/modifiers/erase/54577.cc:
152         Likewise.
153         * testsuite/23_containers/vector/modifiers/erase/54577.cc: Likewise.
154         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
155         Adjust dg-error line numbers.
156         * testsuite/23_containers/deque/requirements/dr438/
157         constructor_1_neg.cc: Likewise.
158         * testsuite/23_containers/deque/requirements/dr438/
159         constructor_2_neg.cc: Likewise.
160         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
161         Likewise.
162         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
163         Likewise.
164         * testsuite/23_containers/list/requirements/dr438/
165         constructor_1_neg.cc: Likewise.
166         * testsuite/23_containers/list/requirements/dr438/
167         constructor_2_neg.cc: Likewise.
168         * testsuite/23_containers/list/requirements/dr438/
169         insert_neg.cc: Likewise.
170         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
171         Likewise.
172         * testsuite/23_containers/vector/requirements/dr438/
173         constructor_1_neg.cc: Likewise.
174         * testsuite/23_containers/vector/requirements/dr438/
175         constructor_2_neg.cc: Likewise.
176         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
177         Likewise.
179 2013-05-09  Uros Bizjak  <ubizjak@gmail.com>
181         * testsuite/util/testsuite_abi.cc (check_version): Add CXXABI_1.3.8.
183 2013-05-08  Jason Merrill  <jason@redhat.com>
185         Add std::bad_array_length (N3639)
186         * libsupc++/new: Add std::bad_array_length.
187         * libsupc++/bad_array_length.cc: New.
188         * libsupc++/eh_aux_runtime.cc: Add __cxa_bad_array_length.
189         * libsupc++/Makefile.in: Build them.
190         * config/abi/pre/gnu.ver: Add new symbols.
191         * config/abi/pre/gnu-versioned-namespace.ver: Add new symbols.
193 2013-05-08  Andi Kleen  <ak@linux.intel.com>
195         PR target/55947
196         * libstdc++-v3/include/bits/atomic_base.h
197         (_GLIBCXX_ALWAYS_INLINE): Add new macro.
198         (atomic_thread_fence, atomic_signal_fence, test_and_set,
199         clear, store, load, exchange, compare_exchange_weak)
200         compare_exchange_strong, fetch_add, fetch_sub, fetch_and,
201         fetch_or, fetch_xor): Mark _GLIBCXX_ALWAYS_INLINE.
203 2013-05-08  Jason Merrill  <jason@redhat.com>
205         Add std::bad_array_new_length (N2932)
206         * libsupc++/new: Add std::bad_array_new_length.
207         * libsupc++/bad_array_new.cc: New.
208         * libsupc++/eh_aux_runtime.cc: Add __cxa_throw_bad_array_new_length.
209         * libsupc++/Makefile.in: Build them.
210         * config/abi/pre/gnu.ver: Add new symbols.
211         * config/abi/pre/gnu-versioned-namespace.ver: Add new symbols.
213 2013-05-08  Andoni Morales Alastruey <ylatuya@gmail.com>
215         PR libstdc++/57212
216         * include/Makefile.am (_GLIBCXX___MINGW32_GLIBCXX___): Modify
217         to __MINGW32__.
218         * include/Makefile.in: Regenerated.
220 2013-05-07  François Dumont  <fdumont@gcc.gnu.org>
222         * include/profile/unordered_base.h: New.
223         * include/Makefile.am: Add new profile header.
224         * include/Makefile.in: Regenerate.
225         * include/profile/impl/profiler.h
226         (__profcxx_inefficient_hash_is_on): New macro.
227         * include/profile/unordered_map (std::profile::unordered_map<>):
228         Use new _Unordered_profile base class. Use default implementations
229         for special functions.
230         (std::profile::unordered_multimap<>): Likewise.
231         * include/profile/unordered_set (std::profile::unordered_set<>):
232         Likewise.
233         (std::profile::unordered_multiset<>): Likewise.
234         * testsuite/23_containers/unordered_multiset/55043.cc: Fix
235         MoveOnly equality operator signature.
237 2013-05-02  Paolo Carlini  <paolo.carlini@oracle.com>
239         * testsuite/tr1/4_metaprogramming/integral_constant/requirements/
240         constexpr_data.cc: Move...
241         * testsuite/20_util/integral_constant/requirements/constexpr_data.cc:
242         ... here.
243         * testsuite/20_util/integral_constant/requirements/
244         explicit_instantiation.cc: New.
245         * testsuite/20_util/integral_constant/requirements/typedefs.cc:
246         Likewise.
247         * testsuite/20_util/integral_constant/static_definition.cc: Likewise.
248         * testsuite/20_util/integral_constant/true_false_type_typedefs.cc:
249         Likewise.
250         * testsuite/20_util/integral_constant/true_false_value.cc: Likewise.
251         * testsuite/20_util/integral_constant/operator_value_type.cc: Likewise.
253 2013-05-02  Paolo Carlini  <paolo.carlini@oracle.com>
255         * include/std/type_traits (is_null_pointer): Add.
256         (__is_nullptr_t): Implement in terms of the latter.
257         (is_fundamental, is_scalar): Adjust.
258         * testsuite/20_util/is_null_pointer/requirements/
259         explicit_instantiation.cc: New.
260         * testsuite/20_util/is_null_pointer/requirements/typedefs.cc:
261         Likewise.
262         * testsuite/20_util/is_null_pointer/value.cc: Likewise.
263         * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
264         line number.
265         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
266         Likewise.
267         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
268         Likewise.
270 2013-05-02  Paolo Carlini  <paolo.carlini@oracle.com>
272         * include/c_global/cstdio: Add comment about LWG 2249.
273         * include/c_std/cstdio: Likewise.
275 2013-04-28  Jonathan Wakely  <jwakely.gcc@gmail.com>
277         * include/bits/hashtable_policy.h (_Hashtable_ebo_helper): Fix
278         comment.
279         * include/std/mutex (__recursive_mutex_base): Likewise.
281 2013-04-28  Jonathan Wakely  <jwakely.gcc@gmail.com>
283         PR libstdc++/51365
284         * include/bits/shared_ptr_base (_Sp_ebo_helper): Helper class to
285         implement EBO safely.
286         (_Sp_counted_base::_M_get_deleter): Add noexcept.
287         (_Sp_counter_ptr): Use noexcept instead of comments.
288         (_Sp_counted_deleter): Likewise. Use _Sp_ebo_helper.
289         (_Sp_counted_ptr_inplace): Likewise.
290         * testsuite/20_util/shared_ptr/cons/51365.cc: New.
291         * testsuite/20_util/shared_ptr/cons/52924.cc: Add rebind member to
292         custom allocator and test construction with custom allocator.
293         * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error
294         line number.
296 2013-04-26  Paolo Carlini  <paolo.carlini@oracle.com>
298         * testsuite/23_containers/unordered_set/insert/move_range.cc: Adjust
299         dialect to -std=gnu++11.
301 2013-04-26  François Dumont  <fdumont@gcc.gnu.org>
303         * include/bits/hashtable_policy.h
304         (_Insert_base<>::insert<_It>(_It, _It)): Enable move semantics.
305         * testsuite/23_containers/unordered_set/insert/move_range.cc: New.
307 2013-04-26  Paolo Carlini  <paolo.carlini@oracle.com>
309         * include/c_global/cstdio (gets): Provide only in C++98 and C++11.
310         * include/c_std/cstdio (gets): Likewise.
311         * testsuite/27_io/headers/cstdio/functions_std.cc: Adjust.
313 2013-04-25  Paolo Carlini  <paolo.carlini@oracle.com>
315         PR libstdc++/57065
316         * include/debug/unordered_map (unordered_map, unordered_multimap):
317         Fix default allocator type.
318         * include/profile/unordered_map (unordered_map, unordered_multimap):
319         Likewise.
320         * include/bits/unordered_map.h: Fix comments.
322 2013-04-24  Jonathan Wakely  <jwakely.gcc@gmail.com>
324         PR libstdc++/56905
325         * libsupc++/exception_ptr.h (copy_exception): Deprecate and
326         move implementation to make_exception_ptr.
327         * include/std/future (_State_base::_M_break_promise): Replace
328         copy_exception with make_exception_ptr.
329         * testsuite/18_support/exception_ptr/move.cc: Likewise.
330         * testsuite/18_support/exception_ptr/rethrow_exception.cc: Likewise.
331         * testsuite/30_threads/future/members/get2.cc: Likewise.
332         * testsuite/30_threads/promise/members/set_exception.cc: Likewise.
333         * testsuite/30_threads/promise/members/set_exception2.cc: Likewise.
334         * testsuite/30_threads/promise/members/set_value2.cc: Likewise.
335         * testsuite/30_threads/shared_future/members/get2.cc: Likewise.
337 2013-04-22  Jason Merrill  <jason@redhat.com>
339         * src/c++11/hashtable_c++0x.cc: Include ext/aligned_buffer.h.
341         * testsuite/lib/prune.exp (libstdc++-dg-prune): Also ignore "In
342         substitution" lines.
344         * testsuite/20_util/is_assignable/value.cc: Comment out tests involving
345         function-cv-quals.
346         * testsuite/20_util/is_constructible/value-2.cc: Likewise.
347         * testsuite/20_util/reference_wrapper/result_type.cc: Likewise.
348         * testsuite/20_util/reference_wrapper/typedefs-2.cc: Likewise.
350 2013-04-22  François Dumont  <fdumont@gcc.gnu.org>
352         * include/bits/hashtable_policy.h: Add C++11 allocator support.
353         * include/bits/hashtable.h: Likewise.
354         * include/bits/unordered_set.h: Likewise.
355         * include/bits/unordered_map.h: Likewise.
356         * include/debug/unordered_set: Likewise.
357         * include/debug/unordered_map: Likewise.
358         * include/std/unordered_set: Remove bits/algobase.h
359         include. Replace bits/alloc_traits.h by ext/alloc_traits.h.
360         * include/std/unordered_map: Likewise.
361         * include/ext/throw_allocator.h: Add checks on calls to allocator
362         construct/destroy.
363         (std::hash<__gnu_cxx::throw_value_limit>): Add conditional throw.
364         (std::hash<__gnu_cxx::throw_value_random>): Likewise.
365         * testsuite/util/regression/rand/priority_queue
366         /container_rand_regression_test.tcc: Adapt.
367         * testsuite/util/regression/rand/assoc
368         /container_rand_regression_test.tcc: Likewise.
369         * testsuite/util/testsuite_counter_type.h: Add count of destructors.
370         * testsuite/23_containers/unordered_set
371         /not_default_constructible_hash_neg.cc: Adjust dg-error line number.
372         * testsuite/23_containers/unordered_set/instantiation_neg.cc: Likewise.
373         * testsuite/23_containers/unordered_set/allocator/copy.cc: New.
374         * testsuite/23_containers/unordered_set/allocator/copy_assign.cc: New.
375         * testsuite/23_containers/unordered_set/allocator/minimal.cc: New.
376         * testsuite/23_containers/unordered_set/allocator/move_assign.cc: New.
377         * testsuite/23_containers/unordered_set/allocator/noexcept.cc: New.
378         * testsuite/23_containers/unordered_set/allocator/swap.cc: New.
379         * testsuite/23_containers/unordered_multiset/allocator/copy.cc: New.
380         * testsuite/23_containers/unordered_multiset/allocator/copy_assign.cc:
381         New.
382         * testsuite/23_containers/unordered_multiset/allocator/minimal.cc: New.
383         * testsuite/23_containers/unordered_multiset/allocator/move_assign.cc:
384         New.
385         * testsuite/23_containers/unordered_multiset/allocator/noexcept.cc: New.
386         * testsuite/23_containers/unordered_multiset/allocator/swap.cc: New.
387         * testsuite/23_containers/unordered_map/allocator/copy.cc: New.
388         * testsuite/23_containers/unordered_map/allocator/copy_assign.cc: New.
389         * testsuite/23_containers/unordered_map/allocator/minimal.cc: New.
390         * testsuite/23_containers/unordered_map/allocator/move_assign.cc: New.
391         * testsuite/23_containers/unordered_map/allocator/noexcept.cc:
392         New.
393         * testsuite/23_containers/unordered_map/allocator/swap.cc: New.
394         * testsuite/23_containers/unordered_multimap/allocator/copy.cc: New.
395         * testsuite/23_containers/unordered_multimap/allocator/copy_assign.cc:
396         New.
397         * testsuite/23_containers/unordered_multimap/allocator/minimal.cc: New.
398         * testsuite/23_containers/unordered_multimap/allocator/move_assign.cc:
399         New.
400         * testsuite/23_containers/unordered_multimap/allocator/noexcept.cc: New.
401         * testsuite/23_containers/unordered_multimap/allocator/swap.cc: New.
403 2013-04-22  Paolo Carlini  <paolo.carlini@oracle.com>
405         * include/std/type_traits (is_signed): Simplify.
406         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
407         Adjust dg-error line numbers.
408         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
409         Likewise.
410         * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
412 2013-04-22  Paolo Carlini  <paolo.carlini@oracle.com>
414         N3669
415         * include/std/complex (complex<float>::real, complex<float>::imag,
416         complex<double>::real, complex<double>::imag,
417         complex<long double>::real, complex<long double>::imag): Declare
418         as const member functions.
419         * include/std/type_traits (integral_constant<>::operator value_type):
420         Likewise.
422 2013-04-22  Paolo Carlini  <paolo.carlini@oracle.com>
424         PR libstdc++/57010
425         * include/bits/stl_heap.h (pop_heap): Avoid self move-assignment.
426         * testsuite/25_algorithms/pop_heap/57010.cc: New.
428 2013-04-21  Evgeniy Stepanov  <eugenis@google.com>
430         * src/c++11/system_error.cc (generic_category_instance): Add
431         initializer.
432         (system_category_instance): Likewise.
433         * src/c++11/future.cc (__fec): Likewise.
435 2013-04-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
437         * doc/xml/manual/extensions.xml: Fix anachronism.
439 2013-04-09  Tom Tromey  <tromey@redhat.com>
441         * configure, config.h.in: Rebuild.
442         * configure.ac: Use GLIBCXX_CHECK_SDT_H.  Don't check for
443         sys/sdt.h.
444         * acinclude.m4 (GLIBCXX_CHECK_SDT_H): New defun.
446 2013-04-09  Uros Bizjak  <ubizjak@gmail.com>
448         * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Update.
450 2013-04-08  Paolo Carlini  <paolo.carlini@oracle.com>
452         * testsuite/libstdc++-prettyprinters/cxx11.cc: Include <memory>.
454 2013-04-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
456         * include/Makefile.am: Add ext/aligned_buffer.h
457         * include/Makefile.in: Regenerate.
458         * include/ext/aligned_buffer.h: New.
459         * include/std/future (_Result): Use __aligned_buffer.
460         * include/bits/forward_list.h (_Fwd_list_node): Likewise.
461         * include/bits/shared_ptr_base.h (_Sp_counted_ptr_inplace): Likewise.
462         * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error line
463         number.
465 2013-04-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
467         * include/bits/forward_list.h: Only include required headers.
468         (forward_list::reference): Define directly, not using __alloc_traits.
469         (forward_list::const_reference): Likewise.
471 2013-04-07  François Dumont  <fdumont@gcc.gnu.org>
473         * include/std/functional (_Derives_from_unary_function): Remove.
474         (_Derives_from_binary_function): Remove.
475         * include/std/type_traits (__sfinae_types): Remove.
476         (__is_assignable_helper): Adapt.
477         (__is_convertible_helper): Adapt.
478         (_GLIBCXX_HAS_NESTED_TYPE): Adapt.
479         Remove several explicit instantiations of integral_constant.
480         * testsuite/20_util/reference_wrapper/typedefs-3.cc: Adapt.
481         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
482         Adapt dg-error line number.
483         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
484         Likewise.
485         * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
486         * testsuite/20_util/bind/ref_neg.cc: Likewise.
488 2013-04-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
490         PR libstdc++/56841
491         * libsupc++/eh_ptr.cc (rethrow_exception): Use get_unexpected() and
492         get_terminate() accessors.
493         * libsupc++/eh_throw.cc (__cxa_throw): Likewise.
494         * libsupc++/eh_terminate.cc: Use mutex when atomic builtins not
495         available.
496         * libsupc++/new_handler.cc: Likewise.
498 2013-04-04  Jonathan Wakely  <jwakely.gcc@gmail.com>
500         * testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.19 version.
502 2013-04-03  Paolo Carlini  <paolo.carlini@oracle.com>
504         PR libstdc++/56834
505         * include/debug/array (tuple_size, tuple_element): Do not declare.
506         * include/profile/array: Likewise.
507         * testsuite/23_containers/array/tuple_interface/
508         tuple_element_debug_neg.cc: Adjust dg-error line number.
510 2013-04-03  Jonathan Wakely  <jwakely.gcc@gmail.com>
512         * libsupc++/exception (get_terminate(), get_unexpected()): Declare.
513         * libsupc++/eh_terminate.cc (get_terminate() , set_unexpected()):
514         Define.
515         (set_terminate(terminate_handler)): Set atomically.
516         (set_unexpected(terminate_handler)): Likewise.
517         * libsupc++/new (get_new_handler()): Declare.
518         * libsupc++/new_handler.cc (get_new_handler()): Define.
519         (set_new_handler(new_handler)): Set atomically.
520         (__new_handler): Use internal linkage.
521         * libsupc++/new_op.cc (operator new): Use get_new_handler().
522         * libsupc++/new_opnt.cc (operator new): Likewise.
523         * acinclude.m4: Bump libtool_VERSION to 6:19:0.
524         * configure: Regenerate.
525         * libsupc++/Makefile.am: Compile above files with -std=gnu++11.
526         * libsupc++/Makefile.in: Regenerate.
527         * config/abi/pre/gnu.ver: Add new exports.
528         * doc/xml/manual/status_cxx2011.xml: Update.
529         * testsuite/18_support/headers/exception/synopsis.cc: Check accessors
530         for handlers.
531         * testsuite/18_support/headers/new/synopsis.cc: Likewise.
532         * testsuite/18_support/new_handler.cc: New.
533         * testsuite/18_support/terminate_handler.cc: New.
534         * testsuite/18_support/unexpected_handler.cc: New.
536 2013-04-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
538         * doc/xml/manual/appendix_contributing.xml: Remove broken link and
539         defer to general documentation on contributing to GCC.
540         * doc/html/*: Regenerate.
542 2013-03-30  Gerald Pfeifer  <gerald@pfeifer.com>
544         * doc/xml/manual/allocator.xml: Adjust link to Dr.Dobb's article.
546         * doc/xml/manual/appendix_contributing.xml: Adjust link to GNU
547         Coding Standards.
549         * doc/xml/manual/debug.xml: Adjust link for ThreadSanitizer.
551         * doc/xml/manual/debug_mode.xml: Adjust link for SafeSTL.
553         * doc/xml/manual/documentation_hacking.xml: Adjust Doxygen link.
555         * doc/xml/manual/messages.xml: Adjust link to Java API specs.
557         * doc/xml/manual/policy_data_structures: Remove direct link to
558         IBM Haifa Research Labs.
560         * doc/xml/manual/policy_data_structures_biblio.xml: Adjust links
561         for biblio.maverik_lowerbounds and biblio.nelson96stlpq.
563         * doc/xml/manual/profile_mode.xml: Adjust two links to acm.org
564         papers.
566         * doc/xml/manual/shared_ptr.xml: Use canonical address for
567         www.boost.org.
569 2013-03-27  Kai Tietz  <ktietz@redhat.com>
571         * crossconfig.m4: Add support for cygwin x64 target.
572         * configure: Regenerated.
574 2013-03-25  Kai Tietz  <ktietz@redhat.com>
576         * testsuite/18_support/50594.cc: For mingw-targets use only static
577         libstdc++-version.
578         * testsuite/19_diagnostics/error_category/operators/equal.cc
579         * testsuite/19_diagnostics/error_code/cons/1.cc
580         * testsuite/19_diagnostics/error_code/operators/bool.cc
581         * testsuite/19_diagnostics/error_code/operators/equal.cc
582         * testsuite/19_diagnostics/error_code/operators/not_equal.cc
583         * testsuite/19_diagnostics/error_condition/cons/1.cc
584         * testsuite/19_diagnostics/error_condition/operators/bool.cc
585         * testsuite/19_diagnostics/error_condition/operators/equal.cc
586         * testsuite/19_diagnostics/error_condition/operators/not_equal.cc
587         * testsuite/23_containers/set/requirements/exception/basic.cc
588         * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc
589         * testsuite/lib/dg-options.exp (dg-additional-options): New option.
591 2013-03-24  Jonathan Wakely  <jwakely.gcc@gmail.com>
593         PR libstdc++/56170
594         * include/ext/debug_allocator.h (debug_allocator): Add missing members
595         to meet allocator requirements.
596         * testsuite/ext/debug_allocator/56170.cc: New.
598 2013-03-22  Paolo Carlini  <paolo.carlini@oracle.com>
600         PR libstdc++/56678
601         * include/std/chrono (__is_ratio): Uglify T.
603 2013-03-18  Paolo Carlini  <paolo.carlini@oracle.com>
605         PR libstdc++/55977 (partial, std::vector and std::deque bits)
606         * include/bits/stl_vector.h (_M_range_initialize(_InputIterator,
607         _InputIterator, std::input_iterator_tag)): Use emplace_back.
608         * include/bits/deque.tcc (_M_range_initialize(_InputIterator,
609         _InputIterator, std::input_iterator_tag)): Likewise.
610         * testsuite/23_containers/vector/cons/55977.cc: New.
611         * testsuite/23_containers/deque/cons/55977.cc: Likewise.
612         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
613         Adjust dg-error line number.
614         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
615         Likewise.
617 2013-03-17  Paolo Carlini  <paolo.carlini@oracle.com>
619         PR libstdc++/55979
620         * include/bits/stl_list.h (_M_initialize_dispatch(_InputIterator,
621         _InputIterator, __false_type)): Use emplace_back.
622         * testsuite/23_containers/list/cons/55979.cc: New.
623         * testsuite/23_containers/list/modifiers/1.h: Adjust.
624         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
625         Adjust dg-error line number.
627 2013-03-16  Jason Merrill  <jason@redhat.com>
629         PR c++/55017
630         * testsuite/20_util/pair/piecewise2.cc (test01): Use std::move.
632 2013-03-16  Jonathan Wakely  <jwakely.gcc@gmail.com>
634         PR libstdc++/56468
635         * libsupc++/exception_ptr.h (type_info): Declare.
637 2013-03-16  Jonathan Wakely  <jwakely.gcc@gmail.com>
639         PR libstdc++/56002
640         * include/std/mutex (lock_guard, unique_lock, lock): Define without
641         depending on _GLIBCXX_HAS_GTHREADS.
642         * testsuite/30_threads/lock_guard/cons/1.cc: Run on all targets.
644 2013-03-16  Jonathan Wakely  <jwakely.gcc@gmail.com>
646         PR libstdc++/56492
647         * include/std/future (__future_base::_Result): Add result_type
648         typedef.
649         (__future_base::_S_allocate_result): Overload for std::allocator.
650         (__future_base::_Task_setter): Use _Result::result_type instead of
651         deducing the type from the task.
652         (__future_base::_Task_state): Store allocator to allow shared state
653         to be reset.  Replace std::function with member of target object type
654         accessed via ...
655         (__future_base::_Task_state_base): New abstract base class.
656         (__future_base::_Task_state_base::_M_run): New virtual function to
657         invoke type-erased target object.
658         (__future_base::_Task_state_base::_M_reset): New virtual function to
659         create new shared_state using same target object and allocator.
660         (__future_base::__create_task_state): Allocate a new _Task_state.
661         (packaged_task::packaged_task): Use __create_task_state.
662         (packaged_task::reset): Use _Task_state_base::_M_reset.
663         * testsuite/30_threads/packaged_task/cons/56492.cc: New.
665 2013-03-15  Tom Tromey  <tromey@redhat.com>
667         * libsupc++/unwind-cxx.h: Include sys/sdt.h if detected.
668         (PROBE2): New macro.
669         * libsupc++/eh_throw.cc (__cxa_throw, __cxa_rethrow): Add probe.
670         * libsupc++/eh_catch.cc (__cxa_begin_catch): Add probe.
671         * configure.ac: Check for sys/sdt.h.
672         * configure, config.h.in: Rebuild.
674 2013-03-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
676         PR libstdc++/56613
677         * include/bits/stl_tree.h (_Rb_tree::_M_create_node): Use
678         allocator_traits instead of calling construct directly.
679         * testsuite/23_containers/map/56613.cc: New.
681 2013-03-13  Benjamin Kosnik  <bkoz@redhat.com>
683         * doc/html/*: Regenerate.
685 2013-03-13  Paolo Carlini  <paolo.carlini@oracle.com>
687         PR libstdc++/56609
688         * include/std/type_traits (is_fundamental): Add std::nullptr_t.
689         * testsuite/20_util/is_fundamental/value.cc: Extend.
690         * testsuite/20_util/is_compound/value.cc: Likewise.
692 2013-03-09  Paolo Carlini  <paolo.carlini@oracle.com>
694         * testsuite/20_util/function_objects/mem_fn/55463.cc: Avoid
695         -Wunused warnings.
697 2013-03-08  Benjamin Kosnik  <bkoz@redhat.com>
699         * include/bits/memoryfwd.h: New. Centralize forward declarations.
700         * include/bits/algorithmfwd.h: Consistent comments.
701         * include/bits/localefwd.h: Same.
702         * include/ext/vstring_fwd.h: Same.
703         * include/parallel/algorithmfwd.h: Same.
704         * include/parallel/numericfwd.h: Same.
705         * include/std/iosfwd: Same.
707         * include/bits/alloc_traits.h: Include memoryfwd.h, remove allocator
708         forward decl.
709         * include/ext/alloc_traits.h: Remove allocator forward decl.
710         * include/bits/stl_construct.h: Same.
711         * include/bits/stringfwd.h: Include memoryfwd.h, remove allocator
712         forward decl. Consistent comments.
714         * doc/doxygen/user.cfg.in (TEMPLATE_RELATIONS): To NO.
716         * include/Makefile.am (bits_headers): Add memoryfwd.h.
717         * include/Makefile.in: Regenerate.
718         * configure: Same.
720 2013-03-08  François Dumont  <fdumont@gcc.gnu.org>
722         * include/bits/vector.tcc (vector<>operator=(const vector<>&):
723         Reset pointers after deallocation when memory can be reused.
724         * testsuite/23_containers/vector/allocator/minimal.cc: Insert
725         elements to really challenge C++11 allocator integration.
726         * testsuite/23_containers/vector/allocator/copy.cc: Likewise.
727         * testsuite/23_containers/vector/allocator/copy_assign.cc:
728         Likewise.
729         * testsuite/23_containers/vector/allocator/move_assign.cc:
730         Likewise.
731         * testsuite/23_containers/vector/allocator/swap.cc: Likewise and
732         swap vector back before checks on memory/personality mapping are
733         performed.
734         * testsuite/23_containers/forward_list/allocator/minimal.cc:
735         Insert element to really challenge C++11 allocator integration.
736         * testsuite/23_containers/forward_list/allocator/copy.cc:
737         Likewise.
738         * testsuite/23_containers/forward_list/allocator/copy_assign.cc:
739         Likewise.
740         * testsuite/23_containers/forward_list/allocator/move_assign.cc:
741         Likewise.
742         * testsuite/23_containers/forward_list/allocator/swap.cc: Likewise
743         and swap forward_list back before checks on memory/personality
744         mapping are performed.
746 2013-03-07  Jakub Jelinek  <jakub@redhat.com>
748         * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
749         * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
750         * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
751         Likewise.
752         * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
753         * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
754         * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
755         * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
756         * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
757         * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
759 2013-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
761         * scripts/extract_symvers.pl: Omit symbols bound to base
762         versions.
763         * scripts/extract_symvers.in: Likewise.
764         * config/abi/post/solaris2.9/baseline_symbols.txt: Regenerate.
765         * config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Likewise.
766         * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
767         * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
768         * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
770 2013-03-04  Ulrich Drepper  <drepper@gmail.com>
772         * include/ext/random (__gnu_cxx::von_mises_distribution<>):
773         Optimize generation function by pulling computation of __r into the
774         constructor for param_type.  Also compare _M_mu in operator==.
775         Fix comment.
777 2013-03-02  Ulrich Drepper  <drepper@gmail.com>
779         Add triangular and von Mises distributions.
780         * include/ext/random: Include <ext/cmath>.
781         Add __gnu_cxx::triangular_distribution<> and
782         __gnu_cxx::von_mises_distribution<> classes.
783         * include/ext/random.tcc: Add out-of-line functions for
784         __gnu_cxx::triangular_distribution<> and
785         __gnu_cxx::von_mises_distribution<>.
786         * testsuite/ext/triangular_distribution/cons/default.cc: New file.
787         * testsuite/ext/triangular_distribution/cons/parms.cc: New file.
788         * testsuite/ext/triangular_distribution/operators/serialize.cc:
789         New file.
790         * testsuite/ext/triangular_distribution/operators/equal.cc:
791         New file.
792         * testsuite/ext/triangular_distribution/operators/inequal.cc:
793         New file.
794         * testsuite/ext/triangular_distribution/requirements/typedefs.cc:
795         New file.
796         * testsuite/ext/triangular_distribution/requirements/
797         explicit_instantiation/1.cc: New file.
798         * testsuite/ext/von_mises_distribution/cons/default.cc: New file.
799         * testsuite/ext/von_mises_distribution/cons/parms.cc: New file.
800         * testsuite/ext/von_mises_distribution/operators/serialize.cc:
801         New file.
802         * testsuite/ext/von_mises_distribution/operators/equal.cc: New file.
803         * testsuite/ext/von_mises_distribution/operators/inequal.cc:
804         New file.
805         * testsuite/ext/von_mises_distribution/requirements/typedefs.cc:
806         New file.
807         * testsuite/ext/von_mises_distribution/requirements/
808         explicit_instantiation/1.cc: New file.
810         Add math constants.
811         * include/Makefile.am (ext_headers): Add cmath.
812         * include/Makefile.in: Regenerated.
813         * include/ext/cmath: New file.
815 2013-03-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
817         * config/abi/post/solaris2.9/baseline_symbols.txt: Regenerate.
818         * config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Likewise.
819         * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
820         * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
821         * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
823 2013-02-26  Jonathan Wakely  <jwakely.gcc@gmail.com>
825         PR libstdc++/56012
826         * include/bits/atomic_base.h (atomic_flag): Fix narrowing conversion.
827         * testsuite/29_atomics/atomic/operators/56012.cc: New.
829         PR libstdc++/56011
830         * include/std/atomic (atomic<bool>::operator=(bool) volatile): Add
831         missing overload.
832         * testsuite/29_atomics/atomic/operators/56011.cc: New.
834 2013-02-25  Jason Merrill  <jason@redhat.com>
836         * configure.ac: Check for __cxa_thread_atexit_impl.
837         * libsupc++/atexit_thread.cc (__cxa_thread_atexit): Just forward
838         to it if available.
839         * config.h.in, configure: Regenerate.
841 2013-02-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
843         * include/std/streambuf (basic_streambuf): Use injected class name
844         instead of non-standard __streambuf_type typedef. Fix unclosed Doxygen
845         group.
847 2013-02-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
849         * doc/html/faq.html: Fix spelling.
850         * doc/xml/faq.xml: Likewise.
851         * include/bits/basic_ios.h: Likewise.
852         * include/bits/regex.h: Likewise.
853         * include/std/istream: Likewise.
854         * include/std/streambuf: Likewise.
856 2013-02-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
858         * testsuite/23_containers/unordered_set/55043.cc: Add missing
859         namespace qualification.
860         * testsuite/23_containers/unordered_multiset/55043.cc: Likewise.
862 2013-02-19  Benjamin Kosnik  <bkoz@redhat.com>
864         * doc/doxygen/user.cfg.in: Set __cplusplus to 201103L. Change to
865         _GLIBCXX_INCLUDE_AS_CXX11. DIRECTORY_GRAPH, MARKDOWN_SUPPORT,
866         AUTOLINK_SUPPORT to NO. Update to doxygen 1.8.3.1.
867         * include/bits/stl_pair.h: Add to utilities group.
868         * include/std/tuple: Same.
869         * include/std/typeindex: Same.
871         * include/bits/stringfwd.h: Fix markup.
872         * include/std/limits: Same.
873         * include/std/type_traits: Same.
874         * include/tr1/memory: Same.
875         * include/tr1/regex: Same.
876         * scripts/run_doxygen: Comment.
877         * testsuite/20_util/uses_allocator/cons_neg.cc: Fixup line numbers.
879 2013-02-14  Jason Merrill  <jason@redhat.com>
881         * testsuite/18_support/quick_exit/quick_exit.cc: #if out the whole
882         test if unsupported.
884 2013-02-13  Marc Glisse  <marc.glisse@inria.fr>
886         PR libstdc++/56111
887         * include/std/complex (complex): Undefine.
888         * include/c_compatibility/complex.h (complex): Only undefine if
889         <complex> has been included.
890         * testsuite/26_numerics/complex/56111.cc: New testcase.
892 2013-02-13  François Dumont  <fdumont@gcc.gnu.org>
894         * include/bits/hashtable_policy.h (_Hash_code_base): Restore
895         default constructor protected.
896         * include/bits/hashtable.h: static assert that _Hash_code_base has
897         a default constructor available through inheritance.
899 2013-02-12  Paolo Carlini  <paolo.carlini@oracle.com>
901         * include/c_std/cstdlib (at_quick_exit, quick_exit): Provide in
902         C++11 mode.
904 2013-02-12  Julian Brown  <julian@codesourcery.com>
906         * testsuite/22_locale/time_get/get_weekday/char/38081-1.cc (test01):
907         Don't expect dots after abbreviated weekday names for ru_RU for
908         glibc versions >= 2.17.
909         * testsuite/22_locale/time_get/get_weekday/char/38081-2.cc (test01):
910         Likewise.
912 2013-02-12  Paolo Carlini  <paolo.carlini@oracle.com>
914         * include/bits/random.tcc (__transform): Remove.
915         (__normalize): Add.
916         (discrete_distribution<>::param_type::_M_initialize): Adjust.
917         (piecewise_constant_distribution<>::param_type::_M_initialize):
918         Likewise.
919         (piecewise_linear_distribution<>::param_type::_M_initialize):
920         Likewise.
922 2013-02-11  Benjamin Kosnik  <bkoz@redhat.com>
924         * src/c++11/Makefile.am (hashtable_c++0x.lo, hashtable_c++0x.o):
925         Use -fimplicit-templates.
926         * src/c++11/Makefile.in: Regenerate.
927         * src/c++11/hashtable_c++0x.cc: Remove instantiation for
928         std::lower_bound template.
930 2013-02-11  Paolo Carlini  <paolo.carlini@oracle.com>
932         * include/c_std/cstdlib (at_quick_exit, quick_exit): Do not declare.
933         * include/c_global/cstdlib (at_quick_exit, quick_exit): Declare only
934         in C++11 mode and if available in the underlying C library.
935         * testsuite/18_support/quick_exit/quick_exit.cc: Compile with
936         -std=gnu++11; check _GLIBCXX_HAVE_AT_QUICK_EXIT and
937         _GLIBCXX_HAVE_QUICK_EXIT.
939 2013-02-11  Benjamin Kosnik  <bkoz@redhat.com>
941         * doc/html/*: Regenerate.
943 2013-02-11  Jason Merrill  <jason@redhat.com>
945         * linkage.m4 (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE): New.
946         (GLIBCXX_CHECK_STDLIB_SUPPORT): Check for atexit and at_quick_exit.
947         * config.h.in, configure: Regenerate.
948         * include/c_std/cstdlib: Add atexit and at_quick_exit.
949         * include/c_global/cstdlib: Add atexit and at_quick_exit.
950         * testsuite/18_support/quick_exit/quick_exit.cc: New.
952 2013-02-11  Paolo Carlini  <paolo.carlini@oracle.com>
954         PR libstdc++/56282
955         Revert:
956         2013-02-06  Edward Smith-Rowland  <3dw4rd@verizon.net>
958         PR libstdc++/56193
959         * include/bits/basic_ios.h: Replace operator void*() const
960         with explicit operator bool() const in C++11 and greater.
961         * testsuite/27_io/basic_ios/pr56193.cc: New file.
963 2013-02-10  François Dumont  <fdumont@gcc.gnu.org>
964             Jonathan Wakely  <jwakely.gcc@gmail.com>
966         * doc/xml/manual/containers.xml: Add section on unordered containers.
967         * doc/xml/manual/using.xml: Fix incomplete sentence.
969 2013-02-10  Jonathan Wakely  <jwakely.gcc@gmail.com>
971         PR libstdc++/56267
972         * include/bits/hashtable.h (__cache_default): Check if hash function
973         is copy assignable.
974         * testsuite/23_containers/unordered_set/56267.cc: New.
975         * testsuite/23_containers/unordered_set/instantiation_neg.cc: Adjust
976         dg-error line number.
977         * testsuite/23_containers/unordered_set/
978         not_default_constructible_hash_neg.cc: Likewise.
980         PR libstdc++/56278
981         * include/bits/hashtable_policy.h (_Hash_code_base): Make default
982         constructor public.
983         * testsuite/23_containers/unordered_set/56278.cc: New.
985 2013-02-09  François Dumont  <fdumont@gcc.gnu.org>
987         * include/tr1/bessel_function.tcc (__cyl_bessel_ij_series): Code
988         simplification.
990 2013-02-08  Edward Smith-Rowland  <3dw4rd@verizon.net>
992         PR libstdc++/56216
993         * include/tr1/special_function_util.h: Remove spurious const
994         from numeric arguments.
995         * include/tr1/riemann_zeta.tcc: Likewise.
996         * include/tr1/exp_integral.tcc: Likewise.
997         * include/tr1/bessel_function.tcc: Likewise.
998         * include/tr1/hypergeometric.tcc: Likewise.
999         * include/tr1/modified_bessel_func.tcc: Likewise.
1000         * include/tr1/poly_laguerre.tcc: Likewise.
1001         * include/tr1/gamma.tcc: Likewise.
1002         * include/tr1/legendre_function.tcc: Likewise.
1003         * include/tr1/poly_hermite.tcc: Likewise.
1004         * include/tr1/ell_integral.tcc: Likewise.
1005         * include/tr1/bessel_function.tcc (__cyl_bessel_ij_series):
1006         If argument is zero return function value.
1007         * testsuite/tr1/5_numerical_facilities/special_functions/
1008         08_cyl_bessel_i/pr56216.cc: New.
1010 2013-02-07  Paolo Carlini  <paolo.carlini@oracle.com>
1012         * testsuite/27_io/basic_ios/pr56193.cc: Tweak.
1014 2013-02-06  Edward Smith-Rowland  <3dw4rd@verizon.net>
1016         PR libstdc++/56193
1017         * include/bits/basic_ios.h: Replace operator void*() const
1018         with explicit operator bool() const in C++11 and greater.
1019         * testsuite/27_io/basic_ios/pr56193.cc: New file.
1021 2013-02-04  Dodji Seketeli  <dodji@redhat.com>
1023         Add missing explicit instantiation for std::lower_bound template
1024         * libstdc++-v3/src/c++11/hashtable_c++0x.cc (namespace std): Add
1025         missing instantiation for std::lower_bound template.
1027 2013-02-04  François Dumont  <fdumont@gcc.gnu.org>
1029         * include/bits/functional_hash.h (std::__is_fast_hash<>): New.
1030         * include/bits/basic_string.h: Specialize previous to mark
1031         std::hash for string types as slow.
1032         * include/bits/hashtable.h (__cache_default): Replace is_integral
1033         with __is_fast_hash.
1034         * src/c++11/hash_c++0x.cc: Add type_traits include.
1035         * testsuite/23_containers/unordered_set/instantiation_neg.cc:
1036         Adapt dg-error line number.
1037         * testsuite/23_containers/unordered_set/
1038         not_default_constructible_hash_neg.cc: Likewise.
1040 2013-02-04  Manuel López-Ibáñez  <manu@gcc.gnu.org>
1041             Paolo Carlini  <paolo.carlini@oracle.com>
1043         PR libstdc++/56202 (again)
1044         * include/bits/random.tcc (binomial_distribution<>::
1045         _M_waiting(_UniformRandomNumberGenerator&, _IntType)): Fix thinko
1046         in previous commit.
1048         * include/bits/random.h: Fix comment typo.
1050 2013-02-04  Manuel López-Ibáñez  <manu@gcc.gnu.org>
1051             Paolo Carlini  <paolo.carlini@oracle.com>
1053         PR libstdc++/56202
1054         * include/bits/random.tcc (binomial_distribution<>::
1055         _M_waiting(_UniformRandomNumberGenerator&, _IntType)): Avoid
1056         division by zero.
1058 2013-02-03  Richard Sandiford  <rdsandiford@googlemail.com>
1060         Update copyright years.
1061         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc,
1062         testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc,
1063         testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc,
1064         testsuite/23_containers/deque/requirements/dr438/insert_neg.cc,
1065         testsuite/23_containers/list/requirements/dr438/assign_neg.cc,
1066         testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc,
1067         testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc,
1068         testsuite/23_containers/list/requirements/dr438/insert_neg.cc,
1069         testsuite/23_containers/vector/requirements/dr438/assign_neg.cc,
1070         testsuite/23_containers/vector/requirements/dr438/constructor_1_neg.cc,
1071         testsuite/23_containers/vector/requirements/dr438/constructor_2_neg.cc,
1072         testsuite/23_containers/vector/requirements/dr438/insert_neg.cc,
1073         testsuite/29_atomics/atomic/cons/assign_neg.cc,
1074         testsuite/29_atomics/atomic/cons/copy_neg.cc,
1075         testsuite/29_atomics/atomic_integral/cons/assign_neg.cc,
1076         testsuite/29_atomics/atomic_integral/cons/copy_neg.cc,
1077         testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc,
1078         testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc,
1079         testsuite/29_atomics/atomic_integral/operators/increment_neg.cc:
1080         Update lines in dg error matches.
1082 2013-02-03  Richard Sandiford  <rdsandiford@googlemail.com>
1084         * config/os/mingw32/ctype_inline.h: Fix copyright typo.
1086 2013-02-01  François Dumont  <fdumont@gcc.gnu.org>
1088         * include/bits/hashtable_policy.h
1089         (_Prime_rehash_policy::_M_next_bkt)
1090         (_Prime_rehash_policy::_M_need_rehash): Move definition...
1091         * src/c++11/hashtable_c++0x.cc: ... here.
1092         * src/shared/hashtable-aux.cc: Remove c++config.h include.
1093         * config/abi/gnu.ver (GLIBCXX_3.4.18): Export _Prime_rehash_policy
1094         symbols.
1096 2013-01-29  Jason Merrill  <jason@redhat.com>
1098         PR libstdc++/54314
1099         * config/abi/pre/gnu.ver: Don't export construction vtables.
1100         * config/abi/pre/gnu-versioned-namespace.ver: Likewise.
1102 2013-01-28  Jonathan Wakely  <jwakely.gcc@gmail.com>
1104         PR libstdc++/56112
1105         * include/bits/hashtable_policy.h (insert(_Pair&&)): Use _M_emplace
1106         to construct value_type explicitly before trying to extract the key.
1107         * testsuite/23_containers/unordered_map/cons/56112.cc: New.
1109 2013-01-28  François Dumont  <fdumont@gcc.gnu.org>
1111         * include/bits/hashtable_policy.h (_Local_iterator_base): Use
1112         _Hashtable_ebo_helper to embed functors into the local_iterator
1113         when necessary. Pass information about functors involved in hash
1114         code by copy.
1115         * include/bits/hashtable.h (__cache_default): Do not cache for
1116         builtin integral types unless the hash functor is not noexcept
1117         qualified or is not default constructible. Adapt static assertions
1118         and local iterator instantiations.
1119         * include/debug/unordered_set
1120         (std::__debug::unordered_set<>::erase): Detect local iterators to
1121         invalidate using contained node rather than generating a dummy
1122         local_iterator instance.
1123         (std::__debug::unordered_multiset<>::erase): Likewise.
1124         * include/debug/unordered_map
1125         (std::__debug::unordered_map<>::erase): Likewise.
1126         (std::__debug::unordered_multimap<>::erase): Likewise.
1127         * testsuite/performance/23_containers/insert_erase/41975.cc: Test
1128         std::tr1 and std versions of unordered_set regardless of any
1129         macro. Add test on default cache behavior.
1130         * testsuite/performance/23_containers/insert/54075.cc: Likewise.
1131         * testsuite/23_containers/unordered_set/instantiation_neg.cc:
1132         Adapt line number.
1133         * testsuite/23_containers/unordered_set/
1134         not_default_constructible_hash_neg.cc: New.
1135         * testsuite/23_containers/unordered_set/buckets/swap.cc: New.
1137 2013-01-24  Paolo Carlini  <paolo.carlini@oracle.com>
1139         PR libstdc++/56085
1140         * include/std/complex (pow(const complex<>&, int)): Avoid __n
1141         signed overflow.
1143 2013-01-22  Jakub Jelinek  <jakub@redhat.com>
1145         * testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc:
1146         Tightten scan-assembler-times regexps, add dg-additional-options for
1147         ia32, add -g0 -fno-exceptions -fno-asynchronous-unwind-tables to
1148         dg-options.
1150 2013-01-12  Andi Kleen  <ak@linux.intel.com>
1151             Jonathan Wakely  <jwakely.gcc@gmail.com>
1153         PR libstdc++/55233
1154         * include/bits/atomic_base.h (__memory_order_modifier): Add
1155         __memory_order_mask, __memory_order_modifier_mask,
1156         __memory_order_hle_acquire, __memory_order_hle_release.
1157         (operator|,operator&): Add.
1158         (__cmpexch_failure_order):  Rename to __cmpexch_failure_order2.
1159         (__cmpexch_failure_order): Add.
1160         (clear, store, load, compare_exchange_weak, compare_exchange_strong):
1161         Handle flags.
1162         * testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc:
1163         Add.
1165 2013-01-19  Jonathan Wakely  <jwakely.gcc@gmail.com>
1167         PR libstdc++/55861
1168         * include/std/future (_State_base::_S_check(const shared_ptr<T>&)):
1169         Fix return type.
1170         (__basic_future::_M_get_result()): Const qualify.
1171         (shared_future::get()): Likewise.
1172         * testsuite/30_threads/shared_future/members/get.cc: Use const
1173         objects.
1175 2013-01-16  Jonathan Wakely  <jwakely.gcc@gmail.com>
1177         PR libstdc++/55043 (again)
1178         * include/bits/alloc_traits.h (allocator_traits::construct): Disable
1179         unless construction would be well-formed.
1180         (__allow_copy_cons, __check_copy_constructible): Define.
1181         * include/bits/unordered_map.h (__check_copy_constructible): Use as
1182         base class so copy constructor will be deleted if appropriate.
1183         (is_copy_constructible): Remove specialization.
1184         * include/bits/unordered_set.h: Likewise.
1185         * include/debug/unordered_map.h: Undo previous commit. Default copy
1186         and move constructors.
1187         * include/debug/unordered_set.h: Likewise.
1188         * include/profile/unordered_map.h: Undo previous commit.
1189         * include/profile/unordered_set.h: Likewise.
1190         * testsuite/23_containers/unordered_map/55043.cc: Fix test.
1191         * testsuite/23_containers/unordered_multimap/55043.cc: Likewise.
1192         * testsuite/23_containers/unordered_multiset/55043.cc: Likewise.
1193         * testsuite/23_containers/unordered_set/55043.cc: Likewise.
1194         * testsuite/23_containers/unordered_map/requirements/53339.cc: XFAIL,
1195         cannot support incomplete types.
1196         * testsuite/23_containers/unordered_multimap/requirements/53339.cc:
1197         Likewise.
1199 2013-01-16  Jonathan Wakely  <jwakely.gcc@gmail.com>
1201         PR libstdc++/55043
1202         * include/std/unordered_map: Include alloc_traits.h
1203         * include/std/unordered_set: Likewise.
1204         * include/bits/alloc_traits.h: Define __is_copy_insertable.
1205         * include/bits/unordered_map.h: Use it.
1206         * include/bits/unordered_set.h: Likewise.
1207         * include/debug/unordered_map.h: Likewise.
1208         * include/debug/unordered_set.h: Likewise.
1209         * include/profile/unordered_map.h: Likewise.
1210         * include/profile/unordered_set.h: Likewise.
1211         * include/bits/hashtable.h: Fix comment typos.
1212         * testsuite/23_containers/unordered_map/55043.cc: New.
1213         * testsuite/23_containers/unordered_multimap/55043.cc: New.
1214         * testsuite/23_containers/unordered_multiset/55043.cc: New.
1215         * testsuite/23_containers/unordered_set/55043.cc: New.
1217 2013-01-03  Janis Johnson  <janisjo@codesourcery.com>
1219         * testsuite/lib/gdb-test.exp (gdb_batch_check): Catch error running
1220         gdb command.
1222 2013-01-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
1224         * doc/xml/manual/status_cxx2011.xml: Document that N3189 is missing.
1226 2013-01-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
1228         PR libstdc++/55908
1229         * include/std/functional (_Mem_fn::operator()): Fix constraints to
1230         avoid ambiguity.
1231         * testsuite/20_util/function_objects/mem_fn/55908.cc: New.
1232         * testsuite/20_util/bind/ref_neg.cc: Adjust dg-error line numbers.
1234 2013-01-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1236         PR libstdc++/55594
1237         * acinclude.m4 (GLIBCXX_CHECK_ASSEMBLER_HWCAP): Restrict test to
1238         Solaris targets.
1239         * configure: Regenerate.
1241 2013-01-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
1243         PR libstdc++/55847
1244         * src/c++11/shared_ptr.cc (bad_weak_ptr::what()): Correct string.
1245         * testsuite/20_util/shared_ptr/cons/weak_ptr_expired.cc: Verify
1246         string.
1248         PR libstdc++/55728
1249         * include/std/functional (bad_function_call::what()): Declare.
1250         * src/c++11/functional.cc (bad_function_call::what()): Define.
1251         * config/abi/pre/gnu.ver (bad_function_call::what()): Export.
1252         * testsuite/20_util/bad_function_call/what.cc: New.
1254 2013-01-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
1256         * include/bits/unordered_map.h: Fix typo in comments.
1257         * doc/xml/manual/status_cxx2011.xml: Add implementation-defined bucket
1258         counts for unordered associative containers.
1260 2013-01-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
1262         * doc/xml/manual/abi.xml: Update library and symbol versions.
1264 2013-01-06  Richard Sandiford  <rdsandiford@googlemail.com>
1266         * include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp: Fix typo
1267         in copyright years.
1268         * testsuite/22_locale/time_get/get_weekday/wchar_t/3.cc: Likewise.
1271 Copyright (C) 2013 Free Software Foundation, Inc.
1273 Copying and distribution of this file, with or without modification,
1274 are permitted in any medium without royalty provided the copyright
1275 notice and this notice are preserved.