1 2011-07-22 Benjamin Kosnik <bkoz@redhat.com>
2 Daniel Krugler <daniel.kruegler@googlemail.com>
4 * include/bits/move.h (move, forward): Mark constexpr.
5 * include/bits/stl_pair.h (pair): Mark move ctors constexpr.
6 * testsuite/20_util/pair/make_pair/constexpr.cc: New.
7 * testsuite/20_util/pair/cons/constexpr.cc: Add tests.
9 2011-07-22 Ian Lance Taylor <iant@google.com>
11 * fragment.am (CONFIG_CXXFLAGS): Add -frandom-seed.
12 * Makefile.in: Rebuild.
13 * doc/Makefile.in: Rebuild.
14 * include/Makefile.in: Rebuild.
15 * libsupc++/Makefile.in: Rebuild.
16 * po/Makefile.in: Rebuild.
17 * python/Makefile.in: Rebuild.
18 * src/Makefile.in: Rebuild.
19 * testsuite/Makefile.in: Rebuild.
21 2011-07-21 Benjamin Kosnik <bkoz@redhat.com>
23 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Move...
24 * testsuite/ext/pb_ds/regression/tree_set_rand.cc: ... here.
25 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand_debug.cc: Move...
26 * testsuite/ext/pb_ds/regression/tree_set_rand_debug.cc: ... here.
27 * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Move...
28 * testsuite/ext/pb_ds/regression/tree_map_rand.cc: ... here.
29 * testsuite/ext/pb_ds/regression/tree_data_map_rand_debug.cc: Move...
30 * testsuite/ext/pb_ds/regression/tree_map_rand_debug.cc: ... here.
32 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Move...
33 * testsuite/ext/pb_ds/regression/trie_set_rand.cc: ... here.
34 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand_debug.cc: Move...
35 * testsuite/ext/pb_ds/regression/trie_set_rand_debug.cc: ... here.
36 * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Move...
37 * testsuite/ext/pb_ds/regression/trie_map_rand.cc: ... here.
38 * testsuite/ext/pb_ds/regression/trie_data_map_rand_debug.cc: Move...
39 * testsuite/ext/pb_ds/regression/trie_map_rand_debug.cc: ... here.
41 * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand.cc: Move.
42 * testsuite/ext/pb_ds/regression/list_update_set_rand.cc: ...here.
43 * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand_debug.cc:
45 * testsuite/ext/pb_ds/regression/list_update_set_rand_debug.cc: ...here.
46 * testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc: Move...
47 * testsuite/ext/pb_ds/regression/list_update_map_rand.cc: ...here.
48 * testsuite/ext/pb_ds/regression/list_update_data_map_rand_debug.cc:
50 * testsuite/ext/pb_ds/regression/list_update_map_rand_debug.cc: ...here.
52 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Move...
53 * testsuite/ext/pb_ds/regression/hash_set_rand.cc: ...here.
54 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand_debug.cc: Move...
55 * testsuite/ext/pb_ds/regression/hash_set_rand_debug.cc: ...here.
57 * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Move...
58 * testsuite/ext/pb_ds/regression/hash_map_rand.cc: ...here.
59 * testsuite/ext/pb_ds/regression/hash_data_map_rand_debug.cc: Move...
60 * testsuite/ext/pb_ds/regression/hash_map_rand_debug.cc: ...here.
62 2011-07-21 François Dumont <francois.cppdevs@free.fr>
64 * include/debug/safe_unordered_sequence.h,
65 safe_unordered_sequence.tcc: Rename respectively in...
66 * include/debug/safe_unordered_container.h,
67 safe_unordered_container.tcc: ...those. _Safe_unordered_sequence
68 rename _Safe_unordered_container.
69 * include/debug/safe_unordered_base.h: _Safe_unordered_sequence_base
70 rename _Safe_unordered_container_base.
71 * include/debug/unordered_map, unordered_set: Adapt to previous
73 * config/abi/pre/gnu.ver: Likewise.
74 * src/debug.cc: Likewise.
75 * include/Makefile.am: Likewise.
76 * include/Makefile.in: Regenerate.
78 2011-07-21 Paolo Carlini <paolo.carlini@oracle.com>
80 * include/std/mutex (timed_mutex, recursive_timed_mutex): Update
81 to use steady_clock instead of monotonic_clock.
82 * config/abi/pre/gnu.ver: Export steady_clock::now.
84 2011-07-20 Benjamin Kosnik <bkoz@redhat.com>
85 Daniel Krugler <daniel.kruegler@googlemail.com>
87 * include/std/array (array::at, array::operator[]): Mark constexpr.
88 * testsuite/23_containers/array/requirements/
89 constexpr_element_access.cc: Add.
91 2011-07-20 Benjamin Kosnik <bkoz@redhat.com>
92 Daniel Krugler <daniel.kruegler@googlemail.com>
94 * include/std/chrono: (system_clock::is_steady): Update to N3291
96 (time_point): Mark nonmember arithmetic operators constexpr.
97 * src/chrono.cc: Modify for above.
98 * src/compatibility-c++0x.cc: Same.
99 * testsuite/20_util/time_point/nonmember/constexpr.cc: New.
100 * testsuite/20_util/time_point/1.cc: Modify.
101 * testsuite/20_util/system_clock/constexpr_data.cc: Modify.
102 * testsuite/20_util/system_clock/1.cc: Modify.
103 * testsuite/20_util/monotonic_clock/constexpr_data.cc: Move to...
104 * testsuite/20_util/steady_clock/constexpr_data.cc: ...here.
105 * testsuite/30_threads/condition_variable/members/2.cc: Modify.
106 * testsuite/30_threads/condition_variable_any/members/2.cc: Modify.
108 2011-07-20 Paolo Carlini <paolo.carlini@oracle.com>
110 * include/std/system_error: Use noexcept.
111 * src/system_error.cc: Likewise.
112 * testsuite/19_diagnostics/error_condition/modifiers/39881.cc: Adjust.
113 * testsuite/19_diagnostics/error_condition/cons/39881.cc: Likewise.
114 * testsuite/19_diagnostics/error_code/modifiers/39882.cc: Likewise.
115 * testsuite/19_diagnostics/error_code/cons/39882.cc: Likewise.
116 * testsuite/util/testsuite_error.h: Likewise.
118 * include/std/system_error (error_code::error_code(_ErrorCodeEnum)):
119 Use enable_if on template parameter default.
120 (error_condition::error_condition(_ErrorConditionEnum)): Likewise.
122 2011-07-20 Ed Smith-Rowland <3dw4rd@verizon.net>
124 * include/precompiled/stdc++.h: Add scoped_allocator.
126 2011-07-20 Benjamin Kosnik <bkoz@redhat.com>
128 * include/std/bitset (operator[]): Make constexpr.
129 * testsuite/23_containers/bitset/operations/constexpr.cc: New.
131 2011-07-20 Paolo Carlini <paolo.carlini@oracle.com>
133 * include/debug/safe_local_iterator.h (_Safe_local_iterator<>::
134 _Safe_local_iterator(const _Iterator&, size_type, const _Sequence*)):
137 2011-07-19 François Dumont <francois.cppdevs@free.fr>
139 * include/debug/safe_unordered_base.h, safe_unordered_sequence.h,
140 safe_unordered_sequence.tcc, safe_local_iterator.h,
141 safe_local_iterator.tcc: New, support for unordered sequence safe
143 * include/Makefile.am: Add previous files.
144 * include/Makefile.in: Regenerate.
145 * include/debug/unordered_map, unordered_set: Implement
146 _Safe_unordered_sequence and expose _Safe_local_iterator.
147 * include/debug/safe_iterator.h, safe_iterator.tcc: Refactor
148 _Safe_iterator::_M_get_distance static method to expose it as
149 __get_distance function and use it in _Safe_local_iterator type.
150 * include/debug/formatter.h: Add __msg_local_iter_compare_bad
151 _Debug_msg_id enum entry to notify invalid comparison between local
152 iterators from different buckets. Add _Parameter constructor from
153 _Safe_local_iterator.
154 * include/debug/functions.h: Add __valid_range overload for
155 _Safe_local_iterator.
156 * src/debug.cc: Add _Safe_unordered_sequence_base and
157 _Safe_local_iterator_base methods implementations.
158 * config/abi/pre/gnu.ver: Add export of some
159 _Safe_unordered_sequence_base and _Safe_local_iterator_base methods.
160 * testsuite/util/debug/checks.h: Add use_invalid_iterator function to
161 simulate use of a singular iterator.
162 * testsuite/util/debug/unordered_checks.h: New, several functions
163 to simulate classic invalid usage of unordered sequence local
165 * testsuite/23_containers/unordered_map/debug/
166 use_erased_local_iterator_neg.cc, invalid_local_iterator_range_neg.cc,
167 use_invalid_local_iterator_neg.cc, use_invalid_iterator_neg.cc,
168 invalid_local_iterator_compare_neg.cc: New.
169 * testsuite/23_containers/unordered_multimap/debug/
170 use_erased_local_iterator_neg.cc, invalid_local_iterator_range_neg.cc,
171 use_invalid_local_iterator_neg.cc, use_invalid_iterator_neg.cc,
172 invalid_local_iterator_compare_neg.cc: New.
173 * testsuite/23_containers/unordered_set/debug/
174 use_erased_local_iterator_neg.cc, invalid_local_iterator_range_neg.cc,
175 use_invalid_local_iterator_neg.cc, use_invalid_iterator_neg.cc,
176 invalid_local_iterator_compare_neg.cc: New.
177 * testsuite/23_containers/unordered_multiset/debug/
178 use_erased_local_iterator_neg.cc, invalid_local_iterator_range_neg.cc,
179 use_invalid_local_iterator_neg.cc, use_invalid_iterator_neg.cc,
180 invalid_local_iterator_compare_neg.cc: New.
182 2011-07-18 Paolo Carlini <paolo.carlini@oracle.com>
185 * include/bits/shared_ptr.h (struct hash<shared_ptr<>>): Use
187 * include/bits/unique_ptr.h (struct hash<unique_ptr<>>): Likewise.
189 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
191 * crossconfig.m4 (*-netware): Remove.
192 * configure: Regenerate.
194 2011-07-15 Yufeng Zhang <yufeng.zhang@arm.com>
196 * config/locale/newlib/ctype_members.cc: New file.
197 * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Add a new C locale
198 kind: newlib. Configure to use the newlib specific
199 ctype_members.cc when with_newlib is enabled.
200 * configure: Regenerate.
202 2011-07-15 Paolo Carlini <paolo.carlini@oracle.com>
203 Jakub Jelinek <jakub@redhat.com>
206 * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Check separately for
207 _POSIX_TIMEOUTS and define _GTHREADS_USE_MUTEX_TIMEDLOCK.
208 * libsupc++/guard.cc: Include <unistd.h>.
209 * testsuite/17_intro/headers/c++1998/49745.cc: New.
210 * configure: Regenerate.
211 * config.h.in: Likewise.
213 2011-07-11 Paolo Carlini <paolo.carlini@oracle.com>
216 * include/bits/stl_algo.h (__move_merge_backward): Remove.
217 (__move_merge_adaptive, __move_merge_adaptive_backward): New.
218 (__merge_adaptive): Use the latter two.
219 (__rotate_adaptive): Avoid self move-assignment.
220 * include/bits/stl_algobase.h (move_backward): Fix comment.
221 * testsuite/25_algorithms/stable_sort/49559.cc: New.
222 * testsuite/25_algorithms/inplace_merge/49559.cc: Likewise.
223 * testsuite/25_algorithms/inplace_merge/moveable.cc: Extend.
224 * testsuite/25_algorithms/inplace_merge/moveable2.cc: Likewise.
225 * testsuite/util/testsuite_rvalref.h (rvalstruct::operator=
226 (rvalstruct&&)): Check for self move-assignment.
228 2011-07-11 Paolo Carlini <paolo.carlini@oracle.com>
230 * testsuite/util/testsuite_allocator.h (propagating_allocator<>::
231 operator=(const propagating_allocator<>&)): Retun *this.
233 2011-07-09 Jonathan Wakely <jwakely.gcc@gmail.com>
235 * include/Makefile.am: Add new header.
236 * include/Makefile.in: Regenerate.
237 * include/std/scoped_allocator: New.
238 * doc/xml/manual/status_cxx200x.xml: Update.
239 * testsuite/20_util/scoped_allocator/1.cc: New.
240 * testsuite/20_util/scoped_allocator/propagation.cc: New.
241 * testsuite/20_util/scoped_allocator/requirements/typedefs.cc: New.
242 * testsuite/20_util/scoped_allocator/requirements/
243 explicit_instantiation.cc: New.
245 2011-07-09 Jonathan Wakely <jwakely.gcc@gmail.com>
247 * include/bits/stl_vector.h: Use new allocator model in C++0x mode.
248 * include/bits/vector.tcc: Likewise.
249 * testsuite/util/testsuite_allocator.h (propagating_allocator): Define.
250 * testsuite/23_containers/vector/allocator/copy_assign.cc: New.
251 * testsuite/23_containers/vector/allocator/noexcept.cc: New.
252 * testsuite/23_containers/vector/allocator/copy.cc: New.
253 * testsuite/23_containers/vector/allocator/swap.cc: New.
254 * testsuite/23_containers/vector/allocator/move_assign.cc: New.
255 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
256 Adjust dg-error line numbers.
257 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
259 * testsuite/23_containers/vector/requirements/dr438/
260 constructor_1_neg.cc: Likewise.
261 * testsuite/23_containers/vector/requirements/dr438/
262 constructor_2_neg.cc: Likewise.
264 2011-07-09 Jonathan Wakely <jwakely.gcc@gmail.com>
266 * include/ext/alloc_traits.h (__allocator_always_compares_equal): New
267 trait, provide partial specializations for known allocators.
268 (__alloc_traits::construct, __alloc_traits::destroy): Overload for
269 non-standard pointer types.
270 (__alloc_traits::_S_always_equal): New trait for use with noexcept.
271 (__alloc_traits::_S_nothrow_move): Likewise.
272 (__alloc_traits::_S_nothrow_swap): Likewise.
274 2011-07-09 Jonathan Wakely <jwakely.gcc@gmail.com>
276 * include/ext/cast.h: Fix typo in include guard.
277 * include/ext/pointer.h (_Unqualified_type): Remove redundant
278 partial specializations for volatile types. Fix typos in comments.
279 (pointer_traits<_Pointer_adaptor<Tp>>::pointer_to): Define.
281 2011-07-09 Jonathan Wakely <jwakely.gcc@gmail.com>
284 * include/std/functional (__bind_simple): Define.
285 * include/std/future (_Task_setter): Parameterize by type of result
286 pointer instead of state object.
287 (_S_task_setter): Type deduction helper.
288 (_Task_state): Use _S_task_setter and __bind_simple.
289 (_Deferred_state, _Async_state): Store call wrapper directly not as
290 std::function. Use _S_task_setter and __bind_simple.
291 (_S_make_deferred_state, _S_make_async_state): Type deduction helpers.
292 (async): Use new functions and __bind_simple.
293 * include/std/mutex (call_once): Use __bind_simple.
294 * include/std/thread (thread): Likewise. Remove unused headers.
295 * src/thread.cc: Add header.
296 * testsuite/30_threads/async/49668.cc: New.
297 * testsuite/30_threads/call_once/49668.cc: New.
298 * testsuite/30_threads/thread/cons/49668.cc: New.
299 * testsuite/30_threads/thread/cons/moveable.cc: Remove unused bool.
301 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
303 * configure.host (abi_baseline_subdir_switch): Describe.
305 (*-*-solaris2.[89], *-*-solaris2.1[0-9]): Override.
306 * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Substitute
307 baseline_subdir_switch.
308 * testsuite/Makefile.am (site.exp): Emit it.
309 (baseline_subdir): Use it.
310 * testsuite/libstdc++-abi/abi.exp: Use it.
311 * configure: Regenerate.
312 * Makefile.in: Regenerate.
313 * doc/Makefile.in: Regenerate.
314 * include/Makefile.in: Regenerate.
315 * libsupc++/Makefile.in: Regenerate.
316 * po/Makefile.in: Regenerate.
317 * python/Makefile.in: Regenerate.
318 * src/Makefile.in: Regenerate.
319 * testsuite/Makefile.in: Regenerate.
321 2011-06-29 François Dumont <francois.cppdevs@free.fr>
323 * include/debug/set.h, unordered_map, multiset.h, forward_list,
324 unordered_set, vector, deque, string, list, multimap.h: Remove
325 base class default constructor calls.
326 * include/debug/map.h: Likewise and cleanup several redefinition of
327 base iterator typedef.
329 2011-06-29 Nathan Sidwell <nathan@codesourcery.com>
331 * libsupc++/eh_arm.c (__cxa_type_match): Construct address of
332 thrown object here. Return succeded_with_ptr_to_base for all
335 2011-06-23 Jonathan Wakely <jwakely.gcc@gmail.com>
337 * testsuite/tr1/6_containers/tuple/creation_functions/tie2.cc: Fix for
339 * testsuite/25_algorithms/sort/35588.cc: Likewise.
340 * testsuite/26_numerics/headers/complex/synopsis.cc: Likewise.
342 2011-06-22 Jonathan Wakely <jwakely.gcc@gmail.com>
344 * testsuite/20_util/bind/socket.cc: Use variable and remove attribute.
346 2011-06-22 Paolo Carlini <paolo.carlini@oracle.com>
348 * include/ext/pb_ds/detail/pat_trie_/pat_trie_base.hpp: Avoid -Wall
351 2011-06-22 Paolo Carlini <paolo.carlini@oracle.com>
353 * testsuite/20_util/reference_wrapper/invoke.cc: Avoid -Wall warnings.
354 * testsuite/20_util/reference_wrapper/typedefs-3.cc: Likewise.
355 * testsuite/20_util/reference_wrapper/invoke-2.cc: Likewise.
356 * testsuite/20_util/allocator_traits/members/allocate_hint.cc:
358 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Likewise.
359 * testsuite/20_util/bind/socket.cc: Likewise.
360 * testsuite/20_util/pointer_traits/pointer_to.cc: Likewise.
361 * testsuite/util/testsuite_random.h: Likewise.
363 2011-06-22 Jonathan Wakely <jwakely.gcc@gmail.com>
365 * include/Makefile.am: Add alloc_traits.h headers.
366 * include/Makefile.in: Regenerate.
367 * include/std/memory: Include uses_allocator.h explicitly.
368 * include/bits/allocator.h (allocator_traits): Move to ...
369 * include/bits/alloc_traits.h: New header.
370 * include/ext/alloc_traits.h (__alloc_traits): Extension to provide
371 a common allocator interface for C++98 and C++0x.
372 * include/bits/stl_construct.h: Use __alloc_traits.
373 * include/bits/stl_uninitialized.h: Likewise.
375 2011-06-22 Daniel Krugler <daniel.kruegler@googlemail.com>
376 Paolo Carlini <paolo.carlini@oracle.com>
378 * include/bits/move.h (__is_nothrow_swappable): Add.
379 (swap(_Tp(&)[_Nm], _Tp(&)[_Nm])): Use noexcept.
380 * include/bits/algorithmfwd.h: Adjust.
381 * testsuite/25_algorithms/swap/noexcept.cc: New.
383 2011-06-21 Jakub Jelinek <jakub@redhat.com>
385 * testsuite/Makefile.am (check_DEJAGNU_normal_targets): Add
386 check-DEJAGNUnormal[4-9].
387 (check-DEJAGNU): Split into 10 jobs for parallel testing instead of 4.
388 * testsuite/Makefile.in: Regenerated.
390 2011-06-20 Daniel Krugler <daniel.kruegler@googlemail.com>
391 Paolo Carlini <paolo.carlini@oracle.com>
393 * include/std/tuple (__conv_types, __one_by_one_convertible,
394 __all_convertible): Add.
395 (tuple): Use the latter.
396 (tuple<_T1>): Remove.
397 * testsuite/20_util/uses_allocator/cons_neg.cc: Adjust dg-error
399 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
401 2011-06-14 Jonathan Wakely <jwakely.gcc@gmail.com>
403 * include/bits/ptr_traits.h (pointer_traits<T*>::pointer_to): Use
406 2011-06-14 Paolo Carlini <paolo.carlini@oracle.com>
408 * include/std/valarray (~valarray): Use noexcept.
409 * include/bits/unique_ptr.h (~unique_ptr): Likewise.
410 * testsuite/26_numerics/valarray/noexcept_move_construct.cc: New.
411 * testsuite/20_util/shared_ptr/cons/noexcept_move_construct.cc:
413 * testsuite/20_util/unique_ptr/cons/noexcept_move_construct.cc:
415 * testsuite/20_util/weak_ptr/cons/noexcept_move_construct.cc:
418 2011-06-14 Paolo Carlini <paolo.carlini@oracle.com>
420 * include/std/functional: Use noexcept.
421 * include/bits/stl_tempbuf.h: Likewise.
423 2011-06-12 François Dumont <francois.cppdevs@free.fr>
424 Paolo Carlini <paolo.carlini@oracle.com>
426 * include/bits/allocator.h (__shrink_to_fit): Rename to
427 __shrink_to_fit_aux, fix.
428 * include/bits/stl_vector.h (_M_shrink_to_fit): Declare.
429 (shrink_to_fit): Use the latter.
430 * include/debug/vector (shrink_to_fit): Likewise.
431 * include/bits/vector.tcc (_M_shrink_to_fit): Define.
432 * include/bits/stl_deque.h (_M_shrink_to_fit): Declare.
433 (shrink_to_fit): Use the latter.
434 * include/debug/deque (shrink_to_fit): Likewise.
435 * include/bits/deque.tcc (_M_shrink_to_fit): Define.
436 * include/bits/vector.tcc (vector<bool>::_M_reallocate): Add.
437 * include/bits/stl_bvector.h (_M_shrink_to_fit): Declare.
438 (shrink_to_fit): Use the latter.
439 (reserve): Use _M_reallocate, move inline.
440 (_Bvector_base<>::_S_nword): Add, use it throughout.
441 * include/debug/string (shrink_to_fit): Redo.
442 * include/ext/vstring.h (shrink_to_fit): Optimize.
443 * include/bits/basic_string.h (shrink_to_fit): Likewise.
444 * testsuite/21_strings/debug/shrink_to_fit.cc: New.
445 * testsuite/23_containers/vector/debug/shrink_to_fit.cc: Likewise.
446 * testsuite/23_containers/vector/debug/bool/shrink_to_fit.cc:
448 * testsuite/23_containers/vector/bool/capacity/shrink_to_fit.cc:
450 * testsuite/23_containers/deque/debug/shrink_to_fit.cc: Likewise.
452 2011-06-11 Jonathan Wakely <jwakely.gcc@gmail.com>
454 * testsuite/tr1/6_containers/tuple/creation_functions/tie2.cc: Fix for
456 * testsuite/25_algorithms/sort/35588.cc: Likewise.
457 * testsuite/26_numerics/headers/complex/synopsis.cc: Likewise.
459 2011-06-11 Jonathan Wakely <jwakely.gcc@gmail.com>
461 * include/ext/extptr_allocator.h (construct, destroy): Fix for C++0x
462 mode by overloading to take allocator's pointer type.
463 * testsuite/23_containers/vector/ext_pointer/types/2.cc: New.
464 * testsuite/23_containers/vector/ext_pointer/explicit_instantiation/
467 2011-06-11 Jonathan Wakely <jwakely.gcc@gmail.com>
469 * testsuite/20_util/allocator_traits/requirements/
470 explicit_instantiation.cc: Add another instantiation.
472 2011-06-11 Jonathan Wakely <jwakely.gcc@gmail.com>
474 * testsuite/20_util/allocator_traits/requirements/typedefs.cc: Check
475 for allocator_type and value_type.
477 2011-06-11 Jonathan Wakely <jwakely.gcc@gmail.com>
479 * testsuite/30_threads/packaged_task/uses_allocator.cc: New.
480 * testsuite/30_threads/promise/uses_allocator.cc: Likewise.
482 2011-06-10 Paolo Carlini <paolo.carlini@oracle.com>
484 * include/ext/throw_allocator.h: Use noexcept.
485 * include/ext/pool_allocator.h: Likewise.
486 * include/ext/bitmap_allocator.h: Likewise.
487 * include/ext/new_allocator.h: Likewise.
488 * include/ext/malloc_allocator.h: Likewise.
489 * include/ext/array_allocator.h: Likewise.
490 * include/ext/mt_allocator.h: Likewise.
491 * include/ext/extptr_allocator.h: Likewise.
492 * testsuite/util/testsuite_allocator.h: Likewise; do not include
493 <cassert> directly, include <testsuite_hooks.h> instead.
495 2011-06-10 Benjamin Kosnik <bkoz@redhat.com>
497 * include/ext/pb_ds/*: Doxygen markup redo.
498 * include/Makefile.am: Fold in constructors_destructor_fn_imps.hpp.
499 * include/Makefile.in: Regenerate.
501 2011-06-10 Jason Merrill <jason@redhat.com>
503 * testsuite/20_util/bind/ref_neg.cc: Remove wrong test lines.
505 * testsuite/20_util/bind/ref_neg.cc: Remove dg-excess-errors,
508 2011-06-09 Jason Merrill <jason@redhat.com>
510 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust.
512 * testsuite/lib/prune.exp (libstdc++-dg-prune): Prune notes.
513 * testsuite/20_util/duration/cons/1_neg.cc: Remove dg-excess-errors.
514 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Likewise.
515 * testsuite/20_util/forward/1_neg.cc: Likewise.
516 * testsuite/20_util/function/cmp/cmp_neg.cc: Likewise.
517 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Likewise.
518 * testsuite/20_util/reference_wrapper/ref_neg.cc: Likewise.
519 * testsuite/20_util/tuple/comparison_operators/35480_neg.cc: Likewise.
520 * testsuite/tr1/6_containers/tuple/comparison_operators/35480_neg.cc:
522 * testsuite/20_util/shared_ptr/assign/auto_ptr_neg.cc: Likewise.
523 * testsuite/20_util/shared_ptr/cons/unique_ptr_neg.cc: Likewise.
524 * testsuite/20_util/shared_ptr/assign/unique_ptr_lvalue_neg.cc:
526 * testsuite/20_util/unique_ptr/cons/auto_ptr_neg.cc: Likewise.
527 * testsuite/20_util/unique_ptr/cons/ptr_deleter_neg.cc: Likewise.
528 * testsuite/tr1/2_general_utilities/shared_ptr/assign/auto_ptr_neg.cc:
530 * testsuite/tr1/2_general_utilities/shared_ptr/assign/
531 auto_ptr_rvalue_neg.cc: Likewise.
532 * testsuite/tr1/2_general_utilities/shared_ptr/cons/auto_ptr_neg.cc:
534 * testsuite/20_util/uses_allocator/cons_neg.cc: Likewise.
535 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
537 * testsuite/23_containers/deque/requirements/dr438/
538 constructor_1_neg.cc: Likewise.
539 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
541 * testsuite/23_containers/forward_list/requirements/dr438/
542 assign_neg.cc: Likewise.
543 * testsuite/23_containers/forward_list/requirements/dr438/
544 constructor_1_neg.cc: Likewise.
545 * testsuite/23_containers/forward_list/requirements/dr438/
546 constructor_2_neg.cc: Likewise.
547 * testsuite/23_containers/forward_list/requirements/dr438/
548 insert_neg.cc: Likewise.
549 * testsuite/23_containers/list/requirements/dr438/
550 assign_neg.cc: Likewise.
551 * testsuite/23_containers/list/requirements/dr438/
552 constructor_1_neg.cc: Likewise.
553 * testsuite/23_containers/list/requirements/dr438/
554 constructor_2_neg.cc: Likewise.
555 * testsuite/23_containers/list/requirements/dr438/
556 insert_neg.cc: Likewise.
557 * testsuite/23_containers/vector/requirements/dr438/
558 assign_neg.cc: Likewise.
559 * testsuite/23_containers/vector/requirements/dr438/
560 constructor_1_neg.cc: Likewise.
561 * testsuite/23_containers/vector/requirements/dr438/
562 constructor_2_neg.cc: Likewise.
563 * testsuite/23_containers/vector/requirements/dr438/
564 insert_neg.cc: Likewise.
565 * testsuite/23_containers/map/operators/1_neg.cc: Likewise.
566 * testsuite/29_atomics/atomic_integral/operators/
567 bitwise_neg.cc: Likewise.
568 * testsuite/decimal/mixed-mode-arith_neg.cc: Likewise.
569 * testsuite/decimal/mixed-mode-cmp_neg.cc: Likewise.
570 * testsuite/decimal/operator_neg.cc: Likewise.
572 2011-06-09 Simon Baldwin <simonb@google.com>
574 * scripts/extract_symvers.in: Handle processor/OS specific or
575 unknown symbol binding strings from readelf.
577 2011-06-09 Paolo Carlini <paolo.carlini@oracle.com>
579 * include/std/type_traits (__is_copy_assignable_impl,
580 __is_nt_copy_assignable_impl): Fix typo.
582 2011-06-08 Paolo Carlini <paolo.carlini@oracle.com>
584 * include/ext/extptr_allocator.h: Include <ext/numeric_traits.h>
586 * include/bits/allocator.h: Likewise.
588 * include/std/chrono (duration_values<>::min): Call lowest, not min.
590 2011-06-08 Paolo Carlini <paolo.carlini@oracle.com>
592 * include/bits/allocator.h (__shrink_to_fit): Simplify.
593 * include/bits/stl_vector.h (vector<>::shrink_to_fit): Adjust.
594 * include/bits/stl_deque.h: Likewise.
595 * include/bits/stl_bvector.h: Likewise.
597 2011-06-07 Jason Merrill <jason@redhat.com>
599 * testsuite/lib/prune.exp: s/required/instantiated/.
600 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
601 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Likewise.
602 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Likewise.
603 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Likewise.
604 * testsuite/20_util/forward/1_neg.cc: Likewise.
605 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Likewise.
606 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
608 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Likewise.
609 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Likewise.
610 * testsuite/20_util/shared_ptr/assign/shared_ptr_neg.cc: Likewise.
611 * testsuite/ext/ext_pointer/1_neg.cc: Likewise.
612 * testsuite/ext/pb_ds/example/hash_resize_neg.cc: Likewise.
613 * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Likewise.
614 * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Likewise.
615 * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Likewise.
616 * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Likewise.
617 * testsuite/tr1/2_general_utilities/shared_ptr/assign/
618 shared_ptr_neg.cc: Likewise.
620 2011-06-07 Paolo Carlini <paolo.carlini@oracle.com>
622 * include/bits/move.h (struct __move_if_noexcept_cond): Add.
623 (move_if_noexcept): Use the latter.
624 * include/bits/stl_iterator.h (__make_move_if_noexcept_iterator,
625 _GLIBCXX_MAKE_MOVE_IF_NOEXCEPT_ITERATOR): Add.
626 * include/bits/stl_uninitialized.h
627 (__uninitialized_move_if_noexcept_a): Add.
628 * include/bits/vector.tcc (vector<>::reserve): Use
629 _GLIBCXX_MAKE_MOVE_IF_NOEXCEPT_ITERATOR.
630 (vector<>::_M_insert_aux, _M_fill_insert, _M_default_append,
631 _M_range_insert): Use __uninitialized_move_if_noexcept_a.
632 * testsuite/util/testsuite_rvalref.h (throwing_move_constructor):
634 (copycounter::copycounter(copycounter&&)): Use noexcept.
635 * testsuite/23_containers/vector/modifiers/moveable2.cc: New.
636 * testsuite/23_containers/vector/capacity/resize/moveable2.cc:
638 * testsuite/23_containers/vector/capacity/reserve/moveable2.cc:
641 2011-06-07 Paolo Carlini <paolo.carlini@oracle.com>
644 * testsuite/22_locale/time_get/get_weekday/char/38081-1.cc: Tweak
646 * testsuite/22_locale/time_get/get_weekday/char/38081-2.cc: Likewise.
648 2011-06-06 Paolo Carlini <paolo.carlini@oracle.com>
650 * include/bits/move.h (move_if_noexcept): Use __and_ and __not_.
652 2011-06-05 Jonathan Wakely <jwakely.gcc@gmail.com>
654 * include/bits/ptr_traits.h (pointer_traits): Fix typos.
655 * include/ext/pointer.h (pointer_traits): Add partial specialization
656 for _Pointer_adapter.
658 2011-06-04 Jonathan Wakely <jwakely.gcc@gmail.com>
660 * testsuite/util/testsuite_allocator.h (tracker_allocator::construct):
661 Update to C++0x definition using type to construct as template
663 (tracker_allocator::destroy): Likewise for type to destroy.
664 (uneq_allocator::construct, uneq_allocator::destroy): Likewise.
666 2011-06-01 Paolo Carlini <paolo.carlini@oracle.com>
668 * include/bits/hashtable.h (_Hashtable<>::_Hashtable(_Hashtable&&)):
669 Use std::move on the allocator, use noexcept.
670 (_Hashtable<>::~_Hashtable): Use noexcept.
671 * include/bits/stl_list.h: Likewise.
672 * include/bits/forward_list.h: Likewise.
673 * include/bits/stl_vector.h: Likewise.
674 * include/bits/stl_bvector.h: Likewise.
675 * include/bits/stl_map.h (map<>::map(map&&)): Use noexcept.
676 * include/bits/stl_set.h: Likewise.
677 * include/bits/stl_multimap.h: Likewise.
678 * include/bits/stl_multiset.h: Likewise.
679 * include/bits/stl_tree.h (_Rb_tree<>::_Rb_tree(_Rb_tree&&)): Use
680 std::move on the allocator.
681 (_Rb_tree<>::~_Rb_tree): Use noexcept.
682 * include/bits/stl_deque.h: Likewise.
683 * include/bits/basic_string.h (basic_string<>::~basic_string): Use
685 * include/ext/vstring.h (__versa_string<>::~__versa_string): Likewise.
686 * include/debug/set.h: Adjust.
687 * include/debug/unordered_map: Likewise.
688 * include/debug/multiset.h: Likewise.
689 * include/debug/forward_list: Likewise.
690 * include/debug/vector: Likewise.
691 * include/debug/unordered_set: Likewise.
692 * include/debug/deque: Likewise.
693 * include/debug/map.h: Likewise.
694 * include/debug/string: Likewise.
695 * include/debug/list: Likewise.
696 * include/debug/multimap.h: Likewise.
697 * include/profile/set.h: Likewise.
698 * include/profile/unordered_map: Likewise.
699 * include/profile/multiset.h: Likewise.
700 * include/profile/forward_list: Likewise.
701 * include/profile/unordered_set: Likewise.
702 * include/profile/vector: Likewise.
703 * include/profile/deque: Likewise.
704 * include/profile/map.h: Likewise.
705 * include/profile/list: Likewise.
706 * include/profile/multimap.h: Likewise.
707 * testsuite/21_strings/basic_string/cons/wchar_t/
708 noexcept_move_construct.cc: New.
709 * testsuite/21_strings/basic_string/cons/char/
710 noexcept_move_construct.cc: Likewise.
711 * testsuite/ext/vstring/cons/noexcept_move_construct.cc: Likewise.
712 * testsuite/23_containers/unordered_map/cons/
713 noexcept_move_construct.cc: Likewise.
714 * testsuite/23_containers/multimap/cons/
715 noexcept_move_construct.cc: Likewise.
716 * testsuite/23_containers/set/cons/
717 noexcept_move_construct.cc: Likewise.
718 * testsuite/23_containers/unordered_multimap/cons/
719 noexcept_move_construct.cc: Likewise.
720 * testsuite/23_containers/forward_list/cons/
721 noexcept_move_construct.cc: Likewise.
722 * testsuite/23_containers/unordered_set/cons/
723 noexcept_move_construct.cc: Likewise.
724 * testsuite/23_containers/vector/bool/cons/
725 noexcept_move_construct.cc: Likewise.
726 * testsuite/23_containers/vector/cons/
727 noexcept_move_construct.cc: Likewise.
728 * testsuite/23_containers/multiset/cons/
729 noexcept_move_construct.cc: Likewise.
730 * testsuite/23_containers/list/cons/
731 noexcept_move_construct.cc: Likewise.
732 * testsuite/23_containers/unordered_multiset/cons/
733 noexcept_move_construct.cc: Likewise.
734 * testsuite/23_containers/map/cons/noexcept_move_construct.cc
735 * testsuite/23_containers/forward_list/requirements/dr438/
736 assign_neg.cc: Adjust dg-error line numbers.
737 * testsuite/23_containers/forward_list/requirements/dr438/
738 insert_neg.cc: Likewise.
739 * testsuite/23_containers/forward_list/requirements/dr438/
740 constructor_1_neg.cc: Likewise.
741 * testsuite/23_containers/forward_list/requirements/dr438/
742 constructor_2_neg.cc: Likewise.
743 * testsuite/23_containers/vector/requirements/dr438/
744 assign_neg.cc: Likewise.
745 * testsuite/23_containers/vector/requirements/dr438/
746 insert_neg.cc: Likewise.
747 * testsuite/23_containers/vector/requirements/dr438/
748 constructor_1_neg.cc: Likewise.
749 * testsuite/23_containers/vector/requirements/dr438/
750 constructor_2_neg.cc: Likewise.
751 * testsuite/23_containers/deque/requirements/dr438/
752 assign_neg.cc: Likewise.
753 * testsuite/23_containers/deque/requirements/dr438/
754 insert_neg.cc: Likewise.
755 * testsuite/23_containers/deque/requirements/dr438/
756 constructor_1_neg.cc: Likewise.
757 * testsuite/23_containers/deque/requirements/dr438/
758 constructor_2_neg.cc: Likewise.
759 * testsuite/23_containers/list/requirements/dr438/
760 assign_neg.cc: Likewise.
761 * testsuite/23_containers/list/requirements/dr438/
762 insert_neg.cc: Likewise.
763 * testsuite/23_containers/list/requirements/dr438/
764 constructor_1_neg.cc: Likewise.
765 * testsuite/23_containers/list/requirements/dr438/
766 constructor_2_neg.cc: Likewise.
768 * include/bits/move.h (swap): Use __and_ in the noexcept.
769 * include/bits/algorithmfwd.h: Adjust.
771 2011-05-31 Paolo Carlini <paolo.carlini@oracle.com>
773 * include/bits/basic_string.h: Use noexcept per the FDIS (minus
774 compare(const string&), which uses char_traits::compare, which
775 isn't noexcept; also no noexcept in the move assignment operator
776 and move assign, see c++std-lib-30855).
777 * include/bits/basic_string.tcc: Likewise.
778 * include/ext/vstring.h: Likewise.
779 * include/ext/vstring.tcc: Likewise.
780 * include/debug/string: Likewise.
782 2011-05-31 Jonathan Wakely <jwakely.gcc@gmail.com>
784 * doc/xml/manual/status_cxx200x.xml: Update.
785 * doc/html/*: Regenerate.
787 2011-05-30 Paolo Carlini <paolo.carlini@oracle.com>
789 * include/std/type_traits (__or_, __and_): Add trivial definitions
790 for a single element.
791 * include/bits/stl_pair.h: Use __and_ in noexcept specs and
793 (pair<>::pair(pair&&)): Define.
794 (pair<>::pair(const pair<>&)): Constrain with is_convertible.
795 (pair<>::pair(pair<>&&)): Likewise, remove noexcept.
796 * include/std/tuple: Use __and_ in noexcept specs and constraints.
797 (_Tuple_impl<>::_Tuple_impl(allocator_arg_t, const _Alloc&,
798 _Tuple_impl&&)): Remove noexcept.
799 (tuple<>::tuple(_UElements&&...), tuple(const tuple<_UElements...>&),
800 tuple(tuple<_UElements...>&&), tuple(const pair<_U1, _U2>&),
801 tuple(pair<_U1, _U2>&&)): Constrain with is_convertible.
802 * testsuite/20_util/tuple/moveable2.cc: Use = delete.
803 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
804 Adjust dg-error line numbers.
805 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
807 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
808 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Likewise.
809 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
811 2011-05-31 Jonathan Wakely <jwakely.gcc@gmail.com>
813 * include/std/tuple: Restore is_convertible constraint.
814 * testsuite/20_util/tuple/cons/allocate_noncopyable.cc: Remove.
816 2011-05-30 Paolo Carlini <paolo.carlini@oracle.com>
819 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-warning
822 2011-05-30 Jonathan Wakely <jwakely.gcc@gmail.com>
824 * include/std/tuple: Implement uses-allocator construction.
825 * include/bits/allocator.h (uses_allocator): Move to ...
826 * include/bits/uses_allocator.h: New file.
827 * include/Makefile.am: Add new header.
828 * include/Makefile.in: Regenerate.
829 * testsuite/20_util/uses_allocator/cons_neg.cc: New.
830 * testsuite/20_util/uses_allocator/construction.cc: New.
831 * testsuite/20_util/tuple/cons/allocate_noncopyable.cc: New.
832 * testsuite/20_util/tuple/cons/allocators.cc: New.
834 2011-05-28 Jonathan Wakely <jwakely.gcc@gmail.com>
836 * testsuite/20_util/pointer_traits/pointer_to.cc: Fix.
838 2011-05-28 Jonathan Wakely <jwakely.gcc@gmail.com>
840 * acinclude.m4: Define GLIBCXX_CHECK_GET_NPROCS and
841 GLIBCXX_CHECK_SC_NPROCESSORS_ONLN.
842 * configure.ac: Use them. Increase minor version.
843 * configure: Regenerate.
844 * config.h.in: Regenerate.
845 * include/std/thread (thread::hardware_concurrency): Remove inline
847 * src/thread.cc (thread::hardware_concurrency): Define.
848 * config/abi/pre/gnu.ver: Export new symbol @3.4.17
849 * testsuite/util/testsuite_abi.cc: Add new version.
850 * testsuite/lib/libstdc++.exp (check_v3_target_nprocs): Add.
851 * testsuite/lib/dg-options.exp (dg-require-nprocs): Add.
852 * testsuite/30_threads/thread/members/hardware_concurrency.cc: Use
853 dg-require-nprocs and verify hardware_concurrency returns non-zero.
855 2011-05-28 Jonathan Wakely <jwakely.gcc@gmail.com>
857 * testsuite/20_util/pointer_traits/pointer_to.cc: New.
859 2011-05-28 Jonathan Wakely <jwakely.gcc@gmail.com>
861 * include/Makefile.am: Add new ptr_traits.h header.
862 * include/Makefile.in: Regenerate.
863 * include/bits/ptr_traits.h (pointer_traits): New.
864 * include/bits/allocator.h (allocator_traits): Add.
865 * include/ext/array_allocator.h (construct, destroy): Update C++0x
867 * include/ext/bitmap_allocator.h (construct, destroy): Likewise.
868 * include/ext/extptr_allocator.h (construct, destroy): Likewise.
869 * include/ext/malloc_allocator.h (construct, destroy): Likewise.
870 * include/ext/mt_allocator.h (construct, destroy): Likewise.
871 * include/ext/new_allocator.h (construct, destroy): Likewise.
872 * include/ext/pool_allocator.h (construct, destroy): Likewise.
873 * include/ext/throw_allocator.h (construct, destroy): Likewise.
874 * testsuite/20_util/allocator_traits/requirements/typedefs.cc: New.
875 * testsuite/20_util/allocator_traits/requirements/
876 explicit_instantiation.cc: New.
877 * testsuite/20_util/allocator_traits/members/max_size.cc: New.
878 * testsuite/20_util/allocator_traits/members/select.cc: New.
879 * testsuite/20_util/allocator_traits/members/construct.cc: New.
880 * testsuite/20_util/allocator_traits/members/allocate_hint.cc: New.
881 * testsuite/20_util/allocator_traits/members/destroy.cc: New.
882 * testsuite/20_util/pointer_traits/requirements/typedefs.cc: New.
883 * testsuite/20_util/pointer_traits/requirements/
884 explicit_instantiation.cc: New.
886 2011-05-28 Jonathan Wakely <jwakely.gcc@gmail.com>
888 * include/std/future (launch): Update enumerators and define
889 operators required for bitmask type. Remove trailing whitespace.
890 * src/future.cc: Remove trailing whitespace.
891 * testsuite/30_threads/async/any.cc: Adjust.
892 * testsuite/30_threads/async/sync.cc: Adjust.
893 * testsuite/30_threads/async/launch.cc: New.
895 2011-05-28 Jonathan Wakely <jwakely.gcc@gmail.com>
897 * include/std/future: Use noexcept.
898 * src/future.cc: Likewise.
900 2011-05-27 Jonathan Wakely <jwakely.gcc@gmail.com>
902 * include/std/thread (this_thread::sleep_until): Move after sleep_for.
904 2011-05-27 Paolo Carlini <paolo.carlini@oracle.com>
907 * include/parallel/losertree.h: Add missing using declarations
909 * include/parallel/algobase.h: Include <parallel/algorithmfwd.h>.
910 * include/parallel/multiway_merge.h: Include <parallel/
911 multiseq_selection.h>, forward declare __merge_advance.
912 * include/parallel/multiseq_selection.h: Don't include <parallel/
914 * include/ext/pb_ds/detail/thin_heap_/erase_fn_imps.hpp: Fix
915 qualification of upper_bound.
917 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand_debug.cc:
918 Use dg-require-debug-mode.
919 * testsuite/ext/pb_ds/regression/tree_data_map_rand_debug.cc:
921 * testsuite/ext/pb_ds/regression/priority_queue_rand_debug.cc:
923 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand_debug.cc:
925 * testsuite/ext/pb_ds/regression/trie_data_map_rand_debug.cc:
927 * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand_debug.cc:
929 * testsuite/ext/pb_ds/regression/list_update_data_map_rand_debug.cc:
931 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand_debug.cc:
933 * testsuite/ext/pb_ds/regression/hash_data_map_rand_debug.cc:
936 * include/parallel/algo.h: Minor uglification fixes.
938 2011-05-26 Paolo Carlini <paolo.carlini@oracle.com>
940 * src/list.cc: Use noexcept per the FDIS.
941 * src/compatibility-list-2.cc: Likewise.
942 * include/debug/set.h: Likewise.
943 * include/debug/unordered_map: Likewise.
944 * include/debug/multiset.h: Likewise.
945 * include/debug/forward_list: Likewise.
946 * include/debug/unordered_set: Likewise.
947 * include/debug/vector: Likewise.
948 * include/debug/map.h: Likewise.
949 * include/debug/deque: Likewise.
950 * include/debug/list: Likewise.
951 * include/debug/multimap.h: Likewise.
952 * include/profile/set.h: Likewise.
953 * include/profile/unordered_map: Likewise.
954 * include/profile/multiset.h: Likewise.
955 * include/profile/forward_list: Likewise.
956 * include/profile/vector: Likewise.
957 * include/profile/unordered_set: Likewise.
958 * include/profile/map.h: Likewise.
959 * include/profile/deque: Likewise.
960 * include/profile/list: Likewise.
961 * include/profile/multimap.h: Likewise.
962 * include/bits/hashtable.h: Likewise.
963 * include/bits/stl_list.h: Likewise.
964 * include/bits/stl_map.h: Likewise.
965 * include/bits/hashtable_policy.h: Likewise.
966 * include/bits/stl_set.h: Likewise.
967 * include/bits/forward_list.h: Likewise.
968 * include/bits/stl_multimap.h: Likewise.
969 * include/bits/stl_vector.h: Likewise.
970 * include/bits/stl_deque.h: Likewise.
971 * include/bits/stl_multiset.h: Likewise.
972 * include/bits/stl_bvector.h: Likewise.
973 * include/bits/stl_tree.h: Likewise.
975 2011-05-25 Paolo Carlini <paolo.carlini@oracle.com>
977 * include/bits/stl_queue.h: Use noexcept per the FDIS.
978 * include/bits/stl_stack.h: Likewise.
980 2011-05-25 Paolo Carlini <paolo.carlini@oracle.com>
982 * config/abi/pre/gnu.ver: Correct last change, export instead
983 at the existing @3.4.16.
984 * configure.ac: Revert last change.
985 * testsuite/util/testsuite_abi.cc: Likewise.
986 * configure: Regenerate.
988 2011-05-26 Jonathan Wakely <jwakely.gcc@gmail.com>
990 * doc/xml/manual/documentation_hacking.xml: Minor corrections.
992 2011-05-26 Jonathan Wakely <jwakely.gcc@gmail.com>
994 * include/std/mutex: Add doxygen comments.
996 2011-05-25 Paolo Carlini <paolo.carlini@oracle.com>
998 * config/abi/pre/gnu.ver: Export recently added basic_streambuf
999 and basic_stringbuf symbols @3.4.17.
1000 * configure.ac: Update.
1001 * testsuite/util/testsuite_abi.cc: Likewise.
1002 * configure: Regenerate.
1004 2011-05-26 Jonathan Wakely <jwakely.gcc@gmail.com>
1006 * libsupc++/guard.cc: Fix comments.
1008 2011-05-25 Ian Lance Taylor <iant@google.com>
1011 * include/backward/hashtable.h (hashtable::erase): Don't crash if
1012 erasing first and another element with a reference to the other
1014 * testsuite/backward/hash_set/49060.cc: New.
1016 2011-05-25 Paolo Carlini <paolo.carlini@oracle.com>
1018 * include/bits/random.h (random_device::min, max): Specify constexpr.
1020 2011-05-25 Paolo Carlini <paolo.carlini@oracle.com>
1022 * include/std/thread: Use noexcept throughout per the FDIS.
1023 * include/std/mutex: Likewise.
1025 2011-05-24 Paolo Carlini <paolo.carlini@oracle.com>
1027 * testsuite/20_util/duration/arithmetic/dr2020.cc: Fix typo.
1029 2011-05-24 Paolo Carlini <paolo.carlini@oracle.com>
1032 * include/std/chrono (operator+, operator-, operator*, operator/,
1033 operator&): Implement LWG 2020 [WP]; specify constexpr.
1034 * testsuite/20_util/duration/arithmetic/dr2020.cc: New.
1036 2011-05-24 Paolo Carlini <paolo.carlini@oracle.com>
1039 * testsuite/26_numerics/complex/cons/48760.cc: Use dg-require-c-std.
1040 * testsuite/26_numerics/complex/cons/48760_c++0x.cc: Likewise.
1041 * testsuite/26_numerics/headers/cmath/19322.cc: Likewise.
1043 2011-05-24 Paolo Carlini <paolo.carlini@oracle.com>
1045 * include/bits/c++config (_GLIBCXX_NOTHROW): Update for noexcept.
1046 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error
1049 2011-05-23 Benjamin Kosnik <bkoz@redhat.com>
1053 Interface changes for ext/pb_ds.
1054 PB_DS_BASE_C_DEC to unique PB_DS_*_BASE macros.
1055 * include/ext/pb_ds/assoc_container.hpp (container_base): Remove.
1056 (basic_hash_table, basic_branch, list_update): Derive from
1057 container_base_dispatch.
1058 * include/ext/pb_ds/list_update_policy.hpp (null_lu_metadata): Remove.
1059 (move_to_front_lu_policy): To lu_move_to_front_policy.
1060 (counter_lu_policy): To lu_counter_policy.
1061 * include/ext/pb_ds/tree_policy.hpp (null_tree_node_update): Remove.
1062 * include/ext/pb_ds/tag_and_trait.hpp (container_base_dispatch): Adjust
1063 template parameters, declare here.
1064 (null_mapped_type) Remove.
1065 (null_type): Just use this for template tricks everywhere.
1066 * include/ext/pb_ds/hash_policy.hpp (null_hash_fn, null_probe_fn):
1068 * include/ext/pb_ds/trie_policy.hpp (null_trie_node_update): Remove.
1069 (string_trie_e_access_traits): To trie_string_access_traits.
1070 * include/ext/pb_ds/priority_queue.hpp: Use container_base_dispatch.
1073 * include/Makefile.am (pb_headers): Removed and changed file names.
1074 * include/Makefile.in: Regenerated.
1075 * include/ext/pb_ds/detail/basic_types.hpp: Remove.
1076 * include/ext/pb_ds/detail/bin_search_tree_/
1077 cond_dtor_entry_dealtor.hpp: Remove.
1078 * include/ext/pb_ds/detail/bin_search_tree_/
1079 cond_key_dtor_entry_dealtor.hpp: Remove.
1080 * include/ext/pb_ds/detail/binary_heap_/const_point_iterator.hpp: Move..
1081 * include/ext/pb_ds/detail/binary_heap_/
1082 point_const_iterator.hpp: ..here.
1083 * include/ext/pb_ds/detail/basic_tree_policy: Move to...
1084 * include/ext/pb_ds/detail/branch_policy: This.
1085 * include/ext/pb_ds/detail/branch_policy/
1086 basic_tree_policy_base.hpp: Move...
1087 * include/ext/pb_ds/detail/branch_policy/branch_policy.hpp: ...here.
1088 * include/ext/pb_ds/detail/branch_policy/null_node_metadata.hpp: Add.
1089 * include/ext/pb_ds/detail/branch_policy/traits.hpp: Add.
1090 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1091 null_metadata.hpp: Remove.
1092 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1093 const_point_iterator.hpp: Move...
1094 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1095 point_const_iterator.hpp: ...here.
1096 * include/ext/pb_ds/detail/list_update_policy/
1097 counter_lu_metadata.hpp: Move..
1098 * include/ext/pb_ds/detail/list_update_policy/
1099 lu_counter_metadata.hpp: ...here.
1100 * include/ext/pb_ds/detail/list_update_policy/
1101 counter_lu_policy_imp.hpp: Remove.
1102 * include/ext/pb_ds/detail/list_update_policy/
1103 mtf_lu_policy_imp.hpp: Remove.
1104 * include/ext/pb_ds/detail/trie_policy/
1105 string_trie_e_access_traits_imp.hpp: Move...
1106 * include/ext/pb_ds/detail/trie_policy/
1107 sample_trie_access_traits.hpp: ...here.
1108 * include/ext/pb_ds/detail/trie_policy/
1109 sample_trie_e_access_traits.hpp: Move...
1110 * include/ext/pb_ds/detail/trie_policy/
1111 trie_string_access_traits_imp.hpp: ...here.
1112 * include/ext/pb_ds/detail/trie_policy/null_node_update_imp.hpp: Remove.
1113 * include/ext/pb_ds/detail/tree_policy/null_node_update_imp.hpp: Remove.
1114 * include/ext/pb_ds/detail/ov_tree_map_/cond_dtor.hpp: Remove.
1115 * include/ext/pb_ds/detail/pat_trie_/pat_trie_base.hpp: New, fold all
1116 types found in the following files into pat_trie_base.
1117 * include/ext/pb_ds/detail/pat_trie_/const_child_iterator.hpp: Folded.
1118 * include/ext/pb_ds/detail/pat_trie_/
1119 cond_dtor_entry_dealtor.hpp: Folded.
1120 * include/ext/pb_ds/detail/pat_trie_/child_iterator.hpp: Folded.
1121 * include/ext/pb_ds/detail/pat_trie_/split_join_branch_bag.hpp: Folded.
1122 * include/ext/pb_ds/detail/pat_trie_/head.hpp: Folded.
1123 * include/ext/pb_ds/detail/pat_trie_/leaf.hpp: Folded.
1124 * include/ext/pb_ds/detail/pat_trie_/node_base.hpp: Folded.
1125 * include/ext/pb_ds/detail/pat_trie_/node_metadata_base.hpp: Folded.
1126 * include/ext/pb_ds/detail/pat_trie_/internal_node.hpp: Folded.
1127 * include/ext/pb_ds/detail/pat_trie_/node_iterators.hpp: Folded.
1128 * include/ext/pb_ds/detail/pat_trie_/point_iterators.hpp: Folded.
1129 * include/ext/pb_ds/detail/pat_trie_/synth_e_access_traits.hpp: Move...
1130 * include/ext/pb_ds/detail/pat_trie_/synth_access_traits.hpp: ...here.
1131 * include/ext/pb_ds/detail/unordered_iterator/
1132 const_point_iterator.hpp: Move...
1133 * include/ext/pb_ds/detail/unordered_iterator/
1134 point_const_iterator.hpp: ...here.
1137 Adjust for above changes.
1138 * include/ext/pb_ds/detail/resize_policy/sample_size_policy.hpp: Same.
1139 * include/ext/pb_ds/detail/resize_policy/sample_resize_policy.hpp: Same.
1140 * include/ext/pb_ds/detail/resize_policy/
1141 sample_resize_trigger.hpp: Same.
1142 * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp: Same.
1143 * include/ext/pb_ds/detail/binomial_heap_base_/find_fn_imps.hpp: Same.
1144 * include/ext/pb_ds/detail/binomial_heap_base_/insert_fn_imps.hpp: Same.
1145 * include/ext/pb_ds/detail/binomial_heap_base_/
1146 binomial_heap_base_.hpp: Same.
1147 * include/ext/pb_ds/detail/binomial_heap_base_/
1148 constructors_destructor_fn_imps.hpp: Same.
1149 * include/ext/pb_ds/detail/binomial_heap_base_/debug_fn_imps.hpp: Same.
1150 * include/ext/pb_ds/detail/binomial_heap_base_/
1151 split_join_fn_imps.hpp: Same.
1152 * include/ext/pb_ds/detail/container_base_dispatch.hpp: Same. Adjust
1153 for template parameter ordering change.
1154 * include/ext/pb_ds/detail/cc_hash_table_map_/
1155 erase_store_hash_fn_imps.hpp: Same.
1156 * include/ext/pb_ds/detail/cc_hash_table_map_/
1157 constructor_destructor_no_store_hash_fn_imps.hpp: Same.
1158 * include/ext/pb_ds/detail/cc_hash_table_map_/cmp_fn_imps.hpp: Same.
1159 * include/ext/pb_ds/detail/cc_hash_table_map_/
1160 insert_no_store_hash_fn_imps.hpp: Same.
1161 * include/ext/pb_ds/detail/cc_hash_table_map_/find_fn_imps.hpp: Same.
1162 * include/ext/pb_ds/detail/cc_hash_table_map_/
1163 policy_access_fn_imps.hpp: Same.
1164 * include/ext/pb_ds/detail/cc_hash_table_map_/
1165 resize_store_hash_fn_imps.hpp: Same.
1166 * include/ext/pb_ds/detail/cc_hash_table_map_/
1167 constructor_destructor_store_hash_fn_imps.hpp: Same.
1168 * include/ext/pb_ds/detail/cc_hash_table_map_/
1169 insert_store_hash_fn_imps.hpp: Same.
1170 * include/ext/pb_ds/detail/cc_hash_table_map_/debug_fn_imps.hpp: Same.
1171 * include/ext/pb_ds/detail/cc_hash_table_map_/info_fn_imps.hpp: Same.
1172 * include/ext/pb_ds/detail/cc_hash_table_map_/
1173 entry_list_fn_imps.hpp: Same.
1174 * include/ext/pb_ds/detail/cc_hash_table_map_/trace_fn_imps.hpp: Same.
1175 * include/ext/pb_ds/detail/cc_hash_table_map_/
1176 find_store_hash_fn_imps.hpp: Same.
1177 * include/ext/pb_ds/detail/cc_hash_table_map_/erase_fn_imps.hpp: Same.
1178 * include/ext/pb_ds/detail/cc_hash_table_map_/
1179 debug_no_store_hash_fn_imps.hpp: Same.
1180 * include/ext/pb_ds/detail/cc_hash_table_map_/cc_ht_map_.hpp: Same.
1181 * include/ext/pb_ds/detail/cc_hash_table_map_/resize_fn_imps.hpp: Same.
1182 * include/ext/pb_ds/detail/cc_hash_table_map_/
1183 constructor_destructor_fn_imps.hpp: Same.
1184 * include/ext/pb_ds/detail/cc_hash_table_map_/
1185 cond_key_dtor_entry_dealtor.hpp: Same.
1186 * include/ext/pb_ds/detail/cc_hash_table_map_/insert_fn_imps.hpp: Same.
1187 * include/ext/pb_ds/detail/cc_hash_table_map_/
1188 debug_store_hash_fn_imps.hpp: Same.
1189 * include/ext/pb_ds/detail/cc_hash_table_map_/
1190 erase_no_store_hash_fn_imps.hpp: Same.
1191 * include/ext/pb_ds/detail/cc_hash_table_map_/size_fn_imps.hpp: Same.
1192 * include/ext/pb_ds/detail/cc_hash_table_map_/
1193 iterators_fn_imps.hpp: Same.
1194 * include/ext/pb_ds/detail/cc_hash_table_map_/
1195 resize_no_store_hash_fn_imps.hpp: Same.
1196 * include/ext/pb_ds/detail/cc_hash_table_map_/
1197 standard_policies.hpp: Same.
1198 * include/ext/pb_ds/detail/tree_trace_base.hpp: Same.
1199 * include/ext/pb_ds/detail/unordered_iterator/iterator.hpp: Same.
1200 * include/ext/pb_ds/detail/unordered_iterator/const_iterator.hpp: Same.
1201 * include/ext/pb_ds/detail/unordered_iterator/point_iterator.hpp: Same.
1202 * include/ext/pb_ds/detail/pat_trie_/find_fn_imps.hpp: Same.
1203 * include/ext/pb_ds/detail/pat_trie_/policy_access_fn_imps.hpp: Same.
1204 * include/ext/pb_ds/detail/pat_trie_/r_erase_fn_imps.hpp: Same.
1205 * include/ext/pb_ds/detail/pat_trie_/update_fn_imps.hpp: Same.
1206 * include/ext/pb_ds/detail/pat_trie_/insert_join_fn_imps.hpp: Same.
1207 * include/ext/pb_ds/detail/pat_trie_/debug_fn_imps.hpp: Same.
1208 * include/ext/pb_ds/detail/pat_trie_/
1209 constructors_destructor_fn_imps.hpp: Same.
1210 * include/ext/pb_ds/detail/pat_trie_/pat_trie_.hpp: Same.
1211 * include/ext/pb_ds/detail/pat_trie_/split_fn_imps.hpp: Same.
1212 * include/ext/pb_ds/detail/pat_trie_/traits.hpp: Same.
1213 * include/ext/pb_ds/detail/pat_trie_/info_fn_imps.hpp: Same.
1214 * include/ext/pb_ds/detail/pat_trie_/rotate_fn_imps.hpp: Same.
1215 * include/ext/pb_ds/detail/pat_trie_/trace_fn_imps.hpp: Same.
1216 * include/ext/pb_ds/detail/pat_trie_/erase_fn_imps.hpp: Same.
1217 * include/ext/pb_ds/detail/pat_trie_/iterators_fn_imps.hpp: Same.
1218 * include/ext/pb_ds/detail/bin_search_tree_/find_fn_imps.hpp: Same.
1219 * include/ext/pb_ds/detail/bin_search_tree_/
1220 policy_access_fn_imps.hpp: Same.
1221 * include/ext/pb_ds/detail/bin_search_tree_/r_erase_fn_imps.hpp: Same.
1222 * include/ext/pb_ds/detail/bin_search_tree_/
1223 constructors_destructor_fn_imps.hpp: Same.
1224 * include/ext/pb_ds/detail/bin_search_tree_/debug_fn_imps.hpp: Same.
1225 * include/ext/pb_ds/detail/bin_search_tree_/traits.hpp: Same.
1226 * include/ext/pb_ds/detail/bin_search_tree_/info_fn_imps.hpp: Same.
1227 * include/ext/pb_ds/detail/bin_search_tree_/rotate_fn_imps.hpp: Same.
1228 * include/ext/pb_ds/detail/bin_search_tree_/erase_fn_imps.hpp: Same.
1229 * include/ext/pb_ds/detail/bin_search_tree_/bin_search_tree_.hpp: Same.
1230 * include/ext/pb_ds/detail/bin_search_tree_/insert_fn_imps.hpp: Same.
1231 * include/ext/pb_ds/detail/bin_search_tree_/node_iterators.hpp: Same.
1232 * include/ext/pb_ds/detail/bin_search_tree_/point_iterators.hpp: Same.
1233 * include/ext/pb_ds/detail/bin_search_tree_/
1234 split_join_fn_imps.hpp: Same.
1235 * include/ext/pb_ds/detail/bin_search_tree_/iterators_fn_imps.hpp: Same.
1236 * include/ext/pb_ds/detail/list_update_policy/
1237 sample_update_policy.hpp: Same.
1238 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1239 trace_fn_imps.hpp: Same.
1240 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1241 erase_fn_imps.hpp: Same.
1242 * include/ext/pb_ds/detail/gp_hash_table_map_/
1243 erase_store_hash_fn_imps.hpp: Same.
1244 * include/ext/pb_ds/detail/gp_hash_table_map_/
1245 constructor_destructor_no_store_hash_fn_imps.hpp: Same.
1246 * include/ext/pb_ds/detail/gp_hash_table_map_/
1247 insert_no_store_hash_fn_imps.hpp: Same.
1248 * include/ext/pb_ds/detail/gp_hash_table_map_/find_fn_imps.hpp: Same.
1249 * include/ext/pb_ds/detail/gp_hash_table_map_/
1250 policy_access_fn_imps.hpp: Same.
1251 * include/ext/pb_ds/detail/gp_hash_table_map_/
1252 resize_store_hash_fn_imps.hpp: Same.
1253 * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Same.
1254 * include/ext/pb_ds/detail/gp_hash_table_map_/
1255 constructor_destructor_store_hash_fn_imps.hpp: Same.
1256 * include/ext/pb_ds/detail/gp_hash_table_map_/
1257 insert_store_hash_fn_imps.hpp: Same.
1258 * include/ext/pb_ds/detail/gp_hash_table_map_/debug_fn_imps.hpp: Same.
1259 * include/ext/pb_ds/detail/gp_hash_table_map_/
1260 iterator_fn_imps.hpp: Same.
1261 * include/ext/pb_ds/detail/gp_hash_table_map_/info_fn_imps.hpp: Same.
1262 * include/ext/pb_ds/detail/gp_hash_table_map_/
1263 find_no_store_hash_fn_imps.hpp: Same.
1264 * include/ext/pb_ds/detail/gp_hash_table_map_/trace_fn_imps.hpp: Same.
1265 * include/ext/pb_ds/detail/gp_hash_table_map_/erase_fn_imps.hpp: Same.
1266 * include/ext/pb_ds/detail/gp_hash_table_map_/
1267 find_store_hash_fn_imps.hpp: Same.
1268 * include/ext/pb_ds/detail/gp_hash_table_map_/
1269 debug_no_store_hash_fn_imps.hpp: Same.
1270 * include/ext/pb_ds/detail/gp_hash_table_map_/resize_fn_imps.hpp: Same.
1271 * include/ext/pb_ds/detail/gp_hash_table_map_/
1272 constructor_destructor_fn_imps.hpp: Same.
1273 * include/ext/pb_ds/detail/gp_hash_table_map_/insert_fn_imps.hpp: Same.
1274 * include/ext/pb_ds/detail/gp_hash_table_map_/
1275 debug_store_hash_fn_imps.hpp: Same.
1276 * include/ext/pb_ds/detail/gp_hash_table_map_/
1277 erase_no_store_hash_fn_imps.hpp: Same.
1278 * include/ext/pb_ds/detail/gp_hash_table_map_/
1279 resize_no_store_hash_fn_imps.hpp: Same.
1280 * include/ext/pb_ds/detail/gp_hash_table_map_/
1281 standard_policies.hpp: Same.
1282 * include/ext/pb_ds/detail/standard_policies.hpp: Same.
1283 * include/ext/pb_ds/detail/types_traits.hpp: Same.
1284 * include/ext/pb_ds/detail/binary_heap_/find_fn_imps.hpp: Same.
1285 * include/ext/pb_ds/detail/binary_heap_/policy_access_fn_imps.hpp: Same.
1286 * include/ext/pb_ds/detail/binary_heap_/const_iterator.hpp: Same.
1287 * include/ext/pb_ds/detail/binary_heap_/entry_cmp.hpp: Same.
1288 * include/ext/pb_ds/detail/binary_heap_/
1289 constructors_destructor_fn_imps.hpp: Same.
1290 * include/ext/pb_ds/detail/binary_heap_/debug_fn_imps.hpp: Same.
1291 * include/ext/pb_ds/detail/binary_heap_/info_fn_imps.hpp: Same.
1292 * include/ext/pb_ds/detail/binary_heap_/trace_fn_imps.hpp: Same.
1293 * include/ext/pb_ds/detail/binary_heap_/erase_fn_imps.hpp: Same.
1294 * include/ext/pb_ds/detail/binary_heap_/entry_pred.hpp: Same.
1295 * include/ext/pb_ds/detail/binary_heap_/insert_fn_imps.hpp: Same.
1296 * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp: Same.
1297 * include/ext/pb_ds/detail/binary_heap_/resize_policy.hpp: Same.
1298 * include/ext/pb_ds/detail/binary_heap_/split_join_fn_imps.hpp: Same.
1299 * include/ext/pb_ds/detail/binary_heap_/iterators_fn_imps.hpp: Same.
1300 * include/ext/pb_ds/detail/tree_policy/order_statistics_imp.hpp: Same.
1301 * include/ext/pb_ds/detail/tree_policy/node_metadata_selector.hpp: Same.
1302 * include/ext/pb_ds/detail/tree_policy/
1303 sample_tree_node_update.hpp: Same.
1304 * include/ext/pb_ds/detail/trie_policy/order_statistics_imp.hpp: Same.
1305 * include/ext/pb_ds/detail/trie_policy/
1306 sample_trie_node_update.hpp: Same.
1307 * include/ext/pb_ds/detail/trie_policy/trie_policy_base.hpp: Same.
1308 * include/ext/pb_ds/detail/trie_policy/
1309 prefix_search_node_update_imp.hpp: Same.
1310 * include/ext/pb_ds/detail/trie_policy/node_metadata_selector.hpp: Same.
1311 * include/ext/pb_ds/detail/cond_dealtor.hpp: Same.
1312 * include/ext/pb_ds/detail/priority_queue_base_dispatch.hpp: Same.
1313 Adjust for template parameter change, fold into
1314 container_base_dispatch.
1315 * include/ext/pb_ds/detail/pairing_heap_/erase_fn_imps.hpp: Same.
1316 * include/ext/pb_ds/detail/pairing_heap_/find_fn_imps.hpp: Same.
1317 * include/ext/pb_ds/detail/pairing_heap_/insert_fn_imps.hpp: Same.
1318 * include/ext/pb_ds/detail/pairing_heap_/
1319 constructors_destructor_fn_imps.hpp: Same.
1320 * include/ext/pb_ds/detail/pairing_heap_/debug_fn_imps.hpp: Same.
1321 * include/ext/pb_ds/detail/pairing_heap_/pairing_heap_.hpp: Same.
1322 * include/ext/pb_ds/detail/pairing_heap_/split_join_fn_imps.hpp: Same.
1323 * include/ext/pb_ds/detail/binomial_heap_/
1324 constructors_destructor_fn_imps.hpp: Same.
1325 * include/ext/pb_ds/detail/binomial_heap_/debug_fn_imps.hpp: Same.
1326 * include/ext/pb_ds/detail/binomial_heap_/binomial_heap_.hpp: Same.
1327 * include/ext/pb_ds/detail/constructors_destructor_fn_imps.hpp: Same.
1328 * include/ext/pb_ds/detail/type_utils.hpp: Same.
1329 * include/ext/pb_ds/detail/eq_fn/hash_eq_fn.hpp: Same.
1330 * include/ext/pb_ds/detail/eq_fn/eq_by_less.hpp: Same.
1331 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1332 policy_access_fn_imps.hpp: Same.
1333 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1334 left_child_next_sibling_heap_.hpp: Same.
1335 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1336 const_iterator.hpp: Same.
1337 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1338 insert_fn_imps.hpp: Same.
1339 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1340 constructors_destructor_fn_imps.hpp: Same.
1341 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1342 debug_fn_imps.hpp: Same.
1343 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1345 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1346 info_fn_imps.hpp: Same.
1347 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1348 iterators_fn_imps.hpp: Same.
1349 * include/ext/pb_ds/detail/thin_heap_/trace_fn_imps.hpp: Same.
1350 * include/ext/pb_ds/detail/thin_heap_/erase_fn_imps.hpp: Same.
1351 * include/ext/pb_ds/detail/thin_heap_/find_fn_imps.hpp: Same.
1352 * include/ext/pb_ds/detail/thin_heap_/thin_heap_.hpp: Same.
1353 * include/ext/pb_ds/detail/thin_heap_/insert_fn_imps.hpp: Same.
1354 * include/ext/pb_ds/detail/thin_heap_/
1355 constructors_destructor_fn_imps.hpp: Same.
1356 * include/ext/pb_ds/detail/thin_heap_/debug_fn_imps.hpp: Same.
1357 * include/ext/pb_ds/detail/thin_heap_/split_join_fn_imps.hpp: Same.
1358 * include/ext/pb_ds/detail/ov_tree_map_/erase_fn_imps.hpp: Same.
1359 * include/ext/pb_ds/detail/ov_tree_map_/policy_access_fn_imps.hpp: Same.
1360 * include/ext/pb_ds/detail/ov_tree_map_/insert_fn_imps.hpp: Same.
1361 * include/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp: Same.
1362 * include/ext/pb_ds/detail/ov_tree_map_/
1363 constructors_destructor_fn_imps.hpp: Same.
1364 * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same.
1365 * include/ext/pb_ds/detail/ov_tree_map_/node_iterators.hpp: Same.
1366 * include/ext/pb_ds/detail/ov_tree_map_/split_join_fn_imps.hpp: Same.
1367 * include/ext/pb_ds/detail/ov_tree_map_/info_fn_imps.hpp: Same.
1368 * include/ext/pb_ds/detail/ov_tree_map_/traits.hpp: Same.
1369 * include/ext/pb_ds/detail/ov_tree_map_/iterators_fn_imps.hpp: Same.
1370 * include/ext/pb_ds/detail/debug_map_base.hpp: Same.
1371 * include/ext/pb_ds/detail/hash_fn/ranged_probe_fn.hpp: Same.
1372 * include/ext/pb_ds/detail/hash_fn/sample_probe_fn.hpp: Same.
1373 * include/ext/pb_ds/detail/hash_fn/sample_ranged_probe_fn.hpp: Same.
1374 * include/ext/pb_ds/detail/hash_fn/sample_range_hashing.hpp: Same.
1375 * include/ext/pb_ds/detail/hash_fn/probe_fn_base.hpp: Same.
1376 * include/ext/pb_ds/detail/hash_fn/ranged_hash_fn.hpp: Same.
1377 * include/ext/pb_ds/detail/hash_fn/sample_ranged_hash_fn.hpp: Same.
1378 * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp: Same.
1379 * include/ext/pb_ds/detail/splay_tree_/find_fn_imps.hpp: Same.
1380 * include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp: Same.
1381 * include/ext/pb_ds/detail/splay_tree_/
1382 constructors_destructor_fn_imps.hpp: Same.
1383 * include/ext/pb_ds/detail/splay_tree_/debug_fn_imps.hpp: Same.
1384 * include/ext/pb_ds/detail/splay_tree_/splay_fn_imps.hpp: Same.
1385 * include/ext/pb_ds/detail/splay_tree_/node.hpp: Same.
1386 * include/ext/pb_ds/detail/splay_tree_/split_join_fn_imps.hpp: Same.
1387 * include/ext/pb_ds/detail/splay_tree_/info_fn_imps.hpp: Same.
1388 * include/ext/pb_ds/detail/splay_tree_/splay_tree_.hpp: Same.
1389 * include/ext/pb_ds/detail/splay_tree_/traits.hpp: Same.
1390 * include/ext/pb_ds/detail/list_update_map_/trace_fn_imps.hpp: Same.
1391 * include/ext/pb_ds/detail/list_update_map_/erase_fn_imps.hpp: Same.
1392 * include/ext/pb_ds/detail/list_update_map_/
1393 entry_metadata_base.hpp: Same.
1394 * include/ext/pb_ds/detail/list_update_map_/find_fn_imps.hpp: Same.
1395 * include/ext/pb_ds/detail/list_update_map_/lu_map_.hpp: Same.
1396 * include/ext/pb_ds/detail/list_update_map_/
1397 constructor_destructor_fn_imps.hpp: Same.
1398 * include/ext/pb_ds/detail/list_update_map_/insert_fn_imps.hpp: Same.
1399 * include/ext/pb_ds/detail/list_update_map_/debug_fn_imps.hpp: Same.
1400 * include/ext/pb_ds/detail/list_update_map_/info_fn_imps.hpp: Same.
1401 * include/ext/pb_ds/detail/list_update_map_/iterators_fn_imps.hpp: Same.
1402 * include/ext/pb_ds/detail/rc_binomial_heap_/trace_fn_imps.hpp: Same.
1403 * include/ext/pb_ds/detail/rc_binomial_heap_/erase_fn_imps.hpp: Same.
1404 * include/ext/pb_ds/detail/rc_binomial_heap_/
1405 rc_binomial_heap_.hpp: Same.
1406 * include/ext/pb_ds/detail/rc_binomial_heap_/insert_fn_imps.hpp: Same.
1407 * include/ext/pb_ds/detail/rc_binomial_heap_/
1408 constructors_destructor_fn_imps.hpp: Same.
1409 * include/ext/pb_ds/detail/rc_binomial_heap_/debug_fn_imps.hpp: Same.
1410 * include/ext/pb_ds/detail/rc_binomial_heap_/rc.hpp: Same.
1411 * include/ext/pb_ds/detail/rc_binomial_heap_/
1412 split_join_fn_imps.hpp: Same.
1413 * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp: Same.
1414 * include/ext/pb_ds/detail/rb_tree_map_/find_fn_imps.hpp: Same.
1415 * include/ext/pb_ds/detail/rb_tree_map_/insert_fn_imps.hpp: Same.
1416 * include/ext/pb_ds/detail/rb_tree_map_/
1417 constructors_destructor_fn_imps.hpp: Same.
1418 * include/ext/pb_ds/detail/rb_tree_map_/debug_fn_imps.hpp: Same.
1419 * include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp: Same.
1420 * include/ext/pb_ds/detail/rb_tree_map_/node.hpp: Same.
1421 * include/ext/pb_ds/detail/rb_tree_map_/split_join_fn_imps.hpp: Same.
1422 * include/ext/pb_ds/detail/rb_tree_map_/info_fn_imps.hpp: Same.
1423 * include/ext/pb_ds/detail/rb_tree_map_/traits.hpp: Same.
1426 Documentation changes.
1427 * include/ext/pb_ds/*: Add doxygen markup.
1428 * doc/doxygen/user.cfg.in: Add details for extracting comments
1430 * scripts/run_doxygen: Fixup __gnu_pb_ds::detail.
1431 * scripts/make_graph.py: Move to svg output. Re-format generated tables.
1433 * doc/Makefile.am (stamp-html-copy): New rule.
1434 (stamp-html): Use it to copy non-generated files into html docs.
1435 * doc/Makefile.in: Regenerated.
1437 * doc/html/ext/pb_ds/sample_trie_e_access_traits.html: Move...
1438 * doc/html/ext/pb_ds/trie_string_access_traits.html: ...here.
1439 * doc/html/ext/pb_ds/string_trie_e_access_traits.html: Move..
1440 * doc/html/ext/pb_ds/sample_trie_access_traits.html: ...here.
1442 * doc/html/ext/pb_ds/tree_text_lor_find_timing_test_local.png,
1443 hash_random_int_erase_mem_usage_test_local.png,
1444 multimap_text_insert_mem_usage_test_small_s2p_hash_local.png,
1445 tree_text_insert_timing_test_pat_trie_local.png ,
1446 multimap_text_insert_mem_usage_test_small_s2p_tree_local.png ,
1447 priority_queue_text_modify_down_timing_test_local.png,
1448 gp_hash_random_int_subscript_timing_test_find_local.png,
1449 text_find_timing_test_hash_local.png,
1450 multimap_text_insert_timing_test_small_s2p_hash_local.png,
1451 multimap_text_insert_timing_test_small_s2p_tree_local.png,
1452 multimap_text_insert_mem_usage_test_large_s2p_hash_local.png,
1453 multimap_text_insert_mem_usage_test_large_s2p_tree_local.png,
1454 multimap_text_insert_timing_test_large_s2p_hash_local.png,
1455 hash_zlob_random_int_find_timing_test_local.png,
1456 multimap_text_insert_timing_test_large_s2p_tree_local.png,
1457 binary_priority_queue_random_int_push_timing_test_local.png,
1458 priority_queue_text_pop_mem_usage_test_local.png,
1459 priority_queue_text_modify_down_timing_test_pairing_thin_local.png,
1460 tree_split_join_timing_test_local.png,
1461 multimap_text_find_timing_test_small_s2p_hash_local.png,
1462 ccgp_hash_random_int_subscript_timing_test_insert_local.png,
1463 priority_queue_random_int_push_pop_timing_test_local.png,
1464 multimap_text_find_timing_test_small_s2p_tree_local.png,
1465 gp_hash_random_int_subscript_timing_test_insert_local.png,
1466 priority_queue_text_push_timing_test_local.png,
1467 cc_hash_random_int_subscript_timing_test_find_local.png,
1468 tree_text_insert_timing_test_vector_tree_local.png,
1469 multimap_text_find_timing_test_large_s2p_hash_local.png,
1470 pairing_priority_queue_text_push_timing_test_local.png,
1471 tree_order_statistics_timing_test_local.png,
1472 priority_queue_text_push_pop_timing_test_local.png,
1473 text_find_timing_test_tree_like_local.png,
1474 multimap_text_find_timing_test_large_s2p_tree_local.png,
1475 priority_queue_text_modify_up_timing_test_pairing_thin_local.png,
1476 cc_hash_random_int_subscript_timing_test_insert_local.png,
1477 priority_queue_text_modify_up_timing_test_local.png,
1478 random_int_find_find_timing_test_tree_local.png,
1479 priority_queue_random_int_push_timing_test_local.png,
1480 tree_text_insert_timing_test_node_tree_local.png,
1481 pairing_priority_queue_text_push_pop_timing_test_local.png,
1482 gp_hash_random_int_find_timing_test_local.png,
1483 cc_hash_random_int_find_timing_test_local.png,
1484 priority_queue_text_join_timing_test_local.png: Update local pngs.
1488 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand_debug.cc: New.
1489 * testsuite/ext/pb_ds/regression/tree_data_map_rand_debug.cc: New.
1490 * testsuite/ext/pb_ds/regression/priority_queue_rand_debug.cc: New.
1491 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand_debug.cc: New.
1492 * testsuite/ext/pb_ds/regression/trie_data_map_rand_debug.cc: New.
1493 * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand_debug.cc:
1495 * testsuite/ext/pb_ds/regression/list_update_data_map_rand_debug.cc:
1497 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand_debug.cc: New.
1498 * testsuite/ext/pb_ds/regression/hash_data_map_rand_debug.cc: New.
1500 * testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc: Fix typo.
1502 * testsuite/ext/pb_ds/example/basic_set.cc: Update.
1503 * testsuite/ext/pb_ds/example/ranged_hash.cc: Same.
1504 * testsuite/ext/pb_ds/example/tree_order_statistics.cc: Same.
1505 * testsuite/ext/pb_ds/example/trie_prefix_search.cc: Same.
1506 * testsuite/ext/pb_ds/example/trie_dna.cc: Same.
1507 * testsuite/ext/pb_ds/example/tree_intervals.cc: Same.
1508 * testsuite/ext/pb_ds/example/basic_multimap.cc: Same.
1509 * testsuite/performance/ext/pb_ds/hash_random_int_erase_mem_usage.cc:
1511 * testsuite/performance/ext/pb_ds/tree_split_join_timing.cc: Same.
1512 * testsuite/performance/ext/pb_ds/tree_order_statistics_timing.cc: Same.
1513 * testsuite/data/make_graph_test_infos.xml: Same.
1514 * testsuite/util/regression/common_type.hpp: Same.
1515 * testsuite/util/regression/trait/assoc/native_type_trait.hpp: Same.
1516 * testsuite/util/regression/trait/assoc/trait.hpp: Same.
1517 * testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
1518 * testsuite/util/regression/rand/priority_queue/
1519 rand_regression_test.hpp: Same.
1520 * testsuite/util/regression/rand/priority_queue/
1521 container_rand_regression_test.tcc: Same.
1522 * testsuite/util/regression/rand/assoc/rand_regression_test.hpp: Same.
1523 * testsuite/util/regression/rand/assoc/container_rand_regression_test.h
1524 * testsuite/util/regression/rand/assoc/
1525 container_rand_regression_test.tcc: Same.
1526 * testsuite/util/native_type/native_priority_queue.hpp: Same.
1527 * testsuite/util/native_type/native_multimap.hpp: Same.
1528 * testsuite/util/native_type/native_hash_multimap.hpp: Same.
1529 * testsuite/util/native_type/native_set.hpp: Same.
1530 * testsuite/util/native_type/native_map.hpp: Same.
1531 * testsuite/util/native_type/native_hash_set.hpp: Same.
1532 * testsuite/util/native_type/native_hash_map.hpp: Same.
1533 * testsuite/util/testsuite_containers.h
1534 * testsuite/util/common_type/priority_queue/common_type.hpp: Same.
1535 * testsuite/util/common_type/assoc/common_type.hpp: Same.
1536 * testsuite/util/common_type/assoc/string_form.hpp: Same.
1537 * testsuite/util/common_type/assoc/template_policy.hpp: Same.
1538 * testsuite/util/common_type/assoc/detail/
1539 trigger_policy_string_form.hpp: Same.
1540 * testsuite/util/common_type/assoc/detail/ds_string_form.hpp: Same.
1541 * testsuite/util/common_type/assoc/detail/
1542 size_policy_string_form.hpp: Same.
1543 * testsuite/util/common_type/assoc/detail/
1544 probe_fn_string_form.hpp: Same.
1545 * testsuite/util/common_type/assoc/detail/
1546 tree_supports_order_statistics.hpp: Same.
1547 * testsuite/util/common_type/assoc/detail/
1548 trie_supports_prefix_search.hpp: Same.
1549 * testsuite/util/common_type/assoc/detail/
1550 list_update_policy_string_form.hpp: Same.
1551 * testsuite/util/common_type/assoc/detail/
1552 trie_supports_order_statistics.hpp: Same.
1553 * testsuite/util/common_type/assoc/native_set.hpp: Same.
1554 * testsuite/util/performance/assoc/timing/common_type.hpp: Same.
1555 * testsuite/util/performance/assoc/timing/multimap_find_test.hpp: Same.
1556 * testsuite/util/performance/assoc/multimap_common_type.hpp: Same.
1558 2011-05-23 Paolo Carlini <paolo.carlini@oracle.com>
1560 * include/bits/streambuf_iterator.h: Use noexcept per the FDIS.
1561 (istreambuf_iterator<>::istreambuf_iterator(const
1562 istreambuf_iterator&), ~istreambuf_iterator()): Add defaulted
1565 2011-05-23 Jason Merrill <jason@redhat.com>
1567 * libsupc++/exception_ptr.h: Fix compilation in C++0x mode.
1569 2011-05-22 Jonathan Wakely <jwakely.gcc@gmail.com>
1571 * testsuite/20_util/bind/cv_quals_2.cc: New.
1573 2011-05-22 Paolo Carlini <paolo.carlini@oracle.com>
1576 * include/std/functional (_Bind<_Functor(_Bound_args...)>::
1577 operator()(_Args&&...)): Don't cv qualify _Functor directly
1578 in the default template argument, SFINAE doesn't apply when
1579 the functor has no arguments.
1580 * testsuite/20_util/bind/49058_1.cc: New.
1581 * testsuite/20_util/bind/49058_2.cc: Likewise.
1583 2011-05-21 Paolo Carlini <paolo.carlini@oracle.com>
1585 * include/bits/unique_ptr.h: Use noexcept per the FDIS.
1587 2011-05-20 Paolo Carlini <paolo.carlini@oracle.com>
1589 * testsuite/21_strings/basic_string/requirements/exception/
1590 propagation_consistent.cc: Fix vs POD-ness of value_type.
1591 * testsuite/21_strings/basic_string/requirements/exception/
1593 * testsuite/ext/vstring/requirements/exception/
1594 propagation_consistent.cc: Likewise.
1595 * testsuite/ext/vstring/requirements/exception/basic.cc: Likewise.
1597 2011-05-20 Paolo Carlini <paolo.carlini@oracle.com>
1599 * include/bits/char_traits.h: Use noexcept throughout.
1600 * include/std/typeindex: Likewise.
1602 * include/std/tuple (_Tuple_impl<>_Tuple_impl(_Tuple_impl&&)): Use
1603 noexcept; adjust callers.
1604 * include/bits/stl_pair.h (pair<>::pair(pair<>&&)): Use noexcept.
1605 * testsuite/20_util/tuple/cons/noexcept_move_construct.cc: New.
1606 * testsuite/20_util/pair/cons/noexcept_move_construct.cc: Likewise.
1607 * testsuite/20_util/pair/noexcept_swap.cc: Likewise.
1608 * testsuite/20_util/pair/noexcept_move_assign.cc: Likewise.
1609 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-warning
1612 2011-05-20 Jason Merrill <jason@redhat.com>
1614 * include/ext/pb_ds/assoc_container.hpp: Explicitly qualify calls to
1615 functions from dependent bases.
1616 * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp: Likewise.
1617 * include/ext/pb_ds/detail/rb_tree_map_/
1618 split_join_fn_imps.hpp: Likewise.
1619 * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp: Likewise.
1620 * include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp: Likewise.
1621 * include/ext/pb_ds/detail/splay_tree_/splay_fn_imps.hpp: Likewise.
1622 * include/ext/pb_ds/detail/splay_tree_/
1623 split_join_fn_imps.hpp: Likewise.
1624 * include/ext/pb_ds/detail/tree_policy/
1625 order_statistics_imp.hpp: Likewise.
1626 * include/ext/pb_ds/detail/trie_policy/
1627 prefix_search_node_update_imp.hpp: Likewise.
1628 * include/ext/rc_string_base.h: Likewise.
1629 * include/ext/rope: Likewise.
1630 * include/ext/ropeimpl.h: Likewise.
1631 * testsuite/util/exception/safety.h: Likewise.
1632 * testsuite/util/native_type/native_priority_queue.hpp: Likewise.
1633 * testsuite/util/testsuite_io.h: Likewise.
1634 * include/std/functional: Declare mem_fn earlier.
1635 * include/tr1/functional: Likewise.
1636 * include/tr1/exp_integral.tcc: Declare __expint_E1 earlier.
1638 2011-05-19 Paolo Carlini <paolo.carlini@oracle.com>
1640 * include/std/tuple (tuple_element<__i, const _Tp>,
1641 tuple_element<__i, volatile _Tp>, tuple_element<__i,
1642 const volatile _Tp>, tuple_size<const _Tp>, tuple_size<volatile _Tp>,
1643 tuple_size<const volatile _Tp>): Add.
1644 * include/std/utility (tuple_size<std::pair<_Tp1, _Tp2>>): Tweak.
1645 * include/std/array (tuple_size<array<_Tp, _Nm>>): Likewise.
1646 * testsuite/20_util/tuple/cv_tuple_size.cc: New.
1647 * testsuite/20_util/tuple/cv_tuple_element.cc: Likewise.
1648 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Tweak dg-warning
1651 2011-05-19 Paolo Carlini <paolo.carlini@oracle.com>
1653 * include/std/tuple (tuple<>::operator=(tuple&&)): Specify as
1655 (__get_helper): Likewise.
1656 (_Head_base<>::_M_head, _Tuple_impl<>::_M_head, _M_tail): Likewise.
1657 * include/bits/move.h (swap): Likewise.
1658 * include/bits/algorithmfwd.h (swap): Adjust.
1659 * include/bits/stl_pair.h (pair<>::operator=(pair&&)): Spec noexcept.
1660 * testsuite/util/testsuite_allocator.h (uneq_allocator): In C++0x
1661 mode, prefer delete to access control to make the type not copy
1663 * testsuite/util/testsuite_tr1.h: Add test classes.
1664 * testsuite/20_util/tuple/noexcept_swap.cc: New.
1665 * testsuite/20_util/tuple/noexcept_move_assign.cc: Likewise.
1666 * testsuite/25_algorithms/reverse/moveable.cc: Likewise, prefer
1667 delete to access control.
1668 * testsuite/25_algorithms/swap_ranges/moveable.cc: Likewise.
1669 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-warning
1672 2011-05-19 Daniel Krugler <daniel.kruegler@googlemail.com>
1674 * testsuite/util/testsuite_tr1.h: Add test classes.
1675 * testsuite/20_util/is_nothrow_assignable/value.cc: Add.
1677 2011-05-19 Paolo Carlini <paolo.carlini@oracle.com>
1679 * include/std/type_traits (is_assignable, is_copy_assignable,
1680 is_move_assignable, is_nothrow_assignable, is_nothrow_copy_assignable,
1681 is_nothrow_move_assignable): Add; minor tweaks elsewhere.
1682 (has_nothrow_copy_assign): Remove.
1683 * testsuite/util/testsuite_tr1.h: Add test classes.
1684 * testsuite/20_util/is_assignable/requirements/typedefs.cc: Add.
1685 * testsuite/20_util/is_assignable/requirements/
1686 explicit_instantiation.cc: Likewise.
1687 * testsuite/20_util/is_nothrow_assignable/value.cc: Likewise.
1688 * testsuite/20_util/is_nothrow_assignable/requirements/typedefs.cc:
1690 * testsuite/20_util/is_nothrow_assignable/requirements/
1691 explicit_instantiation.cc: Likewise.
1692 * testsuite/20_util/is_move_assignable/value.cc: Likewise.
1693 * testsuite/20_util/is_move_assignable/requirements/typedefs.cc:
1695 * testsuite/20_util/is_move_assignable/requirements/
1696 explicit_instantiation.cc: Likewise.
1697 * testsuite/20_util/is_copy_assignable/value.cc: Likewise.
1698 * testsuite/20_util/is_copy_assignable/requirements/typedefs.cc:
1700 * testsuite/20_util/is_copy_assignable/requirements/
1701 explicit_instantiation.cc: Likewise.
1702 * testsuite/20_util/is_nothrow_move_assignable/value.cc: Likewise.
1703 * testsuite/20_util/is_nothrow_move_assignable/requirements/
1704 typedefs.cc: Likewise.
1705 * testsuite/20_util/is_nothrow_move_assignable/requirements/
1706 explicit_instantiation.cc: Likewise.
1707 * testsuite/20_util/is_nothrow_copy_assignable/value.cc: Likewise.
1708 * testsuite/20_util/is_nothrow_copy_assignable/requirements/
1709 typedefs.cc: Likewise.
1710 * testsuite/20_util/is_nothrow_copy_assignable/requirements/
1711 explicit_instantiation.cc: Likewise.
1712 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
1713 dg-error line numbers.
1714 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
1716 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
1718 2011-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
1720 * include/bits/shared_ptr_base.h: Use noexcept. Define special member
1721 functions as defaulted/deleted.
1722 * include/bits/shared_ptr.h: Use noexcept.
1723 * 20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error line numbers.
1724 * 20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
1726 2011-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
1728 * doc/xml/manual/bitmap_allocator.xml: Fix typos.
1730 2011-05-18 Paolo Carlini <paolo.carlini@oracle.com>
1732 * libsupc++/initializer_list: Use noexcept specifier.
1733 (initializer_list<>::size, begin, end): Qualify as const.
1734 * include/bits/move.h (__addressof, forward, move, addressof): Specify
1736 * include/std/bitset: Use noexcept specifier throughout.
1737 * include/debug/bitset: Update.
1738 * include/profile/bitset: Likewise.
1740 2011-05-17 Paolo Carlini <paolo.carlini@oracle.com>
1742 * include/std/tuple: Use noexcept where appropriate.
1743 (tuple<>::swap): Rework implementation.
1744 (_Head_base<>::_M_swap_impl): Remove.
1745 (get(std::tuple<>&&)): Add.
1746 * testsuite/20_util/tuple/element_access/get2.cc: New.
1747 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
1750 2011-05-16 Paolo Carlini <paolo.carlini@oracle.com>
1752 * include/std/utility: Simplify the last commit, the whole
1753 std::get code is C++0x only.
1755 2011-05-16 Paolo Carlini <paolo.carlini@oracle.com>
1757 * include/std/utility (get(std::pair<>&&)): Add.
1758 * include/bits/stl_pair.h (pair::swap(pair&),
1759 swap(pair<>&, pair<>&)): Use noexcept.
1760 * include/bits/random.h (discard_block_engine<>::base,
1761 independent_bits_engine<>::base, shuffle_order_engine<>::base,
1762 random_device::entropy): Use noexcept.
1763 * include/std/array: Use noexcept where appropriate.
1764 (get(array<>&&)): Add.
1765 * testsuite/23_containers/array/requirements/get.cc: New.
1766 * testsuite/20_util/pair/get.cc: Likewise.
1767 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Tweak dg-error
1770 2011-05-15 Paolo Carlini <paolo.carlini@oracle.com>
1772 * include/bits/c++config (_GLIBCXX_NOEXCEPT, _GLIBCXX_USE_NOEXCEPT):
1774 * include/std/limits: Use the latter everywhere.
1775 (numeric_limits<char16_t>, numeric_limits<char32_t>): Simplify
1776 macro usages, the specializations exist only in C++0x mode.
1777 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error
1780 2011-05-11 Paolo Carlini <paolo.carlini@oracle.com>
1782 * testsuite/26_numerics/headers/cmath/overloads_c++0x_neg.cc: Use
1784 * testsuite/tr1/8_c_compatibility/cmath/overloads_neg.cc: Likewise.
1786 2011-05-11 François Dumont <francois.cppdevs@free.fr>
1788 * include/ext/pb_ds/detail/resize_policy/
1789 hash_load_check_resize_trigger_imp.hpp (assert_valid): Replace
1790 _GLIBCXX_DEBUG_ASSERT calls with PB_DS_DEBUG_VERIFY.
1791 * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp,
1792 find_fn_imps.hpp, insert_fn_imps.hpp, binomial_heap_base_.hpp,
1793 constructors_destructor_fn_imps.hpp, split_join_fn_imps.hpp
1794 (PB_DS_ASSERT_VALID): Rename in PB_DS_ASSERT_VALID_COND.
1795 * include/ext/pb_ds/detail/debug_map_base.hpp,
1796 splay_tree_/splay_tree_.hpp, ov_tree_map_/ov_tree_map_.hpp,
1797 cc_hash_table_map_/cc_ht_map_.hpp, pat_trie_/pat_trie_.hpp,
1798 leaf.hpp, internal_node.hpp, gp_hash_table_map_/gp_ht_map_.hpp,
1799 bin_search_tree_/bin_search_tree_.hpp, list_update_map_/lu_map_.hpp,
1800 rb_tree_map_/rb_tree_.hpp (PB_DS_ASSERT_VALID, PB_DS_DEBUG_VERIFY,
1801 PB_DS_CHECK_KEY_EXISTS, PB_DS_CHECK_KEY_DOES_NOT_EXIST): Duplicate
1802 macro definitions move...
1803 * include/ext/pb_ds/detail/container_base_dispatch.hpp: ... here...
1804 * include/ext/pb_ds/detail/basic_tree_policy/traits.hpp: ... and here.
1805 * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp,
1806 resize_policy.hpp, pairing_heap_/pairing_heap_.hpp,
1807 left_child_next_sibling_heap_/left_child_next_sibling_heap_.hpp,
1808 binomial_heap_/binomial_heap_.hpp, thin_heap_/thin_heap_.hpp,
1809 rc_binomial_heap_/rc_binomial_heap_.hpp, rc.hpp (PB_DS_ASSERT_VALID,
1810 PB_DS_DEBUG_VERIFY): Duplicate macro definitions move...
1811 * include/ext/pb_ds/detail/priority_queue_base_dispatch.hpp:
1814 2011-05-09 Paolo Carlini <paolo.carlini@oracle.com>
1817 * include/c_global/cmath (acosh, asinh, atanh, cbrt, copysign,
1818 erf, erfc, exp2, expm1, fdim, fma, fmax, hypot, ilogb, lgamma,
1819 llrint, llround, log1p, log2, logb, lrint, lround, nearbyint,
1820 nextafter, nexttoward, remainder, remquo, rint, round, scalbln,
1821 scalbn, tgamma, trunc): Use __enable_if on the return type.
1822 * include/tr1/cmath: Likewise.
1823 * testsuite/26_numerics/headers/cmath/overloads_c++0x_neg.cc: New.
1824 * testsuite/tr1/8_c_compatibility/cmath/overloads_neg.cc: Likewise.
1826 2011-05-07 François Dumont <francois.cppdevs@free.fr>
1828 * include/debug/macro.h (_GLIBCXX_DEBUG_VERIFY_AT): New.
1829 (_GLICXX_DEBUG_VERIFY): Use latter.
1830 * include/ext/pb_ds/detail/resize_policy/
1831 hash_load_check_resize_trigger_imp.hpp: Emit assertion on the line
1832 containing the original assert call.
1833 * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp,
1834 find_fn_imps.hpp, insert_fn_imps.hpp, binomial_heap_base_.hpp,
1835 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
1836 split_join_fn_imps.hpp: Likewise.
1837 * include/ext/pb_ds/detail/cc_hash_table_map_/
1838 erase_store_hash_fn_imps.hpp, insert_no_store_hash_fn_imps.hpp,
1839 find_fn_imps.hpp, insert_store_hash_fn_imps.hpp, debug_fn_imps.hpp,
1840 debug_no_store_hash_fn_imps.hpp, cc_ht_map_.hpp, resize_fn_imps.hpp,
1841 constructor_destructor_fn_imps.hpp, debug_store_hash_fn_imps.hpp,
1842 erase_no_store_hash_fn_imps.hpp: Likewise.
1843 * include/ext/pb_ds/detail/pat_trie_/find_fn_imps.hpp,
1844 insert_join_fn_imps.hpp, pat_trie_/head.hpp, debug_fn_imps.hpp,
1845 constructors_destructor_fn_imps.hpp, pat_trie_.hpp, split_fn_imps.hpp,
1846 leaf.hpp, erase_fn_imps.hpp, node_base.hpp, internal_node.hpp:
1848 * include/ext/pb_ds/detail/bin_search_tree_/find_fn_imps.hpp,
1849 r_erase_fn_imps.hpp, constructors_destructor_fn_imps.hpp,
1850 debug_fn_imps.hpp, rotate_fn_imps.hpp, erase_fn_imps.hpp,
1851 bin_search_tree_.hpp, insert_fn_imps.hpp, split_join_fn_imps.hpp:
1853 * include/ext/pb_ds/detail/gp_hash_table_map_/
1854 erase_store_hash_fn_imps.hpp, insert_no_store_hash_fn_imps.hpp,
1855 find_fn_imps.hpp, gp_ht_map_.hpp, insert_store_hash_fn_imps.hpp,
1856 debug_fn_imps.hpp, erase_fn_imps.hpp, debug_no_store_hash_fn_imps.hpp,
1857 resize_fn_imps.hpp, constructor_destructor_fn_imps.hpp,
1858 debug_store_hash_fn_imps.hpp, erase_no_store_hash_fn_imps.hpp:
1860 * include/ext/pb_ds/detail/binary_heap_/find_fn_imps.hpp,
1861 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
1862 erase_fn_imps.hpp, insert_fn_imps.hpp, binary_heap_.hpp,
1863 resize_policy.hpp, split_join_fn_imps.hpp: Likewise.
1864 * include/ext/pb_ds/detail/pairing_heap_/erase_fn_imps.hpp,
1865 find_fn_imps.hpp, insert_fn_imps.hpp,
1866 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
1867 pairing_heap_.hpp, split_join_fn_imps.hpp: Likewise.
1868 * include/ext/pb_ds/detail/binomial_heap_/
1869 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
1870 binomial_heap_.hpp: Likewise.
1871 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1872 erase_fn_imps.hpp, left_child_next_sibling_heap_.hpp,
1873 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp: Likewise.
1874 * include/ext/pb_ds/detail/thin_heap_/erase_fn_imps.hpp,
1875 find_fn_imps.hpp, thin_heap_.hpp, insert_fn_imps.hpp,
1876 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
1877 split_join_fn_imps.hpp: Likewise.
1878 * include/ext/pb_ds/detail/ov_tree_map_/erase_fn_imps.hpp,
1879 ov_tree_map_.hpp, constructors_destructor_fn_imps.hpp,
1880 debug_fn_imps.hpp, split_join_fn_imps.hpp, info_fn_imps.hpp: Likewise.
1881 * include/ext/pb_ds/detail/debug_map_base.hpp: Likewise.
1882 * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp,
1883 find_fn_imps.hpp, insert_fn_imps.hpp,
1884 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
1885 splay_fn_imps.hpp, split_join_fn_imps.hpp, splay_tree_.hpp: Likewise.
1886 * include/ext/pb_ds/detail/list_update_map_/erase_fn_imps.hpp,
1887 find_fn_imps.hpp, lu_map_.hpp, constructor_destructor_fn_imps.hpp,
1888 insert_fn_imps.hpp, debug_fn_imps.hpp: Likewise.
1889 * include/ext/pb_ds/detail/rc_binomial_heap_/erase_fn_imps.hpp,
1890 rc_binomial_heap_.hpp, insert_fn_imps.hpp,
1891 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp, rc.hpp,
1892 split_join_fn_imps.hpp: Likewise.
1893 * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp,
1894 insert_fn_imps.hpp, constructors_destructor_fn_imps.hpp,
1895 debug_fn_imps.hpp, rb_tree_.hpp, split_join_fn_imps.hpp: Likewise.
1896 * include/ext/pb_ds/hash_policy.hpp: Likewise.
1898 2011-05-06 Paolo Carlini <paolo.carlini@oracle.com>
1900 * testsuite/22_locale/messages_byname/named_equivalence.cc: Fix.
1902 2011-05-04 Marc Glisse <marc.glisse@normalesup.org>
1904 PR libstdc++/47913 (again)
1905 * include/std/ratio (ratio_add, ratio_less): Rewrite.
1906 * testsuite/20_util/ratio/operations/47913.cc: Extend.
1907 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust dg-error
1909 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Likewise.
1911 2011-05-03 Paolo Carlini <paolo.carlini@oracle.com>
1914 * include/std/valarray (valarray<>::valarray(valarray&&),
1915 valarray<>::operator=(valarray&&), valarray<>::swap): Add.
1916 * doc/xml/manual/status_cxx200x.xml: Update.
1917 * testsuite/26_numerics/valarray/moveable.cc: New.
1918 * testsuite/26_numerics/valarray/swap.cc: Likewise.
1920 2011-05-03 Paolo Carlini <paolo.carlini@oracle.com>
1923 * include/parallel/multiway_merge.h: Run _ValueType destructors.
1924 * include/parallel/multiway_mergesort.h: Likewise.
1925 * include/parallel/quicksort.h: Likewise.
1926 * include/parallel/random_shuffle.h: Likewise.
1927 * include/parallel/partial_sum.h: Likewise.
1928 * include/parallel/losertree.h: Run destructors; minor tweaks.
1929 * include/parallel/par_loop.h: Run destructors, fix memory
1930 allocations and deallocations.
1931 * testsuite/26_numerics/accumulate/48750.cc: New.
1933 * testsuite/ext/profile/mutex_extensions_neg.cc: Do not run in
1934 parallel-mode to avoid spurious multiple errors.
1936 2011-05-03 Jonathan Wakely <jwakely.gcc@gmail.com>
1938 * include/std/functional (bind): Remove from overload set when first
1939 argument type might be a socket file descriptor.
1940 * testsuite/20_util/bind/socket.cc: New.
1942 2011-05-03 Jonathan Wakely <jwakely.gcc@gmail.com>
1945 * doc/xml/manual/status_cxx200x.xml: Update valarray status.
1946 * doc/html/*: Regenerate.
1948 2011-05-02 Ollie Wild <aaw@google.com>
1950 * include/ext/sso_string_base.h (__sso_string_base<>::_M_construct):
1951 Fix unqualified lookup.
1952 (__sso_string_base<>::_M_assign): Likewise.
1953 (__sso_string_base<>::_M_reserve): Likewise.
1954 (__sso_string_base<>::_M_mutate): Likewise.
1955 (__sso_string_base<>::_M_erase): Likewise.
1956 * include/ext/vstring.h (__versa_string<>::replace): Likewise.
1957 (__versa_string<>::compare): Likewise.
1958 * include/ext/vstring.tcc (__versa_string<>::compare): Likewise.
1960 2011-05-02 Jonathan Wakely <jwakely.gcc@gmail.com>
1962 * doc/xml/manual/status_cxx200x.xml: Update to reflect current status
1964 * doc/xml/manual/documentation_hacking.xml: Fix typo.
1965 * doc/html/*: Regenerate.
1967 2011-04-30 Daniel Krugler <daniel.kruegler@googlemail.com>
1969 * include/std/type_traits (__is_default_constructible_atom,
1970 __is_default_constructible_safe<, true>,
1971 __is_direct_constructible_new_safe,
1972 __is_base_to_derived_ref<,, true>, __is_lvalue_to_rvalue_ref<,, true>,
1973 __is_direct_constructible_ref_cast, __is_direct_constructible,
1974 __is_nary_constructible): Simplify; add comments throughout.
1976 2011-04-30 Paolo Carlini <paolo.carlini@oracle.com>
1978 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
1979 Adjust dg-error line numbers.
1980 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
1982 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
1984 2011-04-30 Doug Kwan <dougkwan@google.com>
1986 * include/Makefile.am (install-freestanding-headers): Also install
1988 * include/Makefile.in: Regenerate.
1990 2011-04-28 Paolo Carlini <paolo.carlini@oracle.com>
1993 * include/std/complex (complex<float>::complex(float, float),
1994 complex<double>::complex(double, double),
1995 complex<long double>::complex(long double, long double)): Use
1996 list-initialization in C++0x mode, initialize in the body in
1998 * testsuite/26_numerics/complex/cons/48760.cc: New.
1999 * testsuite/26_numerics/complex/cons/48760_c++0x.cc: Likewise.
2001 2011-04-28 Paolo Carlini <paolo.carlini@oracle.com>
2003 * include/std/bitset (_Base_bitset(unsigned long long)): Minor
2004 tweak, remove redundant round braces.
2006 2011-04-27 Paolo Carlini <paolo.carlini@oracle.com>
2008 * include/bits/move.h (move_if_noexcept): Add.
2009 * testsuite/20_util/move_if_noexcept/requirements/
2010 explicit_instantiation.cc: New.
2011 * testsuite/20_util/move_if_noexcept/1.cc: Likewise.
2013 2011-04-25 Paolo Carlini <paolo.carlini@oracle.com>
2015 * include/std/type_traits (struct underlying_type): Add.
2016 * testsuite/20_util/underlying_type/requirements/typedefs-1.cc: New.
2017 * testsuite/20_util/underlying_type/requirements/typedefs-2.cc:
2019 * testsuite/20_util/underlying_type/requirements/
2020 explicit_instantiation.cc: Likewise.
2021 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
2024 2011-04-24 Paolo Carlini <paolo.carlini@oracle.com>
2026 * include/parallel/multiway_merge.h: Uglify equally_split
2027 and equally_split_point throughout.
2028 * include/parallel/par_loop.h: Likewise.
2029 * include/parallel/equally_split.h: Likewise.
2030 * include/parallel/set_operations.h: Likewise.
2031 * include/parallel/unique_copy.h: Likewise.
2032 * include/parallel/multiway_mergesort.h: Likewise.
2033 * include/parallel/search.h: Likewise.
2034 * include/parallel/partial_sum.h: Likewise.
2035 * include/parallel/find.h: Likewise.
2037 2011-04-24 Gerald Pfeifer <gerald@pfeifer.com>
2039 * doc/xml/manual/parallel_mode.xml: Fix link to libgomp online
2040 documentation. Expand link text.
2042 2011-04-24 Gerald Pfeifer <gerald@pfeifer.com>
2044 * libsupc++/cxxabi.h: Adjust link to FAQ entry.
2046 2011-04-22 François Dumont <francois.cppdevs@free.fr>
2048 * testsuite/lib/libstdc++.exp (check_v3_target_time): Discard
2049 unused compilation result thanks to /dev/null.
2050 * testsuite/lib/libstdc++.exp (check_v3_target_debug_mode,
2051 check_v3_target_profile_mode, check_v3_target_normal_mode,
2052 check_v3_target_cstdint, check_v3_target_cmath,
2053 check_v3_target_atomic_builtins, check_v3_target_gthreads,
2054 check_v3_target_nanosleep, check_v3_target_sched_yield,
2055 check_v3_target_string_conversions, check_v3_target_swprintf,
2056 check_v3_target_binary_io): Use simple preprocessing rather than
2057 compilation. Discard unused preprocessing result thanks to /dev/null.
2059 2011-04-20 Jim Meyering <meyering@redhat.com>
2061 * libsupc++/del_opnt.cc (operator delete): Remove useless
2064 2011-04-19 Jonathan Wakely <jwakely.gcc@gmail.com>
2067 * include/std/type_traits (result_of): Handle pointer to member.
2068 * include/std/functional (__invoke): Likewise.
2069 (_Function_to_function_pointer): Remove.
2070 (_Reference_wrapper_base): Provide nested types independent of
2071 unary_function and binary_function.
2072 (reference_wrapper::operator()): DR 2017.
2073 (ref(const A&&), cref(const A&&): Define as deleted.
2074 * include/std/future (async): Simplify SFINAE and use result_of to
2075 support pointer to member.
2076 * testsuite/20_util/reference_wrapper/invoke.cc: Test pointer to
2078 * testsuite/20_util/reference_wrapper/24803.cc: Likewise.
2079 * testsuite/20_util/reference_wrapper/typedefs.cc: Test for types
2080 instead of derivation from unary_function and binary_function.
2081 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust.
2082 * testsuite/20_util/reference_wrapper/invoke-2.cc: New.
2083 * testsuite/20_util/reference_wrapper/ref_neg.c: New.
2084 * testsuite/20_util/reference_wrapper/typedefs-3.c: New.
2086 2011-04-19 Hans-Peter Nilsson <hp@axis.com>
2089 * testsuite/20_util/hash/chi2_quality.cc (test_document_words): Stub
2090 this part if SAMPLES < 100000.
2092 2011-04-18 Paolo Carlini <paolo.carlini@oracle.com>
2094 * include/std/type_traits (is_nothrow_default_constructible,
2095 is_nothrow_copy_constructible, is_nothrow_move_constructible,
2096 is_copy_constructible, is_move_constructible): Add.
2097 (has_nothrow_default_constructor, has_nothrow_copy_constructor):
2099 (is_nothrow_constructible): Adjust.
2101 * testsuite/util/testsuite_tr1.h (ThrowDefaultClass,
2102 ThrowCopyConsClass, ThrowMoveConsClass, NoexceptDefaultClass,
2103 ExceptDefaultClass, NoexceptCopyConsClass, ExceptCopyConsClass,
2104 NoexceptMoveConsClass, ExceptMoveConsClass): Add in C++0x mode.
2106 * testsuite/20_util/has_nothrow_default_constructor: Remove.
2107 * testsuite/20_util/has_nothrow_copy_constructor: Likewise.
2109 * testsuite/20_util/is_nothrow_move_constructible/value.cc: Likewise.
2110 * testsuite/20_util/is_nothrow_move_constructible/requirements/
2111 typedefs.cc: Likewise.
2112 * testsuite/20_util/is_nothrow_move_constructible/requirements/
2113 explicit_instantiation.cc: Likewise.
2114 * testsuite/20_util/is_nothrow_copy_constructible/value.cc: Likewise.
2115 * testsuite/20_util/is_nothrow_copy_constructible/requirements/
2116 typedefs.cc: Likewise.
2117 * testsuite/20_util/is_nothrow_copy_constructible/requirements/
2118 explicit_instantiation.cc: Likewise.
2119 * testsuite/20_util/is_nothrow_default_constructible/value.cc:
2121 * testsuite/20_util/is_nothrow_default_constructible/requirements/
2122 typedefs.cc: Likewise.
2123 * testsuite/20_util/is_nothrow_default_constructible/requirements/
2124 explicit_instantiation.cc: Likewise.
2125 * testsuite/20_util/is_move_constructible/value.cc: Likewise.
2126 * testsuite/20_util/is_move_constructible/requirements/typedefs.cc:
2128 * testsuite/20_util/is_move_constructible/requirements/
2129 explicit_instantiation.cc: Likewise.
2130 * testsuite/20_util/is_copy_constructible/value.cc: Likewise.
2131 * testsuite/20_util/is_copy_constructible/requirements/typedefs.cc:
2133 * testsuite/20_util/is_copy_constructible/requirements/
2134 explicit_instantiation.cc: Likewise.
2136 * testsuite/20_util/is_default_constructible/value.cc: Add tests.
2137 * testsuite/20_util/is_nothrow_constructible/value.cc: Likewise.
2139 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
2140 Adjust dg-error line numbers.
2141 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
2143 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
2145 2011-04-17 Paolo Carlini <paolo.carlini@oracle.com>
2147 * testsuite/25_algorithms/partition/moveable.cc: Actually run
2148 it in parallel-mode for check-parallel.
2150 2011-04-17 Daniel Krugler <daniel.kruegler@googlemail.com>
2151 Paolo Carlini <paolo.carlini@oracle.com>
2153 PR libstdc++/48635 (again)
2154 * include/bits/unique_ptr.h (unique_ptr<>::unique_ptr(unique_ptr<>&&),
2155 unique_ptr<_Tp[]>::unique_ptr(unique_ptr<>&&),
2156 unique_ptr<>::operator=(unique_ptr<>&&),
2157 unique_ptr<_Tp[]>::operator=(unique_ptr<>&&)): Use forward<_Ep>, not
2158 forward<_Dp>, to forward the deleter.
2159 * testsuite/20_util/unique_ptr/assign/48635_neg.cc: New.
2161 2011-04-15 Daniel Krugler <daniel.kruegler@googlemail.com>
2162 Paolo Carlini <paolo.carlini@oracle.com>
2165 * include/bits/unique_ptr.h (default_delete<_Tp[]>): Add deleted
2166 function call operator.
2167 * testsuite/20_util/default_delete/48631_neg.cc: New.
2168 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
2171 2011-04-15 Daniel Krugler <daniel.kruegler@googlemail.com>
2172 Paolo Carlini <paolo.carlini@oracle.com>
2175 * include/bits/unique_ptr.h (unique_ptr<>::operator=(unique_ptr&&),
2176 unique_ptr<>::operator=(unique_ptr<>&&),
2177 unique_ptr<_Tp[],>::operator=(unique_ptr&&),
2178 unique_ptr<_Tp[],>::operator=(unique_ptr<>&&)): Forward the deleter
2179 instead of moving it.
2180 * testsuite/20_util/unique_ptr/assign/48635.cc: New.
2182 2011-04-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2184 * scripts/extract_symvers.pl: Handle NOTY.
2186 2011-04-15 Paolo Carlini <paolo.carlini@oracle.com>
2188 * include/std/istream: Fix comments in the light of DR60 + N3168.
2190 2011-04-13 Daniel Krugler <daniel.kruegler@googlemail.com>
2191 Paolo Carlini <paolo.carlini@oracle.com>
2194 * include/std/type_traits (struct is_constructible): Re-implement,
2196 (struct is_default_constructible): Add.
2197 (struct is_destructible): Likewise.
2198 (struct __and_, __or_, __not_): Add and use throughout; reorder some
2199 facilities, other minor tweaks.
2200 * testsuite/util/testsuite_tr1.h: Add test types.
2201 * testsuite/20_util/is_constructible/value-2.cc: New.
2202 * testsuite/20_util/is_default_constructible/value.cc: Likewise.
2203 * testsuite/20_util/is_default_constructible/requirements/typedefs.cc:
2205 * testsuite/20_util/is_default_constructible/requirements/
2206 explicit_instantiation.cc: Likewise.
2207 * testsuite/20_util/is_destructible/value.cc: Likewise.
2208 * testsuite/20_util/is_destructible/requirements/typedefs.cc:
2210 * testsuite/20_util/is_destructible/requirements/
2211 explicit_instantiation.cc: Likewise.
2212 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
2213 dg-error line numbers.
2214 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
2216 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
2217 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Likewise.
2219 2011-04-13 Paolo Carlini <paolo.carlini@oracle.com>
2221 * testsuite/20_util/is_function/value.cc: Add, adapted from the tr
2223 * testsuite/20_util/is_function/requirements/typedefs.cc: Likewise.
2224 * testsuite/20_util/is_function/requirements/
2225 explicit_instantiation.cc: Likewise.
2226 * testsuite/20_util/is_function/24808.cc: Likewise.
2227 * testsuite/20_util/is_function/35637.cc: Likewise.
2228 * testsuite/20_util/is_object/value.cc: Likewise.
2229 * testsuite/20_util/is_object/requirements/typedefs.cc: Likewise.
2230 * testsuite/20_util/is_object/requirements/explicit_instantiation.cc:
2232 * testsuite/20_util/is_object/24808.cc: Likewise.
2233 * testsuite/20_util/is_compound/value.cc: Likewise.
2234 * testsuite/20_util/is_compound/requirements/typedefs.cc: Likewise.
2235 * testsuite/20_util/is_compound/requirements/
2236 explicit_instantiation.cc: Likewise.
2237 * testsuite/20_util/is_member_object_pointer/value.cc: Likewise.
2238 * testsuite/20_util/is_member_object_pointer/requirements/
2239 typedefs.cc: Likewise.
2240 * testsuite/20_util/is_member_object_pointer/requirements/
2241 explicit_instantiation.cc: Likewise.
2242 * testsuite/20_util/is_fundamental/value.cc: Likewise.
2243 * testsuite/20_util/is_fundamental/requirements/typedefs.cc: Likewise.
2244 * testsuite/20_util/is_fundamental/requirements/
2245 explicit_instantiation.cc: Likewise.
2246 * testsuite/20_util/is_member_pointer/value.cc: Likewise.
2247 * testsuite/20_util/is_member_pointer/requirements/typedefs.cc:
2249 * testsuite/20_util/is_member_pointer/requirements/
2250 explicit_instantiation.cc: Likewise.
2251 * testsuite/20_util/is_member_function_pointer/value.cc: Likewise.
2252 * testsuite/20_util/is_member_function_pointer/
2253 requirements/typedefs.cc: Likewise.
2254 * testsuite/20_util/is_member_function_pointer/requirements/
2255 explicit_instantiation.cc: Likewise.
2257 * testsuite/20_util/is_convertible/value.cc: Minor tweak, adjust
2260 2011-04-12 Takaya Saito <gintensubaru@gmail.com>
2263 * include/std/tuple (_Tuple_impl<>::_Tuple_impl(_Tuple_impl<>&&),
2264 _Tuple_impl<>::operator=(_Tuple_impl&&), _Tuple_impl<>::operator=
2265 (_Tuple_impl<>&&), tuple_cat): Use std::forward where appropriate.
2266 * testsuite/20_util/tuple/cons/48476.cc: New.
2267 * testsuite/20_util/tuple/48476.cc: Likewise.
2268 * testsuite/20_util/tuple/creation_functions/48476.cc: Likewise.
2270 2011-04-12 Allan McRae <allan@archlinux.org>
2273 * testsuite/tr1/6_containers/unordered_map/requirements/
2274 iterator_null_neg.cc: Include <cstddef>.
2275 * testsuite/tr1/6_containers/unordered_set/requirements/
2276 iterator_null_neg.cc: Likewise.
2277 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/4.cc: Include
2279 * testsuite/util/testsuite_common_types.h: Include <limits>.
2280 * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc:
2281 Adjust dg-error line numbers.
2282 * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Likewise.
2283 * testsuite/29_atomics/atomic_integral/operators/increment_neg.cc:
2285 * testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc:
2287 * testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc:
2289 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Likewise.
2290 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
2292 2011-04-11 Jason Merrill <jason@redhat.com>
2294 * testsuite/20_util/is_convertible/value.cc: Adjust.
2296 2011-04-11 Paolo Carlini <paolo.carlini@oracle.com>
2298 * testsuite/25_algorithms/inplace_merge/moveable.cc: Actually run
2299 it in parallel-mode for check-parallel.
2300 * testsuite/25_algorithms/rotate/moveable.cc: Likewise.
2301 * testsuite/25_algorithms/stable_partition/moveable.cc: Likewise.
2302 * testsuite/25_algorithms/remove/moveable.cc: Likewise.
2303 * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
2305 * testsuite/25_algorithms/unique/moveable.cc: Likewise.
2306 * testsuite/25_algorithms/remove_if/moveable.cc: Likewise.
2307 * testsuite/25_algorithms/heap/moveable.cc: Likewise.
2309 * testsuite/25_algorithms/next_permutation/moveable.cc: Only skip
2310 the tests based on std::lexicographical_compare for check-parallel.
2311 * testsuite/25_algorithms/prev_permutation/moveable.cc: Likewise.
2313 2011-04-10 Jonathan Wakely <jwakely.gcc@gmail.com>
2316 * include/std/functional (_Base_manager::_M_get_pointer): Use
2318 * testsuite/20_util/function/48541.cc: New.
2320 2011-04-10 Jonathan Wakely <jwakely.gcc@gmail.com>
2323 * configure.ac (libtool_VERSION): Bump library version to 6:16:0.
2324 * configure: Regenerate.
2325 * config/abi/pre/gnu.ver (GLIBCXX_3.4.16): Export missing symbols.
2326 * testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.16.
2328 2011-04-06 Jeffrey Yasskin <jyasskin@google.com>
2330 * include/ext/algorithm (is_sorted): In C++0x mode import from
2332 * include/ext/numeric (iota): In C++0x mode import from
2334 * testsuite/ext/is_sorted/cxx0x.cc: New.
2335 * testsuite/ext/iota/cxx0x.cc: New.
2337 2011-04-02 Jonathan Wakely <redi@gcc.gnu.org>
2340 * include/bits/unique_ptr.h (__tuple_type): Store pointer type.
2341 * testsuite/20_util/unique_ptr/modifiers/48398.cc: New.
2342 * testsuite/20_util/unique_ptr/requirements/pointer_type.cc: Remove
2343 unused parameter name.
2345 2011-03-31 Jeffrey Yasskin <jyasskin@google.com>
2347 * libsupc++/exception_ptr.h: Forward-declare std::type_info.
2348 * libsupc++/nested_exception.h (__throw_with_nested): Remove a
2349 redundant default argument from std::__throw_with_nested.
2351 2011-03-31 Paolo Carlini <paolo.carlini@oracle.com>
2354 * src/ctype.cc: Do not include <bits/ctype_noninline.h>.
2355 * src/Makefile.am: Add ctype_configure_char.cc to host_sources.
2356 * src/Makefile.in: Regenerate.
2357 * include/Makefile.am: Remove ctype_noninline.h from host_headers.
2358 * include/Makefile.in: Regenerate.
2359 * doc/xml/manual/internals.xml: Update.
2360 * config/os/newlib/ctype_noninline.h: Fixup and rename to...
2361 * config/os/newlib/ctype_configure_char.cc: ... this.
2362 * config/os/aix/ctype_noninline.h: Likewise.
2363 * config/os/aix/ctype_configure_char.cc: Likewise.
2364 * config/os/vxworks/ctype_noninline.h: Likewise.
2365 * config/os/vxworks/ctype_configure_char.cc
2366 * config/os/hpux/ctype_noninline.h: Likewise.
2367 * config/os/hpux/ctype_configure_char.cc: Likewise.
2368 * config/os/gnu-linux/ctype_noninline.h: Likewise.
2369 * config/os/gnu-linux/ctype_configure_char.cc: Likewise.
2370 * config/os/mingw32/ctype_noninline.h: Likewise.
2371 * config/os/mingw32/ctype_configure_char.cc: Likewise.
2372 * config/os/tpf/ctype_noninline.h: Likewise.
2373 * config/os/tpf/ctype_configure_char.cc: Likewise.
2374 * config/os/uclibc/ctype_noninline.h: Likewise.
2375 * config/os/uclibc/ctype_configure_char.cc: Likewise.
2376 * config/os/bionic/ctype_noninline.h: Likewise.
2377 * config/os/bionic/ctype_configure_char.cc: Likewise.
2378 * config/os/djgpp/ctype_noninline.h: Likewise.
2379 * config/os/djgpp/ctype_configure_char.cc: Likewise.
2380 * config/os/qnx/qnx6.1/ctype_noninline.h: Likewise.
2381 * config/os/qnx/qnx6.1/ctype_configure_char.cc: Likewise.
2382 * config/os/bsd/netbsd/ctype_noninline.h: Likewise.
2383 * config/os/bsd/netbsd/ctype_configure_char.cc: Likewise.
2384 * config/os/bsd/darwin/ctype_noninline.h: Likewise.
2385 * config/os/bsd/darwin/ctype_configure_char.cc: Likewise.
2386 * config/os/bsd/freebsd/ctype_noninline.h: Likewise.
2387 * config/os/bsd/freebsd/ctype_configure_char.cc: Likewise.
2388 * config/os/irix/irix6.5/ctype_noninline.h: Likewise.
2389 * config/os/irix/irix6.5/ctype_configure_char.cc: Likewise.
2390 * config/os/generic/ctype_noninline.h: Likewise.
2391 * config/os/generic/ctype_configure_char.cc: Likewise.
2392 * config/os/solaris/solaris2.7/ctype_noninline.h: Likewise.
2393 * config/os/solaris/solaris2.7/ctype_configure_char.cc: Likewise.
2395 2011-03-25 Jonathan Wakely <jwakely.gcc@gmail.com>
2397 * include/std/future (future::share): Add.
2398 (packaged_task::result_type): Remove as per LWG 2030.
2399 (packaged_task::packaged_task): Remove redundant constructors, as per
2401 * testsuite/30_threads/future/members/share.cc: New.
2402 * testsuite/30_threads/packaged_task/requirements/typedefs.cc: Remove.
2404 2011-03-25 Jonathan Wakely <jwakely.gcc@gmail.com>
2406 * testsuite/28_regex/match_results/ctors/char/default.cc: Do not call
2407 members which require a fully established result state.
2408 * testsuite/28_regex/match_results/ctors/wchar_t/default.cc: Likewise.
2410 2011-03-25 Paolo Carlini <paolo.carlini@oracle.com>
2412 * include/bits/random.h (negative_binomial_distribution<>::
2413 negative_binomial_distribution(_IntType, double),
2414 negative_binomial_distribution<>::
2415 negative_binomial_distribution(const param_type&)): Tweak
2416 construction of _M_gd.
2417 * include/bits/random.tcc (negative_binomial_distribution<>::
2418 operator()): Adjust.
2420 2011-03-24 Paolo Carlini <paolo.carlini@oracle.com>
2422 * include/bits/random.h (negative_binomial_distribution<>::
2423 negative_binomial_distribution(_IntType, double),
2424 negative_binomial_distribution<>::
2425 negative_binomial_distribution(const param_type&)): Fix
2426 construction of _M_gd.
2427 * include/bits/random.tcc (negative_binomial_distribution<>::
2428 operator()): Fix computation, per Leger's algorithm.
2429 * testsuite/util/testsuite_random.h (discrete_pdf,
2430 negative_binomial_pdf, poisson_pdf, uniform_int_pdf): New.
2431 (binomial_pdf): Swap last two parameters.
2432 * testsuite/26_numerics/random/discrete_distribution/
2433 operators/values.cc: New.
2434 * testsuite/26_numerics/random/negative_binomial_distribution/
2435 operators/values.cc: Likewise.
2436 * testsuite/26_numerics/random/poisson_distribution/
2437 operators/values.cc: Likewise.
2438 * testsuite/26_numerics/random/uniform_int_distribution/
2439 operators/values.cc: Likewise.
2440 * testsuite/26_numerics/random/binomial_distribution/
2441 operators/values.cc: Adjust.
2443 2011-03-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2445 * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerate.
2446 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
2447 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
2448 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
2449 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
2451 2011-03-23 Matthias Klose <doko@ubuntu.com>
2453 * config/abi/post/sparc-linux-gnu/baseline_symbols.txt: Regenerated.
2455 2011-03-23 Uros Bizjak <ubizjak@gmail.com>
2457 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Regenerated.
2459 2011-03-22 Joseph Myers <joseph@codesourcery.com>
2461 * configure.ac: Don't handle powerpc*-*-gnu*.
2462 * configure: Regenerate.
2464 2011-03-22 Paolo Carlini <paolo.carlini@oracle.com>
2466 * testsuite/21_strings/basic_string/cons/char/moveable2.cc: Tweak
2468 * testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc:
2471 2011-03-22 Paolo Carlini <paolo.carlini@oracle.com>
2473 * include/bits/shared_ptr.h (operator>, operator<=, operator>=): Add,
2475 (operator==, operator!=, operator<): Fix per the letter of DR 1401.
2476 * include/bits/shared_ptr_base.h: Likewise for __shared_ptr.
2477 * include/bits/unique_ptr.h (operator==, operator!=, operator<,
2478 operator<=, operator>, operator>=): Fix per the letter of DR 1401.
2479 * testsuite/20_util/shared_ptr/comparison/dr1401.cc: New.
2480 * testsuite/20_util/unique_ptr/comparison/dr1401.cc: Likewise.
2481 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust.
2483 2011-03-22 Jakub Jelinek <jakub@redhat.com>
2485 * config/abi/pre/gnu.ver (GLIBCXX_3.4.15): Export _ZNSsC2EOSs
2486 and _ZNSbIwSt11char_traitsIwESaIwEEC2EOS2_.
2487 * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerated.
2488 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
2489 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
2490 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
2491 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
2492 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
2493 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
2494 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
2496 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
2497 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
2498 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
2499 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
2500 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise.
2501 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
2502 * testsuite/21_strings/basic_string/cons/char/moveable2.cc: New test.
2503 * testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc: New
2506 2011-03-21 Jack Howarth <howarth@bromo.med.uc.edu>
2508 * testsuite/lib/prune.exp (libstdc++-dg-prune): Prune "could not
2509 create compact unwind for" warnings.
2511 2011-03-21 Jakub Jelinek <jakub@redhat.com>
2513 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
2514 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
2515 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
2517 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
2518 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
2519 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
2520 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
2521 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
2522 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
2523 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
2524 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
2525 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
2527 * testsuite/util/testsuite_abi.cc (check_version): Set incompatible
2528 even when adding symbols to CXXABI_1.3, GLIBCXX_LDBL_3.4 and
2529 CXXABI_LDBL_1.3 versions.
2531 2011-03-21 Benjamin Kosnik <bkoz@redhat.com>
2533 * config/abi/pre/gnu.ver: Remove typeinfo name exports for C++0x types.
2535 2011-03-21 Jakub Jelinek <jakub@redhat.com>
2537 * config/abi/pre/gnu.ver (CXXABI_1.3): Don't export _ZT[IS][PK]*[no].
2538 (CXXABI_1.3.5): Export _ZTI[PK]*[no].
2540 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2542 * testsuite/22_locale/num_put/put/char/14220.cc: Don't xfail on
2543 sparc*-sun-solaris2.10 && lp64.
2545 2011-03-19 Paolo Carlini <paolo.carlini@oracle.com>
2547 * testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Rename
2548 to check_v3_target_cmath.
2549 * testsuite/lib/dg-options.exp (dg-require-c99_math): Rename
2550 to dg-require-cmath.
2551 * testsuite/26_numerics/random/binomial_distribution/
2552 operators/values.cc: Adjust.
2554 2011-03-18 Diego Novillo <dnovillo@google.com>
2556 * testsuite/decimal/mixed-mode-arith_neg.cc: Rename from
2558 * testsuite/decimal/mixed-mode-cmp_neg.cc: Factor out of
2559 mixed-mode-arith_neg.cc
2561 2011-03-18 Paolo Carlini <paolo.carlini@oracle.com>
2563 * testsuite/util/testsuite_random.h: New.
2564 * testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Add.
2565 * testsuite/lib/dg-options.exp (dg-require-c99_math): Likewise.
2566 * testsuite/26_numerics/random/bernoulli_distribution/
2567 operators/values.cc: New.
2568 * testsuite/26_numerics/random/binomial_distribution/
2569 operators/values.cc: Likewise.
2570 * testsuite/26_numerics/random/geometric_distribution/
2571 operators/values.cc: Likewise.
2573 2011-03-16 Benjamin Kosnik <bkoz@redhat.com>
2575 * config/abi/pre/gnu.ver: Add base destructors for stdexcept classes.
2576 * testsuite/19_diagnostics/stdexcept.cc: New.
2578 2011-03-15 Benjamin Kosnik <bkoz@redhat.com>
2580 * include/std/thread: Revert.
2581 * src/thread.cc: Same.
2582 * config/abi/pre/gnu.ver: Same.
2584 2011-03-15 Doug Kwan <dougkwan@google.com>
2587 * include/Makefile.am (install-freestanding-headers): Install
2589 * include/Makefile.in: Regenerate.
2591 2011-03-15 Benjamin Kosnik <bkoz@redhat.com>
2593 * config/abi/pre/gnu.ver: Make nested_exception exports super clear.
2594 Move bad_function_call exports from CXXABI_1.3.5 to GLIBCXX_3.4.15.
2596 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
2599 * src/future.cc: Guard definitions.
2600 * libsupc++/nested_exception.cc: Same.
2602 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
2604 * src/Makefile.am: Add functional.cc, shared_ptr.cc.
2605 * src/Makefile.in: Regenerate.
2606 * libsupc++/Makefile.am: Add nested_exception.cc.
2607 * libsupc++/Makefile.in: Regenerate.
2608 * src/system_error.cc: Add ctor and dtor definitions for error_category.
2609 * src/functional.cc: New. Add dtor definition for bad_function_call.
2610 * src/stdexcept.cc: Add dtor definitions for domain_error,
2611 invalid_argument, length_error, out_of_range, range_error,
2612 overflow_error, underflow_error.
2613 * src/future.cc: Add dtor definition for __future_base::_Result_base.
2614 * src/shared_ptr.cc: New. Add dtor definition for bad_weak_ptr.
2615 * src/thread.cc: Add dtor for thread::_Impl_base.
2616 * include/std/system_error: Adjust.
2617 * include/std/stdexcept: Same.
2618 * include/std/future: Same.
2619 * include/std/functional: Same.
2620 * include/std/thread: Same.
2621 * include/bits/shared_ptr_base.h: Same.
2622 * libsupc++/nested_exception.cc: New. Add dtor for nested_exception.
2623 * libsupc++/nested_exception.h: Adjust.
2624 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line numbers.
2625 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
2626 * config/abi/pre/gnu.ver: Add new exports.
2628 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
2630 * include/bits/regex_compiler.h: Nest namespace versioning.
2631 * include/bits/regex_grep_matcher.tcc: Same.
2632 * include/bits/regex_grep_matcher.h: Same.
2633 * include/bits/regex_cursor.h: Same.
2634 * include/bits/regex_nfa.h: Same.
2635 * include/bits/regex_nfa.tcc: Same.
2637 * include/bits/regex_grep_matcher.h: Version forward declarations.
2638 * include/bits/c++config: Add namespace association for __regex.
2639 * include/bits/regex.h: Make sub_match consistent.
2641 2011-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2643 * doc/xml/manual/abi.xml: Replace docs.sun.com URLs by their OTN
2645 * doc/html/manual/abi.html: Regenerate.
2647 2011-03-14 Tom Tromey <tromey@redhat.com>
2649 * python/libstdcxx/v6/printers.py (_use_gdb_pp): New global.
2650 Try to import `gdb.printing' module.
2651 (UniquePointerPrinter.__init__): Add 'typename' argument.
2652 (StdSlistPrinter.__init__): Likewise.
2653 (StdSlistIteratorPrinter.__init__): Likewise.
2654 (StdVectorIteratorPrinter.__init__): Likewise.
2655 (StdRbtreeIteratorPrinter.__init__): Likewise.
2656 (StdDebugIteratorPrinter.__init__): Likewise.
2657 (StdDequeIteratorPrinter.__init__): Likewise.
2658 (StdStringPrinter.__init__): Likewise.
2659 (RxPrinter, Printer): New class.
2660 (libstdcxx_printer): New global.
2661 (register_libstdcxx_printers): Rewrite.
2662 (build_libstdcxx_dictionary): Rewrite.
2663 (pretty_printers_dict): Remove.
2665 2011-03-14 Andrey Zholos <aaz@althenia.net>
2668 * include/bits/random.h (geometric_distribution): Correct formula
2669 in comment, per C++0x.
2670 (geometric_distribution<>::param_type::param_type(double)): Fix check.
2671 (geometric_distribution<>::param_type::_M_initialize):
2673 * include/bits/random.tcc (geometric_distribution<>::operator()):
2675 (binomial_distribution<>::operator()): Likewise.
2677 2011-03-09 Paolo Carlini <paolo.carlini@oracle.com>
2679 * testsuite/util/testsuite_rvalref.h: Minor tweaks.
2681 2011-03-09 Jonathan Wakely <redi@gcc.gnu.org>
2682 Chris Jefferson <chris@bubblescope.net>
2683 Paolo Carlini <paolo.carlini@oracle.com>
2685 * testsuite/util/testsuite_rvalref.h (rvalstruct_compare_by_value):
2687 * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
2689 * testsuite/25_algorithms/partial_sort/check_compare_by_value:
2691 * testsuite/25_algorithms/stable_sort/check_compare_by_value.cc:
2693 * testsuite/25_algorithms/sort/check_compare_by_value: Likewise.
2695 2011-03-09 Chris Jefferson <chris@bubblescope.net>
2698 * include/bits/stl_algo.h (__merge_backward): Rename to
2699 __move_merge_backward and change to always move rather than copy.
2700 (__move_merge): New function similar to std::merge except values
2701 are moved instead of copied.
2702 (__merge_adaptive, __merge_sort_loop): Change from using std::merge
2703 and __merge_backward to __move_merge and __move_merge_backward.
2705 2011-03-07 Jason Merrill <jason@redhat.com>
2707 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust
2710 2011-03-07 Benjamin Kosnik <bkoz@redhat.com>
2711 Matthias Klose <doko@ubuntu.com>
2712 Jonathan Wakely <redi@gcc.gnu.org>
2715 * acinclude.m4 (GLIBCXX_CONFIGURE_DOCBOOK): Define.
2716 * configure.ac: Use it.
2717 * doc/Makefile.am (XSL_STYLE_DIR): Set at configure time.
2718 * configure: Regenerate.
2719 * doc/Makefile.in: Regenerate.
2721 2011-03-04 Benjamin Kosnik <bkoz@chula>
2723 * src/Makefile.am (inst_sources): Make source instantion files
2725 (XTEMPLATE_FLAGS): Make -fno-implicit-templates conditional.
2726 * src/Makefile.in: Regenerate.
2727 * src/valarray-inst.cc: Move to..
2728 * src/valarray.cc: ...this.
2729 * acinclude.m4 (GLIBCXX_ENABLE_EXTERN_TEMPLATE]): Define.
2730 * configure.ac (GLIBCXX_ENABLE_EXTERN_TEMPLATE): Use it.
2731 * configure: Regenerate.
2732 * include/Makefile.am (stamp-extern-template): Add.
2733 * include/Makefile.in: Regenerate.
2735 * doc/xml/manual/configure.xml: Document --enable-extern-template.
2737 * include/bits/locale_classes.tcc: Adjust comment.
2738 * include/bits/locale_facets.tcc: Same.
2739 * include/bits/basic_ios.tcc: Same.
2740 * include/bits/istream.tcc: Same.
2741 * include/bits/codecvt.h: Same.
2742 * include/bits/ostream.tcc: Same.
2743 * include/bits/sstream.tcc: Same.
2744 * include/bits/c++config: Same.
2745 * include/bits/basic_string.tcc: Same.
2746 * include/bits/ostream_insert.h: Same.
2747 * include/bits/locale_facets_nonio.tcc: Same.
2748 * include/bits/streambuf.tcc: Same.
2749 * include/bits/allocator.h: Same.
2750 * include/bits/fstream.tcc: Same.
2752 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
2754 2011-03-02 Benjamin Kosnik <bkoz@redhat.com>
2756 * testsuite/Makefile.am: Make clean fixups.
2757 * testsuite/Makefile.in: Regenerate.
2759 2011-03-02 Marc Glisse <marc.glisse@normalesup.org>
2761 * include/std/ratio (ratio_less): Add comments.
2763 2011-03-02 Marc Glisse <marc.glisse@normalesup.org>
2766 * include/std/ratio (ratio_add): Avoid denominator overflow.
2767 * testsuite/20_util/ratio/operations/47913.cc: New.
2769 2011-02-28 Benjamin Kosnik <bkoz@redhat.com>
2771 * testsuite/20_util/hash/chi2_quality.cc: Use C++0x mode on simulators.
2772 * testsuite/20_util/hash/quality.cc: Same.
2774 2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>
2777 * include/std/streambuf (basic_streambuf<>::__safe_gbump,
2779 * include/bits/streambuf.tcc (basic_streambuf<>::xgetn,
2780 xputn): Use the latter.
2781 * include/bits/streambuf_iterator.h: Likewise.
2782 * src/strstream.cc: Likewise.
2783 * src/streambuf.cc: Likewise.
2784 * src/compatibility.cc: Likewise.
2785 * src/istream.cc: Likewise.
2786 * include/bits/fstream.tcc (basic_filebuf<>::xsgetn): Use setg
2788 * include/std/sstream (basic_stringbuf<>::_M_pbump): Add.
2789 * include/bits/sstream.tcc (basic_stringbuf<>::seekoff,
2790 seekpos, _M_sync): Use setg, setp, and _M_pbump.
2791 * config/abi/pre/gnu.ver: Tweak.
2793 2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>
2795 * testsuite/20_util/ratio/comparisons/comp3.cc: New.
2797 2011-02-28 Marc Glisse <marc.glisse@normalesup.org>
2800 * include/std/ratio (ratio_less): Reimplement to never overflow.
2801 * testsuite/20_util/ratio/comparisons/comp2.cc: Extend.
2803 2011-02-24 Benjamin Kosnik <bkoz@redhat.com>
2805 * testsuite/18_support/type_info/fundamental.cc: New.
2807 * testsuite/Makefile.am: Make clean fixups.
2808 * testsuite/Makefile.in: Regenerate.
2810 2011-02-19 François Dumont <francois.cppdevs@free.fr>
2812 * include/debug/string (basic_string::insert): Add iterator check and
2813 pass normal iterator to normal insert.
2814 * include/debug/macros.h (__glibcxx_check_heap,
2815 __glibcxx_check_heap_pred): Remove __glibcxx_check_valid_range,
2818 2011-02-17 Paolo Carlini <paolo.carlini@oracle.com>
2821 * testsuite/ext/vstring/hash/char/1.cc: Fix.
2822 * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
2824 2011-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
2826 * include/bits/regex.h (basic_regex::traits_type): Add typedef.
2827 (basic_regex::basic_regex(basic_regex&&)): Add noexcept.
2828 (basic_regex::operator=(basic_regex&&)): Likewise.
2829 (basic_regex::assign(basic_regex&&)): Likewise.
2830 (operator==(sub_match,...)): Implement DR 1181.
2831 (match_results::match_results(match_results&&)): Define.
2832 (match_results::operator=(const match_results&)): Fix parameter type.
2833 (match_results::operator=(match_results&&)): Define.
2835 2011-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
2838 * include/bits/regex_compiler.h (_Scanner::_M_advance): Do not treat
2839 line anchors as metacharacters.
2840 * testsuite/28_regex/basic_regex/ctors/47724.cc: New.
2842 2011-02-16 Paolo Carlini <paolo.carlini@oracle.com>
2845 * include/ext/vstring.h (hash<__gnu_cxx::__vstring>,
2846 hash<__gnu_cxx::__wvstring>, hash<__gnu_cxx::__u16vstring>,
2847 hash<__gnu_cxx::__u32vstring>): Add.
2848 * testsuite/ext/vstring/hash/char/1.cc: New.
2849 * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
2851 2011-02-16 Jonathan Wakely <jwakely.gcc@gmail.com>
2853 * include/bits/regex.h (match_results::format): Use char_traits.
2855 2011-02-16 Benjamin Kosnik <bkoz@redhat.com>
2857 * include/std/atomic: Remove atomic_address, uplift to N3225.
2858 * include/bits/atomic_0.h: Same.
2859 * include/bits/atomic_2.h: Same.
2860 * include/bits/atomic_base.h: Same.
2861 * testsuite/29_atomics/atomic_address/*: Delete.
2863 2011-02-14 Jonathan Wakely <jwakely.gcc@gmail.com>
2865 * include/bits/regex.h (sub_match::sub_match): Add.
2866 (match_results::ready): Add.
2867 (match_results::empty): Adjust.
2868 (match_results::length): Add missing dereference.
2869 (match_results::operator[],prefix,suffix): Add debug mode checks.
2870 (match_results::cend): Re-use end().
2871 (match_results::format): Adjust signatures.
2872 (operator==(match_results,match_results)): Implement.
2873 * include/bits/regex_compiler.h (_Scanner_base): Use constexpr.
2874 * include/bits/regex_constants.h (syntax_option_type): Likewise.
2875 * include/bits/regex_grep_matcher.h: Fix comment typo.
2876 (_SpecializedResults::_SpecializedResults): Simplify.
2877 * include/bits/regex_cursor.h: Fix comment typo.
2878 * include/bits/regex_nfa.h: Likewise.
2879 * testsuite/28_regex/basic_regex/ctors/basic/string_range_01_02_03.cc:
2880 Fix error code, remove xfail.
2881 * testsuite/28_regex/basic_regex/ctors/extended/
2882 string_range_01_02_03.cc: Likewise.
2884 2011-02-14 Jonathan Wakely <jwakely.gcc@gmail.com>
2886 * include/bits/regex_compiler.h: Remove unnecessary bind() calls.
2887 * include/bits/regex_nfa.h: Remove unnecessary base classes.
2889 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2891 * configure: Regenerate.
2893 2011-02-12 Paolo Carlini <paolo.carlini@oracle.com>
2896 * include/ext/algorithm (is_heap): In C++0x mode import from
2898 * testsuite/ext/is_heap/47709.cc: New.
2900 2011-02-12 Jakub Jelinek <jakub@redhat.com>
2901 Jonathan Wakely <jwakely.gcc@gmail.com>
2904 * testsuite/17_intro/headers/c++200x/operator_names.cc: New.
2905 * testsuite/17_intro/headers/c++1998/operator_names.cc: Add comment.
2907 2011-02-12 Paolo Carlini <paolo.carlini@oracle.com>
2909 * include/tr1/cmath (fabs): Define.
2910 * include/tr1/complex (acos, asin, atan): Avoid duplicate definitions
2913 2011-02-12 Jonathan Wakely <jwakely.gcc@gmail.com>
2915 * testsuite/tr1/headers/c++200x/complex.cc: New.
2917 2011-02-11 Johannes Singler <singler@kit.edu>
2920 * include/parallel/losertree.h
2921 (_LoserTreeUnguarded<>::__delete_min_insert):
2922 Add missing "using std::swap;", as for other variants.
2924 2011-02-10 Benjamin Kosnik <bkoz@redhat.com>
2926 * src/Makefile.am (sources): Add regex.cc.
2927 * src/Makefile.in: Regenerate.
2928 * src/regex.cc: New.
2929 * include/bits/regex_error.h (error_type): Use constexpr.
2930 (regex_error): Move ctor and dtor out of line.
2932 * testsuite/28_regex/03_requirements: To...
2933 * testsuite/28_regex/requirements: ... this.
2934 * testsuite/28_regex/04_header: To...
2935 * testsuite/28_regex/headers: ... this.
2936 * testsuite/28_regex/05_constants: To...
2937 * testsuite/28_regex/constants: ... this.
2938 * testsuite/28_regex/06_exception_type: To...
2939 * testsuite/28_regex/regex_error: ... this.
2940 * testsuite/28_regex/07_traits: To...
2941 * testsuite/28_regex/traits: ... this.
2942 * testsuite/28_regex/08_basic_regex: To...
2943 * testsuite/28_regex/basic_regex: ... this.
2944 * testsuite/28_regex/09_sub_match: To...
2945 * testsuite/28_regex/sub_match: ... this.
2946 * testsuite/28_regex/10_match_results: To...
2947 * testsuite/28_regex/match_results: ... this.
2948 * testsuite/28_regex/11_algorithms: To...
2949 * testsuite/28_regex/algorithms: ... this.
2950 * testsuite/28_regex/12_iterators: To...
2951 * testsuite/28_regex/iterators: ... this.
2953 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
2956 * include/bits/c++config: Do not use alternative token.
2957 * testsuite/17_intro/headers/c++1998/operator_names.cc: New.
2959 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
2961 * src/future.cc (future_error_category::message): Handle no_state.
2963 2011-02-10 Paolo Carlini <paolo.carlini@oracle.com>
2965 * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Do
2966 not test in C++0x mode.
2967 * testsuite/23_containers/map/modifiers/erase/47628.cc: Likewise.
2968 * testsuite/20_util/headers/utility/synopsis.cc: Tweak to work
2971 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
2973 * doc/xml/manual/status_cxx200x.xml: Update.
2974 * doc/html/*: Regenerate.
2976 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
2978 * doc/xml/manual/debug.xml: Improve data race docs.
2980 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
2983 * include/debug/map.h (map): Remove unnecessary using-declaration.
2984 * include/debug/multimap.h (multimap): Likewise.
2985 * include/profile/map.h (map): Likewise.
2986 * include/profile/multimap.h (multimap): Likewise.
2988 2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com>
2991 * libsupc++/guard.cc (recursive_init_error::~recursive_init_error):
2993 * libsupc++/guard_error.cc: ... new file.
2994 * libsupc++/Makefile.am: Update.
2995 * libsupc++/Makefile.in: Regenerate.
2997 2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com>
2999 * include/std/future (packaged_task::operator bool): Rename to...
3000 (packaged_task::valid): ...this.
3001 * testsuite/30_threads/packaged_task/cons/1.cc: Adjust.
3002 * testsuite/30_threads/packaged_task/cons/2.cc: Adjust.
3003 * testsuite/30_threads/packaged_task/cons/move.cc: Adjust.
3004 * testsuite/30_threads/packaged_task/cons/move_assign.cc: Adjust.
3005 * testsuite/30_threads/packaged_task/cons/alloc.cc: Adjust.
3006 * testsuite/30_threads/packaged_task/members/invoke.cc: Adjust.
3007 * testsuite/30_threads/packaged_task/members/reset.cc: Adjust.
3008 * testsuite/30_threads/packaged_task/members/reset2.cc: Adjust.
3009 * testsuite/30_threads/packaged_task/members/swap.cc: Adjust.
3010 * testsuite/30_threads/packaged_task/members/boolconv.cc: Remove.
3011 * testsuite/30_threads/packaged_task/members/valid.cc: Add.
3013 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
3015 * doc/xml/manual/io.xml: Fix typo.
3016 * doc/html/manual/streambufs.html: Likewise.
3018 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
3020 * config/abi/pre/gnu.ver: Fix.
3022 2011-02-08 Benjamin Kosnik <bkoz@redhat.com>
3024 * doc/xml/manual/appendix_porting.xml: Add doc section.
3025 * doc/xml/manual/appendix_contributing.xml: Split out doc bits to...
3026 * doc/xml/manual/documentation_hacking.xml: ...here.
3028 * doc/xml/manual/debug_mode.xml: Adjust.
3029 * doc/xml/manual/prerequisites.xml: Adjust.
3030 * doc/Makefile.am (xml_sources): Add dot files,
3031 documentation_hacking.xml.
3032 * doc/Makefile.in: Regenerate.
3034 * doc/xml/manual/build_hacking.xml: Use absolute paths for images.
3035 * doc/xml/images/confdeps.pdf: Add.
3037 * doc/html/*: Regenerate.
3039 2011-02-08 Jonathan Wakely <jwakely.gcc@gmail.com>
3041 * doc/xml/gnu/fdl-1.2.xml: Remove.
3042 * doc/xml/gnu/gpl-2.0.xml: Remove.
3043 * doc/Makefile.am: Update.
3044 * doc/Makefile.in: Regenerate.
3046 2011-02-07 Paolo Carlini <paolo.carlini@oracle.com>
3049 * include/bits/stl_tree.h (_Rb_tree::erase(iterator), erase(iterator,
3050 iterator)): Add back in C++03 mode.
3051 * testsuite/23_containers/map/modifiers/erase/47628.cc: New.
3052 * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Likewise.
3054 2011-02-07 Benjamin Kosnik <bkoz@redhat.com>
3056 PR libstdc++/47560 try two
3057 * config/os/hpux/os_defines.h: Guard for C++.
3059 2011-02-07 Gerald Pfeifer <gerald@pfeifer.com>
3061 * doc/xml/faq.xml: Adjust link to bug database.
3062 Remove old item on broken header files.
3064 2011-02-04 Benjamin Kosnik <bkoz@redhat.com>
3066 * include/bits/regex_error.h (__throw_regex_error): Not inline.
3067 * src/functexcept.cc: Add definition.
3068 * config/abi/pre/gnu.ver: Export.
3070 2011-02-04 Ralf Corsépius <ralf.corsepius@rtems.org>
3072 * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Add *-rtems*.
3073 * configure: Regenerate.
3075 2011-02-01 Paolo Carlini <paolo.carlini@oracle.com>
3078 * include/bits/atomic_0.h (_ATOMIC_STORE_, _ATOMIC_MODIFY_,
3079 _ATOMIC_CMPEXCHNG_): Rename __v -> __w, and __m -> __n, to
3080 avoid name conflicts.
3082 2011-02-01 Benjamin Kosnik <bkoz@redhat.com>
3085 * config/os/hpux/os_defines.h: Remove use of macros on namespace.
3087 2011-02-01 Benjamin Kosnik <bkoz@redhat.com>
3089 * scripts/run_doxygen: Allow doxygen 1.7.0 again.
3090 * doc/doxygen/user.cfg.in (PDF_HYPERLINKS): Re-enable.
3091 (COMPACT_LATEX): Enable.
3093 * include/profile/impl/profiler_container_size.h: Adjust doxygen markup.
3094 * include/profile/impl/profiler_hash_func.h: Same.
3095 * include/bits/hashtable.h: Same.
3096 * include/backward/auto_ptr.h: Same.
3097 * include/backward/strstream: Same.
3098 * include/backward/backward_warning.h: Same.
3099 * include/backward/binders.h: Same.
3101 2011-02-01 Gerald Pfeifer <gerald@pfeifer.com>
3103 * doc/xml/manual/debug.xml: Use GDB instead of gdb.
3104 Adjust link to GDB manual.
3106 2011-01-31 Benjamin Kosnik <bkoz@redhat.com>
3108 * include/bits/c++config (_GLIBCXX_DEPRECATED): To
3109 _GLIBCXX_USE_DEPRECATED.
3110 (_GLIBCXX_DEPRECATED_ATTR): To _GLIBCXX_DEPRECATED.
3111 * doc/xml/manual/using.xml: Same.
3112 * include/std/memory: Same.
3113 * include/std/streambuf: Same.
3114 * include/bits/shared_ptr.h: Same.
3115 * include/bits/unique_ptr.h: Same.
3116 * include/bits/shared_ptr_base.h: Same.
3117 * include/bits/stl_function.h: Same.
3118 * include/tr1/shared_ptr.h: Same.
3119 * include/backward/auto_ptr.h: Same.
3120 * include/backward/binders.h: Same.
3122 2011-01-31 Paolo Carlini <paolo.carlini@oracle.com>
3124 * doc/html/ext/lwg-active.html: Update to Revision D73.
3125 * doc/html/ext/lwg-closed.html: Likewise.
3126 * doc/html/ext/lwg-defects.html: Likewise.
3127 * doc/xml/manual/intro.xml: Update status of issues 408, 539, 865.
3129 2011-01-30 Benjamin Kosnik <bkoz@redhat.com>
3131 PR libstdc++/36104 part four
3132 * include/bits/c++config (_GLIBCXX_STD): Remove.
3133 (_GLIBCXX_STD_D, _GLIBCXX_PR): Now _GLIBCXX_STD_C.
3134 (_GLIBCXX_P): Now _GLIBCXX_STD_A.
3135 (_GLIBCXX_NAMESPACE_DEBUG, _GLIBCXX_NAMESPACE_PARALLEL,
3136 _GLIBCXX_NAMESPACE_PROFILE, _GLIBCXX_NAMESPACE_VERSION): Remove.
3137 (_GLIBCXX_INLINE_DEBUG, _GLIBCXX_INLINE_PARALLEL,
3138 _GLIBCXX_INLINE_PROFILE): Remove.
3139 (_GLIBCXX_BEGIN_NAMESPACE(X)): Remove.
3140 (_GLIBCXX_END_NAMESPACE): Remove.
3141 (_GLIBCXX_BEGIN_NESTED_NAMESPACE(X, Y)): Remove.
3142 (_GLIBCXX_END_NESTED_NAMESPACE): Remove.
3143 (_GLIBCXX_BEGIN_NAMESPACE_ALGO): Add.
3144 (_GLIBCXX_END_NAMESPACE_ALGO): Add.
3145 (_GLIBCXX_BEGIN_NAMESPACE_CONTAINER): Add.
3146 (_GLIBCXX_END_NAMESPACE_CONTAINER): Add.
3147 (_GLIBCXX_BEGIN_NAMESPACE_VERSION): Add.
3148 (_GLIBCXX_END_NAMESPACE_VERSION): Add.
3149 (_GLIBCXX_BEGIN_LDBL_NAMESPACE): To _GLIBCXX_BEGIN_NAMESPACE_LDBL.
3150 (_GLIBCXX_END_LDBL_NAMESPACE): To _GLIBCXX_END_NAMESPACE_LDBL.
3151 (_GLIBCXX_VISIBILITY_ATTR): Revert to _GLIBCXX_VISIBILITY.
3152 * include/*: Use new macros for namespace scope.
3156 * src/Makefile.am (sources): Remove debug_list.cc, add
3157 compatibility-debug_list-2.cc.
3158 (parallel_sources): Remove parallel_list.cc, add
3159 compatibility-parallel_list-2.cc.
3160 (compatibility-parallel_list-2.[o,lo]): New rule.
3161 * src/Makefile.in: Regenerate.
3162 * src/debug_list.cc: Remove.
3163 * src/parallel_list.cc: Remove.
3164 * src/compatibility-list-2.cc: New.
3165 * src/compatibility-debug_list-2.cc: New.
3166 * src/compatibility-parallel_list-2.cc: New.
3168 * doc/doxygen/user.cfg.in: Adjust macros.
3170 * testsuite/20_util/auto_ptr/assign_neg.cc: Adjust line numbers, macros.
3171 * testsuite/20_util/declval/requirements/1_neg.cc: Same.
3172 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Same.
3173 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same.
3174 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same.
3175 * testsuite/20_util/forward/c_neg.cc: Same.
3176 * testsuite/20_util/forward/f_neg.cc: Same.
3177 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
3178 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
3179 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Same.
3180 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Same.
3181 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Same.
3182 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
3183 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
3184 * testsuite/23_containers/deque/requirements/dr438/
3185 constructor_1_neg.cc: Same.
3186 * testsuite/23_containers/deque/requirements/dr438/
3187 constructor_2_neg.cc: Same.
3188 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
3189 * testsuite/23_containers/forward_list/capacity/1.cc: Same.
3190 * testsuite/23_containers/forward_list/requirements/dr438/
3191 assign_neg.cc: Same.
3192 * testsuite/23_containers/forward_list/requirements/dr438/
3193 constructor_1_neg.cc: Same.
3194 * testsuite/23_containers/forward_list/requirements/dr438/
3195 constructor_2_neg.cc: Same.
3196 * testsuite/23_containers/forward_list/requirements/dr438/
3197 insert_neg.cc: Same.
3198 * testsuite/23_containers/list/capacity/29134.cc: Same.
3199 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
3200 * testsuite/23_containers/list/requirements/dr438/
3201 constructor_1_neg.cc: Same.
3202 * testsuite/23_containers/list/requirements/dr438/
3203 constructor_2_neg.cc: Same.
3204 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
3205 * testsuite/23_containers/vector/bool/capacity/29134.cc: Same.
3206 * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc: Same.
3207 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Same.
3208 * testsuite/23_containers/vector/requirements/dr438/
3209 constructor_1_neg.cc: Same.
3210 * testsuite/23_containers/vector/requirements/dr438/
3211 constructor_2_neg.cc: Same.
3212 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
3213 * testsuite/25_algorithms/sort/35588.cc: Same.
3214 * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
3215 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
3216 * testsuite/ext/profile/mutex_extensions_neg.cc: Same.
3217 * testsuite/ext/profile/profiler_algos.cc: Same.
3218 * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Same.
3219 * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Same.
3220 * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Same.
3221 * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Same.
3222 * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same.
3224 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
3226 * doc/xml/manual/abi.xml: Adjust link to C++ ABI specification.
3227 Improve description of one such reference.
3229 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
3231 * doc/xml/manual/codecvt.xml: Fix link to The Austin Common
3232 Standards Revision Group.
3233 * doc/xml/manual/locale.xml: Ditto.
3234 * doc/xml/manual/messages.xml: Ditto.
3235 * doc/xml/manual/using_exceptions.xml: Ditto.
3237 2011-01-28 Paolo Carlini <paolo.carlini@oracle.com>
3239 * include/bits/atomic_base.h: Do not include <stddef.h>.
3240 (kill_dependency): Uglify ret.
3242 2011-01-26 Johannes Singler <singler@kit.edu>
3244 * include/parallel/numeric (inner_product, partial_sum):
3245 Qualify subsequent call with __gnu_parallel instead of
3246 _GLIBCXX_STD_P to reenable parallel execution without ambiguity.
3247 * include/parallel/algobase.h (equal): Likewise.
3248 * include/parallel/algo.h (find_first_of, search_n, merge,
3249 nth_element, partial_sort, max_element, min_element): Likewise.
3250 * testsuite/25_algorithms/headers/algorithm/
3251 parallel_algorithm_mixed1.cc (main): Add respective test cases.
3252 * testsuite/25_algorithms/headers/algorithm/
3253 parallel_algorithm_mixed2.cc (main): Likewise.
3254 * testsuite/26_numerics/headers/numeric/
3255 parallel_numeric_mixed1.cc (main): Likewise.
3256 * testsuite/26_numerics/headers/numeric/
3257 parallel_numeric_mixed2.cc (main): Likewise.
3259 2011-01-24 Graham Reed <greed@pobox.com>
3262 * config/os/aix/ctype_inline.h (ctype<char>::is): Use _M_table if
3265 2011-01-24 Johannes Singler <singler@kit.edu>
3268 * include/parallel/losertree.h
3269 (_LoserTree<>::__delete_min_insert):
3270 Do not qualify swap with std:: for value type,
3271 but include a using directive instead.
3272 (_LoserTreeUnguarded<>::__delete_min_insert): Likewise.
3273 * include/parallel/balanced_quicksort.h (__qsb_divide):
3274 Use std::iter_swap instead of std::swap.
3275 (__qsb_local_sort_with_helping): Likewise.
3276 * include/parallel/partition.h (__parallel_partition):
3277 Likewise. (__parallel_nth_element): Likewise.
3279 2011-01-24 Johannes Singler <singler@kit.edu>
3282 * include/parallel/multiway_merge.h (_UnguardedIterator):
3283 Remove useless "mutable" from reference declaration.
3285 2011-01-21 Benjamin Kosnik <bkoz@redhat.com>
3287 * include/bits/c++config (_GLIBCXX_EXPORT_TEMPLATE): Remove.
3288 * include/debug/safe_sequence.h: Same.
3289 * include/debug/safe_iterator.h: Same.
3290 * include/std/forward_list: Same.
3291 * include/std/deque: Same.
3292 * include/std/list: Same.
3293 * include/std/random: Same.
3294 * include/std/streambuf: Same.
3295 * include/std/fstream: Same.
3296 * include/std/istream: Same.
3297 * include/std/string: Same.
3298 * include/std/ostream: Same.
3299 * include/std/sstream: Same.
3300 * include/ext/vstring.h: Same.
3301 * include/bits/basic_ios.h: Same.
3302 * include/bits/locale_classes.h: Same.
3303 * include/bits/locale_facets.h: Same.
3304 * include/bits/valarray_array.h: Same.
3305 * include/bits/locale_facets_nonio.h: Same.
3306 * include/tr1/random: Same.
3308 2011-01-20 Jonathan Wakely <jwakely.gcc@gmail.com>
3310 * doc/xml/manual/diagnostics.xml: Replace note about C++0x concepts.
3312 2011-01-20 Benjamin Kosnik <bkoz@redhat.com>
3314 PR libstdc++/36104 part three
3315 * src/hashtable_c++0x.cc: Adjust namespace macros.
3316 * testsuite/util/testsuite_rvalref.h: Don't forward declare hash.
3317 * config/abi/pre/gnu-versioned-namespace.ver: Update.
3319 2011-01-20 Benjamin Kosnik <bkoz@redhat.com>
3321 * include/ext/pb_ds/detail/resize_policy/
3322 hash_load_check_resize_trigger_imp.hpp: Adjust assert condition.
3323 * include/ext/pb_ds/detail/pat_trie_/
3324 constructors_destructor_fn_imps.hpp: Same.
3325 * include/ext/pb_ds/detail/binary_heap_/erase_fn_imps.hpp: Format.
3326 * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same.
3327 * include/ext/pb_ds/detail/debug_map_base.hpp: Use never_adjustor.
3329 * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Adjust
3330 iterations downward when testing in debug mode.
3331 * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
3332 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
3333 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
3334 * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
3335 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
3336 * testsuite/ext/pb_ds/example/hash_illegal_resize.cc: Use SIZE,
3337 reduce in debug mode.
3339 2011-01-19 Benjamin Kosnik <bkoz@redhat.com>
3341 PR libstdc++/36104 part two
3342 * include/bits/hashtable.h: Revert to non-nested macro usage.
3343 * include/bits/hashtable_policy.h: Same.
3345 2011-01-19 Graham Reed <greed@pobox.com>
3348 * src/bitmap_allocator.cc (free_list::_M_get): Lock mutex.
3350 2011-01-18 Benjamin Kosnik <bkoz@redhat.com>
3352 * doc/xml/images/confdeps.png: Regenerate.
3354 * include/std/chrono (duration): Mark copy constructor constexpr.
3355 * testsuite/20_util/duration/cons/constexpr.cc: Add test.
3357 2011-01-18 Paolo Carlini <paolo.carlini@oracle.com>
3359 * include/bits/unique_ptr.h (default_delete<>::default_delete()):
3360 Declare defaulted per DR 1517.
3361 * testsuite/util/testsuite_common_types.h
3362 (constexpr_defaulted_default_constructible): Add.
3363 * testsuite/20_util/default_delete/cons/constexpr.cc: Use it.
3365 2011-01-17 Paolo Carlini <paolo.carlini@oracle.com>
3367 * include/bits/stl_queue.h (queue<>::swap, priority_queue<>::swap):
3369 * include/bits/stl_stack.h (stack<>::swap): Likewise.
3371 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
3374 * testsuite/28_regex/08_basic_regex/requirements/constexpr_data.cc:
3375 Only test wregex when _GLIBCXX_USE_WCHAR_T is defined.
3377 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
3380 * testsuite/18_support/numeric_limits/lowest.cc:
3381 Only test wchar_t when _GLIBCXX_USE_WCHAR_T is defined.
3383 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
3386 * testsuite/21_strings/basic_string/requirements/typedefs.cc:
3387 Only test std::wstring when _GLIBCXX_USE_WCHAR_T is defined.
3389 2011-01-16 François Dumont <francois.cppdevs@free.fr>
3391 * testsuite/23_containers/forward_list/debug/erase_after1_neg.cc: Move
3392 to this. Use _neg suffix.
3393 * testsuite/23_containers/forward_list/debug/erase_after1.cc: ...from
3395 * testsuite/23_containers/forward_list/debug/erase_after2_neg.cc:
3397 * testsuite/23_containers/forward_list/debug/erase_after2.cc: Same.
3398 * testsuite/23_containers/forward_list/debug/erase_after3_neg.cc:
3400 * testsuite/23_containers/forward_list/debug/erase_after3.cc: Same.
3401 * testsuite/23_containers/forward_list/debug/erase_after4_neg.cc:
3403 * testsuite/23_containers/forward_list/debug/erase_after4.cc: Same.
3404 * testsuite/23_containers/forward_list/debug/erase_after5_neg.cc:
3406 * testsuite/23_containers/forward_list/debug/erase_after5.cc: Same.
3407 * testsuite/23_containers/forward_list/debug/erase_after6_neg.cc:
3409 * testsuite/23_containers/forward_list/debug/erase_after6.cc: Same.
3410 * testsuite/23_containers/forward_list/debug/erase_after7_neg.cc:
3412 * testsuite/23_containers/forward_list/debug/erase_after7.cc: Same.
3413 * testsuite/23_containers/forward_list/debug/erase_after8_neg.cc:
3415 * testsuite/23_containers/forward_list/debug/erase_after8.cc: Same.
3416 * testsuite/23_containers/forward_list/debug/erase_after9_neg.cc:
3418 * testsuite/23_containers/forward_list/debug/erase_after9.cc: Same.
3419 * testsuite/23_containers/forward_list/debug/insert_after1_neg.cc:
3421 * testsuite/23_containers/forward_list/debug/insert_after1.cc: Same.
3422 * testsuite/23_containers/forward_list/debug/insert_after2_neg.cc:
3424 * testsuite/23_containers/forward_list/debug/insert_after2.cc: Same.
3425 * testsuite/23_containers/forward_list/debug/insert_after3_neg.cc:
3427 * testsuite/23_containers/forward_list/debug/insert_after3.cc: Same.
3428 * testsuite/23_containers/forward_list/debug/splice_after1_neg.cc:
3430 * testsuite/23_containers/forward_list/debug/splice_after1.cc: Same.
3431 * testsuite/23_containers/forward_list/debug/splice_after2_neg.cc:
3433 * testsuite/23_containers/forward_list/debug/splice_after2.cc: Same.
3434 * testsuite/23_containers/forward_list/debug/splice_after3_neg.cc:
3436 * testsuite/23_containers/forward_list/debug/splice_after3.cc: Same.
3437 * testsuite/23_containers/forward_list/debug/splice_after4_neg.cc:
3439 * testsuite/23_containers/forward_list/debug/splice_after4.cc: Same.
3441 2011-01-14 Benjamin Kosnik <bkoz@redhat.com>
3444 * include/Makefile.am (bits_sup_headers, stamp-bits-sup): New.
3445 * include/Makefile.in: Regenerate.
3446 * libsupc++/Makefile.am (std_HEADERS, bits_HEADERS): New.
3447 (install-stdHEADERS, install-bitsHEADERS): New.
3448 * libsupc++/Makefile.in: Regenerate.
3450 * include/bits/c++config: Update for inline namespaces.
3451 * libsupc++/cxxabi-forced.h: To...
3452 * libsupc++/cxxabi_forced.h: ...this.
3453 * libsupc++/hash_bytes.h: Separate file.
3454 * libsupc++/typeinfo: Use it.
3455 * libsupc++/exception: Adjust for bits subdirectory.
3456 * libsupc++/eh_aux_runtime.cc: Same.
3457 * libsupc++/eh_ptr.cc: Same.
3458 * libsupc++/new_op.cc: Same.
3459 * libsupc++/exception_defines.h: Same.
3460 * libsupc++/nested_exception.h: Same.
3461 * libsupc++/eh_terminate.cc: Same.
3462 * libsupc++/vec.cc: Same.
3463 * libsupc++/vterminate.cc: Same.
3464 * libsupc++/exception_ptr.h: Same.
3465 * libsupc++/eh_personality.cc: Same.
3466 * libsupc++/eh_call.cc: Same.
3467 * libsupc++/new_opnt.cc: Same.
3468 * libsupc++/hash_bytes.cc: Same.
3469 * config/cpu/arm/cxxabi_tweaks.h: Same.
3470 * config/cpu/generic/cxxabi_tweaks.h: Same.
3471 * libsupc++/cxxabi.h: Same. Consolidate _GLIBCXX_NOTHROW defines.
3472 * include/std/bitset: Same.
3473 * include/ext/vstring.tcc: Same.
3474 * include/bits/hashtable.h: Same.
3475 * include/bits/functional_hash.h: Same.
3476 * include/bits/hashtable_policy.h: Same.
3477 * include/bits/basic_string.h: Same.
3478 * include/bits/istream.tcc: Same.
3479 * include/bits/ostream.tcc: Same.
3480 * include/bits/algorithmfwd.h: Same.
3481 * include/bits/basic_string.tcc: Same.
3482 * include/bits/ostream_insert.h: Same.
3483 * include/bits/fstream.tcc: Same.
3484 * include/bits/functexcept.h: Same.
3486 * doc/doxygen/user.cfg.in: Adjust names.
3488 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
3490 2011-01-14 Paolo Carlini <paolo.carlini@oracle.com>
3492 * testsuite/25_algorithms/is_permutation/check_type.cc: Minor
3494 * testsuite/25_algorithms/is_permutation/1.cc: Cosmetic changes.
3496 2011-01-13 Paolo Carlini <paolo.carlini@oracle.com>
3498 * testsuite/25_algorithms/is_permutation/check_type.cc: New.
3499 * testsuite/25_algorithms/is_permutation/requirements/
3500 explicit_instantiation/2.cc: Likewise.
3501 * testsuite/25_algorithms/is_permutation/requirements/
3502 explicit_instantiation/pod.cc: Likewise.
3503 * testsuite/25_algorithms/is_permutation/1.cc: Likewise.
3505 2011-01-13 John Lakos <jlakos@bloomberg.net>
3506 Pablo Halpern <phalpern@halpernwightsoftware.com>
3507 Paolo Carlini <paolo.carlini@oracle.com>
3509 * include/bits/stl_algo.h (is_permutation): Add, per N3068.
3510 * include/bits/algorithmfwd.h: Add.
3512 2011-01-13 Jonathan Wakely <jwakely.gcc@gmail.com>
3515 * config/os/bsd/netbsd/ctype_base.h: Use new macros based on version.
3517 2011-01-11 Paolo Carlini <paolo.carlini@oracle.com>
3519 * aclocal.m4: Regenerate.
3521 2011-01-06 Paolo Carlini <paolo.carlini@oracle.com>
3524 * src/placeholders.cc: New.
3525 * src/Makefile.am: Adjust.
3526 * src/Makefile.in: Regenerate.
3527 * include/std/functional (placeholders::_1, _2, ..., _29): Declare
3529 * config/abi/pre/gnu.ver: Export.
3531 2011-01-05 François Dumont <francois.cppdevs@free.fr>
3533 * include/debug/safe_base.h (_Safe_iterator_base::_M_unlink): New.
3534 * include/src/debug.cc: Use latter
3535 * include/debug/forward_list (forward_list<>::_M_swap): Fix to
3536 correctly handle before_begin iterators.
3537 * testsuite/23_containers/forward_list/debug/swap.cc: Remove now
3538 useless _GLIBCXX_DEBUG checks.
3540 2011-01-04 Kai Tietz <kai.tietz@onevision.com>
3543 * configure.ac (AC_CHECK_FILE): Replaced by test -f.
3544 * configure: Regenerated.
3546 2011-01-03 Paolo Carlini <paolo.carlini@oracle.com>
3549 * config/abi/pre/gnu.ver: Export std::bad_function_call symbols.
3552 Copyright (C) 2011 Free Software Foundation, Inc.
3554 Copying and distribution of this file, with or without modification,
3555 are permitted in any medium without royalty provided the copyright
3556 notice and this notice are preserved.