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