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