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