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