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