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