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