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