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