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