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