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