1 2011-07-21 Benjamin Kosnik <bkoz@redhat.com>
3 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Move...
4 * testsuite/ext/pb_ds/regression/tree_set_rand.cc: ... here.
5 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand_debug.cc: Move...
6 * testsuite/ext/pb_ds/regression/tree_set_rand_debug.cc: ... here.
7 * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Move...
8 * testsuite/ext/pb_ds/regression/tree_map_rand.cc: ... here.
9 * testsuite/ext/pb_ds/regression/tree_data_map_rand_debug.cc: Move...
10 * testsuite/ext/pb_ds/regression/tree_map_rand_debug.cc: ... here.
12 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Move...
13 * testsuite/ext/pb_ds/regression/trie_set_rand.cc: ... here.
14 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand_debug.cc: Move...
15 * testsuite/ext/pb_ds/regression/trie_set_rand_debug.cc: ... here.
16 * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Move...
17 * testsuite/ext/pb_ds/regression/trie_map_rand.cc: ... here.
18 * testsuite/ext/pb_ds/regression/trie_data_map_rand_debug.cc: Move...
19 * testsuite/ext/pb_ds/regression/trie_map_rand_debug.cc: ... here.
21 * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand.cc: Move.
22 * testsuite/ext/pb_ds/regression/list_update_set_rand.cc: ...here.
23 * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand_debug.cc:
25 * testsuite/ext/pb_ds/regression/list_update_set_rand_debug.cc: ...here.
26 * testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc: Move...
27 * testsuite/ext/pb_ds/regression/list_update_map_rand.cc: ...here.
28 * testsuite/ext/pb_ds/regression/list_update_data_map_rand_debug.cc:
30 * testsuite/ext/pb_ds/regression/list_update_map_rand_debug.cc: ...here.
32 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Move...
33 * testsuite/ext/pb_ds/regression/hash_set_rand.cc: ...here.
34 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand_debug.cc: Move...
35 * testsuite/ext/pb_ds/regression/hash_set_rand_debug.cc: ...here.
37 * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Move...
38 * testsuite/ext/pb_ds/regression/hash_map_rand.cc: ...here.
39 * testsuite/ext/pb_ds/regression/hash_data_map_rand_debug.cc: Move...
40 * testsuite/ext/pb_ds/regression/hash_map_rand_debug.cc: ...here.
42 2011-07-21 François Dumont <francois.cppdevs@free.fr>
44 * include/debug/safe_unordered_sequence.h,
45 safe_unordered_sequence.tcc: Rename respectively in...
46 * include/debug/safe_unordered_container.h,
47 safe_unordered_container.tcc: ...those. _Safe_unordered_sequence
48 rename _Safe_unordered_container.
49 * include/debug/safe_unordered_base.h: _Safe_unordered_sequence_base
50 rename _Safe_unordered_container_base.
51 * include/debug/unordered_map, unordered_set: Adapt to previous
53 * config/abi/pre/gnu.ver: Likewise.
54 * src/debug.cc: Likewise.
55 * include/Makefile.am: Likewise.
56 * include/Makefile.in: Regenerate.
58 2011-07-21 Paolo Carlini <paolo.carlini@oracle.com>
60 * include/std/mutex (timed_mutex, recursive_timed_mutex): Update
61 to use steady_clock instead of monotonic_clock.
62 * config/abi/pre/gnu.ver: Export steady_clock::now.
64 2011-07-20 Benjamin Kosnik <bkoz@redhat.com>
65 Daniel Krugler <daniel.kruegler@googlemail.com>
67 * include/std/array (array::at, array::operator[]): Mark constexpr.
68 * testsuite/23_containers/array/requirements/
69 constexpr_element_access.cc: Add.
71 2011-07-20 Benjamin Kosnik <bkoz@redhat.com>
72 Daniel Krugler <daniel.kruegler@googlemail.com>
74 * include/std/chrono: (system_clock::is_steady): Update to N3291
76 (time_point): Mark nonmember arithmetic operators constexpr.
77 * src/chrono.cc: Modify for above.
78 * src/compatibility-c++0x.cc: Same.
79 * testsuite/20_util/time_point/nonmember/constexpr.cc: New.
80 * testsuite/20_util/time_point/1.cc: Modify.
81 * testsuite/20_util/system_clock/constexpr_data.cc: Modify.
82 * testsuite/20_util/system_clock/1.cc: Modify.
83 * testsuite/20_util/monotonic_clock/constexpr_data.cc: Move to...
84 * testsuite/20_util/steady_clock/constexpr_data.cc: ...here.
85 * testsuite/30_threads/condition_variable/members/2.cc: Modify.
86 * testsuite/30_threads/condition_variable_any/members/2.cc: Modify.
88 2011-07-20 Paolo Carlini <paolo.carlini@oracle.com>
90 * include/std/system_error: Use noexcept.
91 * src/system_error.cc: Likewise.
92 * testsuite/19_diagnostics/error_condition/modifiers/39881.cc: Adjust.
93 * testsuite/19_diagnostics/error_condition/cons/39881.cc: Likewise.
94 * testsuite/19_diagnostics/error_code/modifiers/39882.cc: Likewise.
95 * testsuite/19_diagnostics/error_code/cons/39882.cc: Likewise.
96 * testsuite/util/testsuite_error.h: Likewise.
98 * include/std/system_error (error_code::error_code(_ErrorCodeEnum)):
99 Use enable_if on template parameter default.
100 (error_condition::error_condition(_ErrorConditionEnum)): Likewise.
102 2011-07-20 Ed Smith-Rowland <3dw4rd@verizon.net>
104 * include/precompiled/stdc++.h: Add scoped_allocator.
106 2011-07-20 Benjamin Kosnik <bkoz@redhat.com>
108 * include/std/bitset (operator[]): Make constexpr.
109 * testsuite/23_containers/bitset/operations/constexpr.cc: New.
111 2011-07-20 Paolo Carlini <paolo.carlini@oracle.com>
113 * include/debug/safe_local_iterator.h (_Safe_local_iterator<>::
114 _Safe_local_iterator(const _Iterator&, size_type, const _Sequence*)):
117 2011-07-19 François Dumont <francois.cppdevs@free.fr>
119 * include/debug/safe_unordered_base.h, safe_unordered_sequence.h,
120 safe_unordered_sequence.tcc, safe_local_iterator.h,
121 safe_local_iterator.tcc: New, support for unordered sequence safe
123 * include/Makefile.am: Add previous files.
124 * include/Makefile.in: Regenerate.
125 * include/debug/unordered_map, unordered_set: Implement
126 _Safe_unordered_sequence and expose _Safe_local_iterator.
127 * include/debug/safe_iterator.h, safe_iterator.tcc: Refactor
128 _Safe_iterator::_M_get_distance static method to expose it as
129 __get_distance function and use it in _Safe_local_iterator type.
130 * include/debug/formatter.h: Add __msg_local_iter_compare_bad
131 _Debug_msg_id enum entry to notify invalid comparison between local
132 iterators from different buckets. Add _Parameter constructor from
133 _Safe_local_iterator.
134 * include/debug/functions.h: Add __valid_range overload for
135 _Safe_local_iterator.
136 * src/debug.cc: Add _Safe_unordered_sequence_base and
137 _Safe_local_iterator_base methods implementations.
138 * config/abi/pre/gnu.ver: Add export of some
139 _Safe_unordered_sequence_base and _Safe_local_iterator_base methods.
140 * testsuite/util/debug/checks.h: Add use_invalid_iterator function to
141 simulate use of a singular iterator.
142 * testsuite/util/debug/unordered_checks.h: New, several functions
143 to simulate classic invalid usage of unordered sequence local
145 * testsuite/23_containers/unordered_map/debug/
146 use_erased_local_iterator_neg.cc, invalid_local_iterator_range_neg.cc,
147 use_invalid_local_iterator_neg.cc, use_invalid_iterator_neg.cc,
148 invalid_local_iterator_compare_neg.cc: New.
149 * testsuite/23_containers/unordered_multimap/debug/
150 use_erased_local_iterator_neg.cc, invalid_local_iterator_range_neg.cc,
151 use_invalid_local_iterator_neg.cc, use_invalid_iterator_neg.cc,
152 invalid_local_iterator_compare_neg.cc: New.
153 * testsuite/23_containers/unordered_set/debug/
154 use_erased_local_iterator_neg.cc, invalid_local_iterator_range_neg.cc,
155 use_invalid_local_iterator_neg.cc, use_invalid_iterator_neg.cc,
156 invalid_local_iterator_compare_neg.cc: New.
157 * testsuite/23_containers/unordered_multiset/debug/
158 use_erased_local_iterator_neg.cc, invalid_local_iterator_range_neg.cc,
159 use_invalid_local_iterator_neg.cc, use_invalid_iterator_neg.cc,
160 invalid_local_iterator_compare_neg.cc: New.
162 2011-07-18 Paolo Carlini <paolo.carlini@oracle.com>
165 * include/bits/shared_ptr.h (struct hash<shared_ptr<>>): Use
167 * include/bits/unique_ptr.h (struct hash<unique_ptr<>>): Likewise.
169 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
171 * crossconfig.m4 (*-netware): Remove.
172 * configure: Regenerate.
174 2011-07-15 Yufeng Zhang <yufeng.zhang@arm.com>
176 * config/locale/newlib/ctype_members.cc: New file.
177 * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Add a new C locale
178 kind: newlib. Configure to use the newlib specific
179 ctype_members.cc when with_newlib is enabled.
180 * configure: Regenerate.
182 2011-07-15 Paolo Carlini <paolo.carlini@oracle.com>
183 Jakub Jelinek <jakub@redhat.com>
186 * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Check separately for
187 _POSIX_TIMEOUTS and define _GTHREADS_USE_MUTEX_TIMEDLOCK.
188 * libsupc++/guard.cc: Include <unistd.h>.
189 * testsuite/17_intro/headers/c++1998/49745.cc: New.
190 * configure: Regenerate.
191 * config.h.in: Likewise.
193 2011-07-11 Paolo Carlini <paolo.carlini@oracle.com>
196 * include/bits/stl_algo.h (__move_merge_backward): Remove.
197 (__move_merge_adaptive, __move_merge_adaptive_backward): New.
198 (__merge_adaptive): Use the latter two.
199 (__rotate_adaptive): Avoid self move-assignment.
200 * include/bits/stl_algobase.h (move_backward): Fix comment.
201 * testsuite/25_algorithms/stable_sort/49559.cc: New.
202 * testsuite/25_algorithms/inplace_merge/49559.cc: Likewise.
203 * testsuite/25_algorithms/inplace_merge/moveable.cc: Extend.
204 * testsuite/25_algorithms/inplace_merge/moveable2.cc: Likewise.
205 * testsuite/util/testsuite_rvalref.h (rvalstruct::operator=
206 (rvalstruct&&)): Check for self move-assignment.
208 2011-07-11 Paolo Carlini <paolo.carlini@oracle.com>
210 * testsuite/util/testsuite_allocator.h (propagating_allocator<>::
211 operator=(const propagating_allocator<>&)): Retun *this.
213 2011-07-09 Jonathan Wakely <jwakely.gcc@gmail.com>
215 * include/Makefile.am: Add new header.
216 * include/Makefile.in: Regenerate.
217 * include/std/scoped_allocator: New.
218 * doc/xml/manual/status_cxx200x.xml: Update.
219 * testsuite/20_util/scoped_allocator/1.cc: New.
220 * testsuite/20_util/scoped_allocator/propagation.cc: New.
221 * testsuite/20_util/scoped_allocator/requirements/typedefs.cc: New.
222 * testsuite/20_util/scoped_allocator/requirements/
223 explicit_instantiation.cc: New.
225 2011-07-09 Jonathan Wakely <jwakely.gcc@gmail.com>
227 * include/bits/stl_vector.h: Use new allocator model in C++0x mode.
228 * include/bits/vector.tcc: Likewise.
229 * testsuite/util/testsuite_allocator.h (propagating_allocator): Define.
230 * testsuite/23_containers/vector/allocator/copy_assign.cc: New.
231 * testsuite/23_containers/vector/allocator/noexcept.cc: New.
232 * testsuite/23_containers/vector/allocator/copy.cc: New.
233 * testsuite/23_containers/vector/allocator/swap.cc: New.
234 * testsuite/23_containers/vector/allocator/move_assign.cc: New.
235 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
236 Adjust dg-error line numbers.
237 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
239 * testsuite/23_containers/vector/requirements/dr438/
240 constructor_1_neg.cc: Likewise.
241 * testsuite/23_containers/vector/requirements/dr438/
242 constructor_2_neg.cc: Likewise.
244 2011-07-09 Jonathan Wakely <jwakely.gcc@gmail.com>
246 * include/ext/alloc_traits.h (__allocator_always_compares_equal): New
247 trait, provide partial specializations for known allocators.
248 (__alloc_traits::construct, __alloc_traits::destroy): Overload for
249 non-standard pointer types.
250 (__alloc_traits::_S_always_equal): New trait for use with noexcept.
251 (__alloc_traits::_S_nothrow_move): Likewise.
252 (__alloc_traits::_S_nothrow_swap): Likewise.
254 2011-07-09 Jonathan Wakely <jwakely.gcc@gmail.com>
256 * include/ext/cast.h: Fix typo in include guard.
257 * include/ext/pointer.h (_Unqualified_type): Remove redundant
258 partial specializations for volatile types. Fix typos in comments.
259 (pointer_traits<_Pointer_adaptor<Tp>>::pointer_to): Define.
261 2011-07-09 Jonathan Wakely <jwakely.gcc@gmail.com>
264 * include/std/functional (__bind_simple): Define.
265 * include/std/future (_Task_setter): Parameterize by type of result
266 pointer instead of state object.
267 (_S_task_setter): Type deduction helper.
268 (_Task_state): Use _S_task_setter and __bind_simple.
269 (_Deferred_state, _Async_state): Store call wrapper directly not as
270 std::function. Use _S_task_setter and __bind_simple.
271 (_S_make_deferred_state, _S_make_async_state): Type deduction helpers.
272 (async): Use new functions and __bind_simple.
273 * include/std/mutex (call_once): Use __bind_simple.
274 * include/std/thread (thread): Likewise. Remove unused headers.
275 * src/thread.cc: Add header.
276 * testsuite/30_threads/async/49668.cc: New.
277 * testsuite/30_threads/call_once/49668.cc: New.
278 * testsuite/30_threads/thread/cons/49668.cc: New.
279 * testsuite/30_threads/thread/cons/moveable.cc: Remove unused bool.
281 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
283 * configure.host (abi_baseline_subdir_switch): Describe.
285 (*-*-solaris2.[89], *-*-solaris2.1[0-9]): Override.
286 * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Substitute
287 baseline_subdir_switch.
288 * testsuite/Makefile.am (site.exp): Emit it.
289 (baseline_subdir): Use it.
290 * testsuite/libstdc++-abi/abi.exp: Use it.
291 * configure: Regenerate.
292 * Makefile.in: Regenerate.
293 * doc/Makefile.in: Regenerate.
294 * include/Makefile.in: Regenerate.
295 * libsupc++/Makefile.in: Regenerate.
296 * po/Makefile.in: Regenerate.
297 * python/Makefile.in: Regenerate.
298 * src/Makefile.in: Regenerate.
299 * testsuite/Makefile.in: Regenerate.
301 2011-06-29 François Dumont <francois.cppdevs@free.fr>
303 * include/debug/set.h, unordered_map, multiset.h, forward_list,
304 unordered_set, vector, deque, string, list, multimap.h: Remove
305 base class default constructor calls.
306 * include/debug/map.h: Likewise and cleanup several redefinition of
307 base iterator typedef.
309 2011-06-29 Nathan Sidwell <nathan@codesourcery.com>
311 * libsupc++/eh_arm.c (__cxa_type_match): Construct address of
312 thrown object here. Return succeded_with_ptr_to_base for all
315 2011-06-23 Jonathan Wakely <jwakely.gcc@gmail.com>
317 * testsuite/tr1/6_containers/tuple/creation_functions/tie2.cc: Fix for
319 * testsuite/25_algorithms/sort/35588.cc: Likewise.
320 * testsuite/26_numerics/headers/complex/synopsis.cc: Likewise.
322 2011-06-22 Jonathan Wakely <jwakely.gcc@gmail.com>
324 * testsuite/20_util/bind/socket.cc: Use variable and remove attribute.
326 2011-06-22 Paolo Carlini <paolo.carlini@oracle.com>
328 * include/ext/pb_ds/detail/pat_trie_/pat_trie_base.hpp: Avoid -Wall
331 2011-06-22 Paolo Carlini <paolo.carlini@oracle.com>
333 * testsuite/20_util/reference_wrapper/invoke.cc: Avoid -Wall warnings.
334 * testsuite/20_util/reference_wrapper/typedefs-3.cc: Likewise.
335 * testsuite/20_util/reference_wrapper/invoke-2.cc: Likewise.
336 * testsuite/20_util/allocator_traits/members/allocate_hint.cc:
338 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Likewise.
339 * testsuite/20_util/bind/socket.cc: Likewise.
340 * testsuite/20_util/pointer_traits/pointer_to.cc: Likewise.
341 * testsuite/util/testsuite_random.h: Likewise.
343 2011-06-22 Jonathan Wakely <jwakely.gcc@gmail.com>
345 * include/Makefile.am: Add alloc_traits.h headers.
346 * include/Makefile.in: Regenerate.
347 * include/std/memory: Include uses_allocator.h explicitly.
348 * include/bits/allocator.h (allocator_traits): Move to ...
349 * include/bits/alloc_traits.h: New header.
350 * include/ext/alloc_traits.h (__alloc_traits): Extension to provide
351 a common allocator interface for C++98 and C++0x.
352 * include/bits/stl_construct.h: Use __alloc_traits.
353 * include/bits/stl_uninitialized.h: Likewise.
355 2011-06-22 Daniel Krugler <daniel.kruegler@googlemail.com>
356 Paolo Carlini <paolo.carlini@oracle.com>
358 * include/bits/move.h (__is_nothrow_swappable): Add.
359 (swap(_Tp(&)[_Nm], _Tp(&)[_Nm])): Use noexcept.
360 * include/bits/algorithmfwd.h: Adjust.
361 * testsuite/25_algorithms/swap/noexcept.cc: New.
363 2011-06-21 Jakub Jelinek <jakub@redhat.com>
365 * testsuite/Makefile.am (check_DEJAGNU_normal_targets): Add
366 check-DEJAGNUnormal[4-9].
367 (check-DEJAGNU): Split into 10 jobs for parallel testing instead of 4.
368 * testsuite/Makefile.in: Regenerated.
370 2011-06-20 Daniel Krugler <daniel.kruegler@googlemail.com>
371 Paolo Carlini <paolo.carlini@oracle.com>
373 * include/std/tuple (__conv_types, __one_by_one_convertible,
374 __all_convertible): Add.
375 (tuple): Use the latter.
376 (tuple<_T1>): Remove.
377 * testsuite/20_util/uses_allocator/cons_neg.cc: Adjust dg-error
379 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
381 2011-06-14 Jonathan Wakely <jwakely.gcc@gmail.com>
383 * include/bits/ptr_traits.h (pointer_traits<T*>::pointer_to): Use
386 2011-06-14 Paolo Carlini <paolo.carlini@oracle.com>
388 * include/std/valarray (~valarray): Use noexcept.
389 * include/bits/unique_ptr.h (~unique_ptr): Likewise.
390 * testsuite/26_numerics/valarray/noexcept_move_construct.cc: New.
391 * testsuite/20_util/shared_ptr/cons/noexcept_move_construct.cc:
393 * testsuite/20_util/unique_ptr/cons/noexcept_move_construct.cc:
395 * testsuite/20_util/weak_ptr/cons/noexcept_move_construct.cc:
398 2011-06-14 Paolo Carlini <paolo.carlini@oracle.com>
400 * include/std/functional: Use noexcept.
401 * include/bits/stl_tempbuf.h: Likewise.
403 2011-06-12 François Dumont <francois.cppdevs@free.fr>
404 Paolo Carlini <paolo.carlini@oracle.com>
406 * include/bits/allocator.h (__shrink_to_fit): Rename to
407 __shrink_to_fit_aux, fix.
408 * include/bits/stl_vector.h (_M_shrink_to_fit): Declare.
409 (shrink_to_fit): Use the latter.
410 * include/debug/vector (shrink_to_fit): Likewise.
411 * include/bits/vector.tcc (_M_shrink_to_fit): Define.
412 * include/bits/stl_deque.h (_M_shrink_to_fit): Declare.
413 (shrink_to_fit): Use the latter.
414 * include/debug/deque (shrink_to_fit): Likewise.
415 * include/bits/deque.tcc (_M_shrink_to_fit): Define.
416 * include/bits/vector.tcc (vector<bool>::_M_reallocate): Add.
417 * include/bits/stl_bvector.h (_M_shrink_to_fit): Declare.
418 (shrink_to_fit): Use the latter.
419 (reserve): Use _M_reallocate, move inline.
420 (_Bvector_base<>::_S_nword): Add, use it throughout.
421 * include/debug/string (shrink_to_fit): Redo.
422 * include/ext/vstring.h (shrink_to_fit): Optimize.
423 * include/bits/basic_string.h (shrink_to_fit): Likewise.
424 * testsuite/21_strings/debug/shrink_to_fit.cc: New.
425 * testsuite/23_containers/vector/debug/shrink_to_fit.cc: Likewise.
426 * testsuite/23_containers/vector/debug/bool/shrink_to_fit.cc:
428 * testsuite/23_containers/vector/bool/capacity/shrink_to_fit.cc:
430 * testsuite/23_containers/deque/debug/shrink_to_fit.cc: Likewise.
432 2011-06-11 Jonathan Wakely <jwakely.gcc@gmail.com>
434 * testsuite/tr1/6_containers/tuple/creation_functions/tie2.cc: Fix for
436 * testsuite/25_algorithms/sort/35588.cc: Likewise.
437 * testsuite/26_numerics/headers/complex/synopsis.cc: Likewise.
439 2011-06-11 Jonathan Wakely <jwakely.gcc@gmail.com>
441 * include/ext/extptr_allocator.h (construct, destroy): Fix for C++0x
442 mode by overloading to take allocator's pointer type.
443 * testsuite/23_containers/vector/ext_pointer/types/2.cc: New.
444 * testsuite/23_containers/vector/ext_pointer/explicit_instantiation/
447 2011-06-11 Jonathan Wakely <jwakely.gcc@gmail.com>
449 * testsuite/20_util/allocator_traits/requirements/
450 explicit_instantiation.cc: Add another instantiation.
452 2011-06-11 Jonathan Wakely <jwakely.gcc@gmail.com>
454 * testsuite/20_util/allocator_traits/requirements/typedefs.cc: Check
455 for allocator_type and value_type.
457 2011-06-11 Jonathan Wakely <jwakely.gcc@gmail.com>
459 * testsuite/30_threads/packaged_task/uses_allocator.cc: New.
460 * testsuite/30_threads/promise/uses_allocator.cc: Likewise.
462 2011-06-10 Paolo Carlini <paolo.carlini@oracle.com>
464 * include/ext/throw_allocator.h: Use noexcept.
465 * include/ext/pool_allocator.h: Likewise.
466 * include/ext/bitmap_allocator.h: Likewise.
467 * include/ext/new_allocator.h: Likewise.
468 * include/ext/malloc_allocator.h: Likewise.
469 * include/ext/array_allocator.h: Likewise.
470 * include/ext/mt_allocator.h: Likewise.
471 * include/ext/extptr_allocator.h: Likewise.
472 * testsuite/util/testsuite_allocator.h: Likewise; do not include
473 <cassert> directly, include <testsuite_hooks.h> instead.
475 2011-06-10 Benjamin Kosnik <bkoz@redhat.com>
477 * include/ext/pb_ds/*: Doxygen markup redo.
478 * include/Makefile.am: Fold in constructors_destructor_fn_imps.hpp.
479 * include/Makefile.in: Regenerate.
481 2011-06-10 Jason Merrill <jason@redhat.com>
483 * testsuite/20_util/bind/ref_neg.cc: Remove wrong test lines.
485 * testsuite/20_util/bind/ref_neg.cc: Remove dg-excess-errors,
488 2011-06-09 Jason Merrill <jason@redhat.com>
490 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust.
492 * testsuite/lib/prune.exp (libstdc++-dg-prune): Prune notes.
493 * testsuite/20_util/duration/cons/1_neg.cc: Remove dg-excess-errors.
494 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Likewise.
495 * testsuite/20_util/forward/1_neg.cc: Likewise.
496 * testsuite/20_util/function/cmp/cmp_neg.cc: Likewise.
497 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Likewise.
498 * testsuite/20_util/reference_wrapper/ref_neg.cc: Likewise.
499 * testsuite/20_util/tuple/comparison_operators/35480_neg.cc: Likewise.
500 * testsuite/tr1/6_containers/tuple/comparison_operators/35480_neg.cc:
502 * testsuite/20_util/shared_ptr/assign/auto_ptr_neg.cc: Likewise.
503 * testsuite/20_util/shared_ptr/cons/unique_ptr_neg.cc: Likewise.
504 * testsuite/20_util/shared_ptr/assign/unique_ptr_lvalue_neg.cc:
506 * testsuite/20_util/unique_ptr/cons/auto_ptr_neg.cc: Likewise.
507 * testsuite/20_util/unique_ptr/cons/ptr_deleter_neg.cc: Likewise.
508 * testsuite/tr1/2_general_utilities/shared_ptr/assign/auto_ptr_neg.cc:
510 * testsuite/tr1/2_general_utilities/shared_ptr/assign/
511 auto_ptr_rvalue_neg.cc: Likewise.
512 * testsuite/tr1/2_general_utilities/shared_ptr/cons/auto_ptr_neg.cc:
514 * testsuite/20_util/uses_allocator/cons_neg.cc: Likewise.
515 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
517 * testsuite/23_containers/deque/requirements/dr438/
518 constructor_1_neg.cc: Likewise.
519 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
521 * testsuite/23_containers/forward_list/requirements/dr438/
522 assign_neg.cc: Likewise.
523 * testsuite/23_containers/forward_list/requirements/dr438/
524 constructor_1_neg.cc: Likewise.
525 * testsuite/23_containers/forward_list/requirements/dr438/
526 constructor_2_neg.cc: Likewise.
527 * testsuite/23_containers/forward_list/requirements/dr438/
528 insert_neg.cc: Likewise.
529 * testsuite/23_containers/list/requirements/dr438/
530 assign_neg.cc: Likewise.
531 * testsuite/23_containers/list/requirements/dr438/
532 constructor_1_neg.cc: Likewise.
533 * testsuite/23_containers/list/requirements/dr438/
534 constructor_2_neg.cc: Likewise.
535 * testsuite/23_containers/list/requirements/dr438/
536 insert_neg.cc: Likewise.
537 * testsuite/23_containers/vector/requirements/dr438/
538 assign_neg.cc: Likewise.
539 * testsuite/23_containers/vector/requirements/dr438/
540 constructor_1_neg.cc: Likewise.
541 * testsuite/23_containers/vector/requirements/dr438/
542 constructor_2_neg.cc: Likewise.
543 * testsuite/23_containers/vector/requirements/dr438/
544 insert_neg.cc: Likewise.
545 * testsuite/23_containers/map/operators/1_neg.cc: Likewise.
546 * testsuite/29_atomics/atomic_integral/operators/
547 bitwise_neg.cc: Likewise.
548 * testsuite/decimal/mixed-mode-arith_neg.cc: Likewise.
549 * testsuite/decimal/mixed-mode-cmp_neg.cc: Likewise.
550 * testsuite/decimal/operator_neg.cc: Likewise.
552 2011-06-09 Simon Baldwin <simonb@google.com>
554 * scripts/extract_symvers.in: Handle processor/OS specific or
555 unknown symbol binding strings from readelf.
557 2011-06-09 Paolo Carlini <paolo.carlini@oracle.com>
559 * include/std/type_traits (__is_copy_assignable_impl,
560 __is_nt_copy_assignable_impl): Fix typo.
562 2011-06-08 Paolo Carlini <paolo.carlini@oracle.com>
564 * include/ext/extptr_allocator.h: Include <ext/numeric_traits.h>
566 * include/bits/allocator.h: Likewise.
568 * include/std/chrono (duration_values<>::min): Call lowest, not min.
570 2011-06-08 Paolo Carlini <paolo.carlini@oracle.com>
572 * include/bits/allocator.h (__shrink_to_fit): Simplify.
573 * include/bits/stl_vector.h (vector<>::shrink_to_fit): Adjust.
574 * include/bits/stl_deque.h: Likewise.
575 * include/bits/stl_bvector.h: Likewise.
577 2011-06-07 Jason Merrill <jason@redhat.com>
579 * testsuite/lib/prune.exp: s/required/instantiated/.
580 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
581 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Likewise.
582 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Likewise.
583 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Likewise.
584 * testsuite/20_util/forward/1_neg.cc: Likewise.
585 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Likewise.
586 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
588 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Likewise.
589 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Likewise.
590 * testsuite/20_util/shared_ptr/assign/shared_ptr_neg.cc: Likewise.
591 * testsuite/ext/ext_pointer/1_neg.cc: Likewise.
592 * testsuite/ext/pb_ds/example/hash_resize_neg.cc: Likewise.
593 * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Likewise.
594 * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Likewise.
595 * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Likewise.
596 * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Likewise.
597 * testsuite/tr1/2_general_utilities/shared_ptr/assign/
598 shared_ptr_neg.cc: Likewise.
600 2011-06-07 Paolo Carlini <paolo.carlini@oracle.com>
602 * include/bits/move.h (struct __move_if_noexcept_cond): Add.
603 (move_if_noexcept): Use the latter.
604 * include/bits/stl_iterator.h (__make_move_if_noexcept_iterator,
605 _GLIBCXX_MAKE_MOVE_IF_NOEXCEPT_ITERATOR): Add.
606 * include/bits/stl_uninitialized.h
607 (__uninitialized_move_if_noexcept_a): Add.
608 * include/bits/vector.tcc (vector<>::reserve): Use
609 _GLIBCXX_MAKE_MOVE_IF_NOEXCEPT_ITERATOR.
610 (vector<>::_M_insert_aux, _M_fill_insert, _M_default_append,
611 _M_range_insert): Use __uninitialized_move_if_noexcept_a.
612 * testsuite/util/testsuite_rvalref.h (throwing_move_constructor):
614 (copycounter::copycounter(copycounter&&)): Use noexcept.
615 * testsuite/23_containers/vector/modifiers/moveable2.cc: New.
616 * testsuite/23_containers/vector/capacity/resize/moveable2.cc:
618 * testsuite/23_containers/vector/capacity/reserve/moveable2.cc:
621 2011-06-07 Paolo Carlini <paolo.carlini@oracle.com>
624 * testsuite/22_locale/time_get/get_weekday/char/38081-1.cc: Tweak
626 * testsuite/22_locale/time_get/get_weekday/char/38081-2.cc: Likewise.
628 2011-06-06 Paolo Carlini <paolo.carlini@oracle.com>
630 * include/bits/move.h (move_if_noexcept): Use __and_ and __not_.
632 2011-06-05 Jonathan Wakely <jwakely.gcc@gmail.com>
634 * include/bits/ptr_traits.h (pointer_traits): Fix typos.
635 * include/ext/pointer.h (pointer_traits): Add partial specialization
636 for _Pointer_adapter.
638 2011-06-04 Jonathan Wakely <jwakely.gcc@gmail.com>
640 * testsuite/util/testsuite_allocator.h (tracker_allocator::construct):
641 Update to C++0x definition using type to construct as template
643 (tracker_allocator::destroy): Likewise for type to destroy.
644 (uneq_allocator::construct, uneq_allocator::destroy): Likewise.
646 2011-06-01 Paolo Carlini <paolo.carlini@oracle.com>
648 * include/bits/hashtable.h (_Hashtable<>::_Hashtable(_Hashtable&&)):
649 Use std::move on the allocator, use noexcept.
650 (_Hashtable<>::~_Hashtable): Use noexcept.
651 * include/bits/stl_list.h: Likewise.
652 * include/bits/forward_list.h: Likewise.
653 * include/bits/stl_vector.h: Likewise.
654 * include/bits/stl_bvector.h: Likewise.
655 * include/bits/stl_map.h (map<>::map(map&&)): Use noexcept.
656 * include/bits/stl_set.h: Likewise.
657 * include/bits/stl_multimap.h: Likewise.
658 * include/bits/stl_multiset.h: Likewise.
659 * include/bits/stl_tree.h (_Rb_tree<>::_Rb_tree(_Rb_tree&&)): Use
660 std::move on the allocator.
661 (_Rb_tree<>::~_Rb_tree): Use noexcept.
662 * include/bits/stl_deque.h: Likewise.
663 * include/bits/basic_string.h (basic_string<>::~basic_string): Use
665 * include/ext/vstring.h (__versa_string<>::~__versa_string): Likewise.
666 * include/debug/set.h: Adjust.
667 * include/debug/unordered_map: Likewise.
668 * include/debug/multiset.h: Likewise.
669 * include/debug/forward_list: Likewise.
670 * include/debug/vector: Likewise.
671 * include/debug/unordered_set: Likewise.
672 * include/debug/deque: Likewise.
673 * include/debug/map.h: Likewise.
674 * include/debug/string: Likewise.
675 * include/debug/list: Likewise.
676 * include/debug/multimap.h: Likewise.
677 * include/profile/set.h: Likewise.
678 * include/profile/unordered_map: Likewise.
679 * include/profile/multiset.h: Likewise.
680 * include/profile/forward_list: Likewise.
681 * include/profile/unordered_set: Likewise.
682 * include/profile/vector: Likewise.
683 * include/profile/deque: Likewise.
684 * include/profile/map.h: Likewise.
685 * include/profile/list: Likewise.
686 * include/profile/multimap.h: Likewise.
687 * testsuite/21_strings/basic_string/cons/wchar_t/
688 noexcept_move_construct.cc: New.
689 * testsuite/21_strings/basic_string/cons/char/
690 noexcept_move_construct.cc: Likewise.
691 * testsuite/ext/vstring/cons/noexcept_move_construct.cc: Likewise.
692 * testsuite/23_containers/unordered_map/cons/
693 noexcept_move_construct.cc: Likewise.
694 * testsuite/23_containers/multimap/cons/
695 noexcept_move_construct.cc: Likewise.
696 * testsuite/23_containers/set/cons/
697 noexcept_move_construct.cc: Likewise.
698 * testsuite/23_containers/unordered_multimap/cons/
699 noexcept_move_construct.cc: Likewise.
700 * testsuite/23_containers/forward_list/cons/
701 noexcept_move_construct.cc: Likewise.
702 * testsuite/23_containers/unordered_set/cons/
703 noexcept_move_construct.cc: Likewise.
704 * testsuite/23_containers/vector/bool/cons/
705 noexcept_move_construct.cc: Likewise.
706 * testsuite/23_containers/vector/cons/
707 noexcept_move_construct.cc: Likewise.
708 * testsuite/23_containers/multiset/cons/
709 noexcept_move_construct.cc: Likewise.
710 * testsuite/23_containers/list/cons/
711 noexcept_move_construct.cc: Likewise.
712 * testsuite/23_containers/unordered_multiset/cons/
713 noexcept_move_construct.cc: Likewise.
714 * testsuite/23_containers/map/cons/noexcept_move_construct.cc
715 * testsuite/23_containers/forward_list/requirements/dr438/
716 assign_neg.cc: Adjust dg-error line numbers.
717 * testsuite/23_containers/forward_list/requirements/dr438/
718 insert_neg.cc: Likewise.
719 * testsuite/23_containers/forward_list/requirements/dr438/
720 constructor_1_neg.cc: Likewise.
721 * testsuite/23_containers/forward_list/requirements/dr438/
722 constructor_2_neg.cc: Likewise.
723 * testsuite/23_containers/vector/requirements/dr438/
724 assign_neg.cc: Likewise.
725 * testsuite/23_containers/vector/requirements/dr438/
726 insert_neg.cc: Likewise.
727 * testsuite/23_containers/vector/requirements/dr438/
728 constructor_1_neg.cc: Likewise.
729 * testsuite/23_containers/vector/requirements/dr438/
730 constructor_2_neg.cc: Likewise.
731 * testsuite/23_containers/deque/requirements/dr438/
732 assign_neg.cc: Likewise.
733 * testsuite/23_containers/deque/requirements/dr438/
734 insert_neg.cc: Likewise.
735 * testsuite/23_containers/deque/requirements/dr438/
736 constructor_1_neg.cc: Likewise.
737 * testsuite/23_containers/deque/requirements/dr438/
738 constructor_2_neg.cc: Likewise.
739 * testsuite/23_containers/list/requirements/dr438/
740 assign_neg.cc: Likewise.
741 * testsuite/23_containers/list/requirements/dr438/
742 insert_neg.cc: Likewise.
743 * testsuite/23_containers/list/requirements/dr438/
744 constructor_1_neg.cc: Likewise.
745 * testsuite/23_containers/list/requirements/dr438/
746 constructor_2_neg.cc: Likewise.
748 * include/bits/move.h (swap): Use __and_ in the noexcept.
749 * include/bits/algorithmfwd.h: Adjust.
751 2011-05-31 Paolo Carlini <paolo.carlini@oracle.com>
753 * include/bits/basic_string.h: Use noexcept per the FDIS (minus
754 compare(const string&), which uses char_traits::compare, which
755 isn't noexcept; also no noexcept in the move assignment operator
756 and move assign, see c++std-lib-30855).
757 * include/bits/basic_string.tcc: Likewise.
758 * include/ext/vstring.h: Likewise.
759 * include/ext/vstring.tcc: Likewise.
760 * include/debug/string: Likewise.
762 2011-05-31 Jonathan Wakely <jwakely.gcc@gmail.com>
764 * doc/xml/manual/status_cxx200x.xml: Update.
765 * doc/html/*: Regenerate.
767 2011-05-30 Paolo Carlini <paolo.carlini@oracle.com>
769 * include/std/type_traits (__or_, __and_): Add trivial definitions
770 for a single element.
771 * include/bits/stl_pair.h: Use __and_ in noexcept specs and
773 (pair<>::pair(pair&&)): Define.
774 (pair<>::pair(const pair<>&)): Constrain with is_convertible.
775 (pair<>::pair(pair<>&&)): Likewise, remove noexcept.
776 * include/std/tuple: Use __and_ in noexcept specs and constraints.
777 (_Tuple_impl<>::_Tuple_impl(allocator_arg_t, const _Alloc&,
778 _Tuple_impl&&)): Remove noexcept.
779 (tuple<>::tuple(_UElements&&...), tuple(const tuple<_UElements...>&),
780 tuple(tuple<_UElements...>&&), tuple(const pair<_U1, _U2>&),
781 tuple(pair<_U1, _U2>&&)): Constrain with is_convertible.
782 * testsuite/20_util/tuple/moveable2.cc: Use = delete.
783 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
784 Adjust dg-error line numbers.
785 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
787 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
788 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Likewise.
789 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
791 2011-05-31 Jonathan Wakely <jwakely.gcc@gmail.com>
793 * include/std/tuple: Restore is_convertible constraint.
794 * testsuite/20_util/tuple/cons/allocate_noncopyable.cc: Remove.
796 2011-05-30 Paolo Carlini <paolo.carlini@oracle.com>
799 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-warning
802 2011-05-30 Jonathan Wakely <jwakely.gcc@gmail.com>
804 * include/std/tuple: Implement uses-allocator construction.
805 * include/bits/allocator.h (uses_allocator): Move to ...
806 * include/bits/uses_allocator.h: New file.
807 * include/Makefile.am: Add new header.
808 * include/Makefile.in: Regenerate.
809 * testsuite/20_util/uses_allocator/cons_neg.cc: New.
810 * testsuite/20_util/uses_allocator/construction.cc: New.
811 * testsuite/20_util/tuple/cons/allocate_noncopyable.cc: New.
812 * testsuite/20_util/tuple/cons/allocators.cc: New.
814 2011-05-28 Jonathan Wakely <jwakely.gcc@gmail.com>
816 * testsuite/20_util/pointer_traits/pointer_to.cc: Fix.
818 2011-05-28 Jonathan Wakely <jwakely.gcc@gmail.com>
820 * acinclude.m4: Define GLIBCXX_CHECK_GET_NPROCS and
821 GLIBCXX_CHECK_SC_NPROCESSORS_ONLN.
822 * configure.ac: Use them. Increase minor version.
823 * configure: Regenerate.
824 * config.h.in: Regenerate.
825 * include/std/thread (thread::hardware_concurrency): Remove inline
827 * src/thread.cc (thread::hardware_concurrency): Define.
828 * config/abi/pre/gnu.ver: Export new symbol @3.4.17
829 * testsuite/util/testsuite_abi.cc: Add new version.
830 * testsuite/lib/libstdc++.exp (check_v3_target_nprocs): Add.
831 * testsuite/lib/dg-options.exp (dg-require-nprocs): Add.
832 * testsuite/30_threads/thread/members/hardware_concurrency.cc: Use
833 dg-require-nprocs and verify hardware_concurrency returns non-zero.
835 2011-05-28 Jonathan Wakely <jwakely.gcc@gmail.com>
837 * testsuite/20_util/pointer_traits/pointer_to.cc: New.
839 2011-05-28 Jonathan Wakely <jwakely.gcc@gmail.com>
841 * include/Makefile.am: Add new ptr_traits.h header.
842 * include/Makefile.in: Regenerate.
843 * include/bits/ptr_traits.h (pointer_traits): New.
844 * include/bits/allocator.h (allocator_traits): Add.
845 * include/ext/array_allocator.h (construct, destroy): Update C++0x
847 * include/ext/bitmap_allocator.h (construct, destroy): Likewise.
848 * include/ext/extptr_allocator.h (construct, destroy): Likewise.
849 * include/ext/malloc_allocator.h (construct, destroy): Likewise.
850 * include/ext/mt_allocator.h (construct, destroy): Likewise.
851 * include/ext/new_allocator.h (construct, destroy): Likewise.
852 * include/ext/pool_allocator.h (construct, destroy): Likewise.
853 * include/ext/throw_allocator.h (construct, destroy): Likewise.
854 * testsuite/20_util/allocator_traits/requirements/typedefs.cc: New.
855 * testsuite/20_util/allocator_traits/requirements/
856 explicit_instantiation.cc: New.
857 * testsuite/20_util/allocator_traits/members/max_size.cc: New.
858 * testsuite/20_util/allocator_traits/members/select.cc: New.
859 * testsuite/20_util/allocator_traits/members/construct.cc: New.
860 * testsuite/20_util/allocator_traits/members/allocate_hint.cc: New.
861 * testsuite/20_util/allocator_traits/members/destroy.cc: New.
862 * testsuite/20_util/pointer_traits/requirements/typedefs.cc: New.
863 * testsuite/20_util/pointer_traits/requirements/
864 explicit_instantiation.cc: New.
866 2011-05-28 Jonathan Wakely <jwakely.gcc@gmail.com>
868 * include/std/future (launch): Update enumerators and define
869 operators required for bitmask type. Remove trailing whitespace.
870 * src/future.cc: Remove trailing whitespace.
871 * testsuite/30_threads/async/any.cc: Adjust.
872 * testsuite/30_threads/async/sync.cc: Adjust.
873 * testsuite/30_threads/async/launch.cc: New.
875 2011-05-28 Jonathan Wakely <jwakely.gcc@gmail.com>
877 * include/std/future: Use noexcept.
878 * src/future.cc: Likewise.
880 2011-05-27 Jonathan Wakely <jwakely.gcc@gmail.com>
882 * include/std/thread (this_thread::sleep_until): Move after sleep_for.
884 2011-05-27 Paolo Carlini <paolo.carlini@oracle.com>
887 * include/parallel/losertree.h: Add missing using declarations
889 * include/parallel/algobase.h: Include <parallel/algorithmfwd.h>.
890 * include/parallel/multiway_merge.h: Include <parallel/
891 multiseq_selection.h>, forward declare __merge_advance.
892 * include/parallel/multiseq_selection.h: Don't include <parallel/
894 * include/ext/pb_ds/detail/thin_heap_/erase_fn_imps.hpp: Fix
895 qualification of upper_bound.
897 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand_debug.cc:
898 Use dg-require-debug-mode.
899 * testsuite/ext/pb_ds/regression/tree_data_map_rand_debug.cc:
901 * testsuite/ext/pb_ds/regression/priority_queue_rand_debug.cc:
903 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand_debug.cc:
905 * testsuite/ext/pb_ds/regression/trie_data_map_rand_debug.cc:
907 * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand_debug.cc:
909 * testsuite/ext/pb_ds/regression/list_update_data_map_rand_debug.cc:
911 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand_debug.cc:
913 * testsuite/ext/pb_ds/regression/hash_data_map_rand_debug.cc:
916 * include/parallel/algo.h: Minor uglification fixes.
918 2011-05-26 Paolo Carlini <paolo.carlini@oracle.com>
920 * src/list.cc: Use noexcept per the FDIS.
921 * src/compatibility-list-2.cc: Likewise.
922 * include/debug/set.h: Likewise.
923 * include/debug/unordered_map: Likewise.
924 * include/debug/multiset.h: Likewise.
925 * include/debug/forward_list: Likewise.
926 * include/debug/unordered_set: Likewise.
927 * include/debug/vector: Likewise.
928 * include/debug/map.h: Likewise.
929 * include/debug/deque: Likewise.
930 * include/debug/list: Likewise.
931 * include/debug/multimap.h: Likewise.
932 * include/profile/set.h: Likewise.
933 * include/profile/unordered_map: Likewise.
934 * include/profile/multiset.h: Likewise.
935 * include/profile/forward_list: Likewise.
936 * include/profile/vector: Likewise.
937 * include/profile/unordered_set: Likewise.
938 * include/profile/map.h: Likewise.
939 * include/profile/deque: Likewise.
940 * include/profile/list: Likewise.
941 * include/profile/multimap.h: Likewise.
942 * include/bits/hashtable.h: Likewise.
943 * include/bits/stl_list.h: Likewise.
944 * include/bits/stl_map.h: Likewise.
945 * include/bits/hashtable_policy.h: Likewise.
946 * include/bits/stl_set.h: Likewise.
947 * include/bits/forward_list.h: Likewise.
948 * include/bits/stl_multimap.h: Likewise.
949 * include/bits/stl_vector.h: Likewise.
950 * include/bits/stl_deque.h: Likewise.
951 * include/bits/stl_multiset.h: Likewise.
952 * include/bits/stl_bvector.h: Likewise.
953 * include/bits/stl_tree.h: Likewise.
955 2011-05-25 Paolo Carlini <paolo.carlini@oracle.com>
957 * include/bits/stl_queue.h: Use noexcept per the FDIS.
958 * include/bits/stl_stack.h: Likewise.
960 2011-05-25 Paolo Carlini <paolo.carlini@oracle.com>
962 * config/abi/pre/gnu.ver: Correct last change, export instead
963 at the existing @3.4.16.
964 * configure.ac: Revert last change.
965 * testsuite/util/testsuite_abi.cc: Likewise.
966 * configure: Regenerate.
968 2011-05-26 Jonathan Wakely <jwakely.gcc@gmail.com>
970 * doc/xml/manual/documentation_hacking.xml: Minor corrections.
972 2011-05-26 Jonathan Wakely <jwakely.gcc@gmail.com>
974 * include/std/mutex: Add doxygen comments.
976 2011-05-25 Paolo Carlini <paolo.carlini@oracle.com>
978 * config/abi/pre/gnu.ver: Export recently added basic_streambuf
979 and basic_stringbuf symbols @3.4.17.
980 * configure.ac: Update.
981 * testsuite/util/testsuite_abi.cc: Likewise.
982 * configure: Regenerate.
984 2011-05-26 Jonathan Wakely <jwakely.gcc@gmail.com>
986 * libsupc++/guard.cc: Fix comments.
988 2011-05-25 Ian Lance Taylor <iant@google.com>
991 * include/backward/hashtable.h (hashtable::erase): Don't crash if
992 erasing first and another element with a reference to the other
994 * testsuite/backward/hash_set/49060.cc: New.
996 2011-05-25 Paolo Carlini <paolo.carlini@oracle.com>
998 * include/bits/random.h (random_device::min, max): Specify constexpr.
1000 2011-05-25 Paolo Carlini <paolo.carlini@oracle.com>
1002 * include/std/thread: Use noexcept throughout per the FDIS.
1003 * include/std/mutex: Likewise.
1005 2011-05-24 Paolo Carlini <paolo.carlini@oracle.com>
1007 * testsuite/20_util/duration/arithmetic/dr2020.cc: Fix typo.
1009 2011-05-24 Paolo Carlini <paolo.carlini@oracle.com>
1012 * include/std/chrono (operator+, operator-, operator*, operator/,
1013 operator&): Implement LWG 2020 [WP]; specify constexpr.
1014 * testsuite/20_util/duration/arithmetic/dr2020.cc: New.
1016 2011-05-24 Paolo Carlini <paolo.carlini@oracle.com>
1019 * testsuite/26_numerics/complex/cons/48760.cc: Use dg-require-c-std.
1020 * testsuite/26_numerics/complex/cons/48760_c++0x.cc: Likewise.
1021 * testsuite/26_numerics/headers/cmath/19322.cc: Likewise.
1023 2011-05-24 Paolo Carlini <paolo.carlini@oracle.com>
1025 * include/bits/c++config (_GLIBCXX_NOTHROW): Update for noexcept.
1026 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error
1029 2011-05-23 Benjamin Kosnik <bkoz@redhat.com>
1033 Interface changes for ext/pb_ds.
1034 PB_DS_BASE_C_DEC to unique PB_DS_*_BASE macros.
1035 * include/ext/pb_ds/assoc_container.hpp (container_base): Remove.
1036 (basic_hash_table, basic_branch, list_update): Derive from
1037 container_base_dispatch.
1038 * include/ext/pb_ds/list_update_policy.hpp (null_lu_metadata): Remove.
1039 (move_to_front_lu_policy): To lu_move_to_front_policy.
1040 (counter_lu_policy): To lu_counter_policy.
1041 * include/ext/pb_ds/tree_policy.hpp (null_tree_node_update): Remove.
1042 * include/ext/pb_ds/tag_and_trait.hpp (container_base_dispatch): Adjust
1043 template parameters, declare here.
1044 (null_mapped_type) Remove.
1045 (null_type): Just use this for template tricks everywhere.
1046 * include/ext/pb_ds/hash_policy.hpp (null_hash_fn, null_probe_fn):
1048 * include/ext/pb_ds/trie_policy.hpp (null_trie_node_update): Remove.
1049 (string_trie_e_access_traits): To trie_string_access_traits.
1050 * include/ext/pb_ds/priority_queue.hpp: Use container_base_dispatch.
1053 * include/Makefile.am (pb_headers): Removed and changed file names.
1054 * include/Makefile.in: Regenerated.
1055 * include/ext/pb_ds/detail/basic_types.hpp: Remove.
1056 * include/ext/pb_ds/detail/bin_search_tree_/
1057 cond_dtor_entry_dealtor.hpp: Remove.
1058 * include/ext/pb_ds/detail/bin_search_tree_/
1059 cond_key_dtor_entry_dealtor.hpp: Remove.
1060 * include/ext/pb_ds/detail/binary_heap_/const_point_iterator.hpp: Move..
1061 * include/ext/pb_ds/detail/binary_heap_/
1062 point_const_iterator.hpp: ..here.
1063 * include/ext/pb_ds/detail/basic_tree_policy: Move to...
1064 * include/ext/pb_ds/detail/branch_policy: This.
1065 * include/ext/pb_ds/detail/branch_policy/
1066 basic_tree_policy_base.hpp: Move...
1067 * include/ext/pb_ds/detail/branch_policy/branch_policy.hpp: ...here.
1068 * include/ext/pb_ds/detail/branch_policy/null_node_metadata.hpp: Add.
1069 * include/ext/pb_ds/detail/branch_policy/traits.hpp: Add.
1070 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1071 null_metadata.hpp: Remove.
1072 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1073 const_point_iterator.hpp: Move...
1074 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1075 point_const_iterator.hpp: ...here.
1076 * include/ext/pb_ds/detail/list_update_policy/
1077 counter_lu_metadata.hpp: Move..
1078 * include/ext/pb_ds/detail/list_update_policy/
1079 lu_counter_metadata.hpp: ...here.
1080 * include/ext/pb_ds/detail/list_update_policy/
1081 counter_lu_policy_imp.hpp: Remove.
1082 * include/ext/pb_ds/detail/list_update_policy/
1083 mtf_lu_policy_imp.hpp: Remove.
1084 * include/ext/pb_ds/detail/trie_policy/
1085 string_trie_e_access_traits_imp.hpp: Move...
1086 * include/ext/pb_ds/detail/trie_policy/
1087 sample_trie_access_traits.hpp: ...here.
1088 * include/ext/pb_ds/detail/trie_policy/
1089 sample_trie_e_access_traits.hpp: Move...
1090 * include/ext/pb_ds/detail/trie_policy/
1091 trie_string_access_traits_imp.hpp: ...here.
1092 * include/ext/pb_ds/detail/trie_policy/null_node_update_imp.hpp: Remove.
1093 * include/ext/pb_ds/detail/tree_policy/null_node_update_imp.hpp: Remove.
1094 * include/ext/pb_ds/detail/ov_tree_map_/cond_dtor.hpp: Remove.
1095 * include/ext/pb_ds/detail/pat_trie_/pat_trie_base.hpp: New, fold all
1096 types found in the following files into pat_trie_base.
1097 * include/ext/pb_ds/detail/pat_trie_/const_child_iterator.hpp: Folded.
1098 * include/ext/pb_ds/detail/pat_trie_/
1099 cond_dtor_entry_dealtor.hpp: Folded.
1100 * include/ext/pb_ds/detail/pat_trie_/child_iterator.hpp: Folded.
1101 * include/ext/pb_ds/detail/pat_trie_/split_join_branch_bag.hpp: Folded.
1102 * include/ext/pb_ds/detail/pat_trie_/head.hpp: Folded.
1103 * include/ext/pb_ds/detail/pat_trie_/leaf.hpp: Folded.
1104 * include/ext/pb_ds/detail/pat_trie_/node_base.hpp: Folded.
1105 * include/ext/pb_ds/detail/pat_trie_/node_metadata_base.hpp: Folded.
1106 * include/ext/pb_ds/detail/pat_trie_/internal_node.hpp: Folded.
1107 * include/ext/pb_ds/detail/pat_trie_/node_iterators.hpp: Folded.
1108 * include/ext/pb_ds/detail/pat_trie_/point_iterators.hpp: Folded.
1109 * include/ext/pb_ds/detail/pat_trie_/synth_e_access_traits.hpp: Move...
1110 * include/ext/pb_ds/detail/pat_trie_/synth_access_traits.hpp: ...here.
1111 * include/ext/pb_ds/detail/unordered_iterator/
1112 const_point_iterator.hpp: Move...
1113 * include/ext/pb_ds/detail/unordered_iterator/
1114 point_const_iterator.hpp: ...here.
1117 Adjust for above changes.
1118 * include/ext/pb_ds/detail/resize_policy/sample_size_policy.hpp: Same.
1119 * include/ext/pb_ds/detail/resize_policy/sample_resize_policy.hpp: Same.
1120 * include/ext/pb_ds/detail/resize_policy/
1121 sample_resize_trigger.hpp: Same.
1122 * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp: Same.
1123 * include/ext/pb_ds/detail/binomial_heap_base_/find_fn_imps.hpp: Same.
1124 * include/ext/pb_ds/detail/binomial_heap_base_/insert_fn_imps.hpp: Same.
1125 * include/ext/pb_ds/detail/binomial_heap_base_/
1126 binomial_heap_base_.hpp: Same.
1127 * include/ext/pb_ds/detail/binomial_heap_base_/
1128 constructors_destructor_fn_imps.hpp: Same.
1129 * include/ext/pb_ds/detail/binomial_heap_base_/debug_fn_imps.hpp: Same.
1130 * include/ext/pb_ds/detail/binomial_heap_base_/
1131 split_join_fn_imps.hpp: Same.
1132 * include/ext/pb_ds/detail/container_base_dispatch.hpp: Same. Adjust
1133 for template parameter ordering change.
1134 * include/ext/pb_ds/detail/cc_hash_table_map_/
1135 erase_store_hash_fn_imps.hpp: Same.
1136 * include/ext/pb_ds/detail/cc_hash_table_map_/
1137 constructor_destructor_no_store_hash_fn_imps.hpp: Same.
1138 * include/ext/pb_ds/detail/cc_hash_table_map_/cmp_fn_imps.hpp: Same.
1139 * include/ext/pb_ds/detail/cc_hash_table_map_/
1140 insert_no_store_hash_fn_imps.hpp: Same.
1141 * include/ext/pb_ds/detail/cc_hash_table_map_/find_fn_imps.hpp: Same.
1142 * include/ext/pb_ds/detail/cc_hash_table_map_/
1143 policy_access_fn_imps.hpp: Same.
1144 * include/ext/pb_ds/detail/cc_hash_table_map_/
1145 resize_store_hash_fn_imps.hpp: Same.
1146 * include/ext/pb_ds/detail/cc_hash_table_map_/
1147 constructor_destructor_store_hash_fn_imps.hpp: Same.
1148 * include/ext/pb_ds/detail/cc_hash_table_map_/
1149 insert_store_hash_fn_imps.hpp: Same.
1150 * include/ext/pb_ds/detail/cc_hash_table_map_/debug_fn_imps.hpp: Same.
1151 * include/ext/pb_ds/detail/cc_hash_table_map_/info_fn_imps.hpp: Same.
1152 * include/ext/pb_ds/detail/cc_hash_table_map_/
1153 entry_list_fn_imps.hpp: Same.
1154 * include/ext/pb_ds/detail/cc_hash_table_map_/trace_fn_imps.hpp: Same.
1155 * include/ext/pb_ds/detail/cc_hash_table_map_/
1156 find_store_hash_fn_imps.hpp: Same.
1157 * include/ext/pb_ds/detail/cc_hash_table_map_/erase_fn_imps.hpp: Same.
1158 * include/ext/pb_ds/detail/cc_hash_table_map_/
1159 debug_no_store_hash_fn_imps.hpp: Same.
1160 * include/ext/pb_ds/detail/cc_hash_table_map_/cc_ht_map_.hpp: Same.
1161 * include/ext/pb_ds/detail/cc_hash_table_map_/resize_fn_imps.hpp: Same.
1162 * include/ext/pb_ds/detail/cc_hash_table_map_/
1163 constructor_destructor_fn_imps.hpp: Same.
1164 * include/ext/pb_ds/detail/cc_hash_table_map_/
1165 cond_key_dtor_entry_dealtor.hpp: Same.
1166 * include/ext/pb_ds/detail/cc_hash_table_map_/insert_fn_imps.hpp: Same.
1167 * include/ext/pb_ds/detail/cc_hash_table_map_/
1168 debug_store_hash_fn_imps.hpp: Same.
1169 * include/ext/pb_ds/detail/cc_hash_table_map_/
1170 erase_no_store_hash_fn_imps.hpp: Same.
1171 * include/ext/pb_ds/detail/cc_hash_table_map_/size_fn_imps.hpp: Same.
1172 * include/ext/pb_ds/detail/cc_hash_table_map_/
1173 iterators_fn_imps.hpp: Same.
1174 * include/ext/pb_ds/detail/cc_hash_table_map_/
1175 resize_no_store_hash_fn_imps.hpp: Same.
1176 * include/ext/pb_ds/detail/cc_hash_table_map_/
1177 standard_policies.hpp: Same.
1178 * include/ext/pb_ds/detail/tree_trace_base.hpp: Same.
1179 * include/ext/pb_ds/detail/unordered_iterator/iterator.hpp: Same.
1180 * include/ext/pb_ds/detail/unordered_iterator/const_iterator.hpp: Same.
1181 * include/ext/pb_ds/detail/unordered_iterator/point_iterator.hpp: Same.
1182 * include/ext/pb_ds/detail/pat_trie_/find_fn_imps.hpp: Same.
1183 * include/ext/pb_ds/detail/pat_trie_/policy_access_fn_imps.hpp: Same.
1184 * include/ext/pb_ds/detail/pat_trie_/r_erase_fn_imps.hpp: Same.
1185 * include/ext/pb_ds/detail/pat_trie_/update_fn_imps.hpp: Same.
1186 * include/ext/pb_ds/detail/pat_trie_/insert_join_fn_imps.hpp: Same.
1187 * include/ext/pb_ds/detail/pat_trie_/debug_fn_imps.hpp: Same.
1188 * include/ext/pb_ds/detail/pat_trie_/
1189 constructors_destructor_fn_imps.hpp: Same.
1190 * include/ext/pb_ds/detail/pat_trie_/pat_trie_.hpp: Same.
1191 * include/ext/pb_ds/detail/pat_trie_/split_fn_imps.hpp: Same.
1192 * include/ext/pb_ds/detail/pat_trie_/traits.hpp: Same.
1193 * include/ext/pb_ds/detail/pat_trie_/info_fn_imps.hpp: Same.
1194 * include/ext/pb_ds/detail/pat_trie_/rotate_fn_imps.hpp: Same.
1195 * include/ext/pb_ds/detail/pat_trie_/trace_fn_imps.hpp: Same.
1196 * include/ext/pb_ds/detail/pat_trie_/erase_fn_imps.hpp: Same.
1197 * include/ext/pb_ds/detail/pat_trie_/iterators_fn_imps.hpp: Same.
1198 * include/ext/pb_ds/detail/bin_search_tree_/find_fn_imps.hpp: Same.
1199 * include/ext/pb_ds/detail/bin_search_tree_/
1200 policy_access_fn_imps.hpp: Same.
1201 * include/ext/pb_ds/detail/bin_search_tree_/r_erase_fn_imps.hpp: Same.
1202 * include/ext/pb_ds/detail/bin_search_tree_/
1203 constructors_destructor_fn_imps.hpp: Same.
1204 * include/ext/pb_ds/detail/bin_search_tree_/debug_fn_imps.hpp: Same.
1205 * include/ext/pb_ds/detail/bin_search_tree_/traits.hpp: Same.
1206 * include/ext/pb_ds/detail/bin_search_tree_/info_fn_imps.hpp: Same.
1207 * include/ext/pb_ds/detail/bin_search_tree_/rotate_fn_imps.hpp: Same.
1208 * include/ext/pb_ds/detail/bin_search_tree_/erase_fn_imps.hpp: Same.
1209 * include/ext/pb_ds/detail/bin_search_tree_/bin_search_tree_.hpp: Same.
1210 * include/ext/pb_ds/detail/bin_search_tree_/insert_fn_imps.hpp: Same.
1211 * include/ext/pb_ds/detail/bin_search_tree_/node_iterators.hpp: Same.
1212 * include/ext/pb_ds/detail/bin_search_tree_/point_iterators.hpp: Same.
1213 * include/ext/pb_ds/detail/bin_search_tree_/
1214 split_join_fn_imps.hpp: Same.
1215 * include/ext/pb_ds/detail/bin_search_tree_/iterators_fn_imps.hpp: Same.
1216 * include/ext/pb_ds/detail/list_update_policy/
1217 sample_update_policy.hpp: Same.
1218 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1219 trace_fn_imps.hpp: Same.
1220 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1221 erase_fn_imps.hpp: Same.
1222 * include/ext/pb_ds/detail/gp_hash_table_map_/
1223 erase_store_hash_fn_imps.hpp: Same.
1224 * include/ext/pb_ds/detail/gp_hash_table_map_/
1225 constructor_destructor_no_store_hash_fn_imps.hpp: Same.
1226 * include/ext/pb_ds/detail/gp_hash_table_map_/
1227 insert_no_store_hash_fn_imps.hpp: Same.
1228 * include/ext/pb_ds/detail/gp_hash_table_map_/find_fn_imps.hpp: Same.
1229 * include/ext/pb_ds/detail/gp_hash_table_map_/
1230 policy_access_fn_imps.hpp: Same.
1231 * include/ext/pb_ds/detail/gp_hash_table_map_/
1232 resize_store_hash_fn_imps.hpp: Same.
1233 * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Same.
1234 * include/ext/pb_ds/detail/gp_hash_table_map_/
1235 constructor_destructor_store_hash_fn_imps.hpp: Same.
1236 * include/ext/pb_ds/detail/gp_hash_table_map_/
1237 insert_store_hash_fn_imps.hpp: Same.
1238 * include/ext/pb_ds/detail/gp_hash_table_map_/debug_fn_imps.hpp: Same.
1239 * include/ext/pb_ds/detail/gp_hash_table_map_/
1240 iterator_fn_imps.hpp: Same.
1241 * include/ext/pb_ds/detail/gp_hash_table_map_/info_fn_imps.hpp: Same.
1242 * include/ext/pb_ds/detail/gp_hash_table_map_/
1243 find_no_store_hash_fn_imps.hpp: Same.
1244 * include/ext/pb_ds/detail/gp_hash_table_map_/trace_fn_imps.hpp: Same.
1245 * include/ext/pb_ds/detail/gp_hash_table_map_/erase_fn_imps.hpp: Same.
1246 * include/ext/pb_ds/detail/gp_hash_table_map_/
1247 find_store_hash_fn_imps.hpp: Same.
1248 * include/ext/pb_ds/detail/gp_hash_table_map_/
1249 debug_no_store_hash_fn_imps.hpp: Same.
1250 * include/ext/pb_ds/detail/gp_hash_table_map_/resize_fn_imps.hpp: Same.
1251 * include/ext/pb_ds/detail/gp_hash_table_map_/
1252 constructor_destructor_fn_imps.hpp: Same.
1253 * include/ext/pb_ds/detail/gp_hash_table_map_/insert_fn_imps.hpp: Same.
1254 * include/ext/pb_ds/detail/gp_hash_table_map_/
1255 debug_store_hash_fn_imps.hpp: Same.
1256 * include/ext/pb_ds/detail/gp_hash_table_map_/
1257 erase_no_store_hash_fn_imps.hpp: Same.
1258 * include/ext/pb_ds/detail/gp_hash_table_map_/
1259 resize_no_store_hash_fn_imps.hpp: Same.
1260 * include/ext/pb_ds/detail/gp_hash_table_map_/
1261 standard_policies.hpp: Same.
1262 * include/ext/pb_ds/detail/standard_policies.hpp: Same.
1263 * include/ext/pb_ds/detail/types_traits.hpp: Same.
1264 * include/ext/pb_ds/detail/binary_heap_/find_fn_imps.hpp: Same.
1265 * include/ext/pb_ds/detail/binary_heap_/policy_access_fn_imps.hpp: Same.
1266 * include/ext/pb_ds/detail/binary_heap_/const_iterator.hpp: Same.
1267 * include/ext/pb_ds/detail/binary_heap_/entry_cmp.hpp: Same.
1268 * include/ext/pb_ds/detail/binary_heap_/
1269 constructors_destructor_fn_imps.hpp: Same.
1270 * include/ext/pb_ds/detail/binary_heap_/debug_fn_imps.hpp: Same.
1271 * include/ext/pb_ds/detail/binary_heap_/info_fn_imps.hpp: Same.
1272 * include/ext/pb_ds/detail/binary_heap_/trace_fn_imps.hpp: Same.
1273 * include/ext/pb_ds/detail/binary_heap_/erase_fn_imps.hpp: Same.
1274 * include/ext/pb_ds/detail/binary_heap_/entry_pred.hpp: Same.
1275 * include/ext/pb_ds/detail/binary_heap_/insert_fn_imps.hpp: Same.
1276 * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp: Same.
1277 * include/ext/pb_ds/detail/binary_heap_/resize_policy.hpp: Same.
1278 * include/ext/pb_ds/detail/binary_heap_/split_join_fn_imps.hpp: Same.
1279 * include/ext/pb_ds/detail/binary_heap_/iterators_fn_imps.hpp: Same.
1280 * include/ext/pb_ds/detail/tree_policy/order_statistics_imp.hpp: Same.
1281 * include/ext/pb_ds/detail/tree_policy/node_metadata_selector.hpp: Same.
1282 * include/ext/pb_ds/detail/tree_policy/
1283 sample_tree_node_update.hpp: Same.
1284 * include/ext/pb_ds/detail/trie_policy/order_statistics_imp.hpp: Same.
1285 * include/ext/pb_ds/detail/trie_policy/
1286 sample_trie_node_update.hpp: Same.
1287 * include/ext/pb_ds/detail/trie_policy/trie_policy_base.hpp: Same.
1288 * include/ext/pb_ds/detail/trie_policy/
1289 prefix_search_node_update_imp.hpp: Same.
1290 * include/ext/pb_ds/detail/trie_policy/node_metadata_selector.hpp: Same.
1291 * include/ext/pb_ds/detail/cond_dealtor.hpp: Same.
1292 * include/ext/pb_ds/detail/priority_queue_base_dispatch.hpp: Same.
1293 Adjust for template parameter change, fold into
1294 container_base_dispatch.
1295 * include/ext/pb_ds/detail/pairing_heap_/erase_fn_imps.hpp: Same.
1296 * include/ext/pb_ds/detail/pairing_heap_/find_fn_imps.hpp: Same.
1297 * include/ext/pb_ds/detail/pairing_heap_/insert_fn_imps.hpp: Same.
1298 * include/ext/pb_ds/detail/pairing_heap_/
1299 constructors_destructor_fn_imps.hpp: Same.
1300 * include/ext/pb_ds/detail/pairing_heap_/debug_fn_imps.hpp: Same.
1301 * include/ext/pb_ds/detail/pairing_heap_/pairing_heap_.hpp: Same.
1302 * include/ext/pb_ds/detail/pairing_heap_/split_join_fn_imps.hpp: Same.
1303 * include/ext/pb_ds/detail/binomial_heap_/
1304 constructors_destructor_fn_imps.hpp: Same.
1305 * include/ext/pb_ds/detail/binomial_heap_/debug_fn_imps.hpp: Same.
1306 * include/ext/pb_ds/detail/binomial_heap_/binomial_heap_.hpp: Same.
1307 * include/ext/pb_ds/detail/constructors_destructor_fn_imps.hpp: Same.
1308 * include/ext/pb_ds/detail/type_utils.hpp: Same.
1309 * include/ext/pb_ds/detail/eq_fn/hash_eq_fn.hpp: Same.
1310 * include/ext/pb_ds/detail/eq_fn/eq_by_less.hpp: Same.
1311 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1312 policy_access_fn_imps.hpp: Same.
1313 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1314 left_child_next_sibling_heap_.hpp: Same.
1315 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1316 const_iterator.hpp: Same.
1317 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1318 insert_fn_imps.hpp: Same.
1319 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1320 constructors_destructor_fn_imps.hpp: Same.
1321 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1322 debug_fn_imps.hpp: Same.
1323 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1325 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1326 info_fn_imps.hpp: Same.
1327 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1328 iterators_fn_imps.hpp: Same.
1329 * include/ext/pb_ds/detail/thin_heap_/trace_fn_imps.hpp: Same.
1330 * include/ext/pb_ds/detail/thin_heap_/erase_fn_imps.hpp: Same.
1331 * include/ext/pb_ds/detail/thin_heap_/find_fn_imps.hpp: Same.
1332 * include/ext/pb_ds/detail/thin_heap_/thin_heap_.hpp: Same.
1333 * include/ext/pb_ds/detail/thin_heap_/insert_fn_imps.hpp: Same.
1334 * include/ext/pb_ds/detail/thin_heap_/
1335 constructors_destructor_fn_imps.hpp: Same.
1336 * include/ext/pb_ds/detail/thin_heap_/debug_fn_imps.hpp: Same.
1337 * include/ext/pb_ds/detail/thin_heap_/split_join_fn_imps.hpp: Same.
1338 * include/ext/pb_ds/detail/ov_tree_map_/erase_fn_imps.hpp: Same.
1339 * include/ext/pb_ds/detail/ov_tree_map_/policy_access_fn_imps.hpp: Same.
1340 * include/ext/pb_ds/detail/ov_tree_map_/insert_fn_imps.hpp: Same.
1341 * include/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp: Same.
1342 * include/ext/pb_ds/detail/ov_tree_map_/
1343 constructors_destructor_fn_imps.hpp: Same.
1344 * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same.
1345 * include/ext/pb_ds/detail/ov_tree_map_/node_iterators.hpp: Same.
1346 * include/ext/pb_ds/detail/ov_tree_map_/split_join_fn_imps.hpp: Same.
1347 * include/ext/pb_ds/detail/ov_tree_map_/info_fn_imps.hpp: Same.
1348 * include/ext/pb_ds/detail/ov_tree_map_/traits.hpp: Same.
1349 * include/ext/pb_ds/detail/ov_tree_map_/iterators_fn_imps.hpp: Same.
1350 * include/ext/pb_ds/detail/debug_map_base.hpp: Same.
1351 * include/ext/pb_ds/detail/hash_fn/ranged_probe_fn.hpp: Same.
1352 * include/ext/pb_ds/detail/hash_fn/sample_probe_fn.hpp: Same.
1353 * include/ext/pb_ds/detail/hash_fn/sample_ranged_probe_fn.hpp: Same.
1354 * include/ext/pb_ds/detail/hash_fn/sample_range_hashing.hpp: Same.
1355 * include/ext/pb_ds/detail/hash_fn/probe_fn_base.hpp: Same.
1356 * include/ext/pb_ds/detail/hash_fn/ranged_hash_fn.hpp: Same.
1357 * include/ext/pb_ds/detail/hash_fn/sample_ranged_hash_fn.hpp: Same.
1358 * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp: Same.
1359 * include/ext/pb_ds/detail/splay_tree_/find_fn_imps.hpp: Same.
1360 * include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp: Same.
1361 * include/ext/pb_ds/detail/splay_tree_/
1362 constructors_destructor_fn_imps.hpp: Same.
1363 * include/ext/pb_ds/detail/splay_tree_/debug_fn_imps.hpp: Same.
1364 * include/ext/pb_ds/detail/splay_tree_/splay_fn_imps.hpp: Same.
1365 * include/ext/pb_ds/detail/splay_tree_/node.hpp: Same.
1366 * include/ext/pb_ds/detail/splay_tree_/split_join_fn_imps.hpp: Same.
1367 * include/ext/pb_ds/detail/splay_tree_/info_fn_imps.hpp: Same.
1368 * include/ext/pb_ds/detail/splay_tree_/splay_tree_.hpp: Same.
1369 * include/ext/pb_ds/detail/splay_tree_/traits.hpp: Same.
1370 * include/ext/pb_ds/detail/list_update_map_/trace_fn_imps.hpp: Same.
1371 * include/ext/pb_ds/detail/list_update_map_/erase_fn_imps.hpp: Same.
1372 * include/ext/pb_ds/detail/list_update_map_/
1373 entry_metadata_base.hpp: Same.
1374 * include/ext/pb_ds/detail/list_update_map_/find_fn_imps.hpp: Same.
1375 * include/ext/pb_ds/detail/list_update_map_/lu_map_.hpp: Same.
1376 * include/ext/pb_ds/detail/list_update_map_/
1377 constructor_destructor_fn_imps.hpp: Same.
1378 * include/ext/pb_ds/detail/list_update_map_/insert_fn_imps.hpp: Same.
1379 * include/ext/pb_ds/detail/list_update_map_/debug_fn_imps.hpp: Same.
1380 * include/ext/pb_ds/detail/list_update_map_/info_fn_imps.hpp: Same.
1381 * include/ext/pb_ds/detail/list_update_map_/iterators_fn_imps.hpp: Same.
1382 * include/ext/pb_ds/detail/rc_binomial_heap_/trace_fn_imps.hpp: Same.
1383 * include/ext/pb_ds/detail/rc_binomial_heap_/erase_fn_imps.hpp: Same.
1384 * include/ext/pb_ds/detail/rc_binomial_heap_/
1385 rc_binomial_heap_.hpp: Same.
1386 * include/ext/pb_ds/detail/rc_binomial_heap_/insert_fn_imps.hpp: Same.
1387 * include/ext/pb_ds/detail/rc_binomial_heap_/
1388 constructors_destructor_fn_imps.hpp: Same.
1389 * include/ext/pb_ds/detail/rc_binomial_heap_/debug_fn_imps.hpp: Same.
1390 * include/ext/pb_ds/detail/rc_binomial_heap_/rc.hpp: Same.
1391 * include/ext/pb_ds/detail/rc_binomial_heap_/
1392 split_join_fn_imps.hpp: Same.
1393 * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp: Same.
1394 * include/ext/pb_ds/detail/rb_tree_map_/find_fn_imps.hpp: Same.
1395 * include/ext/pb_ds/detail/rb_tree_map_/insert_fn_imps.hpp: Same.
1396 * include/ext/pb_ds/detail/rb_tree_map_/
1397 constructors_destructor_fn_imps.hpp: Same.
1398 * include/ext/pb_ds/detail/rb_tree_map_/debug_fn_imps.hpp: Same.
1399 * include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp: Same.
1400 * include/ext/pb_ds/detail/rb_tree_map_/node.hpp: Same.
1401 * include/ext/pb_ds/detail/rb_tree_map_/split_join_fn_imps.hpp: Same.
1402 * include/ext/pb_ds/detail/rb_tree_map_/info_fn_imps.hpp: Same.
1403 * include/ext/pb_ds/detail/rb_tree_map_/traits.hpp: Same.
1406 Documentation changes.
1407 * include/ext/pb_ds/*: Add doxygen markup.
1408 * doc/doxygen/user.cfg.in: Add details for extracting comments
1410 * scripts/run_doxygen: Fixup __gnu_pb_ds::detail.
1411 * scripts/make_graph.py: Move to svg output. Re-format generated tables.
1413 * doc/Makefile.am (stamp-html-copy): New rule.
1414 (stamp-html): Use it to copy non-generated files into html docs.
1415 * doc/Makefile.in: Regenerated.
1417 * doc/html/ext/pb_ds/sample_trie_e_access_traits.html: Move...
1418 * doc/html/ext/pb_ds/trie_string_access_traits.html: ...here.
1419 * doc/html/ext/pb_ds/string_trie_e_access_traits.html: Move..
1420 * doc/html/ext/pb_ds/sample_trie_access_traits.html: ...here.
1422 * doc/html/ext/pb_ds/tree_text_lor_find_timing_test_local.png,
1423 hash_random_int_erase_mem_usage_test_local.png,
1424 multimap_text_insert_mem_usage_test_small_s2p_hash_local.png,
1425 tree_text_insert_timing_test_pat_trie_local.png ,
1426 multimap_text_insert_mem_usage_test_small_s2p_tree_local.png ,
1427 priority_queue_text_modify_down_timing_test_local.png,
1428 gp_hash_random_int_subscript_timing_test_find_local.png,
1429 text_find_timing_test_hash_local.png,
1430 multimap_text_insert_timing_test_small_s2p_hash_local.png,
1431 multimap_text_insert_timing_test_small_s2p_tree_local.png,
1432 multimap_text_insert_mem_usage_test_large_s2p_hash_local.png,
1433 multimap_text_insert_mem_usage_test_large_s2p_tree_local.png,
1434 multimap_text_insert_timing_test_large_s2p_hash_local.png,
1435 hash_zlob_random_int_find_timing_test_local.png,
1436 multimap_text_insert_timing_test_large_s2p_tree_local.png,
1437 binary_priority_queue_random_int_push_timing_test_local.png,
1438 priority_queue_text_pop_mem_usage_test_local.png,
1439 priority_queue_text_modify_down_timing_test_pairing_thin_local.png,
1440 tree_split_join_timing_test_local.png,
1441 multimap_text_find_timing_test_small_s2p_hash_local.png,
1442 ccgp_hash_random_int_subscript_timing_test_insert_local.png,
1443 priority_queue_random_int_push_pop_timing_test_local.png,
1444 multimap_text_find_timing_test_small_s2p_tree_local.png,
1445 gp_hash_random_int_subscript_timing_test_insert_local.png,
1446 priority_queue_text_push_timing_test_local.png,
1447 cc_hash_random_int_subscript_timing_test_find_local.png,
1448 tree_text_insert_timing_test_vector_tree_local.png,
1449 multimap_text_find_timing_test_large_s2p_hash_local.png,
1450 pairing_priority_queue_text_push_timing_test_local.png,
1451 tree_order_statistics_timing_test_local.png,
1452 priority_queue_text_push_pop_timing_test_local.png,
1453 text_find_timing_test_tree_like_local.png,
1454 multimap_text_find_timing_test_large_s2p_tree_local.png,
1455 priority_queue_text_modify_up_timing_test_pairing_thin_local.png,
1456 cc_hash_random_int_subscript_timing_test_insert_local.png,
1457 priority_queue_text_modify_up_timing_test_local.png,
1458 random_int_find_find_timing_test_tree_local.png,
1459 priority_queue_random_int_push_timing_test_local.png,
1460 tree_text_insert_timing_test_node_tree_local.png,
1461 pairing_priority_queue_text_push_pop_timing_test_local.png,
1462 gp_hash_random_int_find_timing_test_local.png,
1463 cc_hash_random_int_find_timing_test_local.png,
1464 priority_queue_text_join_timing_test_local.png: Update local pngs.
1468 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand_debug.cc: New.
1469 * testsuite/ext/pb_ds/regression/tree_data_map_rand_debug.cc: New.
1470 * testsuite/ext/pb_ds/regression/priority_queue_rand_debug.cc: New.
1471 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand_debug.cc: New.
1472 * testsuite/ext/pb_ds/regression/trie_data_map_rand_debug.cc: New.
1473 * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand_debug.cc:
1475 * testsuite/ext/pb_ds/regression/list_update_data_map_rand_debug.cc:
1477 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand_debug.cc: New.
1478 * testsuite/ext/pb_ds/regression/hash_data_map_rand_debug.cc: New.
1480 * testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc: Fix typo.
1482 * testsuite/ext/pb_ds/example/basic_set.cc: Update.
1483 * testsuite/ext/pb_ds/example/ranged_hash.cc: Same.
1484 * testsuite/ext/pb_ds/example/tree_order_statistics.cc: Same.
1485 * testsuite/ext/pb_ds/example/trie_prefix_search.cc: Same.
1486 * testsuite/ext/pb_ds/example/trie_dna.cc: Same.
1487 * testsuite/ext/pb_ds/example/tree_intervals.cc: Same.
1488 * testsuite/ext/pb_ds/example/basic_multimap.cc: Same.
1489 * testsuite/performance/ext/pb_ds/hash_random_int_erase_mem_usage.cc:
1491 * testsuite/performance/ext/pb_ds/tree_split_join_timing.cc: Same.
1492 * testsuite/performance/ext/pb_ds/tree_order_statistics_timing.cc: Same.
1493 * testsuite/data/make_graph_test_infos.xml: Same.
1494 * testsuite/util/regression/common_type.hpp: Same.
1495 * testsuite/util/regression/trait/assoc/native_type_trait.hpp: Same.
1496 * testsuite/util/regression/trait/assoc/trait.hpp: Same.
1497 * testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
1498 * testsuite/util/regression/rand/priority_queue/
1499 rand_regression_test.hpp: Same.
1500 * testsuite/util/regression/rand/priority_queue/
1501 container_rand_regression_test.tcc: Same.
1502 * testsuite/util/regression/rand/assoc/rand_regression_test.hpp: Same.
1503 * testsuite/util/regression/rand/assoc/container_rand_regression_test.h
1504 * testsuite/util/regression/rand/assoc/
1505 container_rand_regression_test.tcc: Same.
1506 * testsuite/util/native_type/native_priority_queue.hpp: Same.
1507 * testsuite/util/native_type/native_multimap.hpp: Same.
1508 * testsuite/util/native_type/native_hash_multimap.hpp: Same.
1509 * testsuite/util/native_type/native_set.hpp: Same.
1510 * testsuite/util/native_type/native_map.hpp: Same.
1511 * testsuite/util/native_type/native_hash_set.hpp: Same.
1512 * testsuite/util/native_type/native_hash_map.hpp: Same.
1513 * testsuite/util/testsuite_containers.h
1514 * testsuite/util/common_type/priority_queue/common_type.hpp: Same.
1515 * testsuite/util/common_type/assoc/common_type.hpp: Same.
1516 * testsuite/util/common_type/assoc/string_form.hpp: Same.
1517 * testsuite/util/common_type/assoc/template_policy.hpp: Same.
1518 * testsuite/util/common_type/assoc/detail/
1519 trigger_policy_string_form.hpp: Same.
1520 * testsuite/util/common_type/assoc/detail/ds_string_form.hpp: Same.
1521 * testsuite/util/common_type/assoc/detail/
1522 size_policy_string_form.hpp: Same.
1523 * testsuite/util/common_type/assoc/detail/
1524 probe_fn_string_form.hpp: Same.
1525 * testsuite/util/common_type/assoc/detail/
1526 tree_supports_order_statistics.hpp: Same.
1527 * testsuite/util/common_type/assoc/detail/
1528 trie_supports_prefix_search.hpp: Same.
1529 * testsuite/util/common_type/assoc/detail/
1530 list_update_policy_string_form.hpp: Same.
1531 * testsuite/util/common_type/assoc/detail/
1532 trie_supports_order_statistics.hpp: Same.
1533 * testsuite/util/common_type/assoc/native_set.hpp: Same.
1534 * testsuite/util/performance/assoc/timing/common_type.hpp: Same.
1535 * testsuite/util/performance/assoc/timing/multimap_find_test.hpp: Same.
1536 * testsuite/util/performance/assoc/multimap_common_type.hpp: Same.
1538 2011-05-23 Paolo Carlini <paolo.carlini@oracle.com>
1540 * include/bits/streambuf_iterator.h: Use noexcept per the FDIS.
1541 (istreambuf_iterator<>::istreambuf_iterator(const
1542 istreambuf_iterator&), ~istreambuf_iterator()): Add defaulted
1545 2011-05-23 Jason Merrill <jason@redhat.com>
1547 * libsupc++/exception_ptr.h: Fix compilation in C++0x mode.
1549 2011-05-22 Jonathan Wakely <jwakely.gcc@gmail.com>
1551 * testsuite/20_util/bind/cv_quals_2.cc: New.
1553 2011-05-22 Paolo Carlini <paolo.carlini@oracle.com>
1556 * include/std/functional (_Bind<_Functor(_Bound_args...)>::
1557 operator()(_Args&&...)): Don't cv qualify _Functor directly
1558 in the default template argument, SFINAE doesn't apply when
1559 the functor has no arguments.
1560 * testsuite/20_util/bind/49058_1.cc: New.
1561 * testsuite/20_util/bind/49058_2.cc: Likewise.
1563 2011-05-21 Paolo Carlini <paolo.carlini@oracle.com>
1565 * include/bits/unique_ptr.h: Use noexcept per the FDIS.
1567 2011-05-20 Paolo Carlini <paolo.carlini@oracle.com>
1569 * testsuite/21_strings/basic_string/requirements/exception/
1570 propagation_consistent.cc: Fix vs POD-ness of value_type.
1571 * testsuite/21_strings/basic_string/requirements/exception/
1573 * testsuite/ext/vstring/requirements/exception/
1574 propagation_consistent.cc: Likewise.
1575 * testsuite/ext/vstring/requirements/exception/basic.cc: Likewise.
1577 2011-05-20 Paolo Carlini <paolo.carlini@oracle.com>
1579 * include/bits/char_traits.h: Use noexcept throughout.
1580 * include/std/typeindex: Likewise.
1582 * include/std/tuple (_Tuple_impl<>_Tuple_impl(_Tuple_impl&&)): Use
1583 noexcept; adjust callers.
1584 * include/bits/stl_pair.h (pair<>::pair(pair<>&&)): Use noexcept.
1585 * testsuite/20_util/tuple/cons/noexcept_move_construct.cc: New.
1586 * testsuite/20_util/pair/cons/noexcept_move_construct.cc: Likewise.
1587 * testsuite/20_util/pair/noexcept_swap.cc: Likewise.
1588 * testsuite/20_util/pair/noexcept_move_assign.cc: Likewise.
1589 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-warning
1592 2011-05-20 Jason Merrill <jason@redhat.com>
1594 * include/ext/pb_ds/assoc_container.hpp: Explicitly qualify calls to
1595 functions from dependent bases.
1596 * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp: Likewise.
1597 * include/ext/pb_ds/detail/rb_tree_map_/
1598 split_join_fn_imps.hpp: Likewise.
1599 * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp: Likewise.
1600 * include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp: Likewise.
1601 * include/ext/pb_ds/detail/splay_tree_/splay_fn_imps.hpp: Likewise.
1602 * include/ext/pb_ds/detail/splay_tree_/
1603 split_join_fn_imps.hpp: Likewise.
1604 * include/ext/pb_ds/detail/tree_policy/
1605 order_statistics_imp.hpp: Likewise.
1606 * include/ext/pb_ds/detail/trie_policy/
1607 prefix_search_node_update_imp.hpp: Likewise.
1608 * include/ext/rc_string_base.h: Likewise.
1609 * include/ext/rope: Likewise.
1610 * include/ext/ropeimpl.h: Likewise.
1611 * testsuite/util/exception/safety.h: Likewise.
1612 * testsuite/util/native_type/native_priority_queue.hpp: Likewise.
1613 * testsuite/util/testsuite_io.h: Likewise.
1614 * include/std/functional: Declare mem_fn earlier.
1615 * include/tr1/functional: Likewise.
1616 * include/tr1/exp_integral.tcc: Declare __expint_E1 earlier.
1618 2011-05-19 Paolo Carlini <paolo.carlini@oracle.com>
1620 * include/std/tuple (tuple_element<__i, const _Tp>,
1621 tuple_element<__i, volatile _Tp>, tuple_element<__i,
1622 const volatile _Tp>, tuple_size<const _Tp>, tuple_size<volatile _Tp>,
1623 tuple_size<const volatile _Tp>): Add.
1624 * include/std/utility (tuple_size<std::pair<_Tp1, _Tp2>>): Tweak.
1625 * include/std/array (tuple_size<array<_Tp, _Nm>>): Likewise.
1626 * testsuite/20_util/tuple/cv_tuple_size.cc: New.
1627 * testsuite/20_util/tuple/cv_tuple_element.cc: Likewise.
1628 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Tweak dg-warning
1631 2011-05-19 Paolo Carlini <paolo.carlini@oracle.com>
1633 * include/std/tuple (tuple<>::operator=(tuple&&)): Specify as
1635 (__get_helper): Likewise.
1636 (_Head_base<>::_M_head, _Tuple_impl<>::_M_head, _M_tail): Likewise.
1637 * include/bits/move.h (swap): Likewise.
1638 * include/bits/algorithmfwd.h (swap): Adjust.
1639 * include/bits/stl_pair.h (pair<>::operator=(pair&&)): Spec noexcept.
1640 * testsuite/util/testsuite_allocator.h (uneq_allocator): In C++0x
1641 mode, prefer delete to access control to make the type not copy
1643 * testsuite/util/testsuite_tr1.h: Add test classes.
1644 * testsuite/20_util/tuple/noexcept_swap.cc: New.
1645 * testsuite/20_util/tuple/noexcept_move_assign.cc: Likewise.
1646 * testsuite/25_algorithms/reverse/moveable.cc: Likewise, prefer
1647 delete to access control.
1648 * testsuite/25_algorithms/swap_ranges/moveable.cc: Likewise.
1649 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-warning
1652 2011-05-19 Daniel Krugler <daniel.kruegler@googlemail.com>
1654 * testsuite/util/testsuite_tr1.h: Add test classes.
1655 * testsuite/20_util/is_nothrow_assignable/value.cc: Add.
1657 2011-05-19 Paolo Carlini <paolo.carlini@oracle.com>
1659 * include/std/type_traits (is_assignable, is_copy_assignable,
1660 is_move_assignable, is_nothrow_assignable, is_nothrow_copy_assignable,
1661 is_nothrow_move_assignable): Add; minor tweaks elsewhere.
1662 (has_nothrow_copy_assign): Remove.
1663 * testsuite/util/testsuite_tr1.h: Add test classes.
1664 * testsuite/20_util/is_assignable/requirements/typedefs.cc: Add.
1665 * testsuite/20_util/is_assignable/requirements/
1666 explicit_instantiation.cc: Likewise.
1667 * testsuite/20_util/is_nothrow_assignable/value.cc: Likewise.
1668 * testsuite/20_util/is_nothrow_assignable/requirements/typedefs.cc:
1670 * testsuite/20_util/is_nothrow_assignable/requirements/
1671 explicit_instantiation.cc: Likewise.
1672 * testsuite/20_util/is_move_assignable/value.cc: Likewise.
1673 * testsuite/20_util/is_move_assignable/requirements/typedefs.cc:
1675 * testsuite/20_util/is_move_assignable/requirements/
1676 explicit_instantiation.cc: Likewise.
1677 * testsuite/20_util/is_copy_assignable/value.cc: Likewise.
1678 * testsuite/20_util/is_copy_assignable/requirements/typedefs.cc:
1680 * testsuite/20_util/is_copy_assignable/requirements/
1681 explicit_instantiation.cc: Likewise.
1682 * testsuite/20_util/is_nothrow_move_assignable/value.cc: Likewise.
1683 * testsuite/20_util/is_nothrow_move_assignable/requirements/
1684 typedefs.cc: Likewise.
1685 * testsuite/20_util/is_nothrow_move_assignable/requirements/
1686 explicit_instantiation.cc: Likewise.
1687 * testsuite/20_util/is_nothrow_copy_assignable/value.cc: Likewise.
1688 * testsuite/20_util/is_nothrow_copy_assignable/requirements/
1689 typedefs.cc: Likewise.
1690 * testsuite/20_util/is_nothrow_copy_assignable/requirements/
1691 explicit_instantiation.cc: Likewise.
1692 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
1693 dg-error line numbers.
1694 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
1696 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
1698 2011-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
1700 * include/bits/shared_ptr_base.h: Use noexcept. Define special member
1701 functions as defaulted/deleted.
1702 * include/bits/shared_ptr.h: Use noexcept.
1703 * 20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error line numbers.
1704 * 20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
1706 2011-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
1708 * doc/xml/manual/bitmap_allocator.xml: Fix typos.
1710 2011-05-18 Paolo Carlini <paolo.carlini@oracle.com>
1712 * libsupc++/initializer_list: Use noexcept specifier.
1713 (initializer_list<>::size, begin, end): Qualify as const.
1714 * include/bits/move.h (__addressof, forward, move, addressof): Specify
1716 * include/std/bitset: Use noexcept specifier throughout.
1717 * include/debug/bitset: Update.
1718 * include/profile/bitset: Likewise.
1720 2011-05-17 Paolo Carlini <paolo.carlini@oracle.com>
1722 * include/std/tuple: Use noexcept where appropriate.
1723 (tuple<>::swap): Rework implementation.
1724 (_Head_base<>::_M_swap_impl): Remove.
1725 (get(std::tuple<>&&)): Add.
1726 * testsuite/20_util/tuple/element_access/get2.cc: New.
1727 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
1730 2011-05-16 Paolo Carlini <paolo.carlini@oracle.com>
1732 * include/std/utility: Simplify the last commit, the whole
1733 std::get code is C++0x only.
1735 2011-05-16 Paolo Carlini <paolo.carlini@oracle.com>
1737 * include/std/utility (get(std::pair<>&&)): Add.
1738 * include/bits/stl_pair.h (pair::swap(pair&),
1739 swap(pair<>&, pair<>&)): Use noexcept.
1740 * include/bits/random.h (discard_block_engine<>::base,
1741 independent_bits_engine<>::base, shuffle_order_engine<>::base,
1742 random_device::entropy): Use noexcept.
1743 * include/std/array: Use noexcept where appropriate.
1744 (get(array<>&&)): Add.
1745 * testsuite/23_containers/array/requirements/get.cc: New.
1746 * testsuite/20_util/pair/get.cc: Likewise.
1747 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Tweak dg-error
1750 2011-05-15 Paolo Carlini <paolo.carlini@oracle.com>
1752 * include/bits/c++config (_GLIBCXX_NOEXCEPT, _GLIBCXX_USE_NOEXCEPT):
1754 * include/std/limits: Use the latter everywhere.
1755 (numeric_limits<char16_t>, numeric_limits<char32_t>): Simplify
1756 macro usages, the specializations exist only in C++0x mode.
1757 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error
1760 2011-05-11 Paolo Carlini <paolo.carlini@oracle.com>
1762 * testsuite/26_numerics/headers/cmath/overloads_c++0x_neg.cc: Use
1764 * testsuite/tr1/8_c_compatibility/cmath/overloads_neg.cc: Likewise.
1766 2011-05-11 François Dumont <francois.cppdevs@free.fr>
1768 * include/ext/pb_ds/detail/resize_policy/
1769 hash_load_check_resize_trigger_imp.hpp (assert_valid): Replace
1770 _GLIBCXX_DEBUG_ASSERT calls with PB_DS_DEBUG_VERIFY.
1771 * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp,
1772 find_fn_imps.hpp, insert_fn_imps.hpp, binomial_heap_base_.hpp,
1773 constructors_destructor_fn_imps.hpp, split_join_fn_imps.hpp
1774 (PB_DS_ASSERT_VALID): Rename in PB_DS_ASSERT_VALID_COND.
1775 * include/ext/pb_ds/detail/debug_map_base.hpp,
1776 splay_tree_/splay_tree_.hpp, ov_tree_map_/ov_tree_map_.hpp,
1777 cc_hash_table_map_/cc_ht_map_.hpp, pat_trie_/pat_trie_.hpp,
1778 leaf.hpp, internal_node.hpp, gp_hash_table_map_/gp_ht_map_.hpp,
1779 bin_search_tree_/bin_search_tree_.hpp, list_update_map_/lu_map_.hpp,
1780 rb_tree_map_/rb_tree_.hpp (PB_DS_ASSERT_VALID, PB_DS_DEBUG_VERIFY,
1781 PB_DS_CHECK_KEY_EXISTS, PB_DS_CHECK_KEY_DOES_NOT_EXIST): Duplicate
1782 macro definitions move...
1783 * include/ext/pb_ds/detail/container_base_dispatch.hpp: ... here...
1784 * include/ext/pb_ds/detail/basic_tree_policy/traits.hpp: ... and here.
1785 * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp,
1786 resize_policy.hpp, pairing_heap_/pairing_heap_.hpp,
1787 left_child_next_sibling_heap_/left_child_next_sibling_heap_.hpp,
1788 binomial_heap_/binomial_heap_.hpp, thin_heap_/thin_heap_.hpp,
1789 rc_binomial_heap_/rc_binomial_heap_.hpp, rc.hpp (PB_DS_ASSERT_VALID,
1790 PB_DS_DEBUG_VERIFY): Duplicate macro definitions move...
1791 * include/ext/pb_ds/detail/priority_queue_base_dispatch.hpp:
1794 2011-05-09 Paolo Carlini <paolo.carlini@oracle.com>
1797 * include/c_global/cmath (acosh, asinh, atanh, cbrt, copysign,
1798 erf, erfc, exp2, expm1, fdim, fma, fmax, hypot, ilogb, lgamma,
1799 llrint, llround, log1p, log2, logb, lrint, lround, nearbyint,
1800 nextafter, nexttoward, remainder, remquo, rint, round, scalbln,
1801 scalbn, tgamma, trunc): Use __enable_if on the return type.
1802 * include/tr1/cmath: Likewise.
1803 * testsuite/26_numerics/headers/cmath/overloads_c++0x_neg.cc: New.
1804 * testsuite/tr1/8_c_compatibility/cmath/overloads_neg.cc: Likewise.
1806 2011-05-07 François Dumont <francois.cppdevs@free.fr>
1808 * include/debug/macro.h (_GLIBCXX_DEBUG_VERIFY_AT): New.
1809 (_GLICXX_DEBUG_VERIFY): Use latter.
1810 * include/ext/pb_ds/detail/resize_policy/
1811 hash_load_check_resize_trigger_imp.hpp: Emit assertion on the line
1812 containing the original assert call.
1813 * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp,
1814 find_fn_imps.hpp, insert_fn_imps.hpp, binomial_heap_base_.hpp,
1815 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
1816 split_join_fn_imps.hpp: Likewise.
1817 * include/ext/pb_ds/detail/cc_hash_table_map_/
1818 erase_store_hash_fn_imps.hpp, insert_no_store_hash_fn_imps.hpp,
1819 find_fn_imps.hpp, insert_store_hash_fn_imps.hpp, debug_fn_imps.hpp,
1820 debug_no_store_hash_fn_imps.hpp, cc_ht_map_.hpp, resize_fn_imps.hpp,
1821 constructor_destructor_fn_imps.hpp, debug_store_hash_fn_imps.hpp,
1822 erase_no_store_hash_fn_imps.hpp: Likewise.
1823 * include/ext/pb_ds/detail/pat_trie_/find_fn_imps.hpp,
1824 insert_join_fn_imps.hpp, pat_trie_/head.hpp, debug_fn_imps.hpp,
1825 constructors_destructor_fn_imps.hpp, pat_trie_.hpp, split_fn_imps.hpp,
1826 leaf.hpp, erase_fn_imps.hpp, node_base.hpp, internal_node.hpp:
1828 * include/ext/pb_ds/detail/bin_search_tree_/find_fn_imps.hpp,
1829 r_erase_fn_imps.hpp, constructors_destructor_fn_imps.hpp,
1830 debug_fn_imps.hpp, rotate_fn_imps.hpp, erase_fn_imps.hpp,
1831 bin_search_tree_.hpp, insert_fn_imps.hpp, split_join_fn_imps.hpp:
1833 * include/ext/pb_ds/detail/gp_hash_table_map_/
1834 erase_store_hash_fn_imps.hpp, insert_no_store_hash_fn_imps.hpp,
1835 find_fn_imps.hpp, gp_ht_map_.hpp, insert_store_hash_fn_imps.hpp,
1836 debug_fn_imps.hpp, erase_fn_imps.hpp, debug_no_store_hash_fn_imps.hpp,
1837 resize_fn_imps.hpp, constructor_destructor_fn_imps.hpp,
1838 debug_store_hash_fn_imps.hpp, erase_no_store_hash_fn_imps.hpp:
1840 * include/ext/pb_ds/detail/binary_heap_/find_fn_imps.hpp,
1841 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
1842 erase_fn_imps.hpp, insert_fn_imps.hpp, binary_heap_.hpp,
1843 resize_policy.hpp, split_join_fn_imps.hpp: Likewise.
1844 * include/ext/pb_ds/detail/pairing_heap_/erase_fn_imps.hpp,
1845 find_fn_imps.hpp, insert_fn_imps.hpp,
1846 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
1847 pairing_heap_.hpp, split_join_fn_imps.hpp: Likewise.
1848 * include/ext/pb_ds/detail/binomial_heap_/
1849 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
1850 binomial_heap_.hpp: Likewise.
1851 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1852 erase_fn_imps.hpp, left_child_next_sibling_heap_.hpp,
1853 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp: Likewise.
1854 * include/ext/pb_ds/detail/thin_heap_/erase_fn_imps.hpp,
1855 find_fn_imps.hpp, thin_heap_.hpp, insert_fn_imps.hpp,
1856 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
1857 split_join_fn_imps.hpp: Likewise.
1858 * include/ext/pb_ds/detail/ov_tree_map_/erase_fn_imps.hpp,
1859 ov_tree_map_.hpp, constructors_destructor_fn_imps.hpp,
1860 debug_fn_imps.hpp, split_join_fn_imps.hpp, info_fn_imps.hpp: Likewise.
1861 * include/ext/pb_ds/detail/debug_map_base.hpp: Likewise.
1862 * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp,
1863 find_fn_imps.hpp, insert_fn_imps.hpp,
1864 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
1865 splay_fn_imps.hpp, split_join_fn_imps.hpp, splay_tree_.hpp: Likewise.
1866 * include/ext/pb_ds/detail/list_update_map_/erase_fn_imps.hpp,
1867 find_fn_imps.hpp, lu_map_.hpp, constructor_destructor_fn_imps.hpp,
1868 insert_fn_imps.hpp, debug_fn_imps.hpp: Likewise.
1869 * include/ext/pb_ds/detail/rc_binomial_heap_/erase_fn_imps.hpp,
1870 rc_binomial_heap_.hpp, insert_fn_imps.hpp,
1871 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp, rc.hpp,
1872 split_join_fn_imps.hpp: Likewise.
1873 * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp,
1874 insert_fn_imps.hpp, constructors_destructor_fn_imps.hpp,
1875 debug_fn_imps.hpp, rb_tree_.hpp, split_join_fn_imps.hpp: Likewise.
1876 * include/ext/pb_ds/hash_policy.hpp: Likewise.
1878 2011-05-06 Paolo Carlini <paolo.carlini@oracle.com>
1880 * testsuite/22_locale/messages_byname/named_equivalence.cc: Fix.
1882 2011-05-04 Marc Glisse <marc.glisse@normalesup.org>
1884 PR libstdc++/47913 (again)
1885 * include/std/ratio (ratio_add, ratio_less): Rewrite.
1886 * testsuite/20_util/ratio/operations/47913.cc: Extend.
1887 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust dg-error
1889 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Likewise.
1891 2011-05-03 Paolo Carlini <paolo.carlini@oracle.com>
1894 * include/std/valarray (valarray<>::valarray(valarray&&),
1895 valarray<>::operator=(valarray&&), valarray<>::swap): Add.
1896 * doc/xml/manual/status_cxx200x.xml: Update.
1897 * testsuite/26_numerics/valarray/moveable.cc: New.
1898 * testsuite/26_numerics/valarray/swap.cc: Likewise.
1900 2011-05-03 Paolo Carlini <paolo.carlini@oracle.com>
1903 * include/parallel/multiway_merge.h: Run _ValueType destructors.
1904 * include/parallel/multiway_mergesort.h: Likewise.
1905 * include/parallel/quicksort.h: Likewise.
1906 * include/parallel/random_shuffle.h: Likewise.
1907 * include/parallel/partial_sum.h: Likewise.
1908 * include/parallel/losertree.h: Run destructors; minor tweaks.
1909 * include/parallel/par_loop.h: Run destructors, fix memory
1910 allocations and deallocations.
1911 * testsuite/26_numerics/accumulate/48750.cc: New.
1913 * testsuite/ext/profile/mutex_extensions_neg.cc: Do not run in
1914 parallel-mode to avoid spurious multiple errors.
1916 2011-05-03 Jonathan Wakely <jwakely.gcc@gmail.com>
1918 * include/std/functional (bind): Remove from overload set when first
1919 argument type might be a socket file descriptor.
1920 * testsuite/20_util/bind/socket.cc: New.
1922 2011-05-03 Jonathan Wakely <jwakely.gcc@gmail.com>
1925 * doc/xml/manual/status_cxx200x.xml: Update valarray status.
1926 * doc/html/*: Regenerate.
1928 2011-05-02 Ollie Wild <aaw@google.com>
1930 * include/ext/sso_string_base.h (__sso_string_base<>::_M_construct):
1931 Fix unqualified lookup.
1932 (__sso_string_base<>::_M_assign): Likewise.
1933 (__sso_string_base<>::_M_reserve): Likewise.
1934 (__sso_string_base<>::_M_mutate): Likewise.
1935 (__sso_string_base<>::_M_erase): Likewise.
1936 * include/ext/vstring.h (__versa_string<>::replace): Likewise.
1937 (__versa_string<>::compare): Likewise.
1938 * include/ext/vstring.tcc (__versa_string<>::compare): Likewise.
1940 2011-05-02 Jonathan Wakely <jwakely.gcc@gmail.com>
1942 * doc/xml/manual/status_cxx200x.xml: Update to reflect current status
1944 * doc/xml/manual/documentation_hacking.xml: Fix typo.
1945 * doc/html/*: Regenerate.
1947 2011-04-30 Daniel Krugler <daniel.kruegler@googlemail.com>
1949 * include/std/type_traits (__is_default_constructible_atom,
1950 __is_default_constructible_safe<, true>,
1951 __is_direct_constructible_new_safe,
1952 __is_base_to_derived_ref<,, true>, __is_lvalue_to_rvalue_ref<,, true>,
1953 __is_direct_constructible_ref_cast, __is_direct_constructible,
1954 __is_nary_constructible): Simplify; add comments throughout.
1956 2011-04-30 Paolo Carlini <paolo.carlini@oracle.com>
1958 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
1959 Adjust dg-error line numbers.
1960 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
1962 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
1964 2011-04-30 Doug Kwan <dougkwan@google.com>
1966 * include/Makefile.am (install-freestanding-headers): Also install
1968 * include/Makefile.in: Regenerate.
1970 2011-04-28 Paolo Carlini <paolo.carlini@oracle.com>
1973 * include/std/complex (complex<float>::complex(float, float),
1974 complex<double>::complex(double, double),
1975 complex<long double>::complex(long double, long double)): Use
1976 list-initialization in C++0x mode, initialize in the body in
1978 * testsuite/26_numerics/complex/cons/48760.cc: New.
1979 * testsuite/26_numerics/complex/cons/48760_c++0x.cc: Likewise.
1981 2011-04-28 Paolo Carlini <paolo.carlini@oracle.com>
1983 * include/std/bitset (_Base_bitset(unsigned long long)): Minor
1984 tweak, remove redundant round braces.
1986 2011-04-27 Paolo Carlini <paolo.carlini@oracle.com>
1988 * include/bits/move.h (move_if_noexcept): Add.
1989 * testsuite/20_util/move_if_noexcept/requirements/
1990 explicit_instantiation.cc: New.
1991 * testsuite/20_util/move_if_noexcept/1.cc: Likewise.
1993 2011-04-25 Paolo Carlini <paolo.carlini@oracle.com>
1995 * include/std/type_traits (struct underlying_type): Add.
1996 * testsuite/20_util/underlying_type/requirements/typedefs-1.cc: New.
1997 * testsuite/20_util/underlying_type/requirements/typedefs-2.cc:
1999 * testsuite/20_util/underlying_type/requirements/
2000 explicit_instantiation.cc: Likewise.
2001 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
2004 2011-04-24 Paolo Carlini <paolo.carlini@oracle.com>
2006 * include/parallel/multiway_merge.h: Uglify equally_split
2007 and equally_split_point throughout.
2008 * include/parallel/par_loop.h: Likewise.
2009 * include/parallel/equally_split.h: Likewise.
2010 * include/parallel/set_operations.h: Likewise.
2011 * include/parallel/unique_copy.h: Likewise.
2012 * include/parallel/multiway_mergesort.h: Likewise.
2013 * include/parallel/search.h: Likewise.
2014 * include/parallel/partial_sum.h: Likewise.
2015 * include/parallel/find.h: Likewise.
2017 2011-04-24 Gerald Pfeifer <gerald@pfeifer.com>
2019 * doc/xml/manual/parallel_mode.xml: Fix link to libgomp online
2020 documentation. Expand link text.
2022 2011-04-24 Gerald Pfeifer <gerald@pfeifer.com>
2024 * libsupc++/cxxabi.h: Adjust link to FAQ entry.
2026 2011-04-22 François Dumont <francois.cppdevs@free.fr>
2028 * testsuite/lib/libstdc++.exp (check_v3_target_time): Discard
2029 unused compilation result thanks to /dev/null.
2030 * testsuite/lib/libstdc++.exp (check_v3_target_debug_mode,
2031 check_v3_target_profile_mode, check_v3_target_normal_mode,
2032 check_v3_target_cstdint, check_v3_target_cmath,
2033 check_v3_target_atomic_builtins, check_v3_target_gthreads,
2034 check_v3_target_nanosleep, check_v3_target_sched_yield,
2035 check_v3_target_string_conversions, check_v3_target_swprintf,
2036 check_v3_target_binary_io): Use simple preprocessing rather than
2037 compilation. Discard unused preprocessing result thanks to /dev/null.
2039 2011-04-20 Jim Meyering <meyering@redhat.com>
2041 * libsupc++/del_opnt.cc (operator delete): Remove useless
2044 2011-04-19 Jonathan Wakely <jwakely.gcc@gmail.com>
2047 * include/std/type_traits (result_of): Handle pointer to member.
2048 * include/std/functional (__invoke): Likewise.
2049 (_Function_to_function_pointer): Remove.
2050 (_Reference_wrapper_base): Provide nested types independent of
2051 unary_function and binary_function.
2052 (reference_wrapper::operator()): DR 2017.
2053 (ref(const A&&), cref(const A&&): Define as deleted.
2054 * include/std/future (async): Simplify SFINAE and use result_of to
2055 support pointer to member.
2056 * testsuite/20_util/reference_wrapper/invoke.cc: Test pointer to
2058 * testsuite/20_util/reference_wrapper/24803.cc: Likewise.
2059 * testsuite/20_util/reference_wrapper/typedefs.cc: Test for types
2060 instead of derivation from unary_function and binary_function.
2061 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust.
2062 * testsuite/20_util/reference_wrapper/invoke-2.cc: New.
2063 * testsuite/20_util/reference_wrapper/ref_neg.c: New.
2064 * testsuite/20_util/reference_wrapper/typedefs-3.c: New.
2066 2011-04-19 Hans-Peter Nilsson <hp@axis.com>
2069 * testsuite/20_util/hash/chi2_quality.cc (test_document_words): Stub
2070 this part if SAMPLES < 100000.
2072 2011-04-18 Paolo Carlini <paolo.carlini@oracle.com>
2074 * include/std/type_traits (is_nothrow_default_constructible,
2075 is_nothrow_copy_constructible, is_nothrow_move_constructible,
2076 is_copy_constructible, is_move_constructible): Add.
2077 (has_nothrow_default_constructor, has_nothrow_copy_constructor):
2079 (is_nothrow_constructible): Adjust.
2081 * testsuite/util/testsuite_tr1.h (ThrowDefaultClass,
2082 ThrowCopyConsClass, ThrowMoveConsClass, NoexceptDefaultClass,
2083 ExceptDefaultClass, NoexceptCopyConsClass, ExceptCopyConsClass,
2084 NoexceptMoveConsClass, ExceptMoveConsClass): Add in C++0x mode.
2086 * testsuite/20_util/has_nothrow_default_constructor: Remove.
2087 * testsuite/20_util/has_nothrow_copy_constructor: Likewise.
2089 * testsuite/20_util/is_nothrow_move_constructible/value.cc: Likewise.
2090 * testsuite/20_util/is_nothrow_move_constructible/requirements/
2091 typedefs.cc: Likewise.
2092 * testsuite/20_util/is_nothrow_move_constructible/requirements/
2093 explicit_instantiation.cc: Likewise.
2094 * testsuite/20_util/is_nothrow_copy_constructible/value.cc: Likewise.
2095 * testsuite/20_util/is_nothrow_copy_constructible/requirements/
2096 typedefs.cc: Likewise.
2097 * testsuite/20_util/is_nothrow_copy_constructible/requirements/
2098 explicit_instantiation.cc: Likewise.
2099 * testsuite/20_util/is_nothrow_default_constructible/value.cc:
2101 * testsuite/20_util/is_nothrow_default_constructible/requirements/
2102 typedefs.cc: Likewise.
2103 * testsuite/20_util/is_nothrow_default_constructible/requirements/
2104 explicit_instantiation.cc: Likewise.
2105 * testsuite/20_util/is_move_constructible/value.cc: Likewise.
2106 * testsuite/20_util/is_move_constructible/requirements/typedefs.cc:
2108 * testsuite/20_util/is_move_constructible/requirements/
2109 explicit_instantiation.cc: Likewise.
2110 * testsuite/20_util/is_copy_constructible/value.cc: Likewise.
2111 * testsuite/20_util/is_copy_constructible/requirements/typedefs.cc:
2113 * testsuite/20_util/is_copy_constructible/requirements/
2114 explicit_instantiation.cc: Likewise.
2116 * testsuite/20_util/is_default_constructible/value.cc: Add tests.
2117 * testsuite/20_util/is_nothrow_constructible/value.cc: Likewise.
2119 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
2120 Adjust dg-error line numbers.
2121 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
2123 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
2125 2011-04-17 Paolo Carlini <paolo.carlini@oracle.com>
2127 * testsuite/25_algorithms/partition/moveable.cc: Actually run
2128 it in parallel-mode for check-parallel.
2130 2011-04-17 Daniel Krugler <daniel.kruegler@googlemail.com>
2131 Paolo Carlini <paolo.carlini@oracle.com>
2133 PR libstdc++/48635 (again)
2134 * include/bits/unique_ptr.h (unique_ptr<>::unique_ptr(unique_ptr<>&&),
2135 unique_ptr<_Tp[]>::unique_ptr(unique_ptr<>&&),
2136 unique_ptr<>::operator=(unique_ptr<>&&),
2137 unique_ptr<_Tp[]>::operator=(unique_ptr<>&&)): Use forward<_Ep>, not
2138 forward<_Dp>, to forward the deleter.
2139 * testsuite/20_util/unique_ptr/assign/48635_neg.cc: New.
2141 2011-04-15 Daniel Krugler <daniel.kruegler@googlemail.com>
2142 Paolo Carlini <paolo.carlini@oracle.com>
2145 * include/bits/unique_ptr.h (default_delete<_Tp[]>): Add deleted
2146 function call operator.
2147 * testsuite/20_util/default_delete/48631_neg.cc: New.
2148 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
2151 2011-04-15 Daniel Krugler <daniel.kruegler@googlemail.com>
2152 Paolo Carlini <paolo.carlini@oracle.com>
2155 * include/bits/unique_ptr.h (unique_ptr<>::operator=(unique_ptr&&),
2156 unique_ptr<>::operator=(unique_ptr<>&&),
2157 unique_ptr<_Tp[],>::operator=(unique_ptr&&),
2158 unique_ptr<_Tp[],>::operator=(unique_ptr<>&&)): Forward the deleter
2159 instead of moving it.
2160 * testsuite/20_util/unique_ptr/assign/48635.cc: New.
2162 2011-04-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2164 * scripts/extract_symvers.pl: Handle NOTY.
2166 2011-04-15 Paolo Carlini <paolo.carlini@oracle.com>
2168 * include/std/istream: Fix comments in the light of DR60 + N3168.
2170 2011-04-13 Daniel Krugler <daniel.kruegler@googlemail.com>
2171 Paolo Carlini <paolo.carlini@oracle.com>
2174 * include/std/type_traits (struct is_constructible): Re-implement,
2176 (struct is_default_constructible): Add.
2177 (struct is_destructible): Likewise.
2178 (struct __and_, __or_, __not_): Add and use throughout; reorder some
2179 facilities, other minor tweaks.
2180 * testsuite/util/testsuite_tr1.h: Add test types.
2181 * testsuite/20_util/is_constructible/value-2.cc: New.
2182 * testsuite/20_util/is_default_constructible/value.cc: Likewise.
2183 * testsuite/20_util/is_default_constructible/requirements/typedefs.cc:
2185 * testsuite/20_util/is_default_constructible/requirements/
2186 explicit_instantiation.cc: Likewise.
2187 * testsuite/20_util/is_destructible/value.cc: Likewise.
2188 * testsuite/20_util/is_destructible/requirements/typedefs.cc:
2190 * testsuite/20_util/is_destructible/requirements/
2191 explicit_instantiation.cc: Likewise.
2192 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
2193 dg-error line numbers.
2194 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
2196 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
2197 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Likewise.
2199 2011-04-13 Paolo Carlini <paolo.carlini@oracle.com>
2201 * testsuite/20_util/is_function/value.cc: Add, adapted from the tr
2203 * testsuite/20_util/is_function/requirements/typedefs.cc: Likewise.
2204 * testsuite/20_util/is_function/requirements/
2205 explicit_instantiation.cc: Likewise.
2206 * testsuite/20_util/is_function/24808.cc: Likewise.
2207 * testsuite/20_util/is_function/35637.cc: Likewise.
2208 * testsuite/20_util/is_object/value.cc: Likewise.
2209 * testsuite/20_util/is_object/requirements/typedefs.cc: Likewise.
2210 * testsuite/20_util/is_object/requirements/explicit_instantiation.cc:
2212 * testsuite/20_util/is_object/24808.cc: Likewise.
2213 * testsuite/20_util/is_compound/value.cc: Likewise.
2214 * testsuite/20_util/is_compound/requirements/typedefs.cc: Likewise.
2215 * testsuite/20_util/is_compound/requirements/
2216 explicit_instantiation.cc: Likewise.
2217 * testsuite/20_util/is_member_object_pointer/value.cc: Likewise.
2218 * testsuite/20_util/is_member_object_pointer/requirements/
2219 typedefs.cc: Likewise.
2220 * testsuite/20_util/is_member_object_pointer/requirements/
2221 explicit_instantiation.cc: Likewise.
2222 * testsuite/20_util/is_fundamental/value.cc: Likewise.
2223 * testsuite/20_util/is_fundamental/requirements/typedefs.cc: Likewise.
2224 * testsuite/20_util/is_fundamental/requirements/
2225 explicit_instantiation.cc: Likewise.
2226 * testsuite/20_util/is_member_pointer/value.cc: Likewise.
2227 * testsuite/20_util/is_member_pointer/requirements/typedefs.cc:
2229 * testsuite/20_util/is_member_pointer/requirements/
2230 explicit_instantiation.cc: Likewise.
2231 * testsuite/20_util/is_member_function_pointer/value.cc: Likewise.
2232 * testsuite/20_util/is_member_function_pointer/
2233 requirements/typedefs.cc: Likewise.
2234 * testsuite/20_util/is_member_function_pointer/requirements/
2235 explicit_instantiation.cc: Likewise.
2237 * testsuite/20_util/is_convertible/value.cc: Minor tweak, adjust
2240 2011-04-12 Takaya Saito <gintensubaru@gmail.com>
2243 * include/std/tuple (_Tuple_impl<>::_Tuple_impl(_Tuple_impl<>&&),
2244 _Tuple_impl<>::operator=(_Tuple_impl&&), _Tuple_impl<>::operator=
2245 (_Tuple_impl<>&&), tuple_cat): Use std::forward where appropriate.
2246 * testsuite/20_util/tuple/cons/48476.cc: New.
2247 * testsuite/20_util/tuple/48476.cc: Likewise.
2248 * testsuite/20_util/tuple/creation_functions/48476.cc: Likewise.
2250 2011-04-12 Allan McRae <allan@archlinux.org>
2253 * testsuite/tr1/6_containers/unordered_map/requirements/
2254 iterator_null_neg.cc: Include <cstddef>.
2255 * testsuite/tr1/6_containers/unordered_set/requirements/
2256 iterator_null_neg.cc: Likewise.
2257 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/4.cc: Include
2259 * testsuite/util/testsuite_common_types.h: Include <limits>.
2260 * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc:
2261 Adjust dg-error line numbers.
2262 * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Likewise.
2263 * testsuite/29_atomics/atomic_integral/operators/increment_neg.cc:
2265 * testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc:
2267 * testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc:
2269 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Likewise.
2270 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
2272 2011-04-11 Jason Merrill <jason@redhat.com>
2274 * testsuite/20_util/is_convertible/value.cc: Adjust.
2276 2011-04-11 Paolo Carlini <paolo.carlini@oracle.com>
2278 * testsuite/25_algorithms/inplace_merge/moveable.cc: Actually run
2279 it in parallel-mode for check-parallel.
2280 * testsuite/25_algorithms/rotate/moveable.cc: Likewise.
2281 * testsuite/25_algorithms/stable_partition/moveable.cc: Likewise.
2282 * testsuite/25_algorithms/remove/moveable.cc: Likewise.
2283 * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
2285 * testsuite/25_algorithms/unique/moveable.cc: Likewise.
2286 * testsuite/25_algorithms/remove_if/moveable.cc: Likewise.
2287 * testsuite/25_algorithms/heap/moveable.cc: Likewise.
2289 * testsuite/25_algorithms/next_permutation/moveable.cc: Only skip
2290 the tests based on std::lexicographical_compare for check-parallel.
2291 * testsuite/25_algorithms/prev_permutation/moveable.cc: Likewise.
2293 2011-04-10 Jonathan Wakely <jwakely.gcc@gmail.com>
2296 * include/std/functional (_Base_manager::_M_get_pointer): Use
2298 * testsuite/20_util/function/48541.cc: New.
2300 2011-04-10 Jonathan Wakely <jwakely.gcc@gmail.com>
2303 * configure.ac (libtool_VERSION): Bump library version to 6:16:0.
2304 * configure: Regenerate.
2305 * config/abi/pre/gnu.ver (GLIBCXX_3.4.16): Export missing symbols.
2306 * testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.16.
2308 2011-04-06 Jeffrey Yasskin <jyasskin@google.com>
2310 * include/ext/algorithm (is_sorted): In C++0x mode import from
2312 * include/ext/numeric (iota): In C++0x mode import from
2314 * testsuite/ext/is_sorted/cxx0x.cc: New.
2315 * testsuite/ext/iota/cxx0x.cc: New.
2317 2011-04-02 Jonathan Wakely <redi@gcc.gnu.org>
2320 * include/bits/unique_ptr.h (__tuple_type): Store pointer type.
2321 * testsuite/20_util/unique_ptr/modifiers/48398.cc: New.
2322 * testsuite/20_util/unique_ptr/requirements/pointer_type.cc: Remove
2323 unused parameter name.
2325 2011-03-31 Jeffrey Yasskin <jyasskin@google.com>
2327 * libsupc++/exception_ptr.h: Forward-declare std::type_info.
2328 * libsupc++/nested_exception.h (__throw_with_nested): Remove a
2329 redundant default argument from std::__throw_with_nested.
2331 2011-03-31 Paolo Carlini <paolo.carlini@oracle.com>
2334 * src/ctype.cc: Do not include <bits/ctype_noninline.h>.
2335 * src/Makefile.am: Add ctype_configure_char.cc to host_sources.
2336 * src/Makefile.in: Regenerate.
2337 * include/Makefile.am: Remove ctype_noninline.h from host_headers.
2338 * include/Makefile.in: Regenerate.
2339 * doc/xml/manual/internals.xml: Update.
2340 * config/os/newlib/ctype_noninline.h: Fixup and rename to...
2341 * config/os/newlib/ctype_configure_char.cc: ... this.
2342 * config/os/aix/ctype_noninline.h: Likewise.
2343 * config/os/aix/ctype_configure_char.cc: Likewise.
2344 * config/os/vxworks/ctype_noninline.h: Likewise.
2345 * config/os/vxworks/ctype_configure_char.cc
2346 * config/os/hpux/ctype_noninline.h: Likewise.
2347 * config/os/hpux/ctype_configure_char.cc: Likewise.
2348 * config/os/gnu-linux/ctype_noninline.h: Likewise.
2349 * config/os/gnu-linux/ctype_configure_char.cc: Likewise.
2350 * config/os/mingw32/ctype_noninline.h: Likewise.
2351 * config/os/mingw32/ctype_configure_char.cc: Likewise.
2352 * config/os/tpf/ctype_noninline.h: Likewise.
2353 * config/os/tpf/ctype_configure_char.cc: Likewise.
2354 * config/os/uclibc/ctype_noninline.h: Likewise.
2355 * config/os/uclibc/ctype_configure_char.cc: Likewise.
2356 * config/os/bionic/ctype_noninline.h: Likewise.
2357 * config/os/bionic/ctype_configure_char.cc: Likewise.
2358 * config/os/djgpp/ctype_noninline.h: Likewise.
2359 * config/os/djgpp/ctype_configure_char.cc: Likewise.
2360 * config/os/qnx/qnx6.1/ctype_noninline.h: Likewise.
2361 * config/os/qnx/qnx6.1/ctype_configure_char.cc: Likewise.
2362 * config/os/bsd/netbsd/ctype_noninline.h: Likewise.
2363 * config/os/bsd/netbsd/ctype_configure_char.cc: Likewise.
2364 * config/os/bsd/darwin/ctype_noninline.h: Likewise.
2365 * config/os/bsd/darwin/ctype_configure_char.cc: Likewise.
2366 * config/os/bsd/freebsd/ctype_noninline.h: Likewise.
2367 * config/os/bsd/freebsd/ctype_configure_char.cc: Likewise.
2368 * config/os/irix/irix6.5/ctype_noninline.h: Likewise.
2369 * config/os/irix/irix6.5/ctype_configure_char.cc: Likewise.
2370 * config/os/generic/ctype_noninline.h: Likewise.
2371 * config/os/generic/ctype_configure_char.cc: Likewise.
2372 * config/os/solaris/solaris2.7/ctype_noninline.h: Likewise.
2373 * config/os/solaris/solaris2.7/ctype_configure_char.cc: Likewise.
2375 2011-03-25 Jonathan Wakely <jwakely.gcc@gmail.com>
2377 * include/std/future (future::share): Add.
2378 (packaged_task::result_type): Remove as per LWG 2030.
2379 (packaged_task::packaged_task): Remove redundant constructors, as per
2381 * testsuite/30_threads/future/members/share.cc: New.
2382 * testsuite/30_threads/packaged_task/requirements/typedefs.cc: Remove.
2384 2011-03-25 Jonathan Wakely <jwakely.gcc@gmail.com>
2386 * testsuite/28_regex/match_results/ctors/char/default.cc: Do not call
2387 members which require a fully established result state.
2388 * testsuite/28_regex/match_results/ctors/wchar_t/default.cc: Likewise.
2390 2011-03-25 Paolo Carlini <paolo.carlini@oracle.com>
2392 * include/bits/random.h (negative_binomial_distribution<>::
2393 negative_binomial_distribution(_IntType, double),
2394 negative_binomial_distribution<>::
2395 negative_binomial_distribution(const param_type&)): Tweak
2396 construction of _M_gd.
2397 * include/bits/random.tcc (negative_binomial_distribution<>::
2398 operator()): Adjust.
2400 2011-03-24 Paolo Carlini <paolo.carlini@oracle.com>
2402 * include/bits/random.h (negative_binomial_distribution<>::
2403 negative_binomial_distribution(_IntType, double),
2404 negative_binomial_distribution<>::
2405 negative_binomial_distribution(const param_type&)): Fix
2406 construction of _M_gd.
2407 * include/bits/random.tcc (negative_binomial_distribution<>::
2408 operator()): Fix computation, per Leger's algorithm.
2409 * testsuite/util/testsuite_random.h (discrete_pdf,
2410 negative_binomial_pdf, poisson_pdf, uniform_int_pdf): New.
2411 (binomial_pdf): Swap last two parameters.
2412 * testsuite/26_numerics/random/discrete_distribution/
2413 operators/values.cc: New.
2414 * testsuite/26_numerics/random/negative_binomial_distribution/
2415 operators/values.cc: Likewise.
2416 * testsuite/26_numerics/random/poisson_distribution/
2417 operators/values.cc: Likewise.
2418 * testsuite/26_numerics/random/uniform_int_distribution/
2419 operators/values.cc: Likewise.
2420 * testsuite/26_numerics/random/binomial_distribution/
2421 operators/values.cc: Adjust.
2423 2011-03-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2425 * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerate.
2426 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
2427 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
2428 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
2429 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
2431 2011-03-23 Matthias Klose <doko@ubuntu.com>
2433 * config/abi/post/sparc-linux-gnu/baseline_symbols.txt: Regenerated.
2435 2011-03-23 Uros Bizjak <ubizjak@gmail.com>
2437 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Regenerated.
2439 2011-03-22 Joseph Myers <joseph@codesourcery.com>
2441 * configure.ac: Don't handle powerpc*-*-gnu*.
2442 * configure: Regenerate.
2444 2011-03-22 Paolo Carlini <paolo.carlini@oracle.com>
2446 * testsuite/21_strings/basic_string/cons/char/moveable2.cc: Tweak
2448 * testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc:
2451 2011-03-22 Paolo Carlini <paolo.carlini@oracle.com>
2453 * include/bits/shared_ptr.h (operator>, operator<=, operator>=): Add,
2455 (operator==, operator!=, operator<): Fix per the letter of DR 1401.
2456 * include/bits/shared_ptr_base.h: Likewise for __shared_ptr.
2457 * include/bits/unique_ptr.h (operator==, operator!=, operator<,
2458 operator<=, operator>, operator>=): Fix per the letter of DR 1401.
2459 * testsuite/20_util/shared_ptr/comparison/dr1401.cc: New.
2460 * testsuite/20_util/unique_ptr/comparison/dr1401.cc: Likewise.
2461 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust.
2463 2011-03-22 Jakub Jelinek <jakub@redhat.com>
2465 * config/abi/pre/gnu.ver (GLIBCXX_3.4.15): Export _ZNSsC2EOSs
2466 and _ZNSbIwSt11char_traitsIwESaIwEEC2EOS2_.
2467 * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerated.
2468 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
2469 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
2470 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
2471 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
2472 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
2473 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
2474 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
2476 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
2477 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
2478 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
2479 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
2480 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise.
2481 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
2482 * testsuite/21_strings/basic_string/cons/char/moveable2.cc: New test.
2483 * testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc: New
2486 2011-03-21 Jack Howarth <howarth@bromo.med.uc.edu>
2488 * testsuite/lib/prune.exp (libstdc++-dg-prune): Prune "could not
2489 create compact unwind for" warnings.
2491 2011-03-21 Jakub Jelinek <jakub@redhat.com>
2493 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
2494 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
2495 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
2497 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
2498 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
2499 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
2500 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
2501 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
2502 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
2503 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
2504 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
2505 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
2507 * testsuite/util/testsuite_abi.cc (check_version): Set incompatible
2508 even when adding symbols to CXXABI_1.3, GLIBCXX_LDBL_3.4 and
2509 CXXABI_LDBL_1.3 versions.
2511 2011-03-21 Benjamin Kosnik <bkoz@redhat.com>
2513 * config/abi/pre/gnu.ver: Remove typeinfo name exports for C++0x types.
2515 2011-03-21 Jakub Jelinek <jakub@redhat.com>
2517 * config/abi/pre/gnu.ver (CXXABI_1.3): Don't export _ZT[IS][PK]*[no].
2518 (CXXABI_1.3.5): Export _ZTI[PK]*[no].
2520 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2522 * testsuite/22_locale/num_put/put/char/14220.cc: Don't xfail on
2523 sparc*-sun-solaris2.10 && lp64.
2525 2011-03-19 Paolo Carlini <paolo.carlini@oracle.com>
2527 * testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Rename
2528 to check_v3_target_cmath.
2529 * testsuite/lib/dg-options.exp (dg-require-c99_math): Rename
2530 to dg-require-cmath.
2531 * testsuite/26_numerics/random/binomial_distribution/
2532 operators/values.cc: Adjust.
2534 2011-03-18 Diego Novillo <dnovillo@google.com>
2536 * testsuite/decimal/mixed-mode-arith_neg.cc: Rename from
2538 * testsuite/decimal/mixed-mode-cmp_neg.cc: Factor out of
2539 mixed-mode-arith_neg.cc
2541 2011-03-18 Paolo Carlini <paolo.carlini@oracle.com>
2543 * testsuite/util/testsuite_random.h: New.
2544 * testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Add.
2545 * testsuite/lib/dg-options.exp (dg-require-c99_math): Likewise.
2546 * testsuite/26_numerics/random/bernoulli_distribution/
2547 operators/values.cc: New.
2548 * testsuite/26_numerics/random/binomial_distribution/
2549 operators/values.cc: Likewise.
2550 * testsuite/26_numerics/random/geometric_distribution/
2551 operators/values.cc: Likewise.
2553 2011-03-16 Benjamin Kosnik <bkoz@redhat.com>
2555 * config/abi/pre/gnu.ver: Add base destructors for stdexcept classes.
2556 * testsuite/19_diagnostics/stdexcept.cc: New.
2558 2011-03-15 Benjamin Kosnik <bkoz@redhat.com>
2560 * include/std/thread: Revert.
2561 * src/thread.cc: Same.
2562 * config/abi/pre/gnu.ver: Same.
2564 2011-03-15 Doug Kwan <dougkwan@google.com>
2567 * include/Makefile.am (install-freestanding-headers): Install
2569 * include/Makefile.in: Regenerate.
2571 2011-03-15 Benjamin Kosnik <bkoz@redhat.com>
2573 * config/abi/pre/gnu.ver: Make nested_exception exports super clear.
2574 Move bad_function_call exports from CXXABI_1.3.5 to GLIBCXX_3.4.15.
2576 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
2579 * src/future.cc: Guard definitions.
2580 * libsupc++/nested_exception.cc: Same.
2582 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
2584 * src/Makefile.am: Add functional.cc, shared_ptr.cc.
2585 * src/Makefile.in: Regenerate.
2586 * libsupc++/Makefile.am: Add nested_exception.cc.
2587 * libsupc++/Makefile.in: Regenerate.
2588 * src/system_error.cc: Add ctor and dtor definitions for error_category.
2589 * src/functional.cc: New. Add dtor definition for bad_function_call.
2590 * src/stdexcept.cc: Add dtor definitions for domain_error,
2591 invalid_argument, length_error, out_of_range, range_error,
2592 overflow_error, underflow_error.
2593 * src/future.cc: Add dtor definition for __future_base::_Result_base.
2594 * src/shared_ptr.cc: New. Add dtor definition for bad_weak_ptr.
2595 * src/thread.cc: Add dtor for thread::_Impl_base.
2596 * include/std/system_error: Adjust.
2597 * include/std/stdexcept: Same.
2598 * include/std/future: Same.
2599 * include/std/functional: Same.
2600 * include/std/thread: Same.
2601 * include/bits/shared_ptr_base.h: Same.
2602 * libsupc++/nested_exception.cc: New. Add dtor for nested_exception.
2603 * libsupc++/nested_exception.h: Adjust.
2604 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line numbers.
2605 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
2606 * config/abi/pre/gnu.ver: Add new exports.
2608 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
2610 * include/bits/regex_compiler.h: Nest namespace versioning.
2611 * include/bits/regex_grep_matcher.tcc: Same.
2612 * include/bits/regex_grep_matcher.h: Same.
2613 * include/bits/regex_cursor.h: Same.
2614 * include/bits/regex_nfa.h: Same.
2615 * include/bits/regex_nfa.tcc: Same.
2617 * include/bits/regex_grep_matcher.h: Version forward declarations.
2618 * include/bits/c++config: Add namespace association for __regex.
2619 * include/bits/regex.h: Make sub_match consistent.
2621 2011-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2623 * doc/xml/manual/abi.xml: Replace docs.sun.com URLs by their OTN
2625 * doc/html/manual/abi.html: Regenerate.
2627 2011-03-14 Tom Tromey <tromey@redhat.com>
2629 * python/libstdcxx/v6/printers.py (_use_gdb_pp): New global.
2630 Try to import `gdb.printing' module.
2631 (UniquePointerPrinter.__init__): Add 'typename' argument.
2632 (StdSlistPrinter.__init__): Likewise.
2633 (StdSlistIteratorPrinter.__init__): Likewise.
2634 (StdVectorIteratorPrinter.__init__): Likewise.
2635 (StdRbtreeIteratorPrinter.__init__): Likewise.
2636 (StdDebugIteratorPrinter.__init__): Likewise.
2637 (StdDequeIteratorPrinter.__init__): Likewise.
2638 (StdStringPrinter.__init__): Likewise.
2639 (RxPrinter, Printer): New class.
2640 (libstdcxx_printer): New global.
2641 (register_libstdcxx_printers): Rewrite.
2642 (build_libstdcxx_dictionary): Rewrite.
2643 (pretty_printers_dict): Remove.
2645 2011-03-14 Andrey Zholos <aaz@althenia.net>
2648 * include/bits/random.h (geometric_distribution): Correct formula
2649 in comment, per C++0x.
2650 (geometric_distribution<>::param_type::param_type(double)): Fix check.
2651 (geometric_distribution<>::param_type::_M_initialize):
2653 * include/bits/random.tcc (geometric_distribution<>::operator()):
2655 (binomial_distribution<>::operator()): Likewise.
2657 2011-03-09 Paolo Carlini <paolo.carlini@oracle.com>
2659 * testsuite/util/testsuite_rvalref.h: Minor tweaks.
2661 2011-03-09 Jonathan Wakely <redi@gcc.gnu.org>
2662 Chris Jefferson <chris@bubblescope.net>
2663 Paolo Carlini <paolo.carlini@oracle.com>
2665 * testsuite/util/testsuite_rvalref.h (rvalstruct_compare_by_value):
2667 * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
2669 * testsuite/25_algorithms/partial_sort/check_compare_by_value:
2671 * testsuite/25_algorithms/stable_sort/check_compare_by_value.cc:
2673 * testsuite/25_algorithms/sort/check_compare_by_value: Likewise.
2675 2011-03-09 Chris Jefferson <chris@bubblescope.net>
2678 * include/bits/stl_algo.h (__merge_backward): Rename to
2679 __move_merge_backward and change to always move rather than copy.
2680 (__move_merge): New function similar to std::merge except values
2681 are moved instead of copied.
2682 (__merge_adaptive, __merge_sort_loop): Change from using std::merge
2683 and __merge_backward to __move_merge and __move_merge_backward.
2685 2011-03-07 Jason Merrill <jason@redhat.com>
2687 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust
2690 2011-03-07 Benjamin Kosnik <bkoz@redhat.com>
2691 Matthias Klose <doko@ubuntu.com>
2692 Jonathan Wakely <redi@gcc.gnu.org>
2695 * acinclude.m4 (GLIBCXX_CONFIGURE_DOCBOOK): Define.
2696 * configure.ac: Use it.
2697 * doc/Makefile.am (XSL_STYLE_DIR): Set at configure time.
2698 * configure: Regenerate.
2699 * doc/Makefile.in: Regenerate.
2701 2011-03-04 Benjamin Kosnik <bkoz@chula>
2703 * src/Makefile.am (inst_sources): Make source instantion files
2705 (XTEMPLATE_FLAGS): Make -fno-implicit-templates conditional.
2706 * src/Makefile.in: Regenerate.
2707 * src/valarray-inst.cc: Move to..
2708 * src/valarray.cc: ...this.
2709 * acinclude.m4 (GLIBCXX_ENABLE_EXTERN_TEMPLATE]): Define.
2710 * configure.ac (GLIBCXX_ENABLE_EXTERN_TEMPLATE): Use it.
2711 * configure: Regenerate.
2712 * include/Makefile.am (stamp-extern-template): Add.
2713 * include/Makefile.in: Regenerate.
2715 * doc/xml/manual/configure.xml: Document --enable-extern-template.
2717 * include/bits/locale_classes.tcc: Adjust comment.
2718 * include/bits/locale_facets.tcc: Same.
2719 * include/bits/basic_ios.tcc: Same.
2720 * include/bits/istream.tcc: Same.
2721 * include/bits/codecvt.h: Same.
2722 * include/bits/ostream.tcc: Same.
2723 * include/bits/sstream.tcc: Same.
2724 * include/bits/c++config: Same.
2725 * include/bits/basic_string.tcc: Same.
2726 * include/bits/ostream_insert.h: Same.
2727 * include/bits/locale_facets_nonio.tcc: Same.
2728 * include/bits/streambuf.tcc: Same.
2729 * include/bits/allocator.h: Same.
2730 * include/bits/fstream.tcc: Same.
2732 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
2734 2011-03-02 Benjamin Kosnik <bkoz@redhat.com>
2736 * testsuite/Makefile.am: Make clean fixups.
2737 * testsuite/Makefile.in: Regenerate.
2739 2011-03-02 Marc Glisse <marc.glisse@normalesup.org>
2741 * include/std/ratio (ratio_less): Add comments.
2743 2011-03-02 Marc Glisse <marc.glisse@normalesup.org>
2746 * include/std/ratio (ratio_add): Avoid denominator overflow.
2747 * testsuite/20_util/ratio/operations/47913.cc: New.
2749 2011-02-28 Benjamin Kosnik <bkoz@redhat.com>
2751 * testsuite/20_util/hash/chi2_quality.cc: Use C++0x mode on simulators.
2752 * testsuite/20_util/hash/quality.cc: Same.
2754 2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>
2757 * include/std/streambuf (basic_streambuf<>::__safe_gbump,
2759 * include/bits/streambuf.tcc (basic_streambuf<>::xgetn,
2760 xputn): Use the latter.
2761 * include/bits/streambuf_iterator.h: Likewise.
2762 * src/strstream.cc: Likewise.
2763 * src/streambuf.cc: Likewise.
2764 * src/compatibility.cc: Likewise.
2765 * src/istream.cc: Likewise.
2766 * include/bits/fstream.tcc (basic_filebuf<>::xsgetn): Use setg
2768 * include/std/sstream (basic_stringbuf<>::_M_pbump): Add.
2769 * include/bits/sstream.tcc (basic_stringbuf<>::seekoff,
2770 seekpos, _M_sync): Use setg, setp, and _M_pbump.
2771 * config/abi/pre/gnu.ver: Tweak.
2773 2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>
2775 * testsuite/20_util/ratio/comparisons/comp3.cc: New.
2777 2011-02-28 Marc Glisse <marc.glisse@normalesup.org>
2780 * include/std/ratio (ratio_less): Reimplement to never overflow.
2781 * testsuite/20_util/ratio/comparisons/comp2.cc: Extend.
2783 2011-02-24 Benjamin Kosnik <bkoz@redhat.com>
2785 * testsuite/18_support/type_info/fundamental.cc: New.
2787 * testsuite/Makefile.am: Make clean fixups.
2788 * testsuite/Makefile.in: Regenerate.
2790 2011-02-19 François Dumont <francois.cppdevs@free.fr>
2792 * include/debug/string (basic_string::insert): Add iterator check and
2793 pass normal iterator to normal insert.
2794 * include/debug/macros.h (__glibcxx_check_heap,
2795 __glibcxx_check_heap_pred): Remove __glibcxx_check_valid_range,
2798 2011-02-17 Paolo Carlini <paolo.carlini@oracle.com>
2801 * testsuite/ext/vstring/hash/char/1.cc: Fix.
2802 * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
2804 2011-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
2806 * include/bits/regex.h (basic_regex::traits_type): Add typedef.
2807 (basic_regex::basic_regex(basic_regex&&)): Add noexcept.
2808 (basic_regex::operator=(basic_regex&&)): Likewise.
2809 (basic_regex::assign(basic_regex&&)): Likewise.
2810 (operator==(sub_match,...)): Implement DR 1181.
2811 (match_results::match_results(match_results&&)): Define.
2812 (match_results::operator=(const match_results&)): Fix parameter type.
2813 (match_results::operator=(match_results&&)): Define.
2815 2011-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
2818 * include/bits/regex_compiler.h (_Scanner::_M_advance): Do not treat
2819 line anchors as metacharacters.
2820 * testsuite/28_regex/basic_regex/ctors/47724.cc: New.
2822 2011-02-16 Paolo Carlini <paolo.carlini@oracle.com>
2825 * include/ext/vstring.h (hash<__gnu_cxx::__vstring>,
2826 hash<__gnu_cxx::__wvstring>, hash<__gnu_cxx::__u16vstring>,
2827 hash<__gnu_cxx::__u32vstring>): Add.
2828 * testsuite/ext/vstring/hash/char/1.cc: New.
2829 * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
2831 2011-02-16 Jonathan Wakely <jwakely.gcc@gmail.com>
2833 * include/bits/regex.h (match_results::format): Use char_traits.
2835 2011-02-16 Benjamin Kosnik <bkoz@redhat.com>
2837 * include/std/atomic: Remove atomic_address, uplift to N3225.
2838 * include/bits/atomic_0.h: Same.
2839 * include/bits/atomic_2.h: Same.
2840 * include/bits/atomic_base.h: Same.
2841 * testsuite/29_atomics/atomic_address/*: Delete.
2843 2011-02-14 Jonathan Wakely <jwakely.gcc@gmail.com>
2845 * include/bits/regex.h (sub_match::sub_match): Add.
2846 (match_results::ready): Add.
2847 (match_results::empty): Adjust.
2848 (match_results::length): Add missing dereference.
2849 (match_results::operator[],prefix,suffix): Add debug mode checks.
2850 (match_results::cend): Re-use end().
2851 (match_results::format): Adjust signatures.
2852 (operator==(match_results,match_results)): Implement.
2853 * include/bits/regex_compiler.h (_Scanner_base): Use constexpr.
2854 * include/bits/regex_constants.h (syntax_option_type): Likewise.
2855 * include/bits/regex_grep_matcher.h: Fix comment typo.
2856 (_SpecializedResults::_SpecializedResults): Simplify.
2857 * include/bits/regex_cursor.h: Fix comment typo.
2858 * include/bits/regex_nfa.h: Likewise.
2859 * testsuite/28_regex/basic_regex/ctors/basic/string_range_01_02_03.cc:
2860 Fix error code, remove xfail.
2861 * testsuite/28_regex/basic_regex/ctors/extended/
2862 string_range_01_02_03.cc: Likewise.
2864 2011-02-14 Jonathan Wakely <jwakely.gcc@gmail.com>
2866 * include/bits/regex_compiler.h: Remove unnecessary bind() calls.
2867 * include/bits/regex_nfa.h: Remove unnecessary base classes.
2869 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2871 * configure: Regenerate.
2873 2011-02-12 Paolo Carlini <paolo.carlini@oracle.com>
2876 * include/ext/algorithm (is_heap): In C++0x mode import from
2878 * testsuite/ext/is_heap/47709.cc: New.
2880 2011-02-12 Jakub Jelinek <jakub@redhat.com>
2881 Jonathan Wakely <jwakely.gcc@gmail.com>
2884 * testsuite/17_intro/headers/c++200x/operator_names.cc: New.
2885 * testsuite/17_intro/headers/c++1998/operator_names.cc: Add comment.
2887 2011-02-12 Paolo Carlini <paolo.carlini@oracle.com>
2889 * include/tr1/cmath (fabs): Define.
2890 * include/tr1/complex (acos, asin, atan): Avoid duplicate definitions
2893 2011-02-12 Jonathan Wakely <jwakely.gcc@gmail.com>
2895 * testsuite/tr1/headers/c++200x/complex.cc: New.
2897 2011-02-11 Johannes Singler <singler@kit.edu>
2900 * include/parallel/losertree.h
2901 (_LoserTreeUnguarded<>::__delete_min_insert):
2902 Add missing "using std::swap;", as for other variants.
2904 2011-02-10 Benjamin Kosnik <bkoz@redhat.com>
2906 * src/Makefile.am (sources): Add regex.cc.
2907 * src/Makefile.in: Regenerate.
2908 * src/regex.cc: New.
2909 * include/bits/regex_error.h (error_type): Use constexpr.
2910 (regex_error): Move ctor and dtor out of line.
2912 * testsuite/28_regex/03_requirements: To...
2913 * testsuite/28_regex/requirements: ... this.
2914 * testsuite/28_regex/04_header: To...
2915 * testsuite/28_regex/headers: ... this.
2916 * testsuite/28_regex/05_constants: To...
2917 * testsuite/28_regex/constants: ... this.
2918 * testsuite/28_regex/06_exception_type: To...
2919 * testsuite/28_regex/regex_error: ... this.
2920 * testsuite/28_regex/07_traits: To...
2921 * testsuite/28_regex/traits: ... this.
2922 * testsuite/28_regex/08_basic_regex: To...
2923 * testsuite/28_regex/basic_regex: ... this.
2924 * testsuite/28_regex/09_sub_match: To...
2925 * testsuite/28_regex/sub_match: ... this.
2926 * testsuite/28_regex/10_match_results: To...
2927 * testsuite/28_regex/match_results: ... this.
2928 * testsuite/28_regex/11_algorithms: To...
2929 * testsuite/28_regex/algorithms: ... this.
2930 * testsuite/28_regex/12_iterators: To...
2931 * testsuite/28_regex/iterators: ... this.
2933 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
2936 * include/bits/c++config: Do not use alternative token.
2937 * testsuite/17_intro/headers/c++1998/operator_names.cc: New.
2939 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
2941 * src/future.cc (future_error_category::message): Handle no_state.
2943 2011-02-10 Paolo Carlini <paolo.carlini@oracle.com>
2945 * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Do
2946 not test in C++0x mode.
2947 * testsuite/23_containers/map/modifiers/erase/47628.cc: Likewise.
2948 * testsuite/20_util/headers/utility/synopsis.cc: Tweak to work
2951 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
2953 * doc/xml/manual/status_cxx200x.xml: Update.
2954 * doc/html/*: Regenerate.
2956 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
2958 * doc/xml/manual/debug.xml: Improve data race docs.
2960 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
2963 * include/debug/map.h (map): Remove unnecessary using-declaration.
2964 * include/debug/multimap.h (multimap): Likewise.
2965 * include/profile/map.h (map): Likewise.
2966 * include/profile/multimap.h (multimap): Likewise.
2968 2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com>
2971 * libsupc++/guard.cc (recursive_init_error::~recursive_init_error):
2973 * libsupc++/guard_error.cc: ... new file.
2974 * libsupc++/Makefile.am: Update.
2975 * libsupc++/Makefile.in: Regenerate.
2977 2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com>
2979 * include/std/future (packaged_task::operator bool): Rename to...
2980 (packaged_task::valid): ...this.
2981 * testsuite/30_threads/packaged_task/cons/1.cc: Adjust.
2982 * testsuite/30_threads/packaged_task/cons/2.cc: Adjust.
2983 * testsuite/30_threads/packaged_task/cons/move.cc: Adjust.
2984 * testsuite/30_threads/packaged_task/cons/move_assign.cc: Adjust.
2985 * testsuite/30_threads/packaged_task/cons/alloc.cc: Adjust.
2986 * testsuite/30_threads/packaged_task/members/invoke.cc: Adjust.
2987 * testsuite/30_threads/packaged_task/members/reset.cc: Adjust.
2988 * testsuite/30_threads/packaged_task/members/reset2.cc: Adjust.
2989 * testsuite/30_threads/packaged_task/members/swap.cc: Adjust.
2990 * testsuite/30_threads/packaged_task/members/boolconv.cc: Remove.
2991 * testsuite/30_threads/packaged_task/members/valid.cc: Add.
2993 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
2995 * doc/xml/manual/io.xml: Fix typo.
2996 * doc/html/manual/streambufs.html: Likewise.
2998 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
3000 * config/abi/pre/gnu.ver: Fix.
3002 2011-02-08 Benjamin Kosnik <bkoz@redhat.com>
3004 * doc/xml/manual/appendix_porting.xml: Add doc section.
3005 * doc/xml/manual/appendix_contributing.xml: Split out doc bits to...
3006 * doc/xml/manual/documentation_hacking.xml: ...here.
3008 * doc/xml/manual/debug_mode.xml: Adjust.
3009 * doc/xml/manual/prerequisites.xml: Adjust.
3010 * doc/Makefile.am (xml_sources): Add dot files,
3011 documentation_hacking.xml.
3012 * doc/Makefile.in: Regenerate.
3014 * doc/xml/manual/build_hacking.xml: Use absolute paths for images.
3015 * doc/xml/images/confdeps.pdf: Add.
3017 * doc/html/*: Regenerate.
3019 2011-02-08 Jonathan Wakely <jwakely.gcc@gmail.com>
3021 * doc/xml/gnu/fdl-1.2.xml: Remove.
3022 * doc/xml/gnu/gpl-2.0.xml: Remove.
3023 * doc/Makefile.am: Update.
3024 * doc/Makefile.in: Regenerate.
3026 2011-02-07 Paolo Carlini <paolo.carlini@oracle.com>
3029 * include/bits/stl_tree.h (_Rb_tree::erase(iterator), erase(iterator,
3030 iterator)): Add back in C++03 mode.
3031 * testsuite/23_containers/map/modifiers/erase/47628.cc: New.
3032 * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Likewise.
3034 2011-02-07 Benjamin Kosnik <bkoz@redhat.com>
3036 PR libstdc++/47560 try two
3037 * config/os/hpux/os_defines.h: Guard for C++.
3039 2011-02-07 Gerald Pfeifer <gerald@pfeifer.com>
3041 * doc/xml/faq.xml: Adjust link to bug database.
3042 Remove old item on broken header files.
3044 2011-02-04 Benjamin Kosnik <bkoz@redhat.com>
3046 * include/bits/regex_error.h (__throw_regex_error): Not inline.
3047 * src/functexcept.cc: Add definition.
3048 * config/abi/pre/gnu.ver: Export.
3050 2011-02-04 Ralf Corsépius <ralf.corsepius@rtems.org>
3052 * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Add *-rtems*.
3053 * configure: Regenerate.
3055 2011-02-01 Paolo Carlini <paolo.carlini@oracle.com>
3058 * include/bits/atomic_0.h (_ATOMIC_STORE_, _ATOMIC_MODIFY_,
3059 _ATOMIC_CMPEXCHNG_): Rename __v -> __w, and __m -> __n, to
3060 avoid name conflicts.
3062 2011-02-01 Benjamin Kosnik <bkoz@redhat.com>
3065 * config/os/hpux/os_defines.h: Remove use of macros on namespace.
3067 2011-02-01 Benjamin Kosnik <bkoz@redhat.com>
3069 * scripts/run_doxygen: Allow doxygen 1.7.0 again.
3070 * doc/doxygen/user.cfg.in (PDF_HYPERLINKS): Re-enable.
3071 (COMPACT_LATEX): Enable.
3073 * include/profile/impl/profiler_container_size.h: Adjust doxygen markup.
3074 * include/profile/impl/profiler_hash_func.h: Same.
3075 * include/bits/hashtable.h: Same.
3076 * include/backward/auto_ptr.h: Same.
3077 * include/backward/strstream: Same.
3078 * include/backward/backward_warning.h: Same.
3079 * include/backward/binders.h: Same.
3081 2011-02-01 Gerald Pfeifer <gerald@pfeifer.com>
3083 * doc/xml/manual/debug.xml: Use GDB instead of gdb.
3084 Adjust link to GDB manual.
3086 2011-01-31 Benjamin Kosnik <bkoz@redhat.com>
3088 * include/bits/c++config (_GLIBCXX_DEPRECATED): To
3089 _GLIBCXX_USE_DEPRECATED.
3090 (_GLIBCXX_DEPRECATED_ATTR): To _GLIBCXX_DEPRECATED.
3091 * doc/xml/manual/using.xml: Same.
3092 * include/std/memory: Same.
3093 * include/std/streambuf: Same.
3094 * include/bits/shared_ptr.h: Same.
3095 * include/bits/unique_ptr.h: Same.
3096 * include/bits/shared_ptr_base.h: Same.
3097 * include/bits/stl_function.h: Same.
3098 * include/tr1/shared_ptr.h: Same.
3099 * include/backward/auto_ptr.h: Same.
3100 * include/backward/binders.h: Same.
3102 2011-01-31 Paolo Carlini <paolo.carlini@oracle.com>
3104 * doc/html/ext/lwg-active.html: Update to Revision D73.
3105 * doc/html/ext/lwg-closed.html: Likewise.
3106 * doc/html/ext/lwg-defects.html: Likewise.
3107 * doc/xml/manual/intro.xml: Update status of issues 408, 539, 865.
3109 2011-01-30 Benjamin Kosnik <bkoz@redhat.com>
3111 PR libstdc++/36104 part four
3112 * include/bits/c++config (_GLIBCXX_STD): Remove.
3113 (_GLIBCXX_STD_D, _GLIBCXX_PR): Now _GLIBCXX_STD_C.
3114 (_GLIBCXX_P): Now _GLIBCXX_STD_A.
3115 (_GLIBCXX_NAMESPACE_DEBUG, _GLIBCXX_NAMESPACE_PARALLEL,
3116 _GLIBCXX_NAMESPACE_PROFILE, _GLIBCXX_NAMESPACE_VERSION): Remove.
3117 (_GLIBCXX_INLINE_DEBUG, _GLIBCXX_INLINE_PARALLEL,
3118 _GLIBCXX_INLINE_PROFILE): Remove.
3119 (_GLIBCXX_BEGIN_NAMESPACE(X)): Remove.
3120 (_GLIBCXX_END_NAMESPACE): Remove.
3121 (_GLIBCXX_BEGIN_NESTED_NAMESPACE(X, Y)): Remove.
3122 (_GLIBCXX_END_NESTED_NAMESPACE): Remove.
3123 (_GLIBCXX_BEGIN_NAMESPACE_ALGO): Add.
3124 (_GLIBCXX_END_NAMESPACE_ALGO): Add.
3125 (_GLIBCXX_BEGIN_NAMESPACE_CONTAINER): Add.
3126 (_GLIBCXX_END_NAMESPACE_CONTAINER): Add.
3127 (_GLIBCXX_BEGIN_NAMESPACE_VERSION): Add.
3128 (_GLIBCXX_END_NAMESPACE_VERSION): Add.
3129 (_GLIBCXX_BEGIN_LDBL_NAMESPACE): To _GLIBCXX_BEGIN_NAMESPACE_LDBL.
3130 (_GLIBCXX_END_LDBL_NAMESPACE): To _GLIBCXX_END_NAMESPACE_LDBL.
3131 (_GLIBCXX_VISIBILITY_ATTR): Revert to _GLIBCXX_VISIBILITY.
3132 * include/*: Use new macros for namespace scope.
3136 * src/Makefile.am (sources): Remove debug_list.cc, add
3137 compatibility-debug_list-2.cc.
3138 (parallel_sources): Remove parallel_list.cc, add
3139 compatibility-parallel_list-2.cc.
3140 (compatibility-parallel_list-2.[o,lo]): New rule.
3141 * src/Makefile.in: Regenerate.
3142 * src/debug_list.cc: Remove.
3143 * src/parallel_list.cc: Remove.
3144 * src/compatibility-list-2.cc: New.
3145 * src/compatibility-debug_list-2.cc: New.
3146 * src/compatibility-parallel_list-2.cc: New.
3148 * doc/doxygen/user.cfg.in: Adjust macros.
3150 * testsuite/20_util/auto_ptr/assign_neg.cc: Adjust line numbers, macros.
3151 * testsuite/20_util/declval/requirements/1_neg.cc: Same.
3152 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Same.
3153 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same.
3154 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same.
3155 * testsuite/20_util/forward/c_neg.cc: Same.
3156 * testsuite/20_util/forward/f_neg.cc: Same.
3157 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
3158 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
3159 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Same.
3160 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Same.
3161 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Same.
3162 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
3163 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
3164 * testsuite/23_containers/deque/requirements/dr438/
3165 constructor_1_neg.cc: Same.
3166 * testsuite/23_containers/deque/requirements/dr438/
3167 constructor_2_neg.cc: Same.
3168 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
3169 * testsuite/23_containers/forward_list/capacity/1.cc: Same.
3170 * testsuite/23_containers/forward_list/requirements/dr438/
3171 assign_neg.cc: Same.
3172 * testsuite/23_containers/forward_list/requirements/dr438/
3173 constructor_1_neg.cc: Same.
3174 * testsuite/23_containers/forward_list/requirements/dr438/
3175 constructor_2_neg.cc: Same.
3176 * testsuite/23_containers/forward_list/requirements/dr438/
3177 insert_neg.cc: Same.
3178 * testsuite/23_containers/list/capacity/29134.cc: Same.
3179 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
3180 * testsuite/23_containers/list/requirements/dr438/
3181 constructor_1_neg.cc: Same.
3182 * testsuite/23_containers/list/requirements/dr438/
3183 constructor_2_neg.cc: Same.
3184 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
3185 * testsuite/23_containers/vector/bool/capacity/29134.cc: Same.
3186 * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc: Same.
3187 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Same.
3188 * testsuite/23_containers/vector/requirements/dr438/
3189 constructor_1_neg.cc: Same.
3190 * testsuite/23_containers/vector/requirements/dr438/
3191 constructor_2_neg.cc: Same.
3192 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
3193 * testsuite/25_algorithms/sort/35588.cc: Same.
3194 * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
3195 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
3196 * testsuite/ext/profile/mutex_extensions_neg.cc: Same.
3197 * testsuite/ext/profile/profiler_algos.cc: Same.
3198 * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Same.
3199 * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Same.
3200 * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Same.
3201 * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Same.
3202 * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same.
3204 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
3206 * doc/xml/manual/abi.xml: Adjust link to C++ ABI specification.
3207 Improve description of one such reference.
3209 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
3211 * doc/xml/manual/codecvt.xml: Fix link to The Austin Common
3212 Standards Revision Group.
3213 * doc/xml/manual/locale.xml: Ditto.
3214 * doc/xml/manual/messages.xml: Ditto.
3215 * doc/xml/manual/using_exceptions.xml: Ditto.
3217 2011-01-28 Paolo Carlini <paolo.carlini@oracle.com>
3219 * include/bits/atomic_base.h: Do not include <stddef.h>.
3220 (kill_dependency): Uglify ret.
3222 2011-01-26 Johannes Singler <singler@kit.edu>
3224 * include/parallel/numeric (inner_product, partial_sum):
3225 Qualify subsequent call with __gnu_parallel instead of
3226 _GLIBCXX_STD_P to reenable parallel execution without ambiguity.
3227 * include/parallel/algobase.h (equal): Likewise.
3228 * include/parallel/algo.h (find_first_of, search_n, merge,
3229 nth_element, partial_sort, max_element, min_element): Likewise.
3230 * testsuite/25_algorithms/headers/algorithm/
3231 parallel_algorithm_mixed1.cc (main): Add respective test cases.
3232 * testsuite/25_algorithms/headers/algorithm/
3233 parallel_algorithm_mixed2.cc (main): Likewise.
3234 * testsuite/26_numerics/headers/numeric/
3235 parallel_numeric_mixed1.cc (main): Likewise.
3236 * testsuite/26_numerics/headers/numeric/
3237 parallel_numeric_mixed2.cc (main): Likewise.
3239 2011-01-24 Graham Reed <greed@pobox.com>
3242 * config/os/aix/ctype_inline.h (ctype<char>::is): Use _M_table if
3245 2011-01-24 Johannes Singler <singler@kit.edu>
3248 * include/parallel/losertree.h
3249 (_LoserTree<>::__delete_min_insert):
3250 Do not qualify swap with std:: for value type,
3251 but include a using directive instead.
3252 (_LoserTreeUnguarded<>::__delete_min_insert): Likewise.
3253 * include/parallel/balanced_quicksort.h (__qsb_divide):
3254 Use std::iter_swap instead of std::swap.
3255 (__qsb_local_sort_with_helping): Likewise.
3256 * include/parallel/partition.h (__parallel_partition):
3257 Likewise. (__parallel_nth_element): Likewise.
3259 2011-01-24 Johannes Singler <singler@kit.edu>
3262 * include/parallel/multiway_merge.h (_UnguardedIterator):
3263 Remove useless "mutable" from reference declaration.
3265 2011-01-21 Benjamin Kosnik <bkoz@redhat.com>
3267 * include/bits/c++config (_GLIBCXX_EXPORT_TEMPLATE): Remove.
3268 * include/debug/safe_sequence.h: Same.
3269 * include/debug/safe_iterator.h: Same.
3270 * include/std/forward_list: Same.
3271 * include/std/deque: Same.
3272 * include/std/list: Same.
3273 * include/std/random: Same.
3274 * include/std/streambuf: Same.
3275 * include/std/fstream: Same.
3276 * include/std/istream: Same.
3277 * include/std/string: Same.
3278 * include/std/ostream: Same.
3279 * include/std/sstream: Same.
3280 * include/ext/vstring.h: Same.
3281 * include/bits/basic_ios.h: Same.
3282 * include/bits/locale_classes.h: Same.
3283 * include/bits/locale_facets.h: Same.
3284 * include/bits/valarray_array.h: Same.
3285 * include/bits/locale_facets_nonio.h: Same.
3286 * include/tr1/random: Same.
3288 2011-01-20 Jonathan Wakely <jwakely.gcc@gmail.com>
3290 * doc/xml/manual/diagnostics.xml: Replace note about C++0x concepts.
3292 2011-01-20 Benjamin Kosnik <bkoz@redhat.com>
3294 PR libstdc++/36104 part three
3295 * src/hashtable_c++0x.cc: Adjust namespace macros.
3296 * testsuite/util/testsuite_rvalref.h: Don't forward declare hash.
3297 * config/abi/pre/gnu-versioned-namespace.ver: Update.
3299 2011-01-20 Benjamin Kosnik <bkoz@redhat.com>
3301 * include/ext/pb_ds/detail/resize_policy/
3302 hash_load_check_resize_trigger_imp.hpp: Adjust assert condition.
3303 * include/ext/pb_ds/detail/pat_trie_/
3304 constructors_destructor_fn_imps.hpp: Same.
3305 * include/ext/pb_ds/detail/binary_heap_/erase_fn_imps.hpp: Format.
3306 * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same.
3307 * include/ext/pb_ds/detail/debug_map_base.hpp: Use never_adjustor.
3309 * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Adjust
3310 iterations downward when testing in debug mode.
3311 * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
3312 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
3313 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
3314 * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
3315 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
3316 * testsuite/ext/pb_ds/example/hash_illegal_resize.cc: Use SIZE,
3317 reduce in debug mode.
3319 2011-01-19 Benjamin Kosnik <bkoz@redhat.com>
3321 PR libstdc++/36104 part two
3322 * include/bits/hashtable.h: Revert to non-nested macro usage.
3323 * include/bits/hashtable_policy.h: Same.
3325 2011-01-19 Graham Reed <greed@pobox.com>
3328 * src/bitmap_allocator.cc (free_list::_M_get): Lock mutex.
3330 2011-01-18 Benjamin Kosnik <bkoz@redhat.com>
3332 * doc/xml/images/confdeps.png: Regenerate.
3334 * include/std/chrono (duration): Mark copy constructor constexpr.
3335 * testsuite/20_util/duration/cons/constexpr.cc: Add test.
3337 2011-01-18 Paolo Carlini <paolo.carlini@oracle.com>
3339 * include/bits/unique_ptr.h (default_delete<>::default_delete()):
3340 Declare defaulted per DR 1517.
3341 * testsuite/util/testsuite_common_types.h
3342 (constexpr_defaulted_default_constructible): Add.
3343 * testsuite/20_util/default_delete/cons/constexpr.cc: Use it.
3345 2011-01-17 Paolo Carlini <paolo.carlini@oracle.com>
3347 * include/bits/stl_queue.h (queue<>::swap, priority_queue<>::swap):
3349 * include/bits/stl_stack.h (stack<>::swap): Likewise.
3351 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
3354 * testsuite/28_regex/08_basic_regex/requirements/constexpr_data.cc:
3355 Only test wregex when _GLIBCXX_USE_WCHAR_T is defined.
3357 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
3360 * testsuite/18_support/numeric_limits/lowest.cc:
3361 Only test wchar_t when _GLIBCXX_USE_WCHAR_T is defined.
3363 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
3366 * testsuite/21_strings/basic_string/requirements/typedefs.cc:
3367 Only test std::wstring when _GLIBCXX_USE_WCHAR_T is defined.
3369 2011-01-16 François Dumont <francois.cppdevs@free.fr>
3371 * testsuite/23_containers/forward_list/debug/erase_after1_neg.cc: Move
3372 to this. Use _neg suffix.
3373 * testsuite/23_containers/forward_list/debug/erase_after1.cc: ...from
3375 * testsuite/23_containers/forward_list/debug/erase_after2_neg.cc:
3377 * testsuite/23_containers/forward_list/debug/erase_after2.cc: Same.
3378 * testsuite/23_containers/forward_list/debug/erase_after3_neg.cc:
3380 * testsuite/23_containers/forward_list/debug/erase_after3.cc: Same.
3381 * testsuite/23_containers/forward_list/debug/erase_after4_neg.cc:
3383 * testsuite/23_containers/forward_list/debug/erase_after4.cc: Same.
3384 * testsuite/23_containers/forward_list/debug/erase_after5_neg.cc:
3386 * testsuite/23_containers/forward_list/debug/erase_after5.cc: Same.
3387 * testsuite/23_containers/forward_list/debug/erase_after6_neg.cc:
3389 * testsuite/23_containers/forward_list/debug/erase_after6.cc: Same.
3390 * testsuite/23_containers/forward_list/debug/erase_after7_neg.cc:
3392 * testsuite/23_containers/forward_list/debug/erase_after7.cc: Same.
3393 * testsuite/23_containers/forward_list/debug/erase_after8_neg.cc:
3395 * testsuite/23_containers/forward_list/debug/erase_after8.cc: Same.
3396 * testsuite/23_containers/forward_list/debug/erase_after9_neg.cc:
3398 * testsuite/23_containers/forward_list/debug/erase_after9.cc: Same.
3399 * testsuite/23_containers/forward_list/debug/insert_after1_neg.cc:
3401 * testsuite/23_containers/forward_list/debug/insert_after1.cc: Same.
3402 * testsuite/23_containers/forward_list/debug/insert_after2_neg.cc:
3404 * testsuite/23_containers/forward_list/debug/insert_after2.cc: Same.
3405 * testsuite/23_containers/forward_list/debug/insert_after3_neg.cc:
3407 * testsuite/23_containers/forward_list/debug/insert_after3.cc: Same.
3408 * testsuite/23_containers/forward_list/debug/splice_after1_neg.cc:
3410 * testsuite/23_containers/forward_list/debug/splice_after1.cc: Same.
3411 * testsuite/23_containers/forward_list/debug/splice_after2_neg.cc:
3413 * testsuite/23_containers/forward_list/debug/splice_after2.cc: Same.
3414 * testsuite/23_containers/forward_list/debug/splice_after3_neg.cc:
3416 * testsuite/23_containers/forward_list/debug/splice_after3.cc: Same.
3417 * testsuite/23_containers/forward_list/debug/splice_after4_neg.cc:
3419 * testsuite/23_containers/forward_list/debug/splice_after4.cc: Same.
3421 2011-01-14 Benjamin Kosnik <bkoz@redhat.com>
3424 * include/Makefile.am (bits_sup_headers, stamp-bits-sup): New.
3425 * include/Makefile.in: Regenerate.
3426 * libsupc++/Makefile.am (std_HEADERS, bits_HEADERS): New.
3427 (install-stdHEADERS, install-bitsHEADERS): New.
3428 * libsupc++/Makefile.in: Regenerate.
3430 * include/bits/c++config: Update for inline namespaces.
3431 * libsupc++/cxxabi-forced.h: To...
3432 * libsupc++/cxxabi_forced.h: ...this.
3433 * libsupc++/hash_bytes.h: Separate file.
3434 * libsupc++/typeinfo: Use it.
3435 * libsupc++/exception: Adjust for bits subdirectory.
3436 * libsupc++/eh_aux_runtime.cc: Same.
3437 * libsupc++/eh_ptr.cc: Same.
3438 * libsupc++/new_op.cc: Same.
3439 * libsupc++/exception_defines.h: Same.
3440 * libsupc++/nested_exception.h: Same.
3441 * libsupc++/eh_terminate.cc: Same.
3442 * libsupc++/vec.cc: Same.
3443 * libsupc++/vterminate.cc: Same.
3444 * libsupc++/exception_ptr.h: Same.
3445 * libsupc++/eh_personality.cc: Same.
3446 * libsupc++/eh_call.cc: Same.
3447 * libsupc++/new_opnt.cc: Same.
3448 * libsupc++/hash_bytes.cc: Same.
3449 * config/cpu/arm/cxxabi_tweaks.h: Same.
3450 * config/cpu/generic/cxxabi_tweaks.h: Same.
3451 * libsupc++/cxxabi.h: Same. Consolidate _GLIBCXX_NOTHROW defines.
3452 * include/std/bitset: Same.
3453 * include/ext/vstring.tcc: Same.
3454 * include/bits/hashtable.h: Same.
3455 * include/bits/functional_hash.h: Same.
3456 * include/bits/hashtable_policy.h: Same.
3457 * include/bits/basic_string.h: Same.
3458 * include/bits/istream.tcc: Same.
3459 * include/bits/ostream.tcc: Same.
3460 * include/bits/algorithmfwd.h: Same.
3461 * include/bits/basic_string.tcc: Same.
3462 * include/bits/ostream_insert.h: Same.
3463 * include/bits/fstream.tcc: Same.
3464 * include/bits/functexcept.h: Same.
3466 * doc/doxygen/user.cfg.in: Adjust names.
3468 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
3470 2011-01-14 Paolo Carlini <paolo.carlini@oracle.com>
3472 * testsuite/25_algorithms/is_permutation/check_type.cc: Minor
3474 * testsuite/25_algorithms/is_permutation/1.cc: Cosmetic changes.
3476 2011-01-13 Paolo Carlini <paolo.carlini@oracle.com>
3478 * testsuite/25_algorithms/is_permutation/check_type.cc: New.
3479 * testsuite/25_algorithms/is_permutation/requirements/
3480 explicit_instantiation/2.cc: Likewise.
3481 * testsuite/25_algorithms/is_permutation/requirements/
3482 explicit_instantiation/pod.cc: Likewise.
3483 * testsuite/25_algorithms/is_permutation/1.cc: Likewise.
3485 2011-01-13 John Lakos <jlakos@bloomberg.net>
3486 Pablo Halpern <phalpern@halpernwightsoftware.com>
3487 Paolo Carlini <paolo.carlini@oracle.com>
3489 * include/bits/stl_algo.h (is_permutation): Add, per N3068.
3490 * include/bits/algorithmfwd.h: Add.
3492 2011-01-13 Jonathan Wakely <jwakely.gcc@gmail.com>
3495 * config/os/bsd/netbsd/ctype_base.h: Use new macros based on version.
3497 2011-01-11 Paolo Carlini <paolo.carlini@oracle.com>
3499 * aclocal.m4: Regenerate.
3501 2011-01-06 Paolo Carlini <paolo.carlini@oracle.com>
3504 * src/placeholders.cc: New.
3505 * src/Makefile.am: Adjust.
3506 * src/Makefile.in: Regenerate.
3507 * include/std/functional (placeholders::_1, _2, ..., _29): Declare
3509 * config/abi/pre/gnu.ver: Export.
3511 2011-01-05 François Dumont <francois.cppdevs@free.fr>
3513 * include/debug/safe_base.h (_Safe_iterator_base::_M_unlink): New.
3514 * include/src/debug.cc: Use latter
3515 * include/debug/forward_list (forward_list<>::_M_swap): Fix to
3516 correctly handle before_begin iterators.
3517 * testsuite/23_containers/forward_list/debug/swap.cc: Remove now
3518 useless _GLIBCXX_DEBUG checks.
3520 2011-01-04 Kai Tietz <kai.tietz@onevision.com>
3523 * configure.ac (AC_CHECK_FILE): Replaced by test -f.
3524 * configure: Regenerated.
3526 2011-01-03 Paolo Carlini <paolo.carlini@oracle.com>
3529 * config/abi/pre/gnu.ver: Export std::bad_function_call symbols.
3532 Copyright (C) 2011 Free Software Foundation, Inc.
3534 Copying and distribution of this file, with or without modification,
3535 are permitted in any medium without royalty provided the copyright
3536 notice and this notice are preserved.