1 2011-09-17 Paolo Carlini <paolo.carlini@oracle.com>
4 * acinclude.m4 ([GLIBCXX_ENABLE_INT128_FLOAT128]): Add.
5 * configure.ac: Call it.
6 * include/std/type_traits (__is_integral_helper<__int128_t>,
7 __is_integral_helper<__uint128_t>,
8 __is_floating_point_helper<__float128>,
9 __make_unsigned<__int128_t>, __make_signed<__uint128_t>): Add.
10 * testsuite/20_util/make_signed/requirements/typedefs-1.cc: Extend.
11 * testsuite/20_util/make_signed/requirements/typedefs-2.cc: Likewise.
12 * testsuite/20_util/make_unsigned/requirements/typedefs-1.cc: Likewise.
13 * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Likewise.
14 * testsuite/20_util/is_signed/value.cc: Likewise.
15 * testsuite/20_util/is_unsigned/value.cc: Likewise.
16 * testsuite/20_util/is_integral/value.cc: Likewise.
17 * testsuite/20_util/is_floating_point/value.cc: New.
18 * testsuite/20_util/is_floating_point/requirements/typedefs.cc:
20 * testsuite/20_util/is_floating_point/requirements/
21 explicit_instantiation.cc: Likewise.
22 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
23 dg-error line numbers.
24 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
26 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
27 * configure: Regenerate.
28 * config.h.in: Likewise.
30 2011-09-17 François Dumont <fdumont@gcc.gnu.org>
32 * include/bits/hashtable.h (_Hashtable<>::__rehash_policy(const
33 _RehashPolicy&)): Commit the modification of the policy only if no
35 * testsuite/23_containers/unordered_set/max_load_factor/robustness.cc:
38 2011-09-16 Paolo Carlini <paolo.carlini@oracle.com>
40 * testsuite/23_containers/array/comparison_operators/
41 less_or_equal.cc: New.
42 * testsuite/23_containers/array/comparison_operators/
43 greater_or_equal.cc: Likewise.
44 * testsuite/23_containers/array/comparison_operators/less.cc: Likewise.
45 * testsuite/23_containers/array/comparison_operators/equal.cc: Likewise.
46 * testsuite/23_containers/array/comparison_operators/not_equal.cc:
48 * testsuite/23_containers/array/comparison_operators/greater.cc:
50 * testsuite/23_containers/array/iterators/end_is_one_past.cc: Likewise.
51 * testsuite/23_containers/array/capacity/empty.cc: Likewise.
52 * testsuite/23_containers/array/capacity/max_size.cc: Likewise.
53 * testsuite/23_containers/array/capacity/size.cc: Likewise.
54 * testsuite/23_containers/array/tuple_interface/tuple_element.cc:
56 * testsuite/23_containers/array/tuple_interface/tuple_size.cc:
58 * testsuite/23_containers/array/element_access/at_out_of_range.cc:
60 * testsuite/23_containers/array/element_access/back.cc: Likewise.
61 * testsuite/23_containers/array/element_access/front.cc: Likewise.
62 * testsuite/23_containers/array/element_access/data.cc: Likewise.
63 * testsuite/23_containers/array/cons/aggregate_initialization.cc:
65 * testsuite/23_containers/array/requirements/zero_sized_arrays.cc:
67 * testsuite/23_containers/array/requirements/contiguous.cc: Likewise.
68 * testsuite/23_containers/array/requirements/member_swap.cc: Likewise.
69 * testsuite/23_containers/array/specialized_algorithms/swap.cc:
71 * testsuite/23_containers/array/constexpr_get.cc: Move...
72 * testsuite/23_containers/array/tuple_interface/constexpr_get.cc:
74 * testsuite/23_containers/array/requirements/get.cc: Move...
75 * testsuite/23_containers/array/tuple_interface/get: ... here.
76 * testsuite/23_containers/array/at_neg.cc: Move...
77 * testsuite/23_containers/array/element_access: ... here.
78 * testsuite/23_containers/array/requirements/constexpr_functions.cc:
80 * testsuite/23_containers/array/capacity: ... here.
81 * testsuite/23_containers/array/requirements/
82 constexpr_element_access.cc: Move...
83 * testsuite/23_containers/array/element_access: ... here.
85 * testsuite/20_util/duration/cons/1_neg.cc: Avoid -Wall warnings.
86 * testsuite/20_util/tuple/creation_functions/constexpr.cc: Likewise.
87 * testsuite/20_util/pair/make_pair/constexpr.cc: Likewise.
88 * testsuite/20_util/time_point/nonmember/constexpr.cc: Likewise.
89 * testsuite/23_containers/bitset/operations/constexpr.cc: Likewise.
91 * testsuite/20_util/duration/cons/1_neg.cc: Discard bogus warning.
92 * testsuite/20_util/forward/1_neg.cc: Likewise.
94 2011-09-15 Paolo Carlini <paolo.carlini@oracle.com>
96 * include/std/tuple (make_tuple, forward_as_tuple): Declare constexpr.
97 (_Tuple_impl<>::_Tuple_impl(_Tuple_impl<>&&)): Likewise.
98 * testsuite/20_util/tuple/creation_functions/constexpr.cc: Enable
100 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-warning
103 2011-09-14 François Dumont <fdumont@gcc.gnu.org>
104 Paolo Carlini <paolo.carlini@oracle.com>
106 * include/bits/hashtable.h (_Hashtable<>::_M_rehash): Take and restore
107 hash policy _M_prev_resize on exception.
108 (_Hashtable<>::_M_insert_bucket): Capture hash policy next resize
109 before using it and use latter method to have it restored on exception.
110 (_Hashtable<>::_M_insert(_Arg&& __v, std::false_type): Likewise.
111 (_Hashtable<>::insert(_InputIterator, _InputIterator): Likewise.
112 (_Hashtable<>::rehash): Likewise.
113 * testsuite/23_containers/unordered_set/insert/hash_policy.cc: New.
114 * testsuite/23_containers/unordered_multiset/insert/hash_policy.cc:
117 2011-09-13 Paul Brook <paul@codesourcery.com>
119 * libsupc++/eh_arm.cc (__cxa_end_cleanup): Add C6X implementation.
120 * libsupc++/eh_call.cc (__cxa_call_unexpected): Set rtti_base.
121 * libsupc++/eh_personality.cc (NO_SIZE_OF_ENCODED_VALUE): Remove
122 __ARM_EABI_UNWINDER__ check.
123 (parse_lsda_header): Check _GLIBCXX_OVERRIDE_TTYPE_ENCODING.
124 (get_ttype_entry): Use generic implementation on ARM EABI.
125 (check_exception_spec): Use _Unwind_decode_typeinfo_ptr and
127 (PERSONALITY_FUNCTION): Set ttype_base.
129 2011-09-12 Daniel Krugler <daniel.kruegler@googlemail.com>
130 Paolo Carlini <paolo.carlini@oracle.com>
132 * include/std/tuple (_Head_base<>::_M_head, _Head_base<>::_M_tail,
133 _Tuple_impl<>::_M_head, _Tuple_impl<>::_M_tail): Change to static
134 constexpr functions; adjust everywhere.
135 (__get_helper, get): Declare constexpr all three overloads.
136 (tuple_cat): Declare constexpr; use late return type to improve
138 * include/std/utility (__pair_get<>::__get, __pair_get<>::__move_get,
139 __pair_get<>::__const_get, get): Declare all constexpr.
140 * include/std/array (get): Likewise.
141 * testsuite/20_util/tuple/creation_functions/constexpr.cc: Re-enable
143 * testsuite/23_containers/array/constexpr_get.cc: New.
144 * testsuite/20_util/tuple/element_access/constexpr_get.cc: Likewise.
145 * testsuite/20_util/pair/constexpr_get.cc: Likewise.
146 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
149 2011-09-12 Jason Merrill <jason@redhat.com>
151 * testsuite/20_util/is_constructible/value-2.cc: Adjust
154 2011-09-11 Daniel Krugler <daniel.kruegler@googlemail.com>
157 * include/std/tuple (tuple_cat): Reimplement according to the
158 resolution of LWG 1385.
159 * include/std/type_traits: Define __and_ and __or_ for zero
160 arguments too; minor tweaks.
161 * testsuite/20_util/tuple/creation_functions/tuple_cat.cc: New.
162 * testsuite/20_util/tuple/creation_functions/constexpr.cc: Disable
163 for now tuple_cat test.
164 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
166 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Likewise.
167 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
169 * doc/xml/manual/status_cxx200x.xml: Update.
171 2011-09-09 Paolo Carlini <paolo.carlini@oracle.com>
173 * include/std/tuple: Use everywhere std::size_t... instead of int...
174 * include/std/functional: Likewise.
175 * include/std/scoped_allocator: Likewise.
176 * include/bits/stl_pair.h: Likewise.
178 2011-09-09 Paolo Carlini <paolo.carlini@oracle.com>
181 * include/bits/streambuf_iterator.h (class istreambuf_iterator):
182 Implement LWG 445 in C++0x mode.
183 * testsuite/24_iterators/istreambuf_iterator/requirements/dr445.cc:
186 2011-09-08 Dodji Seketeli <dodji@redhat.com>
188 PR c++/33255 - Support -Wunused-local-typedefs warning
189 * include/ext/bitmap_allocator.h
190 (__detail::__mini_vector::__lower_bound): Remove unused typedef.
191 * src/istream.cc (std::operator>>(basic_istream<char>& __in,
192 basic_string<char>& __str)): Likewise.
193 (std::getline): Likewise.
194 * src/valarray.cc (__valarray_product): Likewise.
196 2011-09-07 François Dumont <francois.cppdevs@free.fr>
198 * testsuite/23_containers/array/at.cc: Revert to...
199 * testsuite/23_containers/array/at_neg.cc: ...this.
201 2011-09-07 Jason Merrill <jason@redhat.com>
203 * testsuite/20_util/bind/ref_neg.cc: Adjust errors.
204 * testsuite/20_util/duration/cons/1_neg.cc: Adjust errors.
206 2011-09-06 Benjamin Kosnik <bkoz@redhat.com>
208 * include/std/tuple (_Tuple_impl::_M_head, _M_tail): Mark constexpr.
209 (tuple(tuple&&)): Same.
210 (tuple(const tuple<_UElements...>& __in)): Same.
211 (tuple(tuple<_UElements...>&& __in)): Same.
212 (tuple_cat(const tuple<_TElements...>&, const tuple<_UElements...>&)):
215 * include/std/array: Consolidate array::data usage.
216 * testsuite/23_containers/array/requirements/constexpr_functions.cc:
217 Remove extra include.
218 * testsuite/20_util/tuple/creation_functions/constexpr.cc: New.
219 * testsuite/20_util/tuple/cons/constexpr-2.cc: Add tests.
220 * testsuite/20_util/tuple/cons/constexpr-3.cc: Same.
221 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust line numbers.
223 2011-09-06 François Dumont <fdumont@gcc.gnu.org>
224 Paolo Carlini <paolo.carlini@oracle.com>
226 * include/bits/hashtable_policy.h (_Prime_rehash_policy::
227 _M_next_bkt): Cast _M_max_load_factor to long double.
228 (_Prime_rehash_policy::_M_bkt_for_elements): Use _M_next_bkt.
229 (_Prime_rehash_policy::_M_need_rehash): Likewise; cast all
230 float quantities to long double.
232 2011-09-06 Paolo Carlini <paolo.carlini@oracle.com>
235 * include/bits/hashtable_policy.h (_Prime_rehash_policy::
236 _M_next_bkt): Optimize for small argument.
238 2011-09-02 François Dumont <fdumont@gcc.gnu.org>
240 * testsuite/util/testsuite_allocator.h (tracker_allocator_counter::
241 allocate): Update allocation count only if allocation succeeded.
243 2011-09-02 Paolo Carlini <paolo.carlini@oracle.com>
245 * include/std/bitset: Trivial formatting fixes.
247 2011-09-02 Paolo Carlini <paolo.carlini@oracle.com>
248 Marc Glisse <marc.glisse@normalesup.org>
250 * include/std/bitset (_Base_bitset<>::_M_are_all_aux): Remove.
251 (_Base_bitset<>::_M_are_all): Add.
252 (bitset<>::all): Use the latter, improve implementation.
254 2011-09-02 Paolo Carlini <paolo.carlini@oracle.com>
255 Marc Glisse <marc.glisse@normalesup.org>
258 * include/std/bitset (struct _Sanitize_val): Add.
259 (bitset<>::bitset(unsigned long long)): Fix.
260 * testsuite/23_containers/bitset/cons/50268.cc: New.
262 2011-09-01 Paolo Carlini <paolo.carlini@oracle.com>
264 * include/bits/hashtable.h (_Hashtable<>::_Hashtable(_Hashtable&&)):
265 Remove noexcept, the move constructor allocates memory; rearrange
266 the code in the body to consistently update __ht._M_rehash_policy
267 before using _M_next_bkt on it.
268 * include/debug/unordered_map: Adjust.
269 * include/debug/unordered_set: Likewise.
270 * include/profile/unordered_map: Likewise.
271 * include/profile/unordered_set: Likewise.
272 * testsuite/23_containers/unordered_map/cons/
273 noexcept_move_construct.cc: Remove.
274 * testsuite/23_containers/unordered_set/cons/
275 noexcept_move_construct.cc: Likewise.
276 * testsuite/23_containers/unordered_multimap/cons/
277 noexcept_move_construct.cc: Likewise.
278 * testsuite/23_containers/unordered_multiset/cons/
279 noexcept_move_construct.cc: Likewise.
281 2011-08-31 Paolo Carlini <paolo.carlini@oracle.com>
283 * include/std/chrono (operator*(const _Rep1&, const duration<>&)):
284 Fix order of template parameters per LWG 2004.
286 2011-08-30 Paolo Carlini <paolo.carlini@oracle.com>
288 * include/bits/stl_iterator.h (make_move_iterator): Implement DR2061.
289 * testsuite/24_iterators/move_iterator/dr2061.cc: New.
290 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-warning
293 2011-08-30 Paolo Carlini <paolo.carlini@oracle.com>
295 * config/os/mingw32/error_constants.h: Fix commas.
297 2011-08-29 Benjamin Kosnik <bkoz@redhat.com>
299 * testsuite/20_util/duration/arithmetic/constexpr.cc: Add.
301 2011-08-29 Kai Tietz <ktietz@redhat.com>
303 * configure: Regenerated.
304 * config.h.in: Regenerated.
305 * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR) Add
306 checks for ECHILD, ENOSPC, EPERM, ETIMEDOUT, and
308 * config/os/mingw32/error_constants.h (errc): Add
309 enumerator values no_child_process, no_space_on_device,
310 not_supported, operation_not_permitted, operation_would_block,
311 timed_out, and value_too_large,
313 2011-08-29 Paolo Carlini <paolo.carlini@oracle.com>
316 * include/bits/stl_list.h (_List_base<>::
317 _List_base(const allocator_type&)): Remove.
318 (_List_base<>::_List_base(const _Node_alloc_type&)): Add.
319 (list<>:list(const allocator_type&), list(size_type, const
320 value_type&, const allocator_type&),
321 list(initializer_list<, const allocator_type&),
322 list(_InputIterator, _InputIterator, const allocator_type&),
323 insert(iterator, size_type, const value_type&),
324 insert(iterator, _InputIterator, _InputIterator)): Adjust.
325 * include/bits/stl_tree.h (_Rb_tree<>::_Rb_tree(const _Compare&,
326 const allocator_type&)): Fix.
327 * include/bits/stl_map.h (map<>::map(const _Compare&,
328 const allocator_type&), map(initializer_list<>,
329 const _Compare&, const allocator_type&), map(_InputIterator,
330 _InputIterator, const _Compare&, const allocator_type&),
331 get_allocator): Adjust.
332 * include/bits/stl_set.h (set<>::set(const _Compare&,
333 const allocator_type&), set(initializer_list<>,
334 const _Compare&, const allocator_type&), set(_InputIterator,
335 _InputIterator, const _Compare&, const allocator_type&),
336 get_allocator): Likewise.
337 * include/bits/stl_multimap.h (multimap<>::multimap(const _Compare&,
338 const allocator_type&), multimap(initializer_list<>,
339 const _Compare&, const allocator_type&), multimap(_InputIterator,
340 _InputIterator, const _Compare&, const allocator_type&),
341 get_allocator): Likewise.
342 * include/bits/stl_multiset.h (multiset<>::multiset(const _Compare&,
343 const allocator_type&), multiset(initializer_list<>,
344 const _Compare&, const allocator_type&), multiset(_InputIterator,
345 _InputIterator, const _Compare&, const allocator_type&),
346 get_allocator): Likewise.
347 * include/bits/forward_list.h (_Fwd_list_base<>::
348 _Fwd_list_base(const _Alloc&), _Fwd_list_base(const _Fwd_list_base&,
349 const _Alloc&), _Fwd_list_base(_Fwd_list_base&&, const _Alloc&)):
351 (_Fwd_list_base<>::_Fwd_list_base(const _Node_alloc_type&),
352 _Fwd_list_base(const _Fwd_list_base&,
353 const _Node_alloc_type&), _Fwd_list_base(_Fwd_list_base&&,
354 const _Node_alloc_type&)): Add.
355 (forward_list<>::forward_list(const _Alloc&),
356 forward_list(const forward_list&, const _Alloc&),
357 forward_list(forward_list&&, const _Alloc&),
358 forward_list(size_type, const _Tp&, const _Alloc&),
359 forward_list(_InputIterator, _InputIterator, const _Alloc&),
360 forward_list(std::initializer_list<>, const _Alloc&),
361 get_allocator): Adjust.
362 * include/bits/forward_list.tcc: Adjust.
363 * testsuite/util/testsuite_allocator.h (ExplicitConsAlloc): Add.
364 * testsuite/23_containers/unordered_map/requirements/
365 explicit_instantiation/5.cc: New.
366 * testsuite/23_containers/multimap/requirements/
367 explicit_instantiation/5.cc: Likewise.
368 * testsuite/23_containers/multimap/requirements/
369 explicit_instantiation/5_c++0x.cc: Likewise.
370 * testsuite/23_containers/set/requirements/explicit_instantiation/
372 * testsuite/23_containers/set/requirements/explicit_instantiation/
373 5_c++0x.cc: Likewise.
374 * testsuite/23_containers/unordered_multimap/requirements/
375 explicit_instantiation/5.cc: Likewise.
376 * testsuite/23_containers/forward_list/requirements/
377 explicit_instantiation/5.cc: Likewise.
378 * testsuite/23_containers/unordered_set/requirements/
379 explicit_instantiation/5.cc: Likewise.
380 testsuite/23_containers/multiset/requirements/explicit_instantiation/
382 * testsuite/23_containers/multiset/requirements/
383 explicit_instantiation/5_c++0x.cc: Likewise.
384 * testsuite/23_containers/list/requirements/explicit_instantiation/
385 5_c++0x.cc: Likewise.
386 * testsuite/23_containers/list/requirements/explicit_instantiation/
388 * testsuite/23_containers/unordered_multiset/requirements/
389 explicit_instantiation/5.cc: Likewise.
390 * testsuite/23_containers/map/requirements/explicit_instantiation/
392 * testsuite/23_containers/map/requirements/explicit_instantiation/
393 5_c++0x.cc: Likewise.
394 * testsuite/23_containers/forward_list/requirements/dr438/
395 assign_neg.cc: Adjust dg-error line number.
396 * testsuite/23_containers/forward_list/requirements/dr438/
397 insert_neg.cc: Likewise.
398 * testsuite/23_containers/forward_list/requirements/dr438/
399 constructor_1_neg.cc: Likewise.
400 * testsuite/23_containers/forward_list/requirements/dr438/
401 constructor_2_neg.cc: Likewise.
402 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
404 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
406 * testsuite/23_containers/list/requirements/dr438/
407 constructor_1_neg.cc: Likewise.
408 * testsuite/23_containers/list/requirements/dr438/
409 constructor_2_neg.cc: Likewise.
411 2011-08-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
413 * acinclude.m4 (GLIBCXX_CHECK_MATH_PROTO)
414 (GLIBCXX_CHECK_STDLIB_PROTO): New tests.
415 * configure.ac (GLIBCXX_CHECK_MATH_PROTO)
416 (GLIBCXX_CHECK_STDLIB_PROTO): Call them.
417 * configure: Regenerate.
418 * config.h.in: Regenerate.
419 * config/os/solaris/solaris2.8/os_defines.h
420 (__CORRECT_ISO_CPP_MATH_H_PROTO2): Don't define.
421 * config/os/solaris/solaris2.9: Remove.
422 * configure.host (solaris2.8): Merge with ...
423 (solaris2.9, solaris2.1[0-9]): ... this.
424 Always use os/solaris/solaris2.8.
426 2011-08-28 Paolo Carlini <paolo.carlini@oracle.com>
428 * include/bits/move.h (swap(_Tp(&)[_Nm], _Tp(&)[_Nm])): Remove
429 workaround for c++/49045.
430 * include/bits/algorithmfwd.h: Likewise.
432 2011-08-25 Tom Tromey <tromey@redhat.com>
434 * testsuite/libstdc++-prettyprinters/simple.cc: New file.
435 * testsuite/lib/gdb-test.exp: New file.
436 * testsuite/libstdc++-prettyprinters/prettyprinters.exp: New
439 2011-08-18 Marc Glisse <marc.glisse@normalesup.org>
441 * include/tr1/cmath: Extend/update comment.
443 2011-08-18 Paolo Carlini <paolo.carlini@oracle.com>
446 * include/bits/stl_algo.h (__copy_n(_InputIterator, _Size,
447 _OutputIterator, input_iterator_tag)): Fix.
448 * testsuite/25_algorithms/copy_n/50119.cc: New.
450 2011-08-18 Marc Glisse <marc.glisse@normalesup.org>
451 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
454 * config/os/solaris2.7: Rename to config/os/solaris2.9.
455 * config/os/solaris/solaris2.9/os_defines.h
456 (__CORRECT_ISO_CPP_MATH_H_PROTO1)
457 (__CORRECT_ISO_CPP_STDLIB_H_PROTO)
458 (__CORRECT_ISO_CPP_STRING_H_PROTO)
459 (__CORRECT_ISO_CPP_WCHAR_H_PROTO): Define.
460 * config/os/solaris2.8/ctype_base.h,
461 config/os/solaris2.8/ctype_configure_char.cc,
462 config/solaris2.8/ctype_inline.h,
463 config/os/solaris2.8/os_defines.h: New files.
465 * configure.host (solaris2.[89], solaris2.1[0-9]):
467 (solaris2.8): ... this.
468 Use os/solaris/solaris2.8.
469 (solaris2.9, solaris2.1[0-9]): ... and this.
470 Use os/solaris/solaris2.9.
472 * include/c_global/cmath (double abs(double)): Wrap in
473 !__CORRECT_ISO_CPP_MATH_H_PROTO1 &&
474 !__CORRECT_ISO_CPP_MATH_H_PROTO2.
475 (float abs(float), long double abs(long double): Wrap in
476 !__CORRECT_ISO_CPP_MATH_H_PROTO1.
477 (float acos(float), long double acos(long double)): Likewise.
478 (float asin(float), long double asin(long double)): Likewise.
479 (float atan(float), long double atan(long double)): Likewise.
480 (float atan2(float, float), long double atan2(long double, long
482 (float ceil(float), long double ceil(long double)): Likewise.
483 (float cos(float), long double cos(long double)): Likewise.
484 (float cosh(float), long double cosh(long double)): Likewise.
485 (float exp(float), long double exp(long double)): Likewise.
486 (float fabs(float), long double fabs(long double)): Likewise.
487 (float floor(float), long double floor(long double)): Likewise.
488 (float fmod(float, float), long double fmod(long double, long
490 (float frexp(float, int*), long double frexp(long double, int*)):
492 (float ldexp(float, int), long double ldexp(long double, int)):
494 (float log(float), long double log(long double)): Likewise.
495 (float log10(float), long double log10(long double)): Likewise.
496 (float modf(float, float*), long double modf(long double, long
497 double*))): Likewise.
498 (float pow(float, float), long double pow(long double, long
500 (float sin(float), long double sin(long double)): Likewise.
501 (float sinh(float), long double sinh(long double)): Likewise.
502 (float sqrt(float), long double sqrt(long double)): Likewise.
503 (float tan(float), long double tan(long double)): Likewise.
504 (float tanh(float), long double tanh(long double)): Likewise.
505 * include/c_global/cstdlib (long abs(long), ldiv_t div(long,
506 long)): Wrap in !__CORRECT_ISO_CPP_STDLIB_H_PROTO.
507 * include/tr1/cmath (float fabs(float), long double fabs(long
508 double)): Wrap in !__CORRECT_ISO_CPP_MATH_H_PROTO1.
510 2011-08-14 Benjamin Kosnik <bkoz@redhat.com>
512 * doc/xml/images/*: Image and image filename changes.
514 2011-08-14 Benjamin Kosnik <bkoz@redhat.com>
516 * testsuite/data/make_graph_test_infos.xml: Edit.
517 * testsuite/data/make_graph_htmls.xml: Remove
518 * scripts/make_graph.py: Edit, fix.
519 * scripts/make_graphs.py: Remove.
521 * doc/Makefile.am (doc-svg-performance): New.
522 (doc-html-performance): Remove.
523 * doc/Makefile.in: Regenerate.
525 * doc/xml/manual/test_policy_data_structures.xml: Markup changes.
526 * doc/xml/manual/policy_data_structures.xml: Same.
527 * doc/xml/manual/locale.xml: Same.
530 * performance/ext/pb_ds/priority_queue_text_modify_down_timing.cc:
532 * performance/ext/pb_ds/random_int_find_timing.cc: Same.
533 * performance/ext/pb_ds/multimap_text_insert_mem_usage.hpp
534 * performance/ext/pb_ds/multimap_text_find_timing.hpp
535 * performance/ext/pb_ds/priority_queue_random_int_push_timing.cc: Same.
536 * performance/ext/pb_ds/priority_queue_text_modify_timing.hpp
537 * performance/ext/pb_ds/tree_order_statistics_timing.cc: Same.
538 * performance/ext/pb_ds/multimap_text_insert_mem_usage_large.cc: Same.
539 * performance/ext/pb_ds/priority_queue_text_push_pop_timing.cc: Same.
540 * performance/ext/pb_ds/priority_queue_text_join_timing.cc: Same.
541 * performance/ext/pb_ds/multimap_text_insert_timing_small.cc: Same.
542 * performance/ext/pb_ds/random_int_subscript_insert_timing.cc: Same.
543 * performance/ext/pb_ds/tree_text_lor_find_timing.cc: Same.
544 * performance/ext/pb_ds/priority_queue_text_pop_mem_usage.cc: Same.
545 * performance/ext/pb_ds/multimap_text_find_timing_small.cc: Same.
546 * performance/ext/pb_ds/text_find_timing.cc: Same.
547 * performance/ext/pb_ds/tree_text_insert_timing.cc: Same.
548 * performance/ext/pb_ds/hash_random_int_erase_mem_usage.cc: Same.
549 * performance/ext/pb_ds/random_int_subscript_find_timing.cc: Same.
550 * performance/ext/pb_ds/priority_queue_text_push_timing.cc: Same.
551 * performance/ext/pb_ds/tree_split_join_timing.cc: Same.
552 * performance/ext/pb_ds/multimap_text_insert_timing_large.cc: Same.
553 * performance/ext/pb_ds/priority_queue_text_modify_up_timing.cc: Same.
554 * performance/ext/pb_ds/multimap_text_find_timing_large.cc: Same.
555 * performance/ext/pb_ds/priority_queue_random_int_push_pop_timing.cc:
557 * performance/ext/pb_ds/multimap_text_insert_timing.hpp
558 * performance/ext/pb_ds/multimap_text_insert_mem_usage_small.cc: Same.
559 * performance/ext/pb_ds/hash_zlob_random_int_find_timing.cc: Same.
561 * performance/ext/pb_ds/all_int_find.cc: To these new files...
562 * performance/ext/pb_ds/all_int_subscript_find.cc: ...this.
563 * performance/ext/pb_ds/all_int_subscript_insert.cc: ...this.
564 * performance/ext/pb_ds/all_text_find.cc: ...this.
565 * performance/ext/pb_ds/hash_int_erase_mem.cc: ...this.
566 * performance/ext/pb_ds/hash_zlob_int_find.cc: ...this.
567 * performance/ext/pb_ds/multimap_text_find.hpp
568 * performance/ext/pb_ds/multimap_text_find_large.cc: ...this.
569 * performance/ext/pb_ds/multimap_text_find_small.cc: ...this.
570 * performance/ext/pb_ds/multimap_text_insert.hpp
571 * performance/ext/pb_ds/multimap_text_insert_large.cc: ...this.
572 * performance/ext/pb_ds/multimap_text_insert_mem.hpp
573 * performance/ext/pb_ds/multimap_text_insert_mem_large.cc: ...this.
574 * performance/ext/pb_ds/multimap_text_insert_mem_small.cc: ...this.
575 * performance/ext/pb_ds/multimap_text_insert_small.cc: ...this.
576 * performance/ext/pb_ds/priority_queue_int_push.cc: ...this.
577 * performance/ext/pb_ds/priority_queue_int_push_pop.cc: ...this.
578 * performance/ext/pb_ds/priority_queue_text_join.cc: ...this.
579 * performance/ext/pb_ds/priority_queue_text_modify_down.cc: ...this.
580 * performance/ext/pb_ds/priority_queue_text_modify.hpp
581 * performance/ext/pb_ds/priority_queue_text_modify_up.cc: ...this.
582 * performance/ext/pb_ds/priority_queue_text_pop_mem.cc: ...this.
583 * performance/ext/pb_ds/priority_queue_text_push.cc: ...this.
584 * performance/ext/pb_ds/priority_queue_text_push_pop.cc: ...this.
585 * performance/ext/pb_ds/tree_order_statistics.cc: ...this.
586 * performance/ext/pb_ds/tree_split_join.cc: ...this.
587 * performance/ext/pb_ds/tree_text_insert.cc: ...this.
588 * performance/ext/pb_ds/tree_text_lor_find.cc: ...this.
590 * doc/xml/images/*: Image and image filename changes.
592 2011-08-12 Paolo Carlini <paolo.carlini@oracle.com>
594 * include/c_global/cmath (fmod(_Tp, _Up)): Add.
595 * include/c_std/cmath: Likewise.
597 2011-08-11 Paolo Carlini <paolo.carlini@oracle.com>
599 * include/std/future: constexpr functions are implicitly inline.
600 * include/std/chrono: Likewise.
601 * include/std/complex: Likewise.
602 * include/bits/move.h: Likewise.
603 * include/bits/stl_pair.h: Likewise.
605 2011-08-07 Jonathan Wakely <jwakely.gcc@gmail.com>
607 * include/bits/alloc_traits.h: Fix doxygen @headername.
609 2011-08-06 Benjamin Kosnik <bkoz@redhat.com>
611 * doc/doxygen/user.cfg.in (PDF_HYPERLINKS): To NO.
613 2011-08-06 Benjamin Kosnik <bkoz@redhat.com>
615 * doc/doxygen/user.cfg.in: Add scoped_allocator.
617 * include/debug/safe_sequence.h: Fix doxygen markup.
618 * include/debug/safe_unordered_base.h: Same.
619 * include/debug/safe_local_iterator.tcc: Same.
620 * include/debug/safe_unordered_container.h: Same.
621 * include/std/valarray: Same.
622 * include/std/iomanip: Same.
623 * include/std/streambuf: Same.
624 * include/std/bitset: Same.
625 * include/std/fstream: Same.
626 * include/std/functional: Same.
627 * include/std/istream: Same.
628 * include/std/ostream: Same.
629 * include/std/scoped_allocator: Same.
630 * include/std/sstream: Same.
631 * include/parallel/multiway_merge.h: Same.
632 * include/parallel/base.h: Same.
633 * include/parallel/for_each_selectors.h: Same.
634 * include/parallel/multiway_mergesort.h: Same.
635 * include/parallel/search.h: Same.
636 * include/parallel/partial_sum.h: Same.
637 * include/parallel/queue.h: Same.
638 * include/parallel/sort.h: Same.
639 * include/parallel/random_number.h: Same.
640 * include/ext/vstring.h: Same.
641 * include/ext/algorithm: Same.
642 * include/ext/pb_ds/assoc_container.h: Same.
643 * include/ext/bitmap_allocator.h: Same.
644 * include/ext/stdio_filebuf.h: Same.
645 * include/ext/memory: Same.
646 * include/ext/functional: Same.
647 * include/bits/basic_ios.h: Same.
648 * include/bits/stl_list.h: Same.
649 * include/bits/stl_map.h: Same.
650 * include/bits/stl_algobase.h: Same.
651 * include/bits/stl_queue.h: Same.
652 * include/bits/gslice.h: Same.
653 * include/bits/locale_classes.h: Same.
654 * include/bits/stl_set.h: Same.
655 * include/bits/locale_facets.h: Same.
656 * include/bits/stl_stack.h: Same.
657 * include/bits/stl_heap.h: Same.
658 * include/bits/forward_list.h: Same.
659 * include/bits/stream_iterator.h: Same.
660 * include/bits/basic_string.h: Same.
661 * include/bits/stl_multimap.h: Same.
662 * include/bits/stl_pair.h: Same.
663 * include/bits/ios_base.h: Same.
664 * include/bits/stl_numeric.h: Same.
665 * include/bits/stl_vector.h: Same.
666 * include/bits/stl_deque.h: Same.
667 * include/bits/codecvt.h: Same.
668 * include/bits/stl_multiset.h: Same.
669 * include/bits/stl_uninitialized.h: Same.
670 * include/bits/ptr_traits.h: Same.
671 * include/bits/slice_array.h: Same.
672 * include/bits/stl_iterator_base_funcs.h: Same.
673 * include/bits/stl_algo.h: Same.
674 * include/bits/stl_iterator.h: Same.
675 * include/bits/stl_tempbuf.h: Same.
676 * include/bits/regex.h: Same.
677 * include/bits/range_access.h: Same.
678 * include/bits/random.h: Same.
679 * include/bits/alloc_traits.h: Same.
680 * include/bits/regex_error.h: Same.
681 * include/bits/locale_facets_nonio.h: Same.
682 * include/bits/stl_relops.h: Same.
683 * include/backward/auto_ptr.h: Same.
684 * libsupc++/initializer_list: Same.
686 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
688 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
689 * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
691 * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
694 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
696 * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Point TOPLEVEL_INCLUDES
697 to $(toplevel_srcdir)/libgcc.
698 * configure: Regenerate.
700 2011-08-04 Benjamin Kosnik <bkoz@redhat.com>
702 * doc/xml/manual/build_hacking.xml: Use relative fileref for PNG
704 * doc/xml/manual/test_policy_data_structures.xml: Same.
705 * doc/xml/manual/policy_data_structures.xml: Same.
707 * doc/Makefile.am (stamp-html-docbook-images)
708 (stamp-html-docbook-lwg, stamp-html-docbook-data): New.
709 (xml_extra): Add lwg html file dependencies.
710 (xml_images): Add image html file dependencies.
711 * doc/Makefile.in: Regenerate.
712 (stamp-html): Change to stamp-html-docbook-data.
713 (stamp-html-copy): Remove.
715 2011-08-04 Paolo Carlini <paolo.carlini@oracle.com>
717 * src/atomic.cc: Use noexcept.
718 * include/std/atomic: Likewise.
719 * include/bits/atomic_0.h: Likewise.
720 * include/bits/atomic_2.h: Likewise.
721 * include/bits/atomic_base.h: Likewise.
723 2011-08-03 Benjamin Kosnik <bkoz@redhat.com>
725 * testsuite/performance/27_io/filebuf_sputn_unbuf.cc: Include
727 * testsuite/performance/27_io/ofstream_insert_int.cc: Same.
728 * testsuite/performance/27_io/ifstream_extract_int.cc: Same.
729 * testsuite/performance/27_io/ifstream_getline-2.cc: Same.
730 * testsuite/performance/27_io/fstream_seek_write.cc: Same.
731 * testsuite/performance/27_io/ifstream_extract_chars.cc: Same.
732 * testsuite/performance/27_io/ofstream_insert_float.cc: Same.
733 * testsuite/performance/27_io/ifstream_extract_float.cc: Same.
734 * testsuite/performance/27_io/filebuf_sputc.cc: Same.
736 2011-08-03 Benjamin Kosnik <bkoz@redhat.com>
738 * include/std/tuple: Mark more constructors constexpr.
739 * testsuite/20_util/tuple/cons/constexpr.cc: Split into and extend as:
740 * testsuite/20_util/tuple/cons/constexpr-2.cc: ...this.
741 * testsuite/20_util/tuple/cons/constexpr-3.cc: ... and this.
742 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust line numbers.
744 2011-08-03 Benjamin Kosnik <bkoz@redhat.com>
745 François Dumont <francois.cppdevs@free.fr>
747 * testsuite/23_containers/array/at_neg.cc: Move...
748 * testsuite/23_containers/array/at.cc: ...here. Remove
749 -fno-exceptions, call const at member function.
751 2011-08-01 H.J. Lu <hongjiu.lu@intel.com>
753 * config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: Generated.
755 2011-08-01 Paolo Carlini <paolo.carlini@oracle.com>
758 * include/c_global/cmath (isinf): Remove workaround.
760 2011-07-31 Paolo Carlini <paolo.carlini@oracle.com>
763 * include/bits/shared_ptr.h (make_shared): Qualify allocate_shared
765 * include/bits/shared_ptr_base.h (__make_shared): Likewise.
767 2011-07-29 Benjamin Kosnik <bkoz@redhat.com>
769 * doc/xml/manual/build_hacking.xml: Markup imagedata changes.
770 * doc/xml/manual/policy_data_structures.xml: Same.
772 * doc/xml/class.txml: Remove biblioid.
773 * doc/xml/manual/allocator.xml: Same.
774 * doc/xml/manual/ctype.xml: Same.
775 * doc/xml/manual/codecvt.xml: Same.
776 * doc/xml/manual/backwards_compatibility.xml: Same.
777 * doc/xml/manual/abi.xml: Same.
778 * doc/xml/manual/shared_ptr.xml: Same.
779 * doc/xml/manual/using_exceptions.xml: Same.
780 * doc/xml/manual/messages.xml: Same.
782 2011-07-29 Benjamin Kosnik <bkoz@redhat.com>
784 Docbook conversion of existing ext/pb_ds documentation.
785 * doc/Makefile.am (xml_sources_manual): Add
786 policy_data_structures.xml and
787 test_policy_data_structures.xml.
788 (stamp-html-copy): Remove special-case for ext/pb_ds directory.
789 (XSLTPROC_FLAGS): Split into XSLT_FLAGS and XSLT_PARAM, use.
790 * doc/Makefile.in: Regenerate.
791 * doc/xml/manual/policy_data_structures.xml: New, adapted from
792 previous html-only instance in doc/html/ext/pb_ds.
793 * doc/xml/manual/test_policy_data_structures.xml: New, same as above.
795 * doc/xml/spine.xml: Update copyright.
796 * doc/xml/manual/spine.xml: Same.
797 * doc/xml/manual/extensions.xml: Adjust set, chapter, sections.
798 * doc/xml/manual/bitmap_allocator.xml: Same.
799 * doc/xml/manual/mt_allocator.xml: Same.
801 Populate image directory.
802 * doc/xml/images/(pbds_balls_and_bins.png,
803 pbds_binary_priority_queue_random_int_push_timing_test_local.pdf,
804 pbds_binary_priority_queue_random_int_push_timing_test_local.png,
805 pbds_binary_priority_queue_random_int_push_timing_test_local.svg,
806 pbds_cc_hash_random_int_find_timing_test_local.pdf,
807 pbds_cc_hash_random_int_find_timing_test_local.png,
808 pbds_cc_hash_random_int_find_timing_test_local.svg,
809 pbds_cc_hash_random_int_subscript_timing_test_find_local.pdf,
810 pbds_cc_hash_random_int_subscript_timing_test_find_local.png,
811 pbds_cc_hash_random_int_subscript_timing_test_find_local.svg,
812 pbds_cc_hash_random_int_subscript_timing_test_insert_local.pdf,
813 pbds_cc_hash_random_int_subscript_timing_test_insert_local.png,
814 pbds_cc_hash_random_int_subscript_timing_test_insert_local.svg,
815 pbds_container_tag_hierarchy.pdf,
816 pbds_container_tag_hierarchy.png,
817 pbds_container_tag_hierarchy.svg,
818 pbds_different_underlying_dss_1.png,
819 pbds_different_underlying_dss_2.png,
820 pbds_embedded_lists_1.png, pbds_embedded_lists_2.png,
821 pbds_embedded_lists_3.png, pbds_exception_hierarchy.pdf,
822 pbds_exception_hierarchy.png, pbds_exception_hierarchy.svg,
823 pbds_gp_hash_random_int_find_timing_test_local.pdf,
824 pbds_gp_hash_random_int_find_timing_test_local.png,
825 pbds_gp_hash_random_int_find_timing_test_local.svg,
826 pbds_gp_hash_random_int_subscript_timing_test_find_local.pdf,
827 pbds_gp_hash_random_int_subscript_timing_test_find_local.png,
828 pbds_gp_hash_random_int_subscript_timing_test_find_local.svg,
829 pbds_gp_hash_random_int_subscript_timing_test_insert_local.pdf,
830 pbds_gp_hash_random_int_subscript_timing_test_insert_local.png,
831 pbds_gp_hash_random_int_subscript_timing_test_insert_local.svg,
832 pbds_hash_policy_cd.png,
833 pbds_hash_random_int_erase_mem_usage_test_local.pdf,
834 pbds_hash_random_int_erase_mem_usage_test_local.png,
835 pbds_hash_random_int_erase_mem_usage_test_local.svg,
836 pbds_hash_ranged_hash_range_hashing_fns.png,
837 pbds_hash_range_hashing_seq_diagram2.png,
838 pbds_hash_range_hashing_seq_diagram.png,
839 pbds_hash_zlob_random_int_find_timing_test_local.pdf,
840 pbds_hash_zlob_random_int_find_timing_test_local.png,
841 pbds_hash_zlob_random_int_find_timing_test_local.svg,
842 pbds_insert_resize_sequence_diagram1.png,
843 pbds_insert_resize_sequence_diagram2.png,
844 pbds_insert_resize_sequence_diagram3.png,
845 pbds_invalidation_guarantee_erase.png,
846 pbds_invalidation_tag_hierarchy.pdf,
847 pbds_invalidation_tag_hierarchy.png,
848 pbds_invalidation_tag_hierarchy.svg, pbds_list_update.png,
849 pbds_multimap_text_find_timing_test_large_s2p_hash_local.pdf,
850 pbds_multimap_text_find_timing_test_large_s2p_hash_local.png,
851 pbds_multimap_text_find_timing_test_large_s2p_hash_local.svg,
852 pbds_multimap_text_find_timing_test_large_s2p_tree_local.pdf,
853 pbds_multimap_text_find_timing_test_large_s2p_tree_local.png,
854 pbds_multimap_text_find_timing_test_large_s2p_tree_local.svg,
855 pbds_multimap_text_find_timing_test_small_s2p_hash_local.pdf,
856 pbds_multimap_text_find_timing_test_small_s2p_hash_local.png,
857 pbds_multimap_text_find_timing_test_small_s2p_hash_local.svg,
858 pbds_multimap_text_find_timing_test_small_s2p_tree_local.pdf,
859 pbds_multimap_text_find_timing_test_small_s2p_tree_local.png,
860 pbds_multimap_text_find_timing_test_small_s2p_tree_local.svg,
861 pbds_multimap_text_insert_mem_usage_test_large_s2p_hash_local.pdf,
862 pbds_multimap_text_insert_mem_usage_test_large_s2p_hash_local.png,
863 pbds_multimap_text_insert_mem_usage_test_large_s2p_hash_local.svg,
864 pbds_multimap_text_insert_mem_usage_test_large_s2p_tree_local.pdf,
865 pbds_multimap_text_insert_mem_usage_test_large_s2p_tree_local.png,
866 pbds_multimap_text_insert_mem_usage_test_large_s2p_tree_local.svg,
867 pbds_multimap_text_insert_mem_usage_test_small_s2p_hash_local.pdf,
868 pbds_multimap_text_insert_mem_usage_test_small_s2p_hash_local.png,
869 pbds_multimap_text_insert_mem_usage_test_small_s2p_hash_local.svg,
870 pbds_multimap_text_insert_mem_usage_test_small_s2p_tree_local.pdf,
871 pbds_multimap_text_insert_mem_usage_test_small_s2p_tree_local.png,
872 pbds_multimap_text_insert_mem_usage_test_small_s2p_tree_local.svg,
873 pbds_multimap_text_insert_timing_test_large_s2p_hash_local.pdf,
874 pbds_multimap_text_insert_timing_test_large_s2p_hash_local.png,
875 pbds_multimap_text_insert_timing_test_large_s2p_hash_local.svg,
876 pbds_multimap_text_insert_timing_test_large_s2p_tree_local.pdf,
877 pbds_multimap_text_insert_timing_test_large_s2p_tree_local.png,
878 pbds_multimap_text_insert_timing_test_large_s2p_tree_local.svg,
879 pbds_multimap_text_insert_timing_test_small_s2p_hash_local.pdf,
880 pbds_multimap_text_insert_timing_test_small_s2p_hash_local.png,
881 pbds_multimap_text_insert_timing_test_small_s2p_hash_local.svg,
882 pbds_multimap_text_insert_timing_test_small_s2p_tree_local.pdf,
883 pbds_multimap_text_insert_timing_test_small_s2p_tree_local.png,
884 pbds_multimap_text_insert_timing_test_small_s2p_tree_local.svg,
885 pbds_node_invariants.png,
886 pbds_pairing_priority_queue_text_push_pop_timing_test_local.pdf,
887 pbds_pairing_priority_queue_text_push_pop_timing_test_local.png,
888 pbds_pairing_priority_queue_text_push_pop_timing_test_local.svg,
889 pbds_pairing_priority_queue_text_push_timing_test_local.pdf,
890 pbds_pairing_priority_queue_text_push_timing_test_local.png,
891 pbds_pairing_priority_queue_text_push_timing_test_local.svg,
892 pbds_pat_trie.png, pbds_point_iterator_hierarchy.png,
893 pbds_point_iterators_range_ops_1.png,
894 pbds_point_iterators_range_ops_2.png,
895 pbds_priority_queue_different_underlying_dss.png,
896 pbds_priority_queue_random_int_push_pop_timing_test_local.pdf,
897 pbds_priority_queue_random_int_push_pop_timing_test_local.png,
898 pbds_priority_queue_random_int_push_pop_timing_test_local.svg,
899 pbds_priority_queue_random_int_push_timing_test_local.pdf,
900 pbds_priority_queue_random_int_push_timing_test_local.png,
901 pbds_priority_queue_random_int_push_timing_test_local.svg,
902 pbds_priority_queue_tag_hierarchy.pdf,
903 pbds_priority_queue_tag_hierarchy.png,
904 pbds_priority_queue_tag_hierarchy.svg,
905 pbds_priority_queue_text_join_timing_test_local.pdf,
906 pbds_priority_queue_text_join_timing_test_local.png,
907 pbds_priority_queue_text_join_timing_test_local.svg,
908 pbds_priority_queue_text_modify_down_timing_test_local.pdf,
909 pbds_priority_queue_text_modify_down_timing_test_local.png,
910 pbds_priority_queue_text_modify_down_timing_test_local.svg,
911 pbds_priority_queue_text_modify_down_timing_test_pairing_thin_local.pdf,
912 pbds_priority_queue_text_modify_down_timing_test_pairing_thin_local.png,
913 pbds_priority_queue_text_modify_down_timing_test_pairing_thin_local.svg,
914 pbds_priority_queue_text_modify_up_timing_test_local.pdf,
915 pbds_priority_queue_text_modify_up_timing_test_local.png,
916 pbds_priority_queue_text_modify_up_timing_test_local.svg,
917 pbds_priority_queue_text_modify_up_timing_test_pairing_thin_local.pdf,
918 pbds_priority_queue_text_modify_up_timing_test_pairing_thin_local.png,
919 pbds_priority_queue_text_modify_up_timing_test_pairing_thin_local.svg,
920 pbds_priority_queue_text_pop_mem_usage_test_local.pdf,
921 pbds_priority_queue_text_pop_mem_usage_test_local.png,
922 pbds_priority_queue_text_pop_mem_usage_test_local.svg,
923 pbds_priority_queue_text_push_pop_timing_test_local.pdf,
924 pbds_priority_queue_text_push_pop_timing_test_local.png,
925 pbds_priority_queue_text_push_pop_timing_test_local.svg,
926 pbds_priority_queue_text_push_timing_test_local.pdf,
927 pbds_priority_queue_text_push_timing_test_local.png,
928 pbds_priority_queue_text_push_timing_test_local.svg,
929 pbds_rationale_null_node_updator.png,
930 pbds_resize_policy_cd.png, pbds_restoring_node_invariants.png,
931 pbds_simple_list.png,
932 pbds_text_find_timing_test_hash_local.pdf,
933 pbds_text_find_timing_test_hash_local.png,
934 pbds_text_find_timing_test_hash_local.svg,
935 pbds_text_find_timing_test_tree_like_local.pdf,
936 pbds_text_find_timing_test_tree_like_local.png,
937 pbds_text_find_timing_test_tree_like_local.svg,
938 pbds_tree_node_invalidations.png,
939 pbds_tree_node_invariants.png,
940 pbds_tree_node_updator_policy_cd.png,
941 pbds_tree_order_statistics_timing_test_local.pdf,
942 pbds_tree_order_statistics_timing_test_local.png,
943 pbds_tree_order_statistics_timing_test_local.svg,
944 pbds_tree_split_join_timing_test_local.pdf,
945 pbds_tree_split_join_timing_test_local.png,
946 pbds_tree_split_join_timing_test_local.svg,
947 pbds_tree_text_insert_timing_test_node_tree_local.pdf,
948 pbds_tree_text_insert_timing_test_node_tree_local.png,
949 pbds_tree_text_insert_timing_test_node_tree_local.svg,
950 pbds_tree_text_insert_timing_test_pat_trie_local.pdf,
951 pbds_tree_text_insert_timing_test_pat_trie_local.png,
952 pbds_tree_text_insert_timing_test_pat_trie_local.svg,
953 pbds_tree_text_insert_timing_test_vector_tree_local.pdf,
954 pbds_tree_text_insert_timing_test_vector_tree_local.png,
955 pbds_tree_text_insert_timing_test_vector_tree_local.svg,
956 pbds_tree_text_lor_find_timing_test_local.pdf,
957 pbds_tree_text_lor_find_timing_test_local.png,
958 pbds_tree_text_lor_find_timing_test_local.svg,
959 pbds_trie_node_updator_policy_cd.png,
960 pbds_update_seq_diagram.png): Add.
962 * doc/html/ext/pb_ds: Remove.
963 * doc/html/ext/pb_ds/(acks.html, assoc_container_tag_cd.png,
964 assoc_container_tag_cd.svg, assoc_container_traits.html,
965 assoc_design.html, assoc_examples.html,
966 associative_container_tag.html, assoc_performance_tests.html,
967 assoc_regression_tests.html, assoc_tests.html,
968 balls_and_bins.png, basic_hash_table.html,
969 basic_hash_tag.html, basic_invalidation_guarantee.html,
970 basic_tree_assoc_container_const_node_iterator.html,
971 basic_tree.html, basic_tree_tag.html, binary_heap_tag.html,
972 binary_priority_queue_random_int_push_timing_test_gcc.png,
973 binary_priority_queue_random_int_push_timing_test_local.png,
974 binary_priority_queue_random_int_push_timing_test_msvc.png,
975 binomial_heap_tag.html,
976 ccgp_hash_random_int_subscript_timing_test_insert_gcc.png,
977 ccgp_hash_random_int_subscript_timing_test_insert_local.png,
978 ccgp_hash_random_int_subscript_timing_test_insert_msvc.png,
979 cc_hash_max_collision_check_resize_trigger.html,
980 cc_hash_random_int_find_timing_test_gcc.png,
981 cc_hash_random_int_find_timing_test_local.png,
982 cc_hash_random_int_find_timing_test_msvc.png,
983 cc_hash_random_int_subscript_timing_test_find_gcc.png,
984 cc_hash_random_int_subscript_timing_test_find_local.png,
985 cc_hash_random_int_subscript_timing_test_find_msvc.png,
986 cc_hash_random_int_subscript_timing_test_insert_gcc.png,
987 cc_hash_random_int_subscript_timing_test_insert_local.png,
988 cc_hash_random_int_subscript_timing_test_insert_msvc.png,
989 cc_hash_table.html, cc_hash_tag.html, checked_by_tidy.gif
990 concepts.html, contact.html, container_base.html,
991 container_cd.png, container_cd.svg, container_tag.html,
992 counter_lu_policy.html, design.html,
993 different_underlying_dss.png, direct_mask_range_hashing.html,
994 direct_mod_range_hashing.html, disclaimer.html, ds_gen.html,
995 embedded_lists_1.png, embedded_lists_2.png,
996 embedded_lists_3.png, examples.html, exceptions.html,
997 gp_hash_random_int_find_timing_test_gcc.png,
998 gp_hash_random_int_find_timing_test_local.png,
999 gp_hash_random_int_find_timing_test_msvc.png,
1000 gp_hash_random_int_subscript_timing_test_find_gcc.png,
1001 gp_hash_random_int_subscript_timing_test_find_local.png,
1002 gp_hash_random_int_subscript_timing_test_find_msvc.png,
1003 gp_hash_random_int_subscript_timing_test_insert_gcc.png,
1004 gp_hash_random_int_subscript_timing_test_insert_local.png,
1005 gp_hash_random_int_subscript_timing_test_insert_msvc.png,
1006 gp_hash_table.html, gp_hash_tag.html,
1007 hash_based_containers.html, hash_exponential_size_policy.html,
1008 hash_load_check_resize_trigger.html, hash_policy_cd.png,
1009 hash_prime_size_policy.html,
1010 hash_random_int_erase_mem_usage_test_gcc.png,
1011 hash_random_int_erase_mem_usage_test.html,
1012 hash_random_int_erase_mem_usage_test_local.png,
1013 hash_random_int_erase_mem_usage_test_msvc.png,
1014 hash_random_int_find_find_timing_test.html,
1015 hash_random_int_subscript_find_timing_test.html,
1016 hash_random_int_subscript_insert_timing_test.html,
1017 hash_ranged_hash_range_hashing_fns.png,
1018 hash_range_hashing_seq_diagram2.png,
1019 hash_range_hashing_seq_diagram.png,
1020 hash_standard_resize_policy.html,
1021 hash_text_find_find_timing_test.html,
1022 hash_zlob_random_int_find_find_timing_test.html,
1023 hash_zlob_random_int_find_timing_test_gcc.png,
1024 hash_zlob_random_int_find_timing_test_local.png,
1025 hash_zlob_random_int_find_timing_test_msvc.png, index.html,
1026 insert_error.html, insert_resize_sequence_diagram1.png,
1027 insert_resize_sequence_diagram2.png,
1028 insert_resize_sequence_diagram3.png, interface.html,
1029 introduction.html, invalidation_guarantee_cd.png,
1030 invalidation_guarantee_erase.png, join_error.html,
1031 linear_probe_fn.html, list_update.html, list_update_tag.html,
1032 lu_based_containers.html, lu.png, misc.html, motivation.html,
1033 move_to_front_lu_policy.html,
1034 multimap_text_find_timing_test_large.html,
1035 multimap_text_find_timing_test_large_s2p_hash_gcc.png,
1036 multimap_text_find_timing_test_large_s2p_hash_local.png,
1037 multimap_text_find_timing_test_large_s2p_hash_msvc.png,
1038 multimap_text_find_timing_test_large_s2p_tree_gcc.png,
1039 multimap_text_find_timing_test_large_s2p_tree_local.png,
1040 multimap_text_find_timing_test_large_s2p_tree_msvc.png,
1041 multimap_text_find_timing_test_small.html,
1042 multimap_text_find_timing_test_small_s2p_hash_gcc.png,
1043 multimap_text_find_timing_test_small_s2p_hash_local.png,
1044 multimap_text_find_timing_test_small_s2p_hash_msvc.png,
1045 multimap_text_find_timing_test_small_s2p_tree_gcc.png,
1046 multimap_text_find_timing_test_small_s2p_tree_local.png,
1047 multimap_text_find_timing_test_small_s2p_tree_msvc.png,
1048 multimap_text_insert_mem_usage_test_large.html,
1049 multimap_text_insert_mem_usage_test_large_s2p_hash_gcc.png,
1050 multimap_text_insert_mem_usage_test_large_s2p_hash_local.png,
1051 multimap_text_insert_mem_usage_test_large_s2p_hash_msvc.png,
1052 multimap_text_insert_mem_usage_test_large_s2p_tree_gcc.png,
1053 multimap_text_insert_mem_usage_test_large_s2p_tree_local.png,
1054 multimap_text_insert_mem_usage_test_large_s2p_tree_msvc.png,
1055 multimap_text_insert_mem_usage_test_small.html,
1056 multimap_text_insert_mem_usage_test_small_s2p_hash_gcc.png,
1057 multimap_text_insert_mem_usage_test_small_s2p_hash_local.png,
1058 multimap_text_insert_mem_usage_test_small_s2p_hash_msvc.png,
1059 multimap_text_insert_mem_usage_test_small_s2p_tree_gcc.png,
1060 multimap_text_insert_mem_usage_test_small_s2p_tree_local.png,
1061 multimap_text_insert_mem_usage_test_small_s2p_tree_msvc.png,
1062 multimap_text_insert_timing_test_large.html,
1063 multimap_text_insert_timing_test_large_s2p_hash_gcc.png,
1064 multimap_text_insert_timing_test_large_s2p_hash_local.png,
1065 multimap_text_insert_timing_test_large_s2p_hash_msvc.png,
1066 multimap_text_insert_timing_test_large_s2p_tree_gcc.png,
1067 multimap_text_insert_timing_test_large_s2p_tree_local.png,
1068 multimap_text_insert_timing_test_large_s2p_tree_msvc.png,
1069 multimap_text_insert_timing_test_small.html,
1070 multimap_text_insert_timing_test_small_s2p_hash_gcc.png,
1071 multimap_text_insert_timing_test_small_s2p_hash_local.png,
1072 multimap_text_insert_timing_test_small_s2p_hash_msvc.png,
1073 multimap_text_insert_timing_test_small_s2p_tree_gcc.png,
1074 multimap_text_insert_timing_test_small_s2p_tree_local.png,
1075 multimap_text_insert_timing_test_small_s2p_tree_msvc.png,
1076 node_invariant_invalidations.png, node_invariants.png,
1077 null_hash_fn.html, null_lu_metadata.html,
1078 null_mapped_type.html, null_probe_fn.html,
1079 null_tree_node_update.html, null_trie_node_update.html,
1080 ov_tree_tag.html, pairing_heap_tag.html,
1081 pairing_priority_queue_text_push_pop_timing_test_gcc.png,
1082 pairing_priority_queue_text_push_pop_timing_test_local.png,
1083 pairing_priority_queue_text_push_pop_timing_test_msvc.png,
1084 pairing_priority_queue_text_push_timing_test_gcc.png,
1085 pairing_priority_queue_text_push_timing_test_local.png,
1086 pairing_priority_queue_text_push_timing_test_msvc.png,
1087 pat_trie.png, pat_trie_tag.html,
1088 point_invalidation_guarantee.html, point_iterators_cd.png,
1089 point_iterators_range_ops_1.png,
1090 point_iterators_range_ops_2.png, pq_container_traits.html,
1091 pq_design.html, pq_different_underlying_dss.png,
1092 pq_examples.html, pq_performance_tests.html,
1093 pq_regression_tests.html, pq_tests.html, prerequisites.html,
1094 priority_queue.html,
1095 priority_queue_random_int_push_pop_timing_test_gcc.png,
1096 priority_queue_random_int_push_pop_timing_test.html,
1097 priority_queue_random_int_push_pop_timing_test_local.png,
1098 priority_queue_random_int_push_pop_timing_test_msvc.png,
1099 priority_queue_random_int_push_timing_test_gcc.png,
1100 priority_queue_random_int_push_timing_test.html,
1101 priority_queue_random_int_push_timing_test_local.png,
1102 priority_queue_random_int_push_timing_test_msvc.png,
1103 priority_queue_tag_cd.png, priority_queue_tag_cd.svg,
1104 priority_queue_tag.html,
1105 priority_queue_text_join_timing_test_gcc.png,
1106 priority_queue_text_join_timing_test.html,
1107 priority_queue_text_join_timing_test_local.png,
1108 priority_queue_text_join_timing_test_msvc.png,
1109 priority_queue_text_modify_down_timing_test_gcc.png,
1110 priority_queue_text_modify_down_timing_test.html,
1111 priority_queue_text_modify_down_timing_test_local.png,
1112 priority_queue_text_modify_down_timing_test_msvc.png,
1113 priority_queue_text_modify_down_timing_test_pairing_thin_gcc.png,
1114 priority_queue_text_modify_down_timing_test_pairing_thin_local.png,
1115 priority_queue_text_modify_down_timing_test_pairing_thin_msvc.png,
1116 priority_queue_text_modify_up_timing_test_gcc.png,
1117 priority_queue_text_modify_up_timing_test.html,
1118 priority_queue_text_modify_up_timing_test_local.png,
1119 priority_queue_text_modify_up_timing_test_msvc.png,
1120 priority_queue_text_modify_up_timing_test_pairing_thin_gcc.png,
1121 priority_queue_text_modify_up_timing_test_pairing_thin_local.png,
1122 priority_queue_text_modify_up_timing_test_pairing_thin_msvc.png,
1123 priority_queue_text_pop_mem_usage_test_gcc.png,
1124 priority_queue_text_pop_mem_usage_test.html,
1125 priority_queue_text_pop_mem_usage_test_local.png,
1126 priority_queue_text_pop_mem_usage_test_msvc.png,
1127 priority_queue_text_push_pop_timing_test_gcc.png,
1128 priority_queue_text_push_pop_timing_test.html,
1129 priority_queue_text_push_pop_timing_test_local.png,
1130 priority_queue_text_push_pop_timing_test_msvc.png,
1131 priority_queue_text_push_timing_test_gcc.png,
1132 priority_queue_text_push_timing_test.html,
1133 priority_queue_text_push_timing_test_local.png,
1134 priority_queue_text_push_timing_test_msvc.png,
1135 PythonPoweredSmall.gif quadratic_probe_fn.html,
1136 random_int_find_find_timing_test_tree_gcc.png,
1137 random_int_find_find_timing_test_tree_local.png,
1138 random_int_find_find_timing_test_tree_msvc.png,
1139 range_invalidation_guarantee.html,
1140 rationale_null_node_updator.png, rb_tree_tag.html,
1141 rc_binomial_heap_tag.html, references.html, resize_error.html,
1142 resize_policy_cd.png, restoring_node_invariants.png,
1143 sample_probe_fn.html, sample_ranged_hash_fn.html,
1144 sample_ranged_probe_fn.html, sample_range_hashing.html,
1145 sample_resize_policy.html, sample_resize_trigger.html,
1146 sample_size_policy.html, sample_tree_node_update.html,
1147 sample_trie_access_traits.html, sample_trie_node_update.html,
1148 sample_update_policy.html, simple_list.png,
1149 splay_tree_tag.html, tests.html,
1150 text_find_timing_test_hash_gcc.png,
1151 text_find_timing_test_hash_local.png,
1152 text_find_timing_test_hash_msvc.png,
1153 text_find_timing_test_tree_like_gcc.png,
1154 text_find_timing_test_tree_like_local.png,
1155 text_find_timing_test_tree_like_msvc.png, thin_heap_tag.html,
1156 tree_based_containers.html, tree.html,
1157 tree_node_iterator.html, tree_node_updator_policy_cd.png,
1158 tree_order_statistics_node_update.html,
1159 tree_order_statistics_timing_test_gcc.png,
1160 tree_order_statistics_timing_test.html,
1161 tree_order_statistics_timing_test_local.png,
1162 tree_order_statistics_timing_test_msvc.png,
1163 tree_random_int_find_find_timing_test.html,
1164 tree_split_join_timing_test_gcc.png,
1165 tree_split_join_timing_test.html,
1166 tree_split_join_timing_test_local.png,
1167 tree_split_join_timing_test_msvc.png, tree_tag.html,
1168 tree_text_find_find_timing_test.html,
1169 tree_text_insert_timing_test.html,
1170 tree_text_insert_timing_test_node_tree_gcc.png,
1171 tree_text_insert_timing_test_node_tree_local.png,
1172 tree_text_insert_timing_test_node_tree_msvc.png,
1173 tree_text_insert_timing_test_pat_trie_gcc.png,
1174 tree_text_insert_timing_test_pat_trie_local.png,
1175 tree_text_insert_timing_test_pat_trie_msvc.png,
1176 tree_text_insert_timing_test_vector_tree_gcc.png,
1177 tree_text_insert_timing_test_vector_tree_local.png,
1178 tree_text_insert_timing_test_vector_tree_msvc.png,
1179 tree_text_lor_find_find_timing_test.html,
1180 tree_text_lor_find_timing_test_gcc.png,
1181 tree_text_lor_find_timing_test_local.png,
1182 tree_text_lor_find_timing_test_msvc.png,
1183 trie_based_containers.html, trie_const_node_iterator.html,
1184 trie.html, trie_node_iterator.html,
1185 trie_node_updator_policy_cd.png,
1186 trie_order_statistics_node_update.html,
1187 trie_prefix_search_node_update.html,
1188 trie_string_access_traits.html, trie_tag.html,
1189 trivial_iterator_tag.html, tutorial.html,
1190 update_policy_cd.png, update_seq_diagram.png): Remove.
1192 2011-07-27 Paolo Carlini <paolo.carlini@oracle.com>
1195 * include/c_global/cmath: Use _GLIBCXX_CONSTEXPR and constexpr.
1197 2011-07-27 Jeffrey Yasskin <jyasskin@google.com>
1199 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Updated.
1201 2011-07-25 Benjamin Kosnik <bkoz@redhat.com>
1203 * include/std/array (at): Remove constexpr when -fno-exceptions.
1204 * testsuite/23_containers/array/at_neg.cc: Test.
1206 2011-07-25 Paolo Carlini <paolo.carlini@oracle.com>
1207 Nathan Ridge <zeratul976@hotmail.com>
1210 * include/bits/stl_vector.h (vector<>::_M_emplace_back_aux):
1212 (vector<>::push_back(const value_type&)): Use it.
1213 * include/bits/vector.tcc: Define.
1214 (vector<>::emplace_back(_Args&&...)): Use it.
1215 * testsuite/util/testsuite_tr1.h (CopyConsOnlyType, MoveConsOnlyType):
1217 * testsuite/23_containers/vector/modifiers/push_back/49836.cc: New.
1218 * testsuite/23_containers/deque/modifiers/push_back/49836.cc:
1220 * testsuite/23_containers/deque/modifiers/push_front/49836.cc:
1222 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
1223 Adjust dg-error line number.
1224 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
1226 * testsuite/23_containers/vector/requirements/dr438/
1227 constructor_1_neg.cc: Likewise.
1228 * testsuite/23_containers/vector/requirements/dr438/
1229 constructor_2_neg.cc: Likewise.
1231 2011-07-24 Paolo Carlini <paolo.carlini@oracle.com>
1233 * include/bits/hashtable_policy.h (_Prime_rehash_policy::_M_next_bkt,
1234 _M_bkt_for_elements, _M_need_rehash): Fix typos in the last commit.
1236 2011-07-24 François Dumont <francois.cppdevs@free.fr>
1238 * include/bits/hashtable_policy.h (_Prime_rehash_policy): Use
1239 __builtin_floor rather than __builtin_ceil to compute next resize
1241 * testsuite/23_containers/unordered_set/hash_policy/load_factor.cc:
1244 2011-07-22 Benjamin Kosnik <bkoz@redhat.com>
1245 Daniel Krugler <daniel.kruegler@googlemail.com>
1247 * include/bits/move.h (move, forward): Mark constexpr.
1248 * include/bits/stl_pair.h (pair): Mark move ctors constexpr.
1249 * testsuite/20_util/pair/make_pair/constexpr.cc: New.
1250 * testsuite/20_util/pair/cons/constexpr.cc: Add tests.
1252 2011-07-22 Ian Lance Taylor <iant@google.com>
1254 * fragment.am (CONFIG_CXXFLAGS): Add -frandom-seed.
1255 * Makefile.in: Rebuild.
1256 * doc/Makefile.in: Rebuild.
1257 * include/Makefile.in: Rebuild.
1258 * libsupc++/Makefile.in: Rebuild.
1259 * po/Makefile.in: Rebuild.
1260 * python/Makefile.in: Rebuild.
1261 * src/Makefile.in: Rebuild.
1262 * testsuite/Makefile.in: Rebuild.
1264 2011-07-21 Benjamin Kosnik <bkoz@redhat.com>
1266 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Move...
1267 * testsuite/ext/pb_ds/regression/tree_set_rand.cc: ... here.
1268 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand_debug.cc: Move...
1269 * testsuite/ext/pb_ds/regression/tree_set_rand_debug.cc: ... here.
1270 * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Move...
1271 * testsuite/ext/pb_ds/regression/tree_map_rand.cc: ... here.
1272 * testsuite/ext/pb_ds/regression/tree_data_map_rand_debug.cc: Move...
1273 * testsuite/ext/pb_ds/regression/tree_map_rand_debug.cc: ... here.
1275 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Move...
1276 * testsuite/ext/pb_ds/regression/trie_set_rand.cc: ... here.
1277 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand_debug.cc: Move...
1278 * testsuite/ext/pb_ds/regression/trie_set_rand_debug.cc: ... here.
1279 * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Move...
1280 * testsuite/ext/pb_ds/regression/trie_map_rand.cc: ... here.
1281 * testsuite/ext/pb_ds/regression/trie_data_map_rand_debug.cc: Move...
1282 * testsuite/ext/pb_ds/regression/trie_map_rand_debug.cc: ... here.
1284 * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand.cc: Move.
1285 * testsuite/ext/pb_ds/regression/list_update_set_rand.cc: ...here.
1286 * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand_debug.cc:
1288 * testsuite/ext/pb_ds/regression/list_update_set_rand_debug.cc: ...here.
1289 * testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc: Move...
1290 * testsuite/ext/pb_ds/regression/list_update_map_rand.cc: ...here.
1291 * testsuite/ext/pb_ds/regression/list_update_data_map_rand_debug.cc:
1293 * testsuite/ext/pb_ds/regression/list_update_map_rand_debug.cc: ...here.
1295 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Move...
1296 * testsuite/ext/pb_ds/regression/hash_set_rand.cc: ...here.
1297 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand_debug.cc: Move...
1298 * testsuite/ext/pb_ds/regression/hash_set_rand_debug.cc: ...here.
1300 * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Move...
1301 * testsuite/ext/pb_ds/regression/hash_map_rand.cc: ...here.
1302 * testsuite/ext/pb_ds/regression/hash_data_map_rand_debug.cc: Move...
1303 * testsuite/ext/pb_ds/regression/hash_map_rand_debug.cc: ...here.
1305 2011-07-21 François Dumont <francois.cppdevs@free.fr>
1307 * include/debug/safe_unordered_sequence.h,
1308 safe_unordered_sequence.tcc: Rename respectively in...
1309 * include/debug/safe_unordered_container.h,
1310 safe_unordered_container.tcc: ...those. _Safe_unordered_sequence
1311 rename _Safe_unordered_container.
1312 * include/debug/safe_unordered_base.h: _Safe_unordered_sequence_base
1313 rename _Safe_unordered_container_base.
1314 * include/debug/unordered_map, unordered_set: Adapt to previous
1316 * config/abi/pre/gnu.ver: Likewise.
1317 * src/debug.cc: Likewise.
1318 * include/Makefile.am: Likewise.
1319 * include/Makefile.in: Regenerate.
1321 2011-07-21 Paolo Carlini <paolo.carlini@oracle.com>
1323 * include/std/mutex (timed_mutex, recursive_timed_mutex): Update
1324 to use steady_clock instead of monotonic_clock.
1325 * config/abi/pre/gnu.ver: Export steady_clock::now.
1327 2011-07-20 Benjamin Kosnik <bkoz@redhat.com>
1328 Daniel Krugler <daniel.kruegler@googlemail.com>
1330 * include/std/array (array::at, array::operator[]): Mark constexpr.
1331 * testsuite/23_containers/array/requirements/
1332 constexpr_element_access.cc: Add.
1334 2011-07-20 Benjamin Kosnik <bkoz@redhat.com>
1335 Daniel Krugler <daniel.kruegler@googlemail.com>
1337 * include/std/chrono: (system_clock::is_steady): Update to N3291
1339 (time_point): Mark nonmember arithmetic operators constexpr.
1340 * src/chrono.cc: Modify for above.
1341 * src/compatibility-c++0x.cc: Same.
1342 * testsuite/20_util/time_point/nonmember/constexpr.cc: New.
1343 * testsuite/20_util/time_point/1.cc: Modify.
1344 * testsuite/20_util/system_clock/constexpr_data.cc: Modify.
1345 * testsuite/20_util/system_clock/1.cc: Modify.
1346 * testsuite/20_util/monotonic_clock/constexpr_data.cc: Move to...
1347 * testsuite/20_util/steady_clock/constexpr_data.cc: ...here.
1348 * testsuite/30_threads/condition_variable/members/2.cc: Modify.
1349 * testsuite/30_threads/condition_variable_any/members/2.cc: Modify.
1351 2011-07-20 Paolo Carlini <paolo.carlini@oracle.com>
1353 * include/std/system_error: Use noexcept.
1354 * src/system_error.cc: Likewise.
1355 * testsuite/19_diagnostics/error_condition/modifiers/39881.cc: Adjust.
1356 * testsuite/19_diagnostics/error_condition/cons/39881.cc: Likewise.
1357 * testsuite/19_diagnostics/error_code/modifiers/39882.cc: Likewise.
1358 * testsuite/19_diagnostics/error_code/cons/39882.cc: Likewise.
1359 * testsuite/util/testsuite_error.h: Likewise.
1361 * include/std/system_error (error_code::error_code(_ErrorCodeEnum)):
1362 Use enable_if on template parameter default.
1363 (error_condition::error_condition(_ErrorConditionEnum)): Likewise.
1365 2011-07-20 Ed Smith-Rowland <3dw4rd@verizon.net>
1367 * include/precompiled/stdc++.h: Add scoped_allocator.
1369 2011-07-20 Benjamin Kosnik <bkoz@redhat.com>
1371 * include/std/bitset (operator[]): Make constexpr.
1372 * testsuite/23_containers/bitset/operations/constexpr.cc: New.
1374 2011-07-20 Paolo Carlini <paolo.carlini@oracle.com>
1376 * include/debug/safe_local_iterator.h (_Safe_local_iterator<>::
1377 _Safe_local_iterator(const _Iterator&, size_type, const _Sequence*)):
1380 2011-07-19 François Dumont <francois.cppdevs@free.fr>
1382 * include/debug/safe_unordered_base.h, safe_unordered_sequence.h,
1383 safe_unordered_sequence.tcc, safe_local_iterator.h,
1384 safe_local_iterator.tcc: New, support for unordered sequence safe
1386 * include/Makefile.am: Add previous files.
1387 * include/Makefile.in: Regenerate.
1388 * include/debug/unordered_map, unordered_set: Implement
1389 _Safe_unordered_sequence and expose _Safe_local_iterator.
1390 * include/debug/safe_iterator.h, safe_iterator.tcc: Refactor
1391 _Safe_iterator::_M_get_distance static method to expose it as
1392 __get_distance function and use it in _Safe_local_iterator type.
1393 * include/debug/formatter.h: Add __msg_local_iter_compare_bad
1394 _Debug_msg_id enum entry to notify invalid comparison between local
1395 iterators from different buckets. Add _Parameter constructor from
1396 _Safe_local_iterator.
1397 * include/debug/functions.h: Add __valid_range overload for
1398 _Safe_local_iterator.
1399 * src/debug.cc: Add _Safe_unordered_sequence_base and
1400 _Safe_local_iterator_base methods implementations.
1401 * config/abi/pre/gnu.ver: Add export of some
1402 _Safe_unordered_sequence_base and _Safe_local_iterator_base methods.
1403 * testsuite/util/debug/checks.h: Add use_invalid_iterator function to
1404 simulate use of a singular iterator.
1405 * testsuite/util/debug/unordered_checks.h: New, several functions
1406 to simulate classic invalid usage of unordered sequence local
1408 * testsuite/23_containers/unordered_map/debug/
1409 use_erased_local_iterator_neg.cc, invalid_local_iterator_range_neg.cc,
1410 use_invalid_local_iterator_neg.cc, use_invalid_iterator_neg.cc,
1411 invalid_local_iterator_compare_neg.cc: New.
1412 * testsuite/23_containers/unordered_multimap/debug/
1413 use_erased_local_iterator_neg.cc, invalid_local_iterator_range_neg.cc,
1414 use_invalid_local_iterator_neg.cc, use_invalid_iterator_neg.cc,
1415 invalid_local_iterator_compare_neg.cc: New.
1416 * testsuite/23_containers/unordered_set/debug/
1417 use_erased_local_iterator_neg.cc, invalid_local_iterator_range_neg.cc,
1418 use_invalid_local_iterator_neg.cc, use_invalid_iterator_neg.cc,
1419 invalid_local_iterator_compare_neg.cc: New.
1420 * testsuite/23_containers/unordered_multiset/debug/
1421 use_erased_local_iterator_neg.cc, invalid_local_iterator_range_neg.cc,
1422 use_invalid_local_iterator_neg.cc, use_invalid_iterator_neg.cc,
1423 invalid_local_iterator_compare_neg.cc: New.
1425 2011-07-18 Paolo Carlini <paolo.carlini@oracle.com>
1428 * include/bits/shared_ptr.h (struct hash<shared_ptr<>>): Use
1430 * include/bits/unique_ptr.h (struct hash<unique_ptr<>>): Likewise.
1432 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1434 * crossconfig.m4 (*-netware): Remove.
1435 * configure: Regenerate.
1437 2011-07-15 Yufeng Zhang <yufeng.zhang@arm.com>
1439 * config/locale/newlib/ctype_members.cc: New file.
1440 * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Add a new C locale
1441 kind: newlib. Configure to use the newlib specific
1442 ctype_members.cc when with_newlib is enabled.
1443 * configure: Regenerate.
1445 2011-07-15 Paolo Carlini <paolo.carlini@oracle.com>
1446 Jakub Jelinek <jakub@redhat.com>
1449 * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Check separately for
1450 _POSIX_TIMEOUTS and define _GTHREADS_USE_MUTEX_TIMEDLOCK.
1451 * libsupc++/guard.cc: Include <unistd.h>.
1452 * testsuite/17_intro/headers/c++1998/49745.cc: New.
1453 * configure: Regenerate.
1454 * config.h.in: Likewise.
1456 2011-07-11 Paolo Carlini <paolo.carlini@oracle.com>
1459 * include/bits/stl_algo.h (__move_merge_backward): Remove.
1460 (__move_merge_adaptive, __move_merge_adaptive_backward): New.
1461 (__merge_adaptive): Use the latter two.
1462 (__rotate_adaptive): Avoid self move-assignment.
1463 * include/bits/stl_algobase.h (move_backward): Fix comment.
1464 * testsuite/25_algorithms/stable_sort/49559.cc: New.
1465 * testsuite/25_algorithms/inplace_merge/49559.cc: Likewise.
1466 * testsuite/25_algorithms/inplace_merge/moveable.cc: Extend.
1467 * testsuite/25_algorithms/inplace_merge/moveable2.cc: Likewise.
1468 * testsuite/util/testsuite_rvalref.h (rvalstruct::operator=
1469 (rvalstruct&&)): Check for self move-assignment.
1471 2011-07-11 Paolo Carlini <paolo.carlini@oracle.com>
1473 * testsuite/util/testsuite_allocator.h (propagating_allocator<>::
1474 operator=(const propagating_allocator<>&)): Retun *this.
1476 2011-07-09 Jonathan Wakely <jwakely.gcc@gmail.com>
1478 * include/Makefile.am: Add new header.
1479 * include/Makefile.in: Regenerate.
1480 * include/std/scoped_allocator: New.
1481 * doc/xml/manual/status_cxx200x.xml: Update.
1482 * testsuite/20_util/scoped_allocator/1.cc: New.
1483 * testsuite/20_util/scoped_allocator/propagation.cc: New.
1484 * testsuite/20_util/scoped_allocator/requirements/typedefs.cc: New.
1485 * testsuite/20_util/scoped_allocator/requirements/
1486 explicit_instantiation.cc: New.
1488 2011-07-09 Jonathan Wakely <jwakely.gcc@gmail.com>
1490 * include/bits/stl_vector.h: Use new allocator model in C++0x mode.
1491 * include/bits/vector.tcc: Likewise.
1492 * testsuite/util/testsuite_allocator.h (propagating_allocator): Define.
1493 * testsuite/23_containers/vector/allocator/copy_assign.cc: New.
1494 * testsuite/23_containers/vector/allocator/noexcept.cc: New.
1495 * testsuite/23_containers/vector/allocator/copy.cc: New.
1496 * testsuite/23_containers/vector/allocator/swap.cc: New.
1497 * testsuite/23_containers/vector/allocator/move_assign.cc: New.
1498 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
1499 Adjust dg-error line numbers.
1500 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
1502 * testsuite/23_containers/vector/requirements/dr438/
1503 constructor_1_neg.cc: Likewise.
1504 * testsuite/23_containers/vector/requirements/dr438/
1505 constructor_2_neg.cc: Likewise.
1507 2011-07-09 Jonathan Wakely <jwakely.gcc@gmail.com>
1509 * include/ext/alloc_traits.h (__allocator_always_compares_equal): New
1510 trait, provide partial specializations for known allocators.
1511 (__alloc_traits::construct, __alloc_traits::destroy): Overload for
1512 non-standard pointer types.
1513 (__alloc_traits::_S_always_equal): New trait for use with noexcept.
1514 (__alloc_traits::_S_nothrow_move): Likewise.
1515 (__alloc_traits::_S_nothrow_swap): Likewise.
1517 2011-07-09 Jonathan Wakely <jwakely.gcc@gmail.com>
1519 * include/ext/cast.h: Fix typo in include guard.
1520 * include/ext/pointer.h (_Unqualified_type): Remove redundant
1521 partial specializations for volatile types. Fix typos in comments.
1522 (pointer_traits<_Pointer_adaptor<Tp>>::pointer_to): Define.
1524 2011-07-09 Jonathan Wakely <jwakely.gcc@gmail.com>
1527 * include/std/functional (__bind_simple): Define.
1528 * include/std/future (_Task_setter): Parameterize by type of result
1529 pointer instead of state object.
1530 (_S_task_setter): Type deduction helper.
1531 (_Task_state): Use _S_task_setter and __bind_simple.
1532 (_Deferred_state, _Async_state): Store call wrapper directly not as
1533 std::function. Use _S_task_setter and __bind_simple.
1534 (_S_make_deferred_state, _S_make_async_state): Type deduction helpers.
1535 (async): Use new functions and __bind_simple.
1536 * include/std/mutex (call_once): Use __bind_simple.
1537 * include/std/thread (thread): Likewise. Remove unused headers.
1538 * src/thread.cc: Add header.
1539 * testsuite/30_threads/async/49668.cc: New.
1540 * testsuite/30_threads/call_once/49668.cc: New.
1541 * testsuite/30_threads/thread/cons/49668.cc: New.
1542 * testsuite/30_threads/thread/cons/moveable.cc: Remove unused bool.
1544 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1546 * configure.host (abi_baseline_subdir_switch): Describe.
1548 (*-*-solaris2.[89], *-*-solaris2.1[0-9]): Override.
1549 * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Substitute
1550 baseline_subdir_switch.
1551 * testsuite/Makefile.am (site.exp): Emit it.
1552 (baseline_subdir): Use it.
1553 * testsuite/libstdc++-abi/abi.exp: Use it.
1554 * configure: Regenerate.
1555 * Makefile.in: Regenerate.
1556 * doc/Makefile.in: Regenerate.
1557 * include/Makefile.in: Regenerate.
1558 * libsupc++/Makefile.in: Regenerate.
1559 * po/Makefile.in: Regenerate.
1560 * python/Makefile.in: Regenerate.
1561 * src/Makefile.in: Regenerate.
1562 * testsuite/Makefile.in: Regenerate.
1564 2011-06-29 François Dumont <francois.cppdevs@free.fr>
1566 * include/debug/set.h, unordered_map, multiset.h, forward_list,
1567 unordered_set, vector, deque, string, list, multimap.h: Remove
1568 base class default constructor calls.
1569 * include/debug/map.h: Likewise and cleanup several redefinition of
1570 base iterator typedef.
1572 2011-06-29 Nathan Sidwell <nathan@codesourcery.com>
1574 * libsupc++/eh_arm.c (__cxa_type_match): Construct address of
1575 thrown object here. Return succeded_with_ptr_to_base for all
1578 2011-06-23 Jonathan Wakely <jwakely.gcc@gmail.com>
1580 * testsuite/tr1/6_containers/tuple/creation_functions/tie2.cc: Fix for
1582 * testsuite/25_algorithms/sort/35588.cc: Likewise.
1583 * testsuite/26_numerics/headers/complex/synopsis.cc: Likewise.
1585 2011-06-22 Jonathan Wakely <jwakely.gcc@gmail.com>
1587 * testsuite/20_util/bind/socket.cc: Use variable and remove attribute.
1589 2011-06-22 Paolo Carlini <paolo.carlini@oracle.com>
1591 * include/ext/pb_ds/detail/pat_trie_/pat_trie_base.hpp: Avoid -Wall
1594 2011-06-22 Paolo Carlini <paolo.carlini@oracle.com>
1596 * testsuite/20_util/reference_wrapper/invoke.cc: Avoid -Wall warnings.
1597 * testsuite/20_util/reference_wrapper/typedefs-3.cc: Likewise.
1598 * testsuite/20_util/reference_wrapper/invoke-2.cc: Likewise.
1599 * testsuite/20_util/allocator_traits/members/allocate_hint.cc:
1601 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Likewise.
1602 * testsuite/20_util/bind/socket.cc: Likewise.
1603 * testsuite/20_util/pointer_traits/pointer_to.cc: Likewise.
1604 * testsuite/util/testsuite_random.h: Likewise.
1606 2011-06-22 Jonathan Wakely <jwakely.gcc@gmail.com>
1608 * include/Makefile.am: Add alloc_traits.h headers.
1609 * include/Makefile.in: Regenerate.
1610 * include/std/memory: Include uses_allocator.h explicitly.
1611 * include/bits/allocator.h (allocator_traits): Move to ...
1612 * include/bits/alloc_traits.h: New header.
1613 * include/ext/alloc_traits.h (__alloc_traits): Extension to provide
1614 a common allocator interface for C++98 and C++0x.
1615 * include/bits/stl_construct.h: Use __alloc_traits.
1616 * include/bits/stl_uninitialized.h: Likewise.
1618 2011-06-22 Daniel Krugler <daniel.kruegler@googlemail.com>
1619 Paolo Carlini <paolo.carlini@oracle.com>
1621 * include/bits/move.h (__is_nothrow_swappable): Add.
1622 (swap(_Tp(&)[_Nm], _Tp(&)[_Nm])): Use noexcept.
1623 * include/bits/algorithmfwd.h: Adjust.
1624 * testsuite/25_algorithms/swap/noexcept.cc: New.
1626 2011-06-21 Jakub Jelinek <jakub@redhat.com>
1628 * testsuite/Makefile.am (check_DEJAGNU_normal_targets): Add
1629 check-DEJAGNUnormal[4-9].
1630 (check-DEJAGNU): Split into 10 jobs for parallel testing instead of 4.
1631 * testsuite/Makefile.in: Regenerated.
1633 2011-06-20 Daniel Krugler <daniel.kruegler@googlemail.com>
1634 Paolo Carlini <paolo.carlini@oracle.com>
1636 * include/std/tuple (__conv_types, __one_by_one_convertible,
1637 __all_convertible): Add.
1638 (tuple): Use the latter.
1639 (tuple<_T1>): Remove.
1640 * testsuite/20_util/uses_allocator/cons_neg.cc: Adjust dg-error
1642 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
1644 2011-06-14 Jonathan Wakely <jwakely.gcc@gmail.com>
1646 * include/bits/ptr_traits.h (pointer_traits<T*>::pointer_to): Use
1649 2011-06-14 Paolo Carlini <paolo.carlini@oracle.com>
1651 * include/std/valarray (~valarray): Use noexcept.
1652 * include/bits/unique_ptr.h (~unique_ptr): Likewise.
1653 * testsuite/26_numerics/valarray/noexcept_move_construct.cc: New.
1654 * testsuite/20_util/shared_ptr/cons/noexcept_move_construct.cc:
1656 * testsuite/20_util/unique_ptr/cons/noexcept_move_construct.cc:
1658 * testsuite/20_util/weak_ptr/cons/noexcept_move_construct.cc:
1661 2011-06-14 Paolo Carlini <paolo.carlini@oracle.com>
1663 * include/std/functional: Use noexcept.
1664 * include/bits/stl_tempbuf.h: Likewise.
1666 2011-06-12 François Dumont <francois.cppdevs@free.fr>
1667 Paolo Carlini <paolo.carlini@oracle.com>
1669 * include/bits/allocator.h (__shrink_to_fit): Rename to
1670 __shrink_to_fit_aux, fix.
1671 * include/bits/stl_vector.h (_M_shrink_to_fit): Declare.
1672 (shrink_to_fit): Use the latter.
1673 * include/debug/vector (shrink_to_fit): Likewise.
1674 * include/bits/vector.tcc (_M_shrink_to_fit): Define.
1675 * include/bits/stl_deque.h (_M_shrink_to_fit): Declare.
1676 (shrink_to_fit): Use the latter.
1677 * include/debug/deque (shrink_to_fit): Likewise.
1678 * include/bits/deque.tcc (_M_shrink_to_fit): Define.
1679 * include/bits/vector.tcc (vector<bool>::_M_reallocate): Add.
1680 * include/bits/stl_bvector.h (_M_shrink_to_fit): Declare.
1681 (shrink_to_fit): Use the latter.
1682 (reserve): Use _M_reallocate, move inline.
1683 (_Bvector_base<>::_S_nword): Add, use it throughout.
1684 * include/debug/string (shrink_to_fit): Redo.
1685 * include/ext/vstring.h (shrink_to_fit): Optimize.
1686 * include/bits/basic_string.h (shrink_to_fit): Likewise.
1687 * testsuite/21_strings/debug/shrink_to_fit.cc: New.
1688 * testsuite/23_containers/vector/debug/shrink_to_fit.cc: Likewise.
1689 * testsuite/23_containers/vector/debug/bool/shrink_to_fit.cc:
1691 * testsuite/23_containers/vector/bool/capacity/shrink_to_fit.cc:
1693 * testsuite/23_containers/deque/debug/shrink_to_fit.cc: Likewise.
1695 2011-06-11 Jonathan Wakely <jwakely.gcc@gmail.com>
1697 * include/ext/extptr_allocator.h (construct, destroy): Fix for C++0x
1698 mode by overloading to take allocator's pointer type.
1699 * testsuite/23_containers/vector/ext_pointer/types/2.cc: New.
1700 * testsuite/23_containers/vector/ext_pointer/explicit_instantiation/
1703 2011-06-11 Jonathan Wakely <jwakely.gcc@gmail.com>
1705 * testsuite/20_util/allocator_traits/requirements/
1706 explicit_instantiation.cc: Add another instantiation.
1708 2011-06-11 Jonathan Wakely <jwakely.gcc@gmail.com>
1710 * testsuite/20_util/allocator_traits/requirements/typedefs.cc: Check
1711 for allocator_type and value_type.
1713 2011-06-11 Jonathan Wakely <jwakely.gcc@gmail.com>
1715 * testsuite/30_threads/packaged_task/uses_allocator.cc: New.
1716 * testsuite/30_threads/promise/uses_allocator.cc: Likewise.
1718 2011-06-10 Paolo Carlini <paolo.carlini@oracle.com>
1720 * include/ext/throw_allocator.h: Use noexcept.
1721 * include/ext/pool_allocator.h: Likewise.
1722 * include/ext/bitmap_allocator.h: Likewise.
1723 * include/ext/new_allocator.h: Likewise.
1724 * include/ext/malloc_allocator.h: Likewise.
1725 * include/ext/array_allocator.h: Likewise.
1726 * include/ext/mt_allocator.h: Likewise.
1727 * include/ext/extptr_allocator.h: Likewise.
1728 * testsuite/util/testsuite_allocator.h: Likewise; do not include
1729 <cassert> directly, include <testsuite_hooks.h> instead.
1731 2011-06-10 Benjamin Kosnik <bkoz@redhat.com>
1733 * include/ext/pb_ds/*: Doxygen markup redo.
1734 * include/Makefile.am: Fold in constructors_destructor_fn_imps.hpp.
1735 * include/Makefile.in: Regenerate.
1737 2011-06-10 Jason Merrill <jason@redhat.com>
1739 * testsuite/20_util/bind/ref_neg.cc: Remove wrong test lines.
1741 * testsuite/20_util/bind/ref_neg.cc: Remove dg-excess-errors,
1742 fix dg-error markup.
1744 2011-06-09 Jason Merrill <jason@redhat.com>
1746 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust.
1748 * testsuite/lib/prune.exp (libstdc++-dg-prune): Prune notes.
1749 * testsuite/20_util/duration/cons/1_neg.cc: Remove dg-excess-errors.
1750 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Likewise.
1751 * testsuite/20_util/forward/1_neg.cc: Likewise.
1752 * testsuite/20_util/function/cmp/cmp_neg.cc: Likewise.
1753 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Likewise.
1754 * testsuite/20_util/reference_wrapper/ref_neg.cc: Likewise.
1755 * testsuite/20_util/tuple/comparison_operators/35480_neg.cc: Likewise.
1756 * testsuite/tr1/6_containers/tuple/comparison_operators/35480_neg.cc:
1758 * testsuite/20_util/shared_ptr/assign/auto_ptr_neg.cc: Likewise.
1759 * testsuite/20_util/shared_ptr/cons/unique_ptr_neg.cc: Likewise.
1760 * testsuite/20_util/shared_ptr/assign/unique_ptr_lvalue_neg.cc:
1762 * testsuite/20_util/unique_ptr/cons/auto_ptr_neg.cc: Likewise.
1763 * testsuite/20_util/unique_ptr/cons/ptr_deleter_neg.cc: Likewise.
1764 * testsuite/tr1/2_general_utilities/shared_ptr/assign/auto_ptr_neg.cc:
1766 * testsuite/tr1/2_general_utilities/shared_ptr/assign/
1767 auto_ptr_rvalue_neg.cc: Likewise.
1768 * testsuite/tr1/2_general_utilities/shared_ptr/cons/auto_ptr_neg.cc:
1770 * testsuite/20_util/uses_allocator/cons_neg.cc: Likewise.
1771 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
1773 * testsuite/23_containers/deque/requirements/dr438/
1774 constructor_1_neg.cc: Likewise.
1775 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
1777 * testsuite/23_containers/forward_list/requirements/dr438/
1778 assign_neg.cc: Likewise.
1779 * testsuite/23_containers/forward_list/requirements/dr438/
1780 constructor_1_neg.cc: Likewise.
1781 * testsuite/23_containers/forward_list/requirements/dr438/
1782 constructor_2_neg.cc: Likewise.
1783 * testsuite/23_containers/forward_list/requirements/dr438/
1784 insert_neg.cc: Likewise.
1785 * testsuite/23_containers/list/requirements/dr438/
1786 assign_neg.cc: Likewise.
1787 * testsuite/23_containers/list/requirements/dr438/
1788 constructor_1_neg.cc: Likewise.
1789 * testsuite/23_containers/list/requirements/dr438/
1790 constructor_2_neg.cc: Likewise.
1791 * testsuite/23_containers/list/requirements/dr438/
1792 insert_neg.cc: Likewise.
1793 * testsuite/23_containers/vector/requirements/dr438/
1794 assign_neg.cc: Likewise.
1795 * testsuite/23_containers/vector/requirements/dr438/
1796 constructor_1_neg.cc: Likewise.
1797 * testsuite/23_containers/vector/requirements/dr438/
1798 constructor_2_neg.cc: Likewise.
1799 * testsuite/23_containers/vector/requirements/dr438/
1800 insert_neg.cc: Likewise.
1801 * testsuite/23_containers/map/operators/1_neg.cc: Likewise.
1802 * testsuite/29_atomics/atomic_integral/operators/
1803 bitwise_neg.cc: Likewise.
1804 * testsuite/decimal/mixed-mode-arith_neg.cc: Likewise.
1805 * testsuite/decimal/mixed-mode-cmp_neg.cc: Likewise.
1806 * testsuite/decimal/operator_neg.cc: Likewise.
1808 2011-06-09 Simon Baldwin <simonb@google.com>
1810 * scripts/extract_symvers.in: Handle processor/OS specific or
1811 unknown symbol binding strings from readelf.
1813 2011-06-09 Paolo Carlini <paolo.carlini@oracle.com>
1815 * include/std/type_traits (__is_copy_assignable_impl,
1816 __is_nt_copy_assignable_impl): Fix typo.
1818 2011-06-08 Paolo Carlini <paolo.carlini@oracle.com>
1820 * include/ext/extptr_allocator.h: Include <ext/numeric_traits.h>
1821 instead of <limits>.
1822 * include/bits/allocator.h: Likewise.
1824 * include/std/chrono (duration_values<>::min): Call lowest, not min.
1826 2011-06-08 Paolo Carlini <paolo.carlini@oracle.com>
1828 * include/bits/allocator.h (__shrink_to_fit): Simplify.
1829 * include/bits/stl_vector.h (vector<>::shrink_to_fit): Adjust.
1830 * include/bits/stl_deque.h: Likewise.
1831 * include/bits/stl_bvector.h: Likewise.
1833 2011-06-07 Jason Merrill <jason@redhat.com>
1835 * testsuite/lib/prune.exp: s/required/instantiated/.
1836 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
1837 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Likewise.
1838 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Likewise.
1839 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Likewise.
1840 * testsuite/20_util/forward/1_neg.cc: Likewise.
1841 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Likewise.
1842 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
1844 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Likewise.
1845 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Likewise.
1846 * testsuite/20_util/shared_ptr/assign/shared_ptr_neg.cc: Likewise.
1847 * testsuite/ext/ext_pointer/1_neg.cc: Likewise.
1848 * testsuite/ext/pb_ds/example/hash_resize_neg.cc: Likewise.
1849 * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Likewise.
1850 * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Likewise.
1851 * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Likewise.
1852 * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Likewise.
1853 * testsuite/tr1/2_general_utilities/shared_ptr/assign/
1854 shared_ptr_neg.cc: Likewise.
1856 2011-06-07 Paolo Carlini <paolo.carlini@oracle.com>
1858 * include/bits/move.h (struct __move_if_noexcept_cond): Add.
1859 (move_if_noexcept): Use the latter.
1860 * include/bits/stl_iterator.h (__make_move_if_noexcept_iterator,
1861 _GLIBCXX_MAKE_MOVE_IF_NOEXCEPT_ITERATOR): Add.
1862 * include/bits/stl_uninitialized.h
1863 (__uninitialized_move_if_noexcept_a): Add.
1864 * include/bits/vector.tcc (vector<>::reserve): Use
1865 _GLIBCXX_MAKE_MOVE_IF_NOEXCEPT_ITERATOR.
1866 (vector<>::_M_insert_aux, _M_fill_insert, _M_default_append,
1867 _M_range_insert): Use __uninitialized_move_if_noexcept_a.
1868 * testsuite/util/testsuite_rvalref.h (throwing_move_constructor):
1870 (copycounter::copycounter(copycounter&&)): Use noexcept.
1871 * testsuite/23_containers/vector/modifiers/moveable2.cc: New.
1872 * testsuite/23_containers/vector/capacity/resize/moveable2.cc:
1874 * testsuite/23_containers/vector/capacity/reserve/moveable2.cc:
1877 2011-06-07 Paolo Carlini <paolo.carlini@oracle.com>
1880 * testsuite/22_locale/time_get/get_weekday/char/38081-1.cc: Tweak
1882 * testsuite/22_locale/time_get/get_weekday/char/38081-2.cc: Likewise.
1884 2011-06-06 Paolo Carlini <paolo.carlini@oracle.com>
1886 * include/bits/move.h (move_if_noexcept): Use __and_ and __not_.
1888 2011-06-05 Jonathan Wakely <jwakely.gcc@gmail.com>
1890 * include/bits/ptr_traits.h (pointer_traits): Fix typos.
1891 * include/ext/pointer.h (pointer_traits): Add partial specialization
1892 for _Pointer_adapter.
1894 2011-06-04 Jonathan Wakely <jwakely.gcc@gmail.com>
1896 * testsuite/util/testsuite_allocator.h (tracker_allocator::construct):
1897 Update to C++0x definition using type to construct as template
1899 (tracker_allocator::destroy): Likewise for type to destroy.
1900 (uneq_allocator::construct, uneq_allocator::destroy): Likewise.
1902 2011-06-01 Paolo Carlini <paolo.carlini@oracle.com>
1904 * include/bits/hashtable.h (_Hashtable<>::_Hashtable(_Hashtable&&)):
1905 Use std::move on the allocator, use noexcept.
1906 (_Hashtable<>::~_Hashtable): Use noexcept.
1907 * include/bits/stl_list.h: Likewise.
1908 * include/bits/forward_list.h: Likewise.
1909 * include/bits/stl_vector.h: Likewise.
1910 * include/bits/stl_bvector.h: Likewise.
1911 * include/bits/stl_map.h (map<>::map(map&&)): Use noexcept.
1912 * include/bits/stl_set.h: Likewise.
1913 * include/bits/stl_multimap.h: Likewise.
1914 * include/bits/stl_multiset.h: Likewise.
1915 * include/bits/stl_tree.h (_Rb_tree<>::_Rb_tree(_Rb_tree&&)): Use
1916 std::move on the allocator.
1917 (_Rb_tree<>::~_Rb_tree): Use noexcept.
1918 * include/bits/stl_deque.h: Likewise.
1919 * include/bits/basic_string.h (basic_string<>::~basic_string): Use
1921 * include/ext/vstring.h (__versa_string<>::~__versa_string): Likewise.
1922 * include/debug/set.h: Adjust.
1923 * include/debug/unordered_map: Likewise.
1924 * include/debug/multiset.h: Likewise.
1925 * include/debug/forward_list: Likewise.
1926 * include/debug/vector: Likewise.
1927 * include/debug/unordered_set: Likewise.
1928 * include/debug/deque: Likewise.
1929 * include/debug/map.h: Likewise.
1930 * include/debug/string: Likewise.
1931 * include/debug/list: Likewise.
1932 * include/debug/multimap.h: Likewise.
1933 * include/profile/set.h: Likewise.
1934 * include/profile/unordered_map: Likewise.
1935 * include/profile/multiset.h: Likewise.
1936 * include/profile/forward_list: Likewise.
1937 * include/profile/unordered_set: Likewise.
1938 * include/profile/vector: Likewise.
1939 * include/profile/deque: Likewise.
1940 * include/profile/map.h: Likewise.
1941 * include/profile/list: Likewise.
1942 * include/profile/multimap.h: Likewise.
1943 * testsuite/21_strings/basic_string/cons/wchar_t/
1944 noexcept_move_construct.cc: New.
1945 * testsuite/21_strings/basic_string/cons/char/
1946 noexcept_move_construct.cc: Likewise.
1947 * testsuite/ext/vstring/cons/noexcept_move_construct.cc: Likewise.
1948 * testsuite/23_containers/unordered_map/cons/
1949 noexcept_move_construct.cc: Likewise.
1950 * testsuite/23_containers/multimap/cons/
1951 noexcept_move_construct.cc: Likewise.
1952 * testsuite/23_containers/set/cons/
1953 noexcept_move_construct.cc: Likewise.
1954 * testsuite/23_containers/unordered_multimap/cons/
1955 noexcept_move_construct.cc: Likewise.
1956 * testsuite/23_containers/forward_list/cons/
1957 noexcept_move_construct.cc: Likewise.
1958 * testsuite/23_containers/unordered_set/cons/
1959 noexcept_move_construct.cc: Likewise.
1960 * testsuite/23_containers/vector/bool/cons/
1961 noexcept_move_construct.cc: Likewise.
1962 * testsuite/23_containers/vector/cons/
1963 noexcept_move_construct.cc: Likewise.
1964 * testsuite/23_containers/multiset/cons/
1965 noexcept_move_construct.cc: Likewise.
1966 * testsuite/23_containers/list/cons/
1967 noexcept_move_construct.cc: Likewise.
1968 * testsuite/23_containers/unordered_multiset/cons/
1969 noexcept_move_construct.cc: Likewise.
1970 * testsuite/23_containers/map/cons/noexcept_move_construct.cc
1971 * testsuite/23_containers/forward_list/requirements/dr438/
1972 assign_neg.cc: Adjust dg-error line numbers.
1973 * testsuite/23_containers/forward_list/requirements/dr438/
1974 insert_neg.cc: Likewise.
1975 * testsuite/23_containers/forward_list/requirements/dr438/
1976 constructor_1_neg.cc: Likewise.
1977 * testsuite/23_containers/forward_list/requirements/dr438/
1978 constructor_2_neg.cc: Likewise.
1979 * testsuite/23_containers/vector/requirements/dr438/
1980 assign_neg.cc: Likewise.
1981 * testsuite/23_containers/vector/requirements/dr438/
1982 insert_neg.cc: Likewise.
1983 * testsuite/23_containers/vector/requirements/dr438/
1984 constructor_1_neg.cc: Likewise.
1985 * testsuite/23_containers/vector/requirements/dr438/
1986 constructor_2_neg.cc: Likewise.
1987 * testsuite/23_containers/deque/requirements/dr438/
1988 assign_neg.cc: Likewise.
1989 * testsuite/23_containers/deque/requirements/dr438/
1990 insert_neg.cc: Likewise.
1991 * testsuite/23_containers/deque/requirements/dr438/
1992 constructor_1_neg.cc: Likewise.
1993 * testsuite/23_containers/deque/requirements/dr438/
1994 constructor_2_neg.cc: Likewise.
1995 * testsuite/23_containers/list/requirements/dr438/
1996 assign_neg.cc: Likewise.
1997 * testsuite/23_containers/list/requirements/dr438/
1998 insert_neg.cc: Likewise.
1999 * testsuite/23_containers/list/requirements/dr438/
2000 constructor_1_neg.cc: Likewise.
2001 * testsuite/23_containers/list/requirements/dr438/
2002 constructor_2_neg.cc: Likewise.
2004 * include/bits/move.h (swap): Use __and_ in the noexcept.
2005 * include/bits/algorithmfwd.h: Adjust.
2007 2011-05-31 Paolo Carlini <paolo.carlini@oracle.com>
2009 * include/bits/basic_string.h: Use noexcept per the FDIS (minus
2010 compare(const string&), which uses char_traits::compare, which
2011 isn't noexcept; also no noexcept in the move assignment operator
2012 and move assign, see c++std-lib-30855).
2013 * include/bits/basic_string.tcc: Likewise.
2014 * include/ext/vstring.h: Likewise.
2015 * include/ext/vstring.tcc: Likewise.
2016 * include/debug/string: Likewise.
2018 2011-05-31 Jonathan Wakely <jwakely.gcc@gmail.com>
2020 * doc/xml/manual/status_cxx200x.xml: Update.
2021 * doc/html/*: Regenerate.
2023 2011-05-30 Paolo Carlini <paolo.carlini@oracle.com>
2025 * include/std/type_traits (__or_, __and_): Add trivial definitions
2026 for a single element.
2027 * include/bits/stl_pair.h: Use __and_ in noexcept specs and
2029 (pair<>::pair(pair&&)): Define.
2030 (pair<>::pair(const pair<>&)): Constrain with is_convertible.
2031 (pair<>::pair(pair<>&&)): Likewise, remove noexcept.
2032 * include/std/tuple: Use __and_ in noexcept specs and constraints.
2033 (_Tuple_impl<>::_Tuple_impl(allocator_arg_t, const _Alloc&,
2034 _Tuple_impl&&)): Remove noexcept.
2035 (tuple<>::tuple(_UElements&&...), tuple(const tuple<_UElements...>&),
2036 tuple(tuple<_UElements...>&&), tuple(const pair<_U1, _U2>&),
2037 tuple(pair<_U1, _U2>&&)): Constrain with is_convertible.
2038 * testsuite/20_util/tuple/moveable2.cc: Use = delete.
2039 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
2040 Adjust dg-error line numbers.
2041 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
2043 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
2044 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Likewise.
2045 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
2047 2011-05-31 Jonathan Wakely <jwakely.gcc@gmail.com>
2049 * include/std/tuple: Restore is_convertible constraint.
2050 * testsuite/20_util/tuple/cons/allocate_noncopyable.cc: Remove.
2052 2011-05-30 Paolo Carlini <paolo.carlini@oracle.com>
2055 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-warning
2058 2011-05-30 Jonathan Wakely <jwakely.gcc@gmail.com>
2060 * include/std/tuple: Implement uses-allocator construction.
2061 * include/bits/allocator.h (uses_allocator): Move to ...
2062 * include/bits/uses_allocator.h: New file.
2063 * include/Makefile.am: Add new header.
2064 * include/Makefile.in: Regenerate.
2065 * testsuite/20_util/uses_allocator/cons_neg.cc: New.
2066 * testsuite/20_util/uses_allocator/construction.cc: New.
2067 * testsuite/20_util/tuple/cons/allocate_noncopyable.cc: New.
2068 * testsuite/20_util/tuple/cons/allocators.cc: New.
2070 2011-05-28 Jonathan Wakely <jwakely.gcc@gmail.com>
2072 * testsuite/20_util/pointer_traits/pointer_to.cc: Fix.
2074 2011-05-28 Jonathan Wakely <jwakely.gcc@gmail.com>
2076 * acinclude.m4: Define GLIBCXX_CHECK_GET_NPROCS and
2077 GLIBCXX_CHECK_SC_NPROCESSORS_ONLN.
2078 * configure.ac: Use them. Increase minor version.
2079 * configure: Regenerate.
2080 * config.h.in: Regenerate.
2081 * include/std/thread (thread::hardware_concurrency): Remove inline
2083 * src/thread.cc (thread::hardware_concurrency): Define.
2084 * config/abi/pre/gnu.ver: Export new symbol @3.4.17
2085 * testsuite/util/testsuite_abi.cc: Add new version.
2086 * testsuite/lib/libstdc++.exp (check_v3_target_nprocs): Add.
2087 * testsuite/lib/dg-options.exp (dg-require-nprocs): Add.
2088 * testsuite/30_threads/thread/members/hardware_concurrency.cc: Use
2089 dg-require-nprocs and verify hardware_concurrency returns non-zero.
2091 2011-05-28 Jonathan Wakely <jwakely.gcc@gmail.com>
2093 * testsuite/20_util/pointer_traits/pointer_to.cc: New.
2095 2011-05-28 Jonathan Wakely <jwakely.gcc@gmail.com>
2097 * include/Makefile.am: Add new ptr_traits.h header.
2098 * include/Makefile.in: Regenerate.
2099 * include/bits/ptr_traits.h (pointer_traits): New.
2100 * include/bits/allocator.h (allocator_traits): Add.
2101 * include/ext/array_allocator.h (construct, destroy): Update C++0x
2103 * include/ext/bitmap_allocator.h (construct, destroy): Likewise.
2104 * include/ext/extptr_allocator.h (construct, destroy): Likewise.
2105 * include/ext/malloc_allocator.h (construct, destroy): Likewise.
2106 * include/ext/mt_allocator.h (construct, destroy): Likewise.
2107 * include/ext/new_allocator.h (construct, destroy): Likewise.
2108 * include/ext/pool_allocator.h (construct, destroy): Likewise.
2109 * include/ext/throw_allocator.h (construct, destroy): Likewise.
2110 * testsuite/20_util/allocator_traits/requirements/typedefs.cc: New.
2111 * testsuite/20_util/allocator_traits/requirements/
2112 explicit_instantiation.cc: New.
2113 * testsuite/20_util/allocator_traits/members/max_size.cc: New.
2114 * testsuite/20_util/allocator_traits/members/select.cc: New.
2115 * testsuite/20_util/allocator_traits/members/construct.cc: New.
2116 * testsuite/20_util/allocator_traits/members/allocate_hint.cc: New.
2117 * testsuite/20_util/allocator_traits/members/destroy.cc: New.
2118 * testsuite/20_util/pointer_traits/requirements/typedefs.cc: New.
2119 * testsuite/20_util/pointer_traits/requirements/
2120 explicit_instantiation.cc: New.
2122 2011-05-28 Jonathan Wakely <jwakely.gcc@gmail.com>
2124 * include/std/future (launch): Update enumerators and define
2125 operators required for bitmask type. Remove trailing whitespace.
2126 * src/future.cc: Remove trailing whitespace.
2127 * testsuite/30_threads/async/any.cc: Adjust.
2128 * testsuite/30_threads/async/sync.cc: Adjust.
2129 * testsuite/30_threads/async/launch.cc: New.
2131 2011-05-28 Jonathan Wakely <jwakely.gcc@gmail.com>
2133 * include/std/future: Use noexcept.
2134 * src/future.cc: Likewise.
2136 2011-05-27 Jonathan Wakely <jwakely.gcc@gmail.com>
2138 * include/std/thread (this_thread::sleep_until): Move after sleep_for.
2140 2011-05-27 Paolo Carlini <paolo.carlini@oracle.com>
2143 * include/parallel/losertree.h: Add missing using declarations
2145 * include/parallel/algobase.h: Include <parallel/algorithmfwd.h>.
2146 * include/parallel/multiway_merge.h: Include <parallel/
2147 multiseq_selection.h>, forward declare __merge_advance.
2148 * include/parallel/multiseq_selection.h: Don't include <parallel/
2150 * include/ext/pb_ds/detail/thin_heap_/erase_fn_imps.hpp: Fix
2151 qualification of upper_bound.
2153 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand_debug.cc:
2154 Use dg-require-debug-mode.
2155 * testsuite/ext/pb_ds/regression/tree_data_map_rand_debug.cc:
2157 * testsuite/ext/pb_ds/regression/priority_queue_rand_debug.cc:
2159 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand_debug.cc:
2161 * testsuite/ext/pb_ds/regression/trie_data_map_rand_debug.cc:
2163 * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand_debug.cc:
2165 * testsuite/ext/pb_ds/regression/list_update_data_map_rand_debug.cc:
2167 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand_debug.cc:
2169 * testsuite/ext/pb_ds/regression/hash_data_map_rand_debug.cc:
2172 * include/parallel/algo.h: Minor uglification fixes.
2174 2011-05-26 Paolo Carlini <paolo.carlini@oracle.com>
2176 * src/list.cc: Use noexcept per the FDIS.
2177 * src/compatibility-list-2.cc: Likewise.
2178 * include/debug/set.h: Likewise.
2179 * include/debug/unordered_map: Likewise.
2180 * include/debug/multiset.h: Likewise.
2181 * include/debug/forward_list: Likewise.
2182 * include/debug/unordered_set: Likewise.
2183 * include/debug/vector: Likewise.
2184 * include/debug/map.h: Likewise.
2185 * include/debug/deque: Likewise.
2186 * include/debug/list: Likewise.
2187 * include/debug/multimap.h: Likewise.
2188 * include/profile/set.h: Likewise.
2189 * include/profile/unordered_map: Likewise.
2190 * include/profile/multiset.h: Likewise.
2191 * include/profile/forward_list: Likewise.
2192 * include/profile/vector: Likewise.
2193 * include/profile/unordered_set: Likewise.
2194 * include/profile/map.h: Likewise.
2195 * include/profile/deque: Likewise.
2196 * include/profile/list: Likewise.
2197 * include/profile/multimap.h: Likewise.
2198 * include/bits/hashtable.h: Likewise.
2199 * include/bits/stl_list.h: Likewise.
2200 * include/bits/stl_map.h: Likewise.
2201 * include/bits/hashtable_policy.h: Likewise.
2202 * include/bits/stl_set.h: Likewise.
2203 * include/bits/forward_list.h: Likewise.
2204 * include/bits/stl_multimap.h: Likewise.
2205 * include/bits/stl_vector.h: Likewise.
2206 * include/bits/stl_deque.h: Likewise.
2207 * include/bits/stl_multiset.h: Likewise.
2208 * include/bits/stl_bvector.h: Likewise.
2209 * include/bits/stl_tree.h: Likewise.
2211 2011-05-25 Paolo Carlini <paolo.carlini@oracle.com>
2213 * include/bits/stl_queue.h: Use noexcept per the FDIS.
2214 * include/bits/stl_stack.h: Likewise.
2216 2011-05-25 Paolo Carlini <paolo.carlini@oracle.com>
2218 * config/abi/pre/gnu.ver: Correct last change, export instead
2219 at the existing @3.4.16.
2220 * configure.ac: Revert last change.
2221 * testsuite/util/testsuite_abi.cc: Likewise.
2222 * configure: Regenerate.
2224 2011-05-26 Jonathan Wakely <jwakely.gcc@gmail.com>
2226 * doc/xml/manual/documentation_hacking.xml: Minor corrections.
2228 2011-05-26 Jonathan Wakely <jwakely.gcc@gmail.com>
2230 * include/std/mutex: Add doxygen comments.
2232 2011-05-25 Paolo Carlini <paolo.carlini@oracle.com>
2234 * config/abi/pre/gnu.ver: Export recently added basic_streambuf
2235 and basic_stringbuf symbols @3.4.17.
2236 * configure.ac: Update.
2237 * testsuite/util/testsuite_abi.cc: Likewise.
2238 * configure: Regenerate.
2240 2011-05-26 Jonathan Wakely <jwakely.gcc@gmail.com>
2242 * libsupc++/guard.cc: Fix comments.
2244 2011-05-25 Ian Lance Taylor <iant@google.com>
2247 * include/backward/hashtable.h (hashtable::erase): Don't crash if
2248 erasing first and another element with a reference to the other
2250 * testsuite/backward/hash_set/49060.cc: New.
2252 2011-05-25 Paolo Carlini <paolo.carlini@oracle.com>
2254 * include/bits/random.h (random_device::min, max): Specify constexpr.
2256 2011-05-25 Paolo Carlini <paolo.carlini@oracle.com>
2258 * include/std/thread: Use noexcept throughout per the FDIS.
2259 * include/std/mutex: Likewise.
2261 2011-05-24 Paolo Carlini <paolo.carlini@oracle.com>
2263 * testsuite/20_util/duration/arithmetic/dr2020.cc: Fix typo.
2265 2011-05-24 Paolo Carlini <paolo.carlini@oracle.com>
2268 * include/std/chrono (operator+, operator-, operator*, operator/,
2269 operator&): Implement LWG 2020 [WP]; specify constexpr.
2270 * testsuite/20_util/duration/arithmetic/dr2020.cc: New.
2272 2011-05-24 Paolo Carlini <paolo.carlini@oracle.com>
2275 * testsuite/26_numerics/complex/cons/48760.cc: Use dg-require-c-std.
2276 * testsuite/26_numerics/complex/cons/48760_c++0x.cc: Likewise.
2277 * testsuite/26_numerics/headers/cmath/19322.cc: Likewise.
2279 2011-05-24 Paolo Carlini <paolo.carlini@oracle.com>
2281 * include/bits/c++config (_GLIBCXX_NOTHROW): Update for noexcept.
2282 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error
2285 2011-05-23 Benjamin Kosnik <bkoz@redhat.com>
2289 Interface changes for ext/pb_ds.
2290 PB_DS_BASE_C_DEC to unique PB_DS_*_BASE macros.
2291 * include/ext/pb_ds/assoc_container.hpp (container_base): Remove.
2292 (basic_hash_table, basic_branch, list_update): Derive from
2293 container_base_dispatch.
2294 * include/ext/pb_ds/list_update_policy.hpp (null_lu_metadata): Remove.
2295 (move_to_front_lu_policy): To lu_move_to_front_policy.
2296 (counter_lu_policy): To lu_counter_policy.
2297 * include/ext/pb_ds/tree_policy.hpp (null_tree_node_update): Remove.
2298 * include/ext/pb_ds/tag_and_trait.hpp (container_base_dispatch): Adjust
2299 template parameters, declare here.
2300 (null_mapped_type) Remove.
2301 (null_type): Just use this for template tricks everywhere.
2302 * include/ext/pb_ds/hash_policy.hpp (null_hash_fn, null_probe_fn):
2304 * include/ext/pb_ds/trie_policy.hpp (null_trie_node_update): Remove.
2305 (string_trie_e_access_traits): To trie_string_access_traits.
2306 * include/ext/pb_ds/priority_queue.hpp: Use container_base_dispatch.
2309 * include/Makefile.am (pb_headers): Removed and changed file names.
2310 * include/Makefile.in: Regenerated.
2311 * include/ext/pb_ds/detail/basic_types.hpp: Remove.
2312 * include/ext/pb_ds/detail/bin_search_tree_/
2313 cond_dtor_entry_dealtor.hpp: Remove.
2314 * include/ext/pb_ds/detail/bin_search_tree_/
2315 cond_key_dtor_entry_dealtor.hpp: Remove.
2316 * include/ext/pb_ds/detail/binary_heap_/const_point_iterator.hpp: Move..
2317 * include/ext/pb_ds/detail/binary_heap_/
2318 point_const_iterator.hpp: ..here.
2319 * include/ext/pb_ds/detail/basic_tree_policy: Move to...
2320 * include/ext/pb_ds/detail/branch_policy: This.
2321 * include/ext/pb_ds/detail/branch_policy/
2322 basic_tree_policy_base.hpp: Move...
2323 * include/ext/pb_ds/detail/branch_policy/branch_policy.hpp: ...here.
2324 * include/ext/pb_ds/detail/branch_policy/null_node_metadata.hpp: Add.
2325 * include/ext/pb_ds/detail/branch_policy/traits.hpp: Add.
2326 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2327 null_metadata.hpp: Remove.
2328 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2329 const_point_iterator.hpp: Move...
2330 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2331 point_const_iterator.hpp: ...here.
2332 * include/ext/pb_ds/detail/list_update_policy/
2333 counter_lu_metadata.hpp: Move..
2334 * include/ext/pb_ds/detail/list_update_policy/
2335 lu_counter_metadata.hpp: ...here.
2336 * include/ext/pb_ds/detail/list_update_policy/
2337 counter_lu_policy_imp.hpp: Remove.
2338 * include/ext/pb_ds/detail/list_update_policy/
2339 mtf_lu_policy_imp.hpp: Remove.
2340 * include/ext/pb_ds/detail/trie_policy/
2341 string_trie_e_access_traits_imp.hpp: Move...
2342 * include/ext/pb_ds/detail/trie_policy/
2343 sample_trie_access_traits.hpp: ...here.
2344 * include/ext/pb_ds/detail/trie_policy/
2345 sample_trie_e_access_traits.hpp: Move...
2346 * include/ext/pb_ds/detail/trie_policy/
2347 trie_string_access_traits_imp.hpp: ...here.
2348 * include/ext/pb_ds/detail/trie_policy/null_node_update_imp.hpp: Remove.
2349 * include/ext/pb_ds/detail/tree_policy/null_node_update_imp.hpp: Remove.
2350 * include/ext/pb_ds/detail/ov_tree_map_/cond_dtor.hpp: Remove.
2351 * include/ext/pb_ds/detail/pat_trie_/pat_trie_base.hpp: New, fold all
2352 types found in the following files into pat_trie_base.
2353 * include/ext/pb_ds/detail/pat_trie_/const_child_iterator.hpp: Folded.
2354 * include/ext/pb_ds/detail/pat_trie_/
2355 cond_dtor_entry_dealtor.hpp: Folded.
2356 * include/ext/pb_ds/detail/pat_trie_/child_iterator.hpp: Folded.
2357 * include/ext/pb_ds/detail/pat_trie_/split_join_branch_bag.hpp: Folded.
2358 * include/ext/pb_ds/detail/pat_trie_/head.hpp: Folded.
2359 * include/ext/pb_ds/detail/pat_trie_/leaf.hpp: Folded.
2360 * include/ext/pb_ds/detail/pat_trie_/node_base.hpp: Folded.
2361 * include/ext/pb_ds/detail/pat_trie_/node_metadata_base.hpp: Folded.
2362 * include/ext/pb_ds/detail/pat_trie_/internal_node.hpp: Folded.
2363 * include/ext/pb_ds/detail/pat_trie_/node_iterators.hpp: Folded.
2364 * include/ext/pb_ds/detail/pat_trie_/point_iterators.hpp: Folded.
2365 * include/ext/pb_ds/detail/pat_trie_/synth_e_access_traits.hpp: Move...
2366 * include/ext/pb_ds/detail/pat_trie_/synth_access_traits.hpp: ...here.
2367 * include/ext/pb_ds/detail/unordered_iterator/
2368 const_point_iterator.hpp: Move...
2369 * include/ext/pb_ds/detail/unordered_iterator/
2370 point_const_iterator.hpp: ...here.
2373 Adjust for above changes.
2374 * include/ext/pb_ds/detail/resize_policy/sample_size_policy.hpp: Same.
2375 * include/ext/pb_ds/detail/resize_policy/sample_resize_policy.hpp: Same.
2376 * include/ext/pb_ds/detail/resize_policy/
2377 sample_resize_trigger.hpp: Same.
2378 * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp: Same.
2379 * include/ext/pb_ds/detail/binomial_heap_base_/find_fn_imps.hpp: Same.
2380 * include/ext/pb_ds/detail/binomial_heap_base_/insert_fn_imps.hpp: Same.
2381 * include/ext/pb_ds/detail/binomial_heap_base_/
2382 binomial_heap_base_.hpp: Same.
2383 * include/ext/pb_ds/detail/binomial_heap_base_/
2384 constructors_destructor_fn_imps.hpp: Same.
2385 * include/ext/pb_ds/detail/binomial_heap_base_/debug_fn_imps.hpp: Same.
2386 * include/ext/pb_ds/detail/binomial_heap_base_/
2387 split_join_fn_imps.hpp: Same.
2388 * include/ext/pb_ds/detail/container_base_dispatch.hpp: Same. Adjust
2389 for template parameter ordering change.
2390 * include/ext/pb_ds/detail/cc_hash_table_map_/
2391 erase_store_hash_fn_imps.hpp: Same.
2392 * include/ext/pb_ds/detail/cc_hash_table_map_/
2393 constructor_destructor_no_store_hash_fn_imps.hpp: Same.
2394 * include/ext/pb_ds/detail/cc_hash_table_map_/cmp_fn_imps.hpp: Same.
2395 * include/ext/pb_ds/detail/cc_hash_table_map_/
2396 insert_no_store_hash_fn_imps.hpp: Same.
2397 * include/ext/pb_ds/detail/cc_hash_table_map_/find_fn_imps.hpp: Same.
2398 * include/ext/pb_ds/detail/cc_hash_table_map_/
2399 policy_access_fn_imps.hpp: Same.
2400 * include/ext/pb_ds/detail/cc_hash_table_map_/
2401 resize_store_hash_fn_imps.hpp: Same.
2402 * include/ext/pb_ds/detail/cc_hash_table_map_/
2403 constructor_destructor_store_hash_fn_imps.hpp: Same.
2404 * include/ext/pb_ds/detail/cc_hash_table_map_/
2405 insert_store_hash_fn_imps.hpp: Same.
2406 * include/ext/pb_ds/detail/cc_hash_table_map_/debug_fn_imps.hpp: Same.
2407 * include/ext/pb_ds/detail/cc_hash_table_map_/info_fn_imps.hpp: Same.
2408 * include/ext/pb_ds/detail/cc_hash_table_map_/
2409 entry_list_fn_imps.hpp: Same.
2410 * include/ext/pb_ds/detail/cc_hash_table_map_/trace_fn_imps.hpp: Same.
2411 * include/ext/pb_ds/detail/cc_hash_table_map_/
2412 find_store_hash_fn_imps.hpp: Same.
2413 * include/ext/pb_ds/detail/cc_hash_table_map_/erase_fn_imps.hpp: Same.
2414 * include/ext/pb_ds/detail/cc_hash_table_map_/
2415 debug_no_store_hash_fn_imps.hpp: Same.
2416 * include/ext/pb_ds/detail/cc_hash_table_map_/cc_ht_map_.hpp: Same.
2417 * include/ext/pb_ds/detail/cc_hash_table_map_/resize_fn_imps.hpp: Same.
2418 * include/ext/pb_ds/detail/cc_hash_table_map_/
2419 constructor_destructor_fn_imps.hpp: Same.
2420 * include/ext/pb_ds/detail/cc_hash_table_map_/
2421 cond_key_dtor_entry_dealtor.hpp: Same.
2422 * include/ext/pb_ds/detail/cc_hash_table_map_/insert_fn_imps.hpp: Same.
2423 * include/ext/pb_ds/detail/cc_hash_table_map_/
2424 debug_store_hash_fn_imps.hpp: Same.
2425 * include/ext/pb_ds/detail/cc_hash_table_map_/
2426 erase_no_store_hash_fn_imps.hpp: Same.
2427 * include/ext/pb_ds/detail/cc_hash_table_map_/size_fn_imps.hpp: Same.
2428 * include/ext/pb_ds/detail/cc_hash_table_map_/
2429 iterators_fn_imps.hpp: Same.
2430 * include/ext/pb_ds/detail/cc_hash_table_map_/
2431 resize_no_store_hash_fn_imps.hpp: Same.
2432 * include/ext/pb_ds/detail/cc_hash_table_map_/
2433 standard_policies.hpp: Same.
2434 * include/ext/pb_ds/detail/tree_trace_base.hpp: Same.
2435 * include/ext/pb_ds/detail/unordered_iterator/iterator.hpp: Same.
2436 * include/ext/pb_ds/detail/unordered_iterator/const_iterator.hpp: Same.
2437 * include/ext/pb_ds/detail/unordered_iterator/point_iterator.hpp: Same.
2438 * include/ext/pb_ds/detail/pat_trie_/find_fn_imps.hpp: Same.
2439 * include/ext/pb_ds/detail/pat_trie_/policy_access_fn_imps.hpp: Same.
2440 * include/ext/pb_ds/detail/pat_trie_/r_erase_fn_imps.hpp: Same.
2441 * include/ext/pb_ds/detail/pat_trie_/update_fn_imps.hpp: Same.
2442 * include/ext/pb_ds/detail/pat_trie_/insert_join_fn_imps.hpp: Same.
2443 * include/ext/pb_ds/detail/pat_trie_/debug_fn_imps.hpp: Same.
2444 * include/ext/pb_ds/detail/pat_trie_/
2445 constructors_destructor_fn_imps.hpp: Same.
2446 * include/ext/pb_ds/detail/pat_trie_/pat_trie_.hpp: Same.
2447 * include/ext/pb_ds/detail/pat_trie_/split_fn_imps.hpp: Same.
2448 * include/ext/pb_ds/detail/pat_trie_/traits.hpp: Same.
2449 * include/ext/pb_ds/detail/pat_trie_/info_fn_imps.hpp: Same.
2450 * include/ext/pb_ds/detail/pat_trie_/rotate_fn_imps.hpp: Same.
2451 * include/ext/pb_ds/detail/pat_trie_/trace_fn_imps.hpp: Same.
2452 * include/ext/pb_ds/detail/pat_trie_/erase_fn_imps.hpp: Same.
2453 * include/ext/pb_ds/detail/pat_trie_/iterators_fn_imps.hpp: Same.
2454 * include/ext/pb_ds/detail/bin_search_tree_/find_fn_imps.hpp: Same.
2455 * include/ext/pb_ds/detail/bin_search_tree_/
2456 policy_access_fn_imps.hpp: Same.
2457 * include/ext/pb_ds/detail/bin_search_tree_/r_erase_fn_imps.hpp: Same.
2458 * include/ext/pb_ds/detail/bin_search_tree_/
2459 constructors_destructor_fn_imps.hpp: Same.
2460 * include/ext/pb_ds/detail/bin_search_tree_/debug_fn_imps.hpp: Same.
2461 * include/ext/pb_ds/detail/bin_search_tree_/traits.hpp: Same.
2462 * include/ext/pb_ds/detail/bin_search_tree_/info_fn_imps.hpp: Same.
2463 * include/ext/pb_ds/detail/bin_search_tree_/rotate_fn_imps.hpp: Same.
2464 * include/ext/pb_ds/detail/bin_search_tree_/erase_fn_imps.hpp: Same.
2465 * include/ext/pb_ds/detail/bin_search_tree_/bin_search_tree_.hpp: Same.
2466 * include/ext/pb_ds/detail/bin_search_tree_/insert_fn_imps.hpp: Same.
2467 * include/ext/pb_ds/detail/bin_search_tree_/node_iterators.hpp: Same.
2468 * include/ext/pb_ds/detail/bin_search_tree_/point_iterators.hpp: Same.
2469 * include/ext/pb_ds/detail/bin_search_tree_/
2470 split_join_fn_imps.hpp: Same.
2471 * include/ext/pb_ds/detail/bin_search_tree_/iterators_fn_imps.hpp: Same.
2472 * include/ext/pb_ds/detail/list_update_policy/
2473 sample_update_policy.hpp: Same.
2474 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2475 trace_fn_imps.hpp: Same.
2476 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2477 erase_fn_imps.hpp: Same.
2478 * include/ext/pb_ds/detail/gp_hash_table_map_/
2479 erase_store_hash_fn_imps.hpp: Same.
2480 * include/ext/pb_ds/detail/gp_hash_table_map_/
2481 constructor_destructor_no_store_hash_fn_imps.hpp: Same.
2482 * include/ext/pb_ds/detail/gp_hash_table_map_/
2483 insert_no_store_hash_fn_imps.hpp: Same.
2484 * include/ext/pb_ds/detail/gp_hash_table_map_/find_fn_imps.hpp: Same.
2485 * include/ext/pb_ds/detail/gp_hash_table_map_/
2486 policy_access_fn_imps.hpp: Same.
2487 * include/ext/pb_ds/detail/gp_hash_table_map_/
2488 resize_store_hash_fn_imps.hpp: Same.
2489 * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Same.
2490 * include/ext/pb_ds/detail/gp_hash_table_map_/
2491 constructor_destructor_store_hash_fn_imps.hpp: Same.
2492 * include/ext/pb_ds/detail/gp_hash_table_map_/
2493 insert_store_hash_fn_imps.hpp: Same.
2494 * include/ext/pb_ds/detail/gp_hash_table_map_/debug_fn_imps.hpp: Same.
2495 * include/ext/pb_ds/detail/gp_hash_table_map_/
2496 iterator_fn_imps.hpp: Same.
2497 * include/ext/pb_ds/detail/gp_hash_table_map_/info_fn_imps.hpp: Same.
2498 * include/ext/pb_ds/detail/gp_hash_table_map_/
2499 find_no_store_hash_fn_imps.hpp: Same.
2500 * include/ext/pb_ds/detail/gp_hash_table_map_/trace_fn_imps.hpp: Same.
2501 * include/ext/pb_ds/detail/gp_hash_table_map_/erase_fn_imps.hpp: Same.
2502 * include/ext/pb_ds/detail/gp_hash_table_map_/
2503 find_store_hash_fn_imps.hpp: Same.
2504 * include/ext/pb_ds/detail/gp_hash_table_map_/
2505 debug_no_store_hash_fn_imps.hpp: Same.
2506 * include/ext/pb_ds/detail/gp_hash_table_map_/resize_fn_imps.hpp: Same.
2507 * include/ext/pb_ds/detail/gp_hash_table_map_/
2508 constructor_destructor_fn_imps.hpp: Same.
2509 * include/ext/pb_ds/detail/gp_hash_table_map_/insert_fn_imps.hpp: Same.
2510 * include/ext/pb_ds/detail/gp_hash_table_map_/
2511 debug_store_hash_fn_imps.hpp: Same.
2512 * include/ext/pb_ds/detail/gp_hash_table_map_/
2513 erase_no_store_hash_fn_imps.hpp: Same.
2514 * include/ext/pb_ds/detail/gp_hash_table_map_/
2515 resize_no_store_hash_fn_imps.hpp: Same.
2516 * include/ext/pb_ds/detail/gp_hash_table_map_/
2517 standard_policies.hpp: Same.
2518 * include/ext/pb_ds/detail/standard_policies.hpp: Same.
2519 * include/ext/pb_ds/detail/types_traits.hpp: Same.
2520 * include/ext/pb_ds/detail/binary_heap_/find_fn_imps.hpp: Same.
2521 * include/ext/pb_ds/detail/binary_heap_/policy_access_fn_imps.hpp: Same.
2522 * include/ext/pb_ds/detail/binary_heap_/const_iterator.hpp: Same.
2523 * include/ext/pb_ds/detail/binary_heap_/entry_cmp.hpp: Same.
2524 * include/ext/pb_ds/detail/binary_heap_/
2525 constructors_destructor_fn_imps.hpp: Same.
2526 * include/ext/pb_ds/detail/binary_heap_/debug_fn_imps.hpp: Same.
2527 * include/ext/pb_ds/detail/binary_heap_/info_fn_imps.hpp: Same.
2528 * include/ext/pb_ds/detail/binary_heap_/trace_fn_imps.hpp: Same.
2529 * include/ext/pb_ds/detail/binary_heap_/erase_fn_imps.hpp: Same.
2530 * include/ext/pb_ds/detail/binary_heap_/entry_pred.hpp: Same.
2531 * include/ext/pb_ds/detail/binary_heap_/insert_fn_imps.hpp: Same.
2532 * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp: Same.
2533 * include/ext/pb_ds/detail/binary_heap_/resize_policy.hpp: Same.
2534 * include/ext/pb_ds/detail/binary_heap_/split_join_fn_imps.hpp: Same.
2535 * include/ext/pb_ds/detail/binary_heap_/iterators_fn_imps.hpp: Same.
2536 * include/ext/pb_ds/detail/tree_policy/order_statistics_imp.hpp: Same.
2537 * include/ext/pb_ds/detail/tree_policy/node_metadata_selector.hpp: Same.
2538 * include/ext/pb_ds/detail/tree_policy/
2539 sample_tree_node_update.hpp: Same.
2540 * include/ext/pb_ds/detail/trie_policy/order_statistics_imp.hpp: Same.
2541 * include/ext/pb_ds/detail/trie_policy/
2542 sample_trie_node_update.hpp: Same.
2543 * include/ext/pb_ds/detail/trie_policy/trie_policy_base.hpp: Same.
2544 * include/ext/pb_ds/detail/trie_policy/
2545 prefix_search_node_update_imp.hpp: Same.
2546 * include/ext/pb_ds/detail/trie_policy/node_metadata_selector.hpp: Same.
2547 * include/ext/pb_ds/detail/cond_dealtor.hpp: Same.
2548 * include/ext/pb_ds/detail/priority_queue_base_dispatch.hpp: Same.
2549 Adjust for template parameter change, fold into
2550 container_base_dispatch.
2551 * include/ext/pb_ds/detail/pairing_heap_/erase_fn_imps.hpp: Same.
2552 * include/ext/pb_ds/detail/pairing_heap_/find_fn_imps.hpp: Same.
2553 * include/ext/pb_ds/detail/pairing_heap_/insert_fn_imps.hpp: Same.
2554 * include/ext/pb_ds/detail/pairing_heap_/
2555 constructors_destructor_fn_imps.hpp: Same.
2556 * include/ext/pb_ds/detail/pairing_heap_/debug_fn_imps.hpp: Same.
2557 * include/ext/pb_ds/detail/pairing_heap_/pairing_heap_.hpp: Same.
2558 * include/ext/pb_ds/detail/pairing_heap_/split_join_fn_imps.hpp: Same.
2559 * include/ext/pb_ds/detail/binomial_heap_/
2560 constructors_destructor_fn_imps.hpp: Same.
2561 * include/ext/pb_ds/detail/binomial_heap_/debug_fn_imps.hpp: Same.
2562 * include/ext/pb_ds/detail/binomial_heap_/binomial_heap_.hpp: Same.
2563 * include/ext/pb_ds/detail/constructors_destructor_fn_imps.hpp: Same.
2564 * include/ext/pb_ds/detail/type_utils.hpp: Same.
2565 * include/ext/pb_ds/detail/eq_fn/hash_eq_fn.hpp: Same.
2566 * include/ext/pb_ds/detail/eq_fn/eq_by_less.hpp: Same.
2567 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2568 policy_access_fn_imps.hpp: Same.
2569 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2570 left_child_next_sibling_heap_.hpp: Same.
2571 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2572 const_iterator.hpp: Same.
2573 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2574 insert_fn_imps.hpp: Same.
2575 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2576 constructors_destructor_fn_imps.hpp: Same.
2577 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2578 debug_fn_imps.hpp: Same.
2579 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2581 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2582 info_fn_imps.hpp: Same.
2583 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2584 iterators_fn_imps.hpp: Same.
2585 * include/ext/pb_ds/detail/thin_heap_/trace_fn_imps.hpp: Same.
2586 * include/ext/pb_ds/detail/thin_heap_/erase_fn_imps.hpp: Same.
2587 * include/ext/pb_ds/detail/thin_heap_/find_fn_imps.hpp: Same.
2588 * include/ext/pb_ds/detail/thin_heap_/thin_heap_.hpp: Same.
2589 * include/ext/pb_ds/detail/thin_heap_/insert_fn_imps.hpp: Same.
2590 * include/ext/pb_ds/detail/thin_heap_/
2591 constructors_destructor_fn_imps.hpp: Same.
2592 * include/ext/pb_ds/detail/thin_heap_/debug_fn_imps.hpp: Same.
2593 * include/ext/pb_ds/detail/thin_heap_/split_join_fn_imps.hpp: Same.
2594 * include/ext/pb_ds/detail/ov_tree_map_/erase_fn_imps.hpp: Same.
2595 * include/ext/pb_ds/detail/ov_tree_map_/policy_access_fn_imps.hpp: Same.
2596 * include/ext/pb_ds/detail/ov_tree_map_/insert_fn_imps.hpp: Same.
2597 * include/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp: Same.
2598 * include/ext/pb_ds/detail/ov_tree_map_/
2599 constructors_destructor_fn_imps.hpp: Same.
2600 * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same.
2601 * include/ext/pb_ds/detail/ov_tree_map_/node_iterators.hpp: Same.
2602 * include/ext/pb_ds/detail/ov_tree_map_/split_join_fn_imps.hpp: Same.
2603 * include/ext/pb_ds/detail/ov_tree_map_/info_fn_imps.hpp: Same.
2604 * include/ext/pb_ds/detail/ov_tree_map_/traits.hpp: Same.
2605 * include/ext/pb_ds/detail/ov_tree_map_/iterators_fn_imps.hpp: Same.
2606 * include/ext/pb_ds/detail/debug_map_base.hpp: Same.
2607 * include/ext/pb_ds/detail/hash_fn/ranged_probe_fn.hpp: Same.
2608 * include/ext/pb_ds/detail/hash_fn/sample_probe_fn.hpp: Same.
2609 * include/ext/pb_ds/detail/hash_fn/sample_ranged_probe_fn.hpp: Same.
2610 * include/ext/pb_ds/detail/hash_fn/sample_range_hashing.hpp: Same.
2611 * include/ext/pb_ds/detail/hash_fn/probe_fn_base.hpp: Same.
2612 * include/ext/pb_ds/detail/hash_fn/ranged_hash_fn.hpp: Same.
2613 * include/ext/pb_ds/detail/hash_fn/sample_ranged_hash_fn.hpp: Same.
2614 * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp: Same.
2615 * include/ext/pb_ds/detail/splay_tree_/find_fn_imps.hpp: Same.
2616 * include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp: Same.
2617 * include/ext/pb_ds/detail/splay_tree_/
2618 constructors_destructor_fn_imps.hpp: Same.
2619 * include/ext/pb_ds/detail/splay_tree_/debug_fn_imps.hpp: Same.
2620 * include/ext/pb_ds/detail/splay_tree_/splay_fn_imps.hpp: Same.
2621 * include/ext/pb_ds/detail/splay_tree_/node.hpp: Same.
2622 * include/ext/pb_ds/detail/splay_tree_/split_join_fn_imps.hpp: Same.
2623 * include/ext/pb_ds/detail/splay_tree_/info_fn_imps.hpp: Same.
2624 * include/ext/pb_ds/detail/splay_tree_/splay_tree_.hpp: Same.
2625 * include/ext/pb_ds/detail/splay_tree_/traits.hpp: Same.
2626 * include/ext/pb_ds/detail/list_update_map_/trace_fn_imps.hpp: Same.
2627 * include/ext/pb_ds/detail/list_update_map_/erase_fn_imps.hpp: Same.
2628 * include/ext/pb_ds/detail/list_update_map_/
2629 entry_metadata_base.hpp: Same.
2630 * include/ext/pb_ds/detail/list_update_map_/find_fn_imps.hpp: Same.
2631 * include/ext/pb_ds/detail/list_update_map_/lu_map_.hpp: Same.
2632 * include/ext/pb_ds/detail/list_update_map_/
2633 constructor_destructor_fn_imps.hpp: Same.
2634 * include/ext/pb_ds/detail/list_update_map_/insert_fn_imps.hpp: Same.
2635 * include/ext/pb_ds/detail/list_update_map_/debug_fn_imps.hpp: Same.
2636 * include/ext/pb_ds/detail/list_update_map_/info_fn_imps.hpp: Same.
2637 * include/ext/pb_ds/detail/list_update_map_/iterators_fn_imps.hpp: Same.
2638 * include/ext/pb_ds/detail/rc_binomial_heap_/trace_fn_imps.hpp: Same.
2639 * include/ext/pb_ds/detail/rc_binomial_heap_/erase_fn_imps.hpp: Same.
2640 * include/ext/pb_ds/detail/rc_binomial_heap_/
2641 rc_binomial_heap_.hpp: Same.
2642 * include/ext/pb_ds/detail/rc_binomial_heap_/insert_fn_imps.hpp: Same.
2643 * include/ext/pb_ds/detail/rc_binomial_heap_/
2644 constructors_destructor_fn_imps.hpp: Same.
2645 * include/ext/pb_ds/detail/rc_binomial_heap_/debug_fn_imps.hpp: Same.
2646 * include/ext/pb_ds/detail/rc_binomial_heap_/rc.hpp: Same.
2647 * include/ext/pb_ds/detail/rc_binomial_heap_/
2648 split_join_fn_imps.hpp: Same.
2649 * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp: Same.
2650 * include/ext/pb_ds/detail/rb_tree_map_/find_fn_imps.hpp: Same.
2651 * include/ext/pb_ds/detail/rb_tree_map_/insert_fn_imps.hpp: Same.
2652 * include/ext/pb_ds/detail/rb_tree_map_/
2653 constructors_destructor_fn_imps.hpp: Same.
2654 * include/ext/pb_ds/detail/rb_tree_map_/debug_fn_imps.hpp: Same.
2655 * include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp: Same.
2656 * include/ext/pb_ds/detail/rb_tree_map_/node.hpp: Same.
2657 * include/ext/pb_ds/detail/rb_tree_map_/split_join_fn_imps.hpp: Same.
2658 * include/ext/pb_ds/detail/rb_tree_map_/info_fn_imps.hpp: Same.
2659 * include/ext/pb_ds/detail/rb_tree_map_/traits.hpp: Same.
2662 Documentation changes.
2663 * include/ext/pb_ds/*: Add doxygen markup.
2664 * doc/doxygen/user.cfg.in: Add details for extracting comments
2666 * scripts/run_doxygen: Fixup __gnu_pb_ds::detail.
2667 * scripts/make_graph.py: Move to svg output. Re-format generated tables.
2669 * doc/Makefile.am (stamp-html-copy): New rule.
2670 (stamp-html): Use it to copy non-generated files into html docs.
2671 * doc/Makefile.in: Regenerated.
2673 * doc/html/ext/pb_ds/sample_trie_e_access_traits.html: Move...
2674 * doc/html/ext/pb_ds/trie_string_access_traits.html: ...here.
2675 * doc/html/ext/pb_ds/string_trie_e_access_traits.html: Move..
2676 * doc/html/ext/pb_ds/sample_trie_access_traits.html: ...here.
2678 * doc/html/ext/pb_ds/tree_text_lor_find_timing_test_local.png,
2679 hash_random_int_erase_mem_usage_test_local.png,
2680 multimap_text_insert_mem_usage_test_small_s2p_hash_local.png,
2681 tree_text_insert_timing_test_pat_trie_local.png ,
2682 multimap_text_insert_mem_usage_test_small_s2p_tree_local.png ,
2683 priority_queue_text_modify_down_timing_test_local.png,
2684 gp_hash_random_int_subscript_timing_test_find_local.png,
2685 text_find_timing_test_hash_local.png,
2686 multimap_text_insert_timing_test_small_s2p_hash_local.png,
2687 multimap_text_insert_timing_test_small_s2p_tree_local.png,
2688 multimap_text_insert_mem_usage_test_large_s2p_hash_local.png,
2689 multimap_text_insert_mem_usage_test_large_s2p_tree_local.png,
2690 multimap_text_insert_timing_test_large_s2p_hash_local.png,
2691 hash_zlob_random_int_find_timing_test_local.png,
2692 multimap_text_insert_timing_test_large_s2p_tree_local.png,
2693 binary_priority_queue_random_int_push_timing_test_local.png,
2694 priority_queue_text_pop_mem_usage_test_local.png,
2695 priority_queue_text_modify_down_timing_test_pairing_thin_local.png,
2696 tree_split_join_timing_test_local.png,
2697 multimap_text_find_timing_test_small_s2p_hash_local.png,
2698 ccgp_hash_random_int_subscript_timing_test_insert_local.png,
2699 priority_queue_random_int_push_pop_timing_test_local.png,
2700 multimap_text_find_timing_test_small_s2p_tree_local.png,
2701 gp_hash_random_int_subscript_timing_test_insert_local.png,
2702 priority_queue_text_push_timing_test_local.png,
2703 cc_hash_random_int_subscript_timing_test_find_local.png,
2704 tree_text_insert_timing_test_vector_tree_local.png,
2705 multimap_text_find_timing_test_large_s2p_hash_local.png,
2706 pairing_priority_queue_text_push_timing_test_local.png,
2707 tree_order_statistics_timing_test_local.png,
2708 priority_queue_text_push_pop_timing_test_local.png,
2709 text_find_timing_test_tree_like_local.png,
2710 multimap_text_find_timing_test_large_s2p_tree_local.png,
2711 priority_queue_text_modify_up_timing_test_pairing_thin_local.png,
2712 cc_hash_random_int_subscript_timing_test_insert_local.png,
2713 priority_queue_text_modify_up_timing_test_local.png,
2714 random_int_find_find_timing_test_tree_local.png,
2715 priority_queue_random_int_push_timing_test_local.png,
2716 tree_text_insert_timing_test_node_tree_local.png,
2717 pairing_priority_queue_text_push_pop_timing_test_local.png,
2718 gp_hash_random_int_find_timing_test_local.png,
2719 cc_hash_random_int_find_timing_test_local.png,
2720 priority_queue_text_join_timing_test_local.png: Update local pngs.
2724 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand_debug.cc: New.
2725 * testsuite/ext/pb_ds/regression/tree_data_map_rand_debug.cc: New.
2726 * testsuite/ext/pb_ds/regression/priority_queue_rand_debug.cc: New.
2727 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand_debug.cc: New.
2728 * testsuite/ext/pb_ds/regression/trie_data_map_rand_debug.cc: New.
2729 * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand_debug.cc:
2731 * testsuite/ext/pb_ds/regression/list_update_data_map_rand_debug.cc:
2733 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand_debug.cc: New.
2734 * testsuite/ext/pb_ds/regression/hash_data_map_rand_debug.cc: New.
2736 * testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc: Fix typo.
2738 * testsuite/ext/pb_ds/example/basic_set.cc: Update.
2739 * testsuite/ext/pb_ds/example/ranged_hash.cc: Same.
2740 * testsuite/ext/pb_ds/example/tree_order_statistics.cc: Same.
2741 * testsuite/ext/pb_ds/example/trie_prefix_search.cc: Same.
2742 * testsuite/ext/pb_ds/example/trie_dna.cc: Same.
2743 * testsuite/ext/pb_ds/example/tree_intervals.cc: Same.
2744 * testsuite/ext/pb_ds/example/basic_multimap.cc: Same.
2745 * testsuite/performance/ext/pb_ds/hash_random_int_erase_mem_usage.cc:
2747 * testsuite/performance/ext/pb_ds/tree_split_join_timing.cc: Same.
2748 * testsuite/performance/ext/pb_ds/tree_order_statistics_timing.cc: Same.
2749 * testsuite/data/make_graph_test_infos.xml: Same.
2750 * testsuite/util/regression/common_type.hpp: Same.
2751 * testsuite/util/regression/trait/assoc/native_type_trait.hpp: Same.
2752 * testsuite/util/regression/trait/assoc/trait.hpp: Same.
2753 * testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
2754 * testsuite/util/regression/rand/priority_queue/
2755 rand_regression_test.hpp: Same.
2756 * testsuite/util/regression/rand/priority_queue/
2757 container_rand_regression_test.tcc: Same.
2758 * testsuite/util/regression/rand/assoc/rand_regression_test.hpp: Same.
2759 * testsuite/util/regression/rand/assoc/container_rand_regression_test.h
2760 * testsuite/util/regression/rand/assoc/
2761 container_rand_regression_test.tcc: Same.
2762 * testsuite/util/native_type/native_priority_queue.hpp: Same.
2763 * testsuite/util/native_type/native_multimap.hpp: Same.
2764 * testsuite/util/native_type/native_hash_multimap.hpp: Same.
2765 * testsuite/util/native_type/native_set.hpp: Same.
2766 * testsuite/util/native_type/native_map.hpp: Same.
2767 * testsuite/util/native_type/native_hash_set.hpp: Same.
2768 * testsuite/util/native_type/native_hash_map.hpp: Same.
2769 * testsuite/util/testsuite_containers.h
2770 * testsuite/util/common_type/priority_queue/common_type.hpp: Same.
2771 * testsuite/util/common_type/assoc/common_type.hpp: Same.
2772 * testsuite/util/common_type/assoc/string_form.hpp: Same.
2773 * testsuite/util/common_type/assoc/template_policy.hpp: Same.
2774 * testsuite/util/common_type/assoc/detail/
2775 trigger_policy_string_form.hpp: Same.
2776 * testsuite/util/common_type/assoc/detail/ds_string_form.hpp: Same.
2777 * testsuite/util/common_type/assoc/detail/
2778 size_policy_string_form.hpp: Same.
2779 * testsuite/util/common_type/assoc/detail/
2780 probe_fn_string_form.hpp: Same.
2781 * testsuite/util/common_type/assoc/detail/
2782 tree_supports_order_statistics.hpp: Same.
2783 * testsuite/util/common_type/assoc/detail/
2784 trie_supports_prefix_search.hpp: Same.
2785 * testsuite/util/common_type/assoc/detail/
2786 list_update_policy_string_form.hpp: Same.
2787 * testsuite/util/common_type/assoc/detail/
2788 trie_supports_order_statistics.hpp: Same.
2789 * testsuite/util/common_type/assoc/native_set.hpp: Same.
2790 * testsuite/util/performance/assoc/timing/common_type.hpp: Same.
2791 * testsuite/util/performance/assoc/timing/multimap_find_test.hpp: Same.
2792 * testsuite/util/performance/assoc/multimap_common_type.hpp: Same.
2794 2011-05-23 Paolo Carlini <paolo.carlini@oracle.com>
2796 * include/bits/streambuf_iterator.h: Use noexcept per the FDIS.
2797 (istreambuf_iterator<>::istreambuf_iterator(const
2798 istreambuf_iterator&), ~istreambuf_iterator()): Add defaulted
2801 2011-05-23 Jason Merrill <jason@redhat.com>
2803 * libsupc++/exception_ptr.h: Fix compilation in C++0x mode.
2805 2011-05-22 Jonathan Wakely <jwakely.gcc@gmail.com>
2807 * testsuite/20_util/bind/cv_quals_2.cc: New.
2809 2011-05-22 Paolo Carlini <paolo.carlini@oracle.com>
2812 * include/std/functional (_Bind<_Functor(_Bound_args...)>::
2813 operator()(_Args&&...)): Don't cv qualify _Functor directly
2814 in the default template argument, SFINAE doesn't apply when
2815 the functor has no arguments.
2816 * testsuite/20_util/bind/49058_1.cc: New.
2817 * testsuite/20_util/bind/49058_2.cc: Likewise.
2819 2011-05-21 Paolo Carlini <paolo.carlini@oracle.com>
2821 * include/bits/unique_ptr.h: Use noexcept per the FDIS.
2823 2011-05-20 Paolo Carlini <paolo.carlini@oracle.com>
2825 * testsuite/21_strings/basic_string/requirements/exception/
2826 propagation_consistent.cc: Fix vs POD-ness of value_type.
2827 * testsuite/21_strings/basic_string/requirements/exception/
2829 * testsuite/ext/vstring/requirements/exception/
2830 propagation_consistent.cc: Likewise.
2831 * testsuite/ext/vstring/requirements/exception/basic.cc: Likewise.
2833 2011-05-20 Paolo Carlini <paolo.carlini@oracle.com>
2835 * include/bits/char_traits.h: Use noexcept throughout.
2836 * include/std/typeindex: Likewise.
2838 * include/std/tuple (_Tuple_impl<>_Tuple_impl(_Tuple_impl&&)): Use
2839 noexcept; adjust callers.
2840 * include/bits/stl_pair.h (pair<>::pair(pair<>&&)): Use noexcept.
2841 * testsuite/20_util/tuple/cons/noexcept_move_construct.cc: New.
2842 * testsuite/20_util/pair/cons/noexcept_move_construct.cc: Likewise.
2843 * testsuite/20_util/pair/noexcept_swap.cc: Likewise.
2844 * testsuite/20_util/pair/noexcept_move_assign.cc: Likewise.
2845 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-warning
2848 2011-05-20 Jason Merrill <jason@redhat.com>
2850 * include/ext/pb_ds/assoc_container.hpp: Explicitly qualify calls to
2851 functions from dependent bases.
2852 * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp: Likewise.
2853 * include/ext/pb_ds/detail/rb_tree_map_/
2854 split_join_fn_imps.hpp: Likewise.
2855 * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp: Likewise.
2856 * include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp: Likewise.
2857 * include/ext/pb_ds/detail/splay_tree_/splay_fn_imps.hpp: Likewise.
2858 * include/ext/pb_ds/detail/splay_tree_/
2859 split_join_fn_imps.hpp: Likewise.
2860 * include/ext/pb_ds/detail/tree_policy/
2861 order_statistics_imp.hpp: Likewise.
2862 * include/ext/pb_ds/detail/trie_policy/
2863 prefix_search_node_update_imp.hpp: Likewise.
2864 * include/ext/rc_string_base.h: Likewise.
2865 * include/ext/rope: Likewise.
2866 * include/ext/ropeimpl.h: Likewise.
2867 * testsuite/util/exception/safety.h: Likewise.
2868 * testsuite/util/native_type/native_priority_queue.hpp: Likewise.
2869 * testsuite/util/testsuite_io.h: Likewise.
2870 * include/std/functional: Declare mem_fn earlier.
2871 * include/tr1/functional: Likewise.
2872 * include/tr1/exp_integral.tcc: Declare __expint_E1 earlier.
2874 2011-05-19 Paolo Carlini <paolo.carlini@oracle.com>
2876 * include/std/tuple (tuple_element<__i, const _Tp>,
2877 tuple_element<__i, volatile _Tp>, tuple_element<__i,
2878 const volatile _Tp>, tuple_size<const _Tp>, tuple_size<volatile _Tp>,
2879 tuple_size<const volatile _Tp>): Add.
2880 * include/std/utility (tuple_size<std::pair<_Tp1, _Tp2>>): Tweak.
2881 * include/std/array (tuple_size<array<_Tp, _Nm>>): Likewise.
2882 * testsuite/20_util/tuple/cv_tuple_size.cc: New.
2883 * testsuite/20_util/tuple/cv_tuple_element.cc: Likewise.
2884 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Tweak dg-warning
2887 2011-05-19 Paolo Carlini <paolo.carlini@oracle.com>
2889 * include/std/tuple (tuple<>::operator=(tuple&&)): Specify as
2891 (__get_helper): Likewise.
2892 (_Head_base<>::_M_head, _Tuple_impl<>::_M_head, _M_tail): Likewise.
2893 * include/bits/move.h (swap): Likewise.
2894 * include/bits/algorithmfwd.h (swap): Adjust.
2895 * include/bits/stl_pair.h (pair<>::operator=(pair&&)): Spec noexcept.
2896 * testsuite/util/testsuite_allocator.h (uneq_allocator): In C++0x
2897 mode, prefer delete to access control to make the type not copy
2899 * testsuite/util/testsuite_tr1.h: Add test classes.
2900 * testsuite/20_util/tuple/noexcept_swap.cc: New.
2901 * testsuite/20_util/tuple/noexcept_move_assign.cc: Likewise.
2902 * testsuite/25_algorithms/reverse/moveable.cc: Likewise, prefer
2903 delete to access control.
2904 * testsuite/25_algorithms/swap_ranges/moveable.cc: Likewise.
2905 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-warning
2908 2011-05-19 Daniel Krugler <daniel.kruegler@googlemail.com>
2910 * testsuite/util/testsuite_tr1.h: Add test classes.
2911 * testsuite/20_util/is_nothrow_assignable/value.cc: Add.
2913 2011-05-19 Paolo Carlini <paolo.carlini@oracle.com>
2915 * include/std/type_traits (is_assignable, is_copy_assignable,
2916 is_move_assignable, is_nothrow_assignable, is_nothrow_copy_assignable,
2917 is_nothrow_move_assignable): Add; minor tweaks elsewhere.
2918 (has_nothrow_copy_assign): Remove.
2919 * testsuite/util/testsuite_tr1.h: Add test classes.
2920 * testsuite/20_util/is_assignable/requirements/typedefs.cc: Add.
2921 * testsuite/20_util/is_assignable/requirements/
2922 explicit_instantiation.cc: Likewise.
2923 * testsuite/20_util/is_nothrow_assignable/value.cc: Likewise.
2924 * testsuite/20_util/is_nothrow_assignable/requirements/typedefs.cc:
2926 * testsuite/20_util/is_nothrow_assignable/requirements/
2927 explicit_instantiation.cc: Likewise.
2928 * testsuite/20_util/is_move_assignable/value.cc: Likewise.
2929 * testsuite/20_util/is_move_assignable/requirements/typedefs.cc:
2931 * testsuite/20_util/is_move_assignable/requirements/
2932 explicit_instantiation.cc: Likewise.
2933 * testsuite/20_util/is_copy_assignable/value.cc: Likewise.
2934 * testsuite/20_util/is_copy_assignable/requirements/typedefs.cc:
2936 * testsuite/20_util/is_copy_assignable/requirements/
2937 explicit_instantiation.cc: Likewise.
2938 * testsuite/20_util/is_nothrow_move_assignable/value.cc: Likewise.
2939 * testsuite/20_util/is_nothrow_move_assignable/requirements/
2940 typedefs.cc: Likewise.
2941 * testsuite/20_util/is_nothrow_move_assignable/requirements/
2942 explicit_instantiation.cc: Likewise.
2943 * testsuite/20_util/is_nothrow_copy_assignable/value.cc: Likewise.
2944 * testsuite/20_util/is_nothrow_copy_assignable/requirements/
2945 typedefs.cc: Likewise.
2946 * testsuite/20_util/is_nothrow_copy_assignable/requirements/
2947 explicit_instantiation.cc: Likewise.
2948 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
2949 dg-error line numbers.
2950 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
2952 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
2954 2011-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
2956 * include/bits/shared_ptr_base.h: Use noexcept. Define special member
2957 functions as defaulted/deleted.
2958 * include/bits/shared_ptr.h: Use noexcept.
2959 * 20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error line numbers.
2960 * 20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
2962 2011-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
2964 * doc/xml/manual/bitmap_allocator.xml: Fix typos.
2966 2011-05-18 Paolo Carlini <paolo.carlini@oracle.com>
2968 * libsupc++/initializer_list: Use noexcept specifier.
2969 (initializer_list<>::size, begin, end): Qualify as const.
2970 * include/bits/move.h (__addressof, forward, move, addressof): Specify
2972 * include/std/bitset: Use noexcept specifier throughout.
2973 * include/debug/bitset: Update.
2974 * include/profile/bitset: Likewise.
2976 2011-05-17 Paolo Carlini <paolo.carlini@oracle.com>
2978 * include/std/tuple: Use noexcept where appropriate.
2979 (tuple<>::swap): Rework implementation.
2980 (_Head_base<>::_M_swap_impl): Remove.
2981 (get(std::tuple<>&&)): Add.
2982 * testsuite/20_util/tuple/element_access/get2.cc: New.
2983 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
2986 2011-05-16 Paolo Carlini <paolo.carlini@oracle.com>
2988 * include/std/utility: Simplify the last commit, the whole
2989 std::get code is C++0x only.
2991 2011-05-16 Paolo Carlini <paolo.carlini@oracle.com>
2993 * include/std/utility (get(std::pair<>&&)): Add.
2994 * include/bits/stl_pair.h (pair::swap(pair&),
2995 swap(pair<>&, pair<>&)): Use noexcept.
2996 * include/bits/random.h (discard_block_engine<>::base,
2997 independent_bits_engine<>::base, shuffle_order_engine<>::base,
2998 random_device::entropy): Use noexcept.
2999 * include/std/array: Use noexcept where appropriate.
3000 (get(array<>&&)): Add.
3001 * testsuite/23_containers/array/requirements/get.cc: New.
3002 * testsuite/20_util/pair/get.cc: Likewise.
3003 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Tweak dg-error
3006 2011-05-15 Paolo Carlini <paolo.carlini@oracle.com>
3008 * include/bits/c++config (_GLIBCXX_NOEXCEPT, _GLIBCXX_USE_NOEXCEPT):
3010 * include/std/limits: Use the latter everywhere.
3011 (numeric_limits<char16_t>, numeric_limits<char32_t>): Simplify
3012 macro usages, the specializations exist only in C++0x mode.
3013 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error
3016 2011-05-11 Paolo Carlini <paolo.carlini@oracle.com>
3018 * testsuite/26_numerics/headers/cmath/overloads_c++0x_neg.cc: Use
3020 * testsuite/tr1/8_c_compatibility/cmath/overloads_neg.cc: Likewise.
3022 2011-05-11 François Dumont <francois.cppdevs@free.fr>
3024 * include/ext/pb_ds/detail/resize_policy/
3025 hash_load_check_resize_trigger_imp.hpp (assert_valid): Replace
3026 _GLIBCXX_DEBUG_ASSERT calls with PB_DS_DEBUG_VERIFY.
3027 * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp,
3028 find_fn_imps.hpp, insert_fn_imps.hpp, binomial_heap_base_.hpp,
3029 constructors_destructor_fn_imps.hpp, split_join_fn_imps.hpp
3030 (PB_DS_ASSERT_VALID): Rename in PB_DS_ASSERT_VALID_COND.
3031 * include/ext/pb_ds/detail/debug_map_base.hpp,
3032 splay_tree_/splay_tree_.hpp, ov_tree_map_/ov_tree_map_.hpp,
3033 cc_hash_table_map_/cc_ht_map_.hpp, pat_trie_/pat_trie_.hpp,
3034 leaf.hpp, internal_node.hpp, gp_hash_table_map_/gp_ht_map_.hpp,
3035 bin_search_tree_/bin_search_tree_.hpp, list_update_map_/lu_map_.hpp,
3036 rb_tree_map_/rb_tree_.hpp (PB_DS_ASSERT_VALID, PB_DS_DEBUG_VERIFY,
3037 PB_DS_CHECK_KEY_EXISTS, PB_DS_CHECK_KEY_DOES_NOT_EXIST): Duplicate
3038 macro definitions move...
3039 * include/ext/pb_ds/detail/container_base_dispatch.hpp: ... here...
3040 * include/ext/pb_ds/detail/basic_tree_policy/traits.hpp: ... and here.
3041 * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp,
3042 resize_policy.hpp, pairing_heap_/pairing_heap_.hpp,
3043 left_child_next_sibling_heap_/left_child_next_sibling_heap_.hpp,
3044 binomial_heap_/binomial_heap_.hpp, thin_heap_/thin_heap_.hpp,
3045 rc_binomial_heap_/rc_binomial_heap_.hpp, rc.hpp (PB_DS_ASSERT_VALID,
3046 PB_DS_DEBUG_VERIFY): Duplicate macro definitions move...
3047 * include/ext/pb_ds/detail/priority_queue_base_dispatch.hpp:
3050 2011-05-09 Paolo Carlini <paolo.carlini@oracle.com>
3053 * include/c_global/cmath (acosh, asinh, atanh, cbrt, copysign,
3054 erf, erfc, exp2, expm1, fdim, fma, fmax, hypot, ilogb, lgamma,
3055 llrint, llround, log1p, log2, logb, lrint, lround, nearbyint,
3056 nextafter, nexttoward, remainder, remquo, rint, round, scalbln,
3057 scalbn, tgamma, trunc): Use __enable_if on the return type.
3058 * include/tr1/cmath: Likewise.
3059 * testsuite/26_numerics/headers/cmath/overloads_c++0x_neg.cc: New.
3060 * testsuite/tr1/8_c_compatibility/cmath/overloads_neg.cc: Likewise.
3062 2011-05-07 François Dumont <francois.cppdevs@free.fr>
3064 * include/debug/macro.h (_GLIBCXX_DEBUG_VERIFY_AT): New.
3065 (_GLICXX_DEBUG_VERIFY): Use latter.
3066 * include/ext/pb_ds/detail/resize_policy/
3067 hash_load_check_resize_trigger_imp.hpp: Emit assertion on the line
3068 containing the original assert call.
3069 * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp,
3070 find_fn_imps.hpp, insert_fn_imps.hpp, binomial_heap_base_.hpp,
3071 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
3072 split_join_fn_imps.hpp: Likewise.
3073 * include/ext/pb_ds/detail/cc_hash_table_map_/
3074 erase_store_hash_fn_imps.hpp, insert_no_store_hash_fn_imps.hpp,
3075 find_fn_imps.hpp, insert_store_hash_fn_imps.hpp, debug_fn_imps.hpp,
3076 debug_no_store_hash_fn_imps.hpp, cc_ht_map_.hpp, resize_fn_imps.hpp,
3077 constructor_destructor_fn_imps.hpp, debug_store_hash_fn_imps.hpp,
3078 erase_no_store_hash_fn_imps.hpp: Likewise.
3079 * include/ext/pb_ds/detail/pat_trie_/find_fn_imps.hpp,
3080 insert_join_fn_imps.hpp, pat_trie_/head.hpp, debug_fn_imps.hpp,
3081 constructors_destructor_fn_imps.hpp, pat_trie_.hpp, split_fn_imps.hpp,
3082 leaf.hpp, erase_fn_imps.hpp, node_base.hpp, internal_node.hpp:
3084 * include/ext/pb_ds/detail/bin_search_tree_/find_fn_imps.hpp,
3085 r_erase_fn_imps.hpp, constructors_destructor_fn_imps.hpp,
3086 debug_fn_imps.hpp, rotate_fn_imps.hpp, erase_fn_imps.hpp,
3087 bin_search_tree_.hpp, insert_fn_imps.hpp, split_join_fn_imps.hpp:
3089 * include/ext/pb_ds/detail/gp_hash_table_map_/
3090 erase_store_hash_fn_imps.hpp, insert_no_store_hash_fn_imps.hpp,
3091 find_fn_imps.hpp, gp_ht_map_.hpp, insert_store_hash_fn_imps.hpp,
3092 debug_fn_imps.hpp, erase_fn_imps.hpp, debug_no_store_hash_fn_imps.hpp,
3093 resize_fn_imps.hpp, constructor_destructor_fn_imps.hpp,
3094 debug_store_hash_fn_imps.hpp, erase_no_store_hash_fn_imps.hpp:
3096 * include/ext/pb_ds/detail/binary_heap_/find_fn_imps.hpp,
3097 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
3098 erase_fn_imps.hpp, insert_fn_imps.hpp, binary_heap_.hpp,
3099 resize_policy.hpp, split_join_fn_imps.hpp: Likewise.
3100 * include/ext/pb_ds/detail/pairing_heap_/erase_fn_imps.hpp,
3101 find_fn_imps.hpp, insert_fn_imps.hpp,
3102 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
3103 pairing_heap_.hpp, split_join_fn_imps.hpp: Likewise.
3104 * include/ext/pb_ds/detail/binomial_heap_/
3105 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
3106 binomial_heap_.hpp: Likewise.
3107 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
3108 erase_fn_imps.hpp, left_child_next_sibling_heap_.hpp,
3109 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp: Likewise.
3110 * include/ext/pb_ds/detail/thin_heap_/erase_fn_imps.hpp,
3111 find_fn_imps.hpp, thin_heap_.hpp, insert_fn_imps.hpp,
3112 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
3113 split_join_fn_imps.hpp: Likewise.
3114 * include/ext/pb_ds/detail/ov_tree_map_/erase_fn_imps.hpp,
3115 ov_tree_map_.hpp, constructors_destructor_fn_imps.hpp,
3116 debug_fn_imps.hpp, split_join_fn_imps.hpp, info_fn_imps.hpp: Likewise.
3117 * include/ext/pb_ds/detail/debug_map_base.hpp: Likewise.
3118 * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp,
3119 find_fn_imps.hpp, insert_fn_imps.hpp,
3120 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
3121 splay_fn_imps.hpp, split_join_fn_imps.hpp, splay_tree_.hpp: Likewise.
3122 * include/ext/pb_ds/detail/list_update_map_/erase_fn_imps.hpp,
3123 find_fn_imps.hpp, lu_map_.hpp, constructor_destructor_fn_imps.hpp,
3124 insert_fn_imps.hpp, debug_fn_imps.hpp: Likewise.
3125 * include/ext/pb_ds/detail/rc_binomial_heap_/erase_fn_imps.hpp,
3126 rc_binomial_heap_.hpp, insert_fn_imps.hpp,
3127 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp, rc.hpp,
3128 split_join_fn_imps.hpp: Likewise.
3129 * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp,
3130 insert_fn_imps.hpp, constructors_destructor_fn_imps.hpp,
3131 debug_fn_imps.hpp, rb_tree_.hpp, split_join_fn_imps.hpp: Likewise.
3132 * include/ext/pb_ds/hash_policy.hpp: Likewise.
3134 2011-05-06 Paolo Carlini <paolo.carlini@oracle.com>
3136 * testsuite/22_locale/messages_byname/named_equivalence.cc: Fix.
3138 2011-05-04 Marc Glisse <marc.glisse@normalesup.org>
3140 PR libstdc++/47913 (again)
3141 * include/std/ratio (ratio_add, ratio_less): Rewrite.
3142 * testsuite/20_util/ratio/operations/47913.cc: Extend.
3143 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust dg-error
3145 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Likewise.
3147 2011-05-03 Paolo Carlini <paolo.carlini@oracle.com>
3150 * include/std/valarray (valarray<>::valarray(valarray&&),
3151 valarray<>::operator=(valarray&&), valarray<>::swap): Add.
3152 * doc/xml/manual/status_cxx200x.xml: Update.
3153 * testsuite/26_numerics/valarray/moveable.cc: New.
3154 * testsuite/26_numerics/valarray/swap.cc: Likewise.
3156 2011-05-03 Paolo Carlini <paolo.carlini@oracle.com>
3159 * include/parallel/multiway_merge.h: Run _ValueType destructors.
3160 * include/parallel/multiway_mergesort.h: Likewise.
3161 * include/parallel/quicksort.h: Likewise.
3162 * include/parallel/random_shuffle.h: Likewise.
3163 * include/parallel/partial_sum.h: Likewise.
3164 * include/parallel/losertree.h: Run destructors; minor tweaks.
3165 * include/parallel/par_loop.h: Run destructors, fix memory
3166 allocations and deallocations.
3167 * testsuite/26_numerics/accumulate/48750.cc: New.
3169 * testsuite/ext/profile/mutex_extensions_neg.cc: Do not run in
3170 parallel-mode to avoid spurious multiple errors.
3172 2011-05-03 Jonathan Wakely <jwakely.gcc@gmail.com>
3174 * include/std/functional (bind): Remove from overload set when first
3175 argument type might be a socket file descriptor.
3176 * testsuite/20_util/bind/socket.cc: New.
3178 2011-05-03 Jonathan Wakely <jwakely.gcc@gmail.com>
3181 * doc/xml/manual/status_cxx200x.xml: Update valarray status.
3182 * doc/html/*: Regenerate.
3184 2011-05-02 Ollie Wild <aaw@google.com>
3186 * include/ext/sso_string_base.h (__sso_string_base<>::_M_construct):
3187 Fix unqualified lookup.
3188 (__sso_string_base<>::_M_assign): Likewise.
3189 (__sso_string_base<>::_M_reserve): Likewise.
3190 (__sso_string_base<>::_M_mutate): Likewise.
3191 (__sso_string_base<>::_M_erase): Likewise.
3192 * include/ext/vstring.h (__versa_string<>::replace): Likewise.
3193 (__versa_string<>::compare): Likewise.
3194 * include/ext/vstring.tcc (__versa_string<>::compare): Likewise.
3196 2011-05-02 Jonathan Wakely <jwakely.gcc@gmail.com>
3198 * doc/xml/manual/status_cxx200x.xml: Update to reflect current status
3200 * doc/xml/manual/documentation_hacking.xml: Fix typo.
3201 * doc/html/*: Regenerate.
3203 2011-04-30 Daniel Krugler <daniel.kruegler@googlemail.com>
3205 * include/std/type_traits (__is_default_constructible_atom,
3206 __is_default_constructible_safe<, true>,
3207 __is_direct_constructible_new_safe,
3208 __is_base_to_derived_ref<,, true>, __is_lvalue_to_rvalue_ref<,, true>,
3209 __is_direct_constructible_ref_cast, __is_direct_constructible,
3210 __is_nary_constructible): Simplify; add comments throughout.
3212 2011-04-30 Paolo Carlini <paolo.carlini@oracle.com>
3214 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
3215 Adjust dg-error line numbers.
3216 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
3218 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
3220 2011-04-30 Doug Kwan <dougkwan@google.com>
3222 * include/Makefile.am (install-freestanding-headers): Also install
3224 * include/Makefile.in: Regenerate.
3226 2011-04-28 Paolo Carlini <paolo.carlini@oracle.com>
3229 * include/std/complex (complex<float>::complex(float, float),
3230 complex<double>::complex(double, double),
3231 complex<long double>::complex(long double, long double)): Use
3232 list-initialization in C++0x mode, initialize in the body in
3234 * testsuite/26_numerics/complex/cons/48760.cc: New.
3235 * testsuite/26_numerics/complex/cons/48760_c++0x.cc: Likewise.
3237 2011-04-28 Paolo Carlini <paolo.carlini@oracle.com>
3239 * include/std/bitset (_Base_bitset(unsigned long long)): Minor
3240 tweak, remove redundant round braces.
3242 2011-04-27 Paolo Carlini <paolo.carlini@oracle.com>
3244 * include/bits/move.h (move_if_noexcept): Add.
3245 * testsuite/20_util/move_if_noexcept/requirements/
3246 explicit_instantiation.cc: New.
3247 * testsuite/20_util/move_if_noexcept/1.cc: Likewise.
3249 2011-04-25 Paolo Carlini <paolo.carlini@oracle.com>
3251 * include/std/type_traits (struct underlying_type): Add.
3252 * testsuite/20_util/underlying_type/requirements/typedefs-1.cc: New.
3253 * testsuite/20_util/underlying_type/requirements/typedefs-2.cc:
3255 * testsuite/20_util/underlying_type/requirements/
3256 explicit_instantiation.cc: Likewise.
3257 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
3260 2011-04-24 Paolo Carlini <paolo.carlini@oracle.com>
3262 * include/parallel/multiway_merge.h: Uglify equally_split
3263 and equally_split_point throughout.
3264 * include/parallel/par_loop.h: Likewise.
3265 * include/parallel/equally_split.h: Likewise.
3266 * include/parallel/set_operations.h: Likewise.
3267 * include/parallel/unique_copy.h: Likewise.
3268 * include/parallel/multiway_mergesort.h: Likewise.
3269 * include/parallel/search.h: Likewise.
3270 * include/parallel/partial_sum.h: Likewise.
3271 * include/parallel/find.h: Likewise.
3273 2011-04-24 Gerald Pfeifer <gerald@pfeifer.com>
3275 * doc/xml/manual/parallel_mode.xml: Fix link to libgomp online
3276 documentation. Expand link text.
3278 2011-04-24 Gerald Pfeifer <gerald@pfeifer.com>
3280 * libsupc++/cxxabi.h: Adjust link to FAQ entry.
3282 2011-04-22 François Dumont <francois.cppdevs@free.fr>
3284 * testsuite/lib/libstdc++.exp (check_v3_target_time): Discard
3285 unused compilation result thanks to /dev/null.
3286 * testsuite/lib/libstdc++.exp (check_v3_target_debug_mode,
3287 check_v3_target_profile_mode, check_v3_target_normal_mode,
3288 check_v3_target_cstdint, check_v3_target_cmath,
3289 check_v3_target_atomic_builtins, check_v3_target_gthreads,
3290 check_v3_target_nanosleep, check_v3_target_sched_yield,
3291 check_v3_target_string_conversions, check_v3_target_swprintf,
3292 check_v3_target_binary_io): Use simple preprocessing rather than
3293 compilation. Discard unused preprocessing result thanks to /dev/null.
3295 2011-04-20 Jim Meyering <meyering@redhat.com>
3297 * libsupc++/del_opnt.cc (operator delete): Remove useless
3300 2011-04-19 Jonathan Wakely <jwakely.gcc@gmail.com>
3303 * include/std/type_traits (result_of): Handle pointer to member.
3304 * include/std/functional (__invoke): Likewise.
3305 (_Function_to_function_pointer): Remove.
3306 (_Reference_wrapper_base): Provide nested types independent of
3307 unary_function and binary_function.
3308 (reference_wrapper::operator()): DR 2017.
3309 (ref(const A&&), cref(const A&&): Define as deleted.
3310 * include/std/future (async): Simplify SFINAE and use result_of to
3311 support pointer to member.
3312 * testsuite/20_util/reference_wrapper/invoke.cc: Test pointer to
3314 * testsuite/20_util/reference_wrapper/24803.cc: Likewise.
3315 * testsuite/20_util/reference_wrapper/typedefs.cc: Test for types
3316 instead of derivation from unary_function and binary_function.
3317 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust.
3318 * testsuite/20_util/reference_wrapper/invoke-2.cc: New.
3319 * testsuite/20_util/reference_wrapper/ref_neg.c: New.
3320 * testsuite/20_util/reference_wrapper/typedefs-3.c: New.
3322 2011-04-19 Hans-Peter Nilsson <hp@axis.com>
3325 * testsuite/20_util/hash/chi2_quality.cc (test_document_words): Stub
3326 this part if SAMPLES < 100000.
3328 2011-04-18 Paolo Carlini <paolo.carlini@oracle.com>
3330 * include/std/type_traits (is_nothrow_default_constructible,
3331 is_nothrow_copy_constructible, is_nothrow_move_constructible,
3332 is_copy_constructible, is_move_constructible): Add.
3333 (has_nothrow_default_constructor, has_nothrow_copy_constructor):
3335 (is_nothrow_constructible): Adjust.
3337 * testsuite/util/testsuite_tr1.h (ThrowDefaultClass,
3338 ThrowCopyConsClass, ThrowMoveConsClass, NoexceptDefaultClass,
3339 ExceptDefaultClass, NoexceptCopyConsClass, ExceptCopyConsClass,
3340 NoexceptMoveConsClass, ExceptMoveConsClass): Add in C++0x mode.
3342 * testsuite/20_util/has_nothrow_default_constructor: Remove.
3343 * testsuite/20_util/has_nothrow_copy_constructor: Likewise.
3345 * testsuite/20_util/is_nothrow_move_constructible/value.cc: Likewise.
3346 * testsuite/20_util/is_nothrow_move_constructible/requirements/
3347 typedefs.cc: Likewise.
3348 * testsuite/20_util/is_nothrow_move_constructible/requirements/
3349 explicit_instantiation.cc: Likewise.
3350 * testsuite/20_util/is_nothrow_copy_constructible/value.cc: Likewise.
3351 * testsuite/20_util/is_nothrow_copy_constructible/requirements/
3352 typedefs.cc: Likewise.
3353 * testsuite/20_util/is_nothrow_copy_constructible/requirements/
3354 explicit_instantiation.cc: Likewise.
3355 * testsuite/20_util/is_nothrow_default_constructible/value.cc:
3357 * testsuite/20_util/is_nothrow_default_constructible/requirements/
3358 typedefs.cc: Likewise.
3359 * testsuite/20_util/is_nothrow_default_constructible/requirements/
3360 explicit_instantiation.cc: Likewise.
3361 * testsuite/20_util/is_move_constructible/value.cc: Likewise.
3362 * testsuite/20_util/is_move_constructible/requirements/typedefs.cc:
3364 * testsuite/20_util/is_move_constructible/requirements/
3365 explicit_instantiation.cc: Likewise.
3366 * testsuite/20_util/is_copy_constructible/value.cc: Likewise.
3367 * testsuite/20_util/is_copy_constructible/requirements/typedefs.cc:
3369 * testsuite/20_util/is_copy_constructible/requirements/
3370 explicit_instantiation.cc: Likewise.
3372 * testsuite/20_util/is_default_constructible/value.cc: Add tests.
3373 * testsuite/20_util/is_nothrow_constructible/value.cc: Likewise.
3375 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
3376 Adjust dg-error line numbers.
3377 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
3379 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
3381 2011-04-17 Paolo Carlini <paolo.carlini@oracle.com>
3383 * testsuite/25_algorithms/partition/moveable.cc: Actually run
3384 it in parallel-mode for check-parallel.
3386 2011-04-17 Daniel Krugler <daniel.kruegler@googlemail.com>
3387 Paolo Carlini <paolo.carlini@oracle.com>
3389 PR libstdc++/48635 (again)
3390 * include/bits/unique_ptr.h (unique_ptr<>::unique_ptr(unique_ptr<>&&),
3391 unique_ptr<_Tp[]>::unique_ptr(unique_ptr<>&&),
3392 unique_ptr<>::operator=(unique_ptr<>&&),
3393 unique_ptr<_Tp[]>::operator=(unique_ptr<>&&)): Use forward<_Ep>, not
3394 forward<_Dp>, to forward the deleter.
3395 * testsuite/20_util/unique_ptr/assign/48635_neg.cc: New.
3397 2011-04-15 Daniel Krugler <daniel.kruegler@googlemail.com>
3398 Paolo Carlini <paolo.carlini@oracle.com>
3401 * include/bits/unique_ptr.h (default_delete<_Tp[]>): Add deleted
3402 function call operator.
3403 * testsuite/20_util/default_delete/48631_neg.cc: New.
3404 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
3407 2011-04-15 Daniel Krugler <daniel.kruegler@googlemail.com>
3408 Paolo Carlini <paolo.carlini@oracle.com>
3411 * include/bits/unique_ptr.h (unique_ptr<>::operator=(unique_ptr&&),
3412 unique_ptr<>::operator=(unique_ptr<>&&),
3413 unique_ptr<_Tp[],>::operator=(unique_ptr&&),
3414 unique_ptr<_Tp[],>::operator=(unique_ptr<>&&)): Forward the deleter
3415 instead of moving it.
3416 * testsuite/20_util/unique_ptr/assign/48635.cc: New.
3418 2011-04-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3420 * scripts/extract_symvers.pl: Handle NOTY.
3422 2011-04-15 Paolo Carlini <paolo.carlini@oracle.com>
3424 * include/std/istream: Fix comments in the light of DR60 + N3168.
3426 2011-04-13 Daniel Krugler <daniel.kruegler@googlemail.com>
3427 Paolo Carlini <paolo.carlini@oracle.com>
3430 * include/std/type_traits (struct is_constructible): Re-implement,
3432 (struct is_default_constructible): Add.
3433 (struct is_destructible): Likewise.
3434 (struct __and_, __or_, __not_): Add and use throughout; reorder some
3435 facilities, other minor tweaks.
3436 * testsuite/util/testsuite_tr1.h: Add test types.
3437 * testsuite/20_util/is_constructible/value-2.cc: New.
3438 * testsuite/20_util/is_default_constructible/value.cc: Likewise.
3439 * testsuite/20_util/is_default_constructible/requirements/typedefs.cc:
3441 * testsuite/20_util/is_default_constructible/requirements/
3442 explicit_instantiation.cc: Likewise.
3443 * testsuite/20_util/is_destructible/value.cc: Likewise.
3444 * testsuite/20_util/is_destructible/requirements/typedefs.cc:
3446 * testsuite/20_util/is_destructible/requirements/
3447 explicit_instantiation.cc: Likewise.
3448 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
3449 dg-error line numbers.
3450 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
3452 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
3453 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Likewise.
3455 2011-04-13 Paolo Carlini <paolo.carlini@oracle.com>
3457 * testsuite/20_util/is_function/value.cc: Add, adapted from the tr
3459 * testsuite/20_util/is_function/requirements/typedefs.cc: Likewise.
3460 * testsuite/20_util/is_function/requirements/
3461 explicit_instantiation.cc: Likewise.
3462 * testsuite/20_util/is_function/24808.cc: Likewise.
3463 * testsuite/20_util/is_function/35637.cc: Likewise.
3464 * testsuite/20_util/is_object/value.cc: Likewise.
3465 * testsuite/20_util/is_object/requirements/typedefs.cc: Likewise.
3466 * testsuite/20_util/is_object/requirements/explicit_instantiation.cc:
3468 * testsuite/20_util/is_object/24808.cc: Likewise.
3469 * testsuite/20_util/is_compound/value.cc: Likewise.
3470 * testsuite/20_util/is_compound/requirements/typedefs.cc: Likewise.
3471 * testsuite/20_util/is_compound/requirements/
3472 explicit_instantiation.cc: Likewise.
3473 * testsuite/20_util/is_member_object_pointer/value.cc: Likewise.
3474 * testsuite/20_util/is_member_object_pointer/requirements/
3475 typedefs.cc: Likewise.
3476 * testsuite/20_util/is_member_object_pointer/requirements/
3477 explicit_instantiation.cc: Likewise.
3478 * testsuite/20_util/is_fundamental/value.cc: Likewise.
3479 * testsuite/20_util/is_fundamental/requirements/typedefs.cc: Likewise.
3480 * testsuite/20_util/is_fundamental/requirements/
3481 explicit_instantiation.cc: Likewise.
3482 * testsuite/20_util/is_member_pointer/value.cc: Likewise.
3483 * testsuite/20_util/is_member_pointer/requirements/typedefs.cc:
3485 * testsuite/20_util/is_member_pointer/requirements/
3486 explicit_instantiation.cc: Likewise.
3487 * testsuite/20_util/is_member_function_pointer/value.cc: Likewise.
3488 * testsuite/20_util/is_member_function_pointer/
3489 requirements/typedefs.cc: Likewise.
3490 * testsuite/20_util/is_member_function_pointer/requirements/
3491 explicit_instantiation.cc: Likewise.
3493 * testsuite/20_util/is_convertible/value.cc: Minor tweak, adjust
3496 2011-04-12 Takaya Saito <gintensubaru@gmail.com>
3499 * include/std/tuple (_Tuple_impl<>::_Tuple_impl(_Tuple_impl<>&&),
3500 _Tuple_impl<>::operator=(_Tuple_impl&&), _Tuple_impl<>::operator=
3501 (_Tuple_impl<>&&), tuple_cat): Use std::forward where appropriate.
3502 * testsuite/20_util/tuple/cons/48476.cc: New.
3503 * testsuite/20_util/tuple/48476.cc: Likewise.
3504 * testsuite/20_util/tuple/creation_functions/48476.cc: Likewise.
3506 2011-04-12 Allan McRae <allan@archlinux.org>
3509 * testsuite/tr1/6_containers/unordered_map/requirements/
3510 iterator_null_neg.cc: Include <cstddef>.
3511 * testsuite/tr1/6_containers/unordered_set/requirements/
3512 iterator_null_neg.cc: Likewise.
3513 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/4.cc: Include
3515 * testsuite/util/testsuite_common_types.h: Include <limits>.
3516 * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc:
3517 Adjust dg-error line numbers.
3518 * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Likewise.
3519 * testsuite/29_atomics/atomic_integral/operators/increment_neg.cc:
3521 * testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc:
3523 * testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc:
3525 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Likewise.
3526 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
3528 2011-04-11 Jason Merrill <jason@redhat.com>
3530 * testsuite/20_util/is_convertible/value.cc: Adjust.
3532 2011-04-11 Paolo Carlini <paolo.carlini@oracle.com>
3534 * testsuite/25_algorithms/inplace_merge/moveable.cc: Actually run
3535 it in parallel-mode for check-parallel.
3536 * testsuite/25_algorithms/rotate/moveable.cc: Likewise.
3537 * testsuite/25_algorithms/stable_partition/moveable.cc: Likewise.
3538 * testsuite/25_algorithms/remove/moveable.cc: Likewise.
3539 * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
3541 * testsuite/25_algorithms/unique/moveable.cc: Likewise.
3542 * testsuite/25_algorithms/remove_if/moveable.cc: Likewise.
3543 * testsuite/25_algorithms/heap/moveable.cc: Likewise.
3545 * testsuite/25_algorithms/next_permutation/moveable.cc: Only skip
3546 the tests based on std::lexicographical_compare for check-parallel.
3547 * testsuite/25_algorithms/prev_permutation/moveable.cc: Likewise.
3549 2011-04-10 Jonathan Wakely <jwakely.gcc@gmail.com>
3552 * include/std/functional (_Base_manager::_M_get_pointer): Use
3554 * testsuite/20_util/function/48541.cc: New.
3556 2011-04-10 Jonathan Wakely <jwakely.gcc@gmail.com>
3559 * configure.ac (libtool_VERSION): Bump library version to 6:16:0.
3560 * configure: Regenerate.
3561 * config/abi/pre/gnu.ver (GLIBCXX_3.4.16): Export missing symbols.
3562 * testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.16.
3564 2011-04-06 Jeffrey Yasskin <jyasskin@google.com>
3566 * include/ext/algorithm (is_sorted): In C++0x mode import from
3568 * include/ext/numeric (iota): In C++0x mode import from
3570 * testsuite/ext/is_sorted/cxx0x.cc: New.
3571 * testsuite/ext/iota/cxx0x.cc: New.
3573 2011-04-02 Jonathan Wakely <redi@gcc.gnu.org>
3576 * include/bits/unique_ptr.h (__tuple_type): Store pointer type.
3577 * testsuite/20_util/unique_ptr/modifiers/48398.cc: New.
3578 * testsuite/20_util/unique_ptr/requirements/pointer_type.cc: Remove
3579 unused parameter name.
3581 2011-03-31 Jeffrey Yasskin <jyasskin@google.com>
3583 * libsupc++/exception_ptr.h: Forward-declare std::type_info.
3584 * libsupc++/nested_exception.h (__throw_with_nested): Remove a
3585 redundant default argument from std::__throw_with_nested.
3587 2011-03-31 Paolo Carlini <paolo.carlini@oracle.com>
3590 * src/ctype.cc: Do not include <bits/ctype_noninline.h>.
3591 * src/Makefile.am: Add ctype_configure_char.cc to host_sources.
3592 * src/Makefile.in: Regenerate.
3593 * include/Makefile.am: Remove ctype_noninline.h from host_headers.
3594 * include/Makefile.in: Regenerate.
3595 * doc/xml/manual/internals.xml: Update.
3596 * config/os/newlib/ctype_noninline.h: Fixup and rename to...
3597 * config/os/newlib/ctype_configure_char.cc: ... this.
3598 * config/os/aix/ctype_noninline.h: Likewise.
3599 * config/os/aix/ctype_configure_char.cc: Likewise.
3600 * config/os/vxworks/ctype_noninline.h: Likewise.
3601 * config/os/vxworks/ctype_configure_char.cc
3602 * config/os/hpux/ctype_noninline.h: Likewise.
3603 * config/os/hpux/ctype_configure_char.cc: Likewise.
3604 * config/os/gnu-linux/ctype_noninline.h: Likewise.
3605 * config/os/gnu-linux/ctype_configure_char.cc: Likewise.
3606 * config/os/mingw32/ctype_noninline.h: Likewise.
3607 * config/os/mingw32/ctype_configure_char.cc: Likewise.
3608 * config/os/tpf/ctype_noninline.h: Likewise.
3609 * config/os/tpf/ctype_configure_char.cc: Likewise.
3610 * config/os/uclibc/ctype_noninline.h: Likewise.
3611 * config/os/uclibc/ctype_configure_char.cc: Likewise.
3612 * config/os/bionic/ctype_noninline.h: Likewise.
3613 * config/os/bionic/ctype_configure_char.cc: Likewise.
3614 * config/os/djgpp/ctype_noninline.h: Likewise.
3615 * config/os/djgpp/ctype_configure_char.cc: Likewise.
3616 * config/os/qnx/qnx6.1/ctype_noninline.h: Likewise.
3617 * config/os/qnx/qnx6.1/ctype_configure_char.cc: Likewise.
3618 * config/os/bsd/netbsd/ctype_noninline.h: Likewise.
3619 * config/os/bsd/netbsd/ctype_configure_char.cc: Likewise.
3620 * config/os/bsd/darwin/ctype_noninline.h: Likewise.
3621 * config/os/bsd/darwin/ctype_configure_char.cc: Likewise.
3622 * config/os/bsd/freebsd/ctype_noninline.h: Likewise.
3623 * config/os/bsd/freebsd/ctype_configure_char.cc: Likewise.
3624 * config/os/irix/irix6.5/ctype_noninline.h: Likewise.
3625 * config/os/irix/irix6.5/ctype_configure_char.cc: Likewise.
3626 * config/os/generic/ctype_noninline.h: Likewise.
3627 * config/os/generic/ctype_configure_char.cc: Likewise.
3628 * config/os/solaris/solaris2.7/ctype_noninline.h: Likewise.
3629 * config/os/solaris/solaris2.7/ctype_configure_char.cc: Likewise.
3631 2011-03-25 Jonathan Wakely <jwakely.gcc@gmail.com>
3633 * include/std/future (future::share): Add.
3634 (packaged_task::result_type): Remove as per LWG 2030.
3635 (packaged_task::packaged_task): Remove redundant constructors, as per
3637 * testsuite/30_threads/future/members/share.cc: New.
3638 * testsuite/30_threads/packaged_task/requirements/typedefs.cc: Remove.
3640 2011-03-25 Jonathan Wakely <jwakely.gcc@gmail.com>
3642 * testsuite/28_regex/match_results/ctors/char/default.cc: Do not call
3643 members which require a fully established result state.
3644 * testsuite/28_regex/match_results/ctors/wchar_t/default.cc: Likewise.
3646 2011-03-25 Paolo Carlini <paolo.carlini@oracle.com>
3648 * include/bits/random.h (negative_binomial_distribution<>::
3649 negative_binomial_distribution(_IntType, double),
3650 negative_binomial_distribution<>::
3651 negative_binomial_distribution(const param_type&)): Tweak
3652 construction of _M_gd.
3653 * include/bits/random.tcc (negative_binomial_distribution<>::
3654 operator()): Adjust.
3656 2011-03-24 Paolo Carlini <paolo.carlini@oracle.com>
3658 * include/bits/random.h (negative_binomial_distribution<>::
3659 negative_binomial_distribution(_IntType, double),
3660 negative_binomial_distribution<>::
3661 negative_binomial_distribution(const param_type&)): Fix
3662 construction of _M_gd.
3663 * include/bits/random.tcc (negative_binomial_distribution<>::
3664 operator()): Fix computation, per Leger's algorithm.
3665 * testsuite/util/testsuite_random.h (discrete_pdf,
3666 negative_binomial_pdf, poisson_pdf, uniform_int_pdf): New.
3667 (binomial_pdf): Swap last two parameters.
3668 * testsuite/26_numerics/random/discrete_distribution/
3669 operators/values.cc: New.
3670 * testsuite/26_numerics/random/negative_binomial_distribution/
3671 operators/values.cc: Likewise.
3672 * testsuite/26_numerics/random/poisson_distribution/
3673 operators/values.cc: Likewise.
3674 * testsuite/26_numerics/random/uniform_int_distribution/
3675 operators/values.cc: Likewise.
3676 * testsuite/26_numerics/random/binomial_distribution/
3677 operators/values.cc: Adjust.
3679 2011-03-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3681 * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerate.
3682 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
3683 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
3684 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
3685 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
3687 2011-03-23 Matthias Klose <doko@ubuntu.com>
3689 * config/abi/post/sparc-linux-gnu/baseline_symbols.txt: Regenerated.
3691 2011-03-23 Uros Bizjak <ubizjak@gmail.com>
3693 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Regenerated.
3695 2011-03-22 Joseph Myers <joseph@codesourcery.com>
3697 * configure.ac: Don't handle powerpc*-*-gnu*.
3698 * configure: Regenerate.
3700 2011-03-22 Paolo Carlini <paolo.carlini@oracle.com>
3702 * testsuite/21_strings/basic_string/cons/char/moveable2.cc: Tweak
3704 * testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc:
3707 2011-03-22 Paolo Carlini <paolo.carlini@oracle.com>
3709 * include/bits/shared_ptr.h (operator>, operator<=, operator>=): Add,
3711 (operator==, operator!=, operator<): Fix per the letter of DR 1401.
3712 * include/bits/shared_ptr_base.h: Likewise for __shared_ptr.
3713 * include/bits/unique_ptr.h (operator==, operator!=, operator<,
3714 operator<=, operator>, operator>=): Fix per the letter of DR 1401.
3715 * testsuite/20_util/shared_ptr/comparison/dr1401.cc: New.
3716 * testsuite/20_util/unique_ptr/comparison/dr1401.cc: Likewise.
3717 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust.
3719 2011-03-22 Jakub Jelinek <jakub@redhat.com>
3721 * config/abi/pre/gnu.ver (GLIBCXX_3.4.15): Export _ZNSsC2EOSs
3722 and _ZNSbIwSt11char_traitsIwESaIwEEC2EOS2_.
3723 * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerated.
3724 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
3725 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
3726 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
3727 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
3728 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
3729 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
3730 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
3732 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
3733 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
3734 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
3735 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
3736 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise.
3737 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
3738 * testsuite/21_strings/basic_string/cons/char/moveable2.cc: New test.
3739 * testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc: New
3742 2011-03-21 Jack Howarth <howarth@bromo.med.uc.edu>
3744 * testsuite/lib/prune.exp (libstdc++-dg-prune): Prune "could not
3745 create compact unwind for" warnings.
3747 2011-03-21 Jakub Jelinek <jakub@redhat.com>
3749 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
3750 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
3751 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
3753 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
3754 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
3755 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
3756 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
3757 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
3758 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
3759 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
3760 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
3761 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
3763 * testsuite/util/testsuite_abi.cc (check_version): Set incompatible
3764 even when adding symbols to CXXABI_1.3, GLIBCXX_LDBL_3.4 and
3765 CXXABI_LDBL_1.3 versions.
3767 2011-03-21 Benjamin Kosnik <bkoz@redhat.com>
3769 * config/abi/pre/gnu.ver: Remove typeinfo name exports for C++0x types.
3771 2011-03-21 Jakub Jelinek <jakub@redhat.com>
3773 * config/abi/pre/gnu.ver (CXXABI_1.3): Don't export _ZT[IS][PK]*[no].
3774 (CXXABI_1.3.5): Export _ZTI[PK]*[no].
3776 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3778 * testsuite/22_locale/num_put/put/char/14220.cc: Don't xfail on
3779 sparc*-sun-solaris2.10 && lp64.
3781 2011-03-19 Paolo Carlini <paolo.carlini@oracle.com>
3783 * testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Rename
3784 to check_v3_target_cmath.
3785 * testsuite/lib/dg-options.exp (dg-require-c99_math): Rename
3786 to dg-require-cmath.
3787 * testsuite/26_numerics/random/binomial_distribution/
3788 operators/values.cc: Adjust.
3790 2011-03-18 Diego Novillo <dnovillo@google.com>
3792 * testsuite/decimal/mixed-mode-arith_neg.cc: Rename from
3794 * testsuite/decimal/mixed-mode-cmp_neg.cc: Factor out of
3795 mixed-mode-arith_neg.cc
3797 2011-03-18 Paolo Carlini <paolo.carlini@oracle.com>
3799 * testsuite/util/testsuite_random.h: New.
3800 * testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Add.
3801 * testsuite/lib/dg-options.exp (dg-require-c99_math): Likewise.
3802 * testsuite/26_numerics/random/bernoulli_distribution/
3803 operators/values.cc: New.
3804 * testsuite/26_numerics/random/binomial_distribution/
3805 operators/values.cc: Likewise.
3806 * testsuite/26_numerics/random/geometric_distribution/
3807 operators/values.cc: Likewise.
3809 2011-03-16 Benjamin Kosnik <bkoz@redhat.com>
3811 * config/abi/pre/gnu.ver: Add base destructors for stdexcept classes.
3812 * testsuite/19_diagnostics/stdexcept.cc: New.
3814 2011-03-15 Benjamin Kosnik <bkoz@redhat.com>
3816 * include/std/thread: Revert.
3817 * src/thread.cc: Same.
3818 * config/abi/pre/gnu.ver: Same.
3820 2011-03-15 Doug Kwan <dougkwan@google.com>
3823 * include/Makefile.am (install-freestanding-headers): Install
3825 * include/Makefile.in: Regenerate.
3827 2011-03-15 Benjamin Kosnik <bkoz@redhat.com>
3829 * config/abi/pre/gnu.ver: Make nested_exception exports super clear.
3830 Move bad_function_call exports from CXXABI_1.3.5 to GLIBCXX_3.4.15.
3832 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
3835 * src/future.cc: Guard definitions.
3836 * libsupc++/nested_exception.cc: Same.
3838 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
3840 * src/Makefile.am: Add functional.cc, shared_ptr.cc.
3841 * src/Makefile.in: Regenerate.
3842 * libsupc++/Makefile.am: Add nested_exception.cc.
3843 * libsupc++/Makefile.in: Regenerate.
3844 * src/system_error.cc: Add ctor and dtor definitions for error_category.
3845 * src/functional.cc: New. Add dtor definition for bad_function_call.
3846 * src/stdexcept.cc: Add dtor definitions for domain_error,
3847 invalid_argument, length_error, out_of_range, range_error,
3848 overflow_error, underflow_error.
3849 * src/future.cc: Add dtor definition for __future_base::_Result_base.
3850 * src/shared_ptr.cc: New. Add dtor definition for bad_weak_ptr.
3851 * src/thread.cc: Add dtor for thread::_Impl_base.
3852 * include/std/system_error: Adjust.
3853 * include/std/stdexcept: Same.
3854 * include/std/future: Same.
3855 * include/std/functional: Same.
3856 * include/std/thread: Same.
3857 * include/bits/shared_ptr_base.h: Same.
3858 * libsupc++/nested_exception.cc: New. Add dtor for nested_exception.
3859 * libsupc++/nested_exception.h: Adjust.
3860 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line numbers.
3861 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
3862 * config/abi/pre/gnu.ver: Add new exports.
3864 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
3866 * include/bits/regex_compiler.h: Nest namespace versioning.
3867 * include/bits/regex_grep_matcher.tcc: Same.
3868 * include/bits/regex_grep_matcher.h: Same.
3869 * include/bits/regex_cursor.h: Same.
3870 * include/bits/regex_nfa.h: Same.
3871 * include/bits/regex_nfa.tcc: Same.
3873 * include/bits/regex_grep_matcher.h: Version forward declarations.
3874 * include/bits/c++config: Add namespace association for __regex.
3875 * include/bits/regex.h: Make sub_match consistent.
3877 2011-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3879 * doc/xml/manual/abi.xml: Replace docs.sun.com URLs by their OTN
3881 * doc/html/manual/abi.html: Regenerate.
3883 2011-03-14 Tom Tromey <tromey@redhat.com>
3885 * python/libstdcxx/v6/printers.py (_use_gdb_pp): New global.
3886 Try to import `gdb.printing' module.
3887 (UniquePointerPrinter.__init__): Add 'typename' argument.
3888 (StdSlistPrinter.__init__): Likewise.
3889 (StdSlistIteratorPrinter.__init__): Likewise.
3890 (StdVectorIteratorPrinter.__init__): Likewise.
3891 (StdRbtreeIteratorPrinter.__init__): Likewise.
3892 (StdDebugIteratorPrinter.__init__): Likewise.
3893 (StdDequeIteratorPrinter.__init__): Likewise.
3894 (StdStringPrinter.__init__): Likewise.
3895 (RxPrinter, Printer): New class.
3896 (libstdcxx_printer): New global.
3897 (register_libstdcxx_printers): Rewrite.
3898 (build_libstdcxx_dictionary): Rewrite.
3899 (pretty_printers_dict): Remove.
3901 2011-03-14 Andrey Zholos <aaz@althenia.net>
3904 * include/bits/random.h (geometric_distribution): Correct formula
3905 in comment, per C++0x.
3906 (geometric_distribution<>::param_type::param_type(double)): Fix check.
3907 (geometric_distribution<>::param_type::_M_initialize):
3909 * include/bits/random.tcc (geometric_distribution<>::operator()):
3911 (binomial_distribution<>::operator()): Likewise.
3913 2011-03-09 Paolo Carlini <paolo.carlini@oracle.com>
3915 * testsuite/util/testsuite_rvalref.h: Minor tweaks.
3917 2011-03-09 Jonathan Wakely <redi@gcc.gnu.org>
3918 Chris Jefferson <chris@bubblescope.net>
3919 Paolo Carlini <paolo.carlini@oracle.com>
3921 * testsuite/util/testsuite_rvalref.h (rvalstruct_compare_by_value):
3923 * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
3925 * testsuite/25_algorithms/partial_sort/check_compare_by_value:
3927 * testsuite/25_algorithms/stable_sort/check_compare_by_value.cc:
3929 * testsuite/25_algorithms/sort/check_compare_by_value: Likewise.
3931 2011-03-09 Chris Jefferson <chris@bubblescope.net>
3934 * include/bits/stl_algo.h (__merge_backward): Rename to
3935 __move_merge_backward and change to always move rather than copy.
3936 (__move_merge): New function similar to std::merge except values
3937 are moved instead of copied.
3938 (__merge_adaptive, __merge_sort_loop): Change from using std::merge
3939 and __merge_backward to __move_merge and __move_merge_backward.
3941 2011-03-07 Jason Merrill <jason@redhat.com>
3943 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust
3946 2011-03-07 Benjamin Kosnik <bkoz@redhat.com>
3947 Matthias Klose <doko@ubuntu.com>
3948 Jonathan Wakely <redi@gcc.gnu.org>
3951 * acinclude.m4 (GLIBCXX_CONFIGURE_DOCBOOK): Define.
3952 * configure.ac: Use it.
3953 * doc/Makefile.am (XSL_STYLE_DIR): Set at configure time.
3954 * configure: Regenerate.
3955 * doc/Makefile.in: Regenerate.
3957 2011-03-04 Benjamin Kosnik <bkoz@chula>
3959 * src/Makefile.am (inst_sources): Make source instantion files
3961 (XTEMPLATE_FLAGS): Make -fno-implicit-templates conditional.
3962 * src/Makefile.in: Regenerate.
3963 * src/valarray-inst.cc: Move to..
3964 * src/valarray.cc: ...this.
3965 * acinclude.m4 (GLIBCXX_ENABLE_EXTERN_TEMPLATE]): Define.
3966 * configure.ac (GLIBCXX_ENABLE_EXTERN_TEMPLATE): Use it.
3967 * configure: Regenerate.
3968 * include/Makefile.am (stamp-extern-template): Add.
3969 * include/Makefile.in: Regenerate.
3971 * doc/xml/manual/configure.xml: Document --enable-extern-template.
3973 * include/bits/locale_classes.tcc: Adjust comment.
3974 * include/bits/locale_facets.tcc: Same.
3975 * include/bits/basic_ios.tcc: Same.
3976 * include/bits/istream.tcc: Same.
3977 * include/bits/codecvt.h: Same.
3978 * include/bits/ostream.tcc: Same.
3979 * include/bits/sstream.tcc: Same.
3980 * include/bits/c++config: Same.
3981 * include/bits/basic_string.tcc: Same.
3982 * include/bits/ostream_insert.h: Same.
3983 * include/bits/locale_facets_nonio.tcc: Same.
3984 * include/bits/streambuf.tcc: Same.
3985 * include/bits/allocator.h: Same.
3986 * include/bits/fstream.tcc: Same.
3988 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
3990 2011-03-02 Benjamin Kosnik <bkoz@redhat.com>
3992 * testsuite/Makefile.am: Make clean fixups.
3993 * testsuite/Makefile.in: Regenerate.
3995 2011-03-02 Marc Glisse <marc.glisse@normalesup.org>
3997 * include/std/ratio (ratio_less): Add comments.
3999 2011-03-02 Marc Glisse <marc.glisse@normalesup.org>
4002 * include/std/ratio (ratio_add): Avoid denominator overflow.
4003 * testsuite/20_util/ratio/operations/47913.cc: New.
4005 2011-02-28 Benjamin Kosnik <bkoz@redhat.com>
4007 * testsuite/20_util/hash/chi2_quality.cc: Use C++0x mode on simulators.
4008 * testsuite/20_util/hash/quality.cc: Same.
4010 2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>
4013 * include/std/streambuf (basic_streambuf<>::__safe_gbump,
4015 * include/bits/streambuf.tcc (basic_streambuf<>::xgetn,
4016 xputn): Use the latter.
4017 * include/bits/streambuf_iterator.h: Likewise.
4018 * src/strstream.cc: Likewise.
4019 * src/streambuf.cc: Likewise.
4020 * src/compatibility.cc: Likewise.
4021 * src/istream.cc: Likewise.
4022 * include/bits/fstream.tcc (basic_filebuf<>::xsgetn): Use setg
4024 * include/std/sstream (basic_stringbuf<>::_M_pbump): Add.
4025 * include/bits/sstream.tcc (basic_stringbuf<>::seekoff,
4026 seekpos, _M_sync): Use setg, setp, and _M_pbump.
4027 * config/abi/pre/gnu.ver: Tweak.
4029 2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>
4031 * testsuite/20_util/ratio/comparisons/comp3.cc: New.
4033 2011-02-28 Marc Glisse <marc.glisse@normalesup.org>
4036 * include/std/ratio (ratio_less): Reimplement to never overflow.
4037 * testsuite/20_util/ratio/comparisons/comp2.cc: Extend.
4039 2011-02-24 Benjamin Kosnik <bkoz@redhat.com>
4041 * testsuite/18_support/type_info/fundamental.cc: New.
4043 * testsuite/Makefile.am: Make clean fixups.
4044 * testsuite/Makefile.in: Regenerate.
4046 2011-02-19 François Dumont <francois.cppdevs@free.fr>
4048 * include/debug/string (basic_string::insert): Add iterator check and
4049 pass normal iterator to normal insert.
4050 * include/debug/macros.h (__glibcxx_check_heap,
4051 __glibcxx_check_heap_pred): Remove __glibcxx_check_valid_range,
4054 2011-02-17 Paolo Carlini <paolo.carlini@oracle.com>
4057 * testsuite/ext/vstring/hash/char/1.cc: Fix.
4058 * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
4060 2011-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
4062 * include/bits/regex.h (basic_regex::traits_type): Add typedef.
4063 (basic_regex::basic_regex(basic_regex&&)): Add noexcept.
4064 (basic_regex::operator=(basic_regex&&)): Likewise.
4065 (basic_regex::assign(basic_regex&&)): Likewise.
4066 (operator==(sub_match,...)): Implement DR 1181.
4067 (match_results::match_results(match_results&&)): Define.
4068 (match_results::operator=(const match_results&)): Fix parameter type.
4069 (match_results::operator=(match_results&&)): Define.
4071 2011-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
4074 * include/bits/regex_compiler.h (_Scanner::_M_advance): Do not treat
4075 line anchors as metacharacters.
4076 * testsuite/28_regex/basic_regex/ctors/47724.cc: New.
4078 2011-02-16 Paolo Carlini <paolo.carlini@oracle.com>
4081 * include/ext/vstring.h (hash<__gnu_cxx::__vstring>,
4082 hash<__gnu_cxx::__wvstring>, hash<__gnu_cxx::__u16vstring>,
4083 hash<__gnu_cxx::__u32vstring>): Add.
4084 * testsuite/ext/vstring/hash/char/1.cc: New.
4085 * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
4087 2011-02-16 Jonathan Wakely <jwakely.gcc@gmail.com>
4089 * include/bits/regex.h (match_results::format): Use char_traits.
4091 2011-02-16 Benjamin Kosnik <bkoz@redhat.com>
4093 * include/std/atomic: Remove atomic_address, uplift to N3225.
4094 * include/bits/atomic_0.h: Same.
4095 * include/bits/atomic_2.h: Same.
4096 * include/bits/atomic_base.h: Same.
4097 * testsuite/29_atomics/atomic_address/*: Delete.
4099 2011-02-14 Jonathan Wakely <jwakely.gcc@gmail.com>
4101 * include/bits/regex.h (sub_match::sub_match): Add.
4102 (match_results::ready): Add.
4103 (match_results::empty): Adjust.
4104 (match_results::length): Add missing dereference.
4105 (match_results::operator[],prefix,suffix): Add debug mode checks.
4106 (match_results::cend): Re-use end().
4107 (match_results::format): Adjust signatures.
4108 (operator==(match_results,match_results)): Implement.
4109 * include/bits/regex_compiler.h (_Scanner_base): Use constexpr.
4110 * include/bits/regex_constants.h (syntax_option_type): Likewise.
4111 * include/bits/regex_grep_matcher.h: Fix comment typo.
4112 (_SpecializedResults::_SpecializedResults): Simplify.
4113 * include/bits/regex_cursor.h: Fix comment typo.
4114 * include/bits/regex_nfa.h: Likewise.
4115 * testsuite/28_regex/basic_regex/ctors/basic/string_range_01_02_03.cc:
4116 Fix error code, remove xfail.
4117 * testsuite/28_regex/basic_regex/ctors/extended/
4118 string_range_01_02_03.cc: Likewise.
4120 2011-02-14 Jonathan Wakely <jwakely.gcc@gmail.com>
4122 * include/bits/regex_compiler.h: Remove unnecessary bind() calls.
4123 * include/bits/regex_nfa.h: Remove unnecessary base classes.
4125 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4127 * configure: Regenerate.
4129 2011-02-12 Paolo Carlini <paolo.carlini@oracle.com>
4132 * include/ext/algorithm (is_heap): In C++0x mode import from
4134 * testsuite/ext/is_heap/47709.cc: New.
4136 2011-02-12 Jakub Jelinek <jakub@redhat.com>
4137 Jonathan Wakely <jwakely.gcc@gmail.com>
4140 * testsuite/17_intro/headers/c++200x/operator_names.cc: New.
4141 * testsuite/17_intro/headers/c++1998/operator_names.cc: Add comment.
4143 2011-02-12 Paolo Carlini <paolo.carlini@oracle.com>
4145 * include/tr1/cmath (fabs): Define.
4146 * include/tr1/complex (acos, asin, atan): Avoid duplicate definitions
4149 2011-02-12 Jonathan Wakely <jwakely.gcc@gmail.com>
4151 * testsuite/tr1/headers/c++200x/complex.cc: New.
4153 2011-02-11 Johannes Singler <singler@kit.edu>
4156 * include/parallel/losertree.h
4157 (_LoserTreeUnguarded<>::__delete_min_insert):
4158 Add missing "using std::swap;", as for other variants.
4160 2011-02-10 Benjamin Kosnik <bkoz@redhat.com>
4162 * src/Makefile.am (sources): Add regex.cc.
4163 * src/Makefile.in: Regenerate.
4164 * src/regex.cc: New.
4165 * include/bits/regex_error.h (error_type): Use constexpr.
4166 (regex_error): Move ctor and dtor out of line.
4168 * testsuite/28_regex/03_requirements: To...
4169 * testsuite/28_regex/requirements: ... this.
4170 * testsuite/28_regex/04_header: To...
4171 * testsuite/28_regex/headers: ... this.
4172 * testsuite/28_regex/05_constants: To...
4173 * testsuite/28_regex/constants: ... this.
4174 * testsuite/28_regex/06_exception_type: To...
4175 * testsuite/28_regex/regex_error: ... this.
4176 * testsuite/28_regex/07_traits: To...
4177 * testsuite/28_regex/traits: ... this.
4178 * testsuite/28_regex/08_basic_regex: To...
4179 * testsuite/28_regex/basic_regex: ... this.
4180 * testsuite/28_regex/09_sub_match: To...
4181 * testsuite/28_regex/sub_match: ... this.
4182 * testsuite/28_regex/10_match_results: To...
4183 * testsuite/28_regex/match_results: ... this.
4184 * testsuite/28_regex/11_algorithms: To...
4185 * testsuite/28_regex/algorithms: ... this.
4186 * testsuite/28_regex/12_iterators: To...
4187 * testsuite/28_regex/iterators: ... this.
4189 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
4192 * include/bits/c++config: Do not use alternative token.
4193 * testsuite/17_intro/headers/c++1998/operator_names.cc: New.
4195 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
4197 * src/future.cc (future_error_category::message): Handle no_state.
4199 2011-02-10 Paolo Carlini <paolo.carlini@oracle.com>
4201 * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Do
4202 not test in C++0x mode.
4203 * testsuite/23_containers/map/modifiers/erase/47628.cc: Likewise.
4204 * testsuite/20_util/headers/utility/synopsis.cc: Tweak to work
4207 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
4209 * doc/xml/manual/status_cxx200x.xml: Update.
4210 * doc/html/*: Regenerate.
4212 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
4214 * doc/xml/manual/debug.xml: Improve data race docs.
4216 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
4219 * include/debug/map.h (map): Remove unnecessary using-declaration.
4220 * include/debug/multimap.h (multimap): Likewise.
4221 * include/profile/map.h (map): Likewise.
4222 * include/profile/multimap.h (multimap): Likewise.
4224 2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com>
4227 * libsupc++/guard.cc (recursive_init_error::~recursive_init_error):
4229 * libsupc++/guard_error.cc: ... new file.
4230 * libsupc++/Makefile.am: Update.
4231 * libsupc++/Makefile.in: Regenerate.
4233 2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com>
4235 * include/std/future (packaged_task::operator bool): Rename to...
4236 (packaged_task::valid): ...this.
4237 * testsuite/30_threads/packaged_task/cons/1.cc: Adjust.
4238 * testsuite/30_threads/packaged_task/cons/2.cc: Adjust.
4239 * testsuite/30_threads/packaged_task/cons/move.cc: Adjust.
4240 * testsuite/30_threads/packaged_task/cons/move_assign.cc: Adjust.
4241 * testsuite/30_threads/packaged_task/cons/alloc.cc: Adjust.
4242 * testsuite/30_threads/packaged_task/members/invoke.cc: Adjust.
4243 * testsuite/30_threads/packaged_task/members/reset.cc: Adjust.
4244 * testsuite/30_threads/packaged_task/members/reset2.cc: Adjust.
4245 * testsuite/30_threads/packaged_task/members/swap.cc: Adjust.
4246 * testsuite/30_threads/packaged_task/members/boolconv.cc: Remove.
4247 * testsuite/30_threads/packaged_task/members/valid.cc: Add.
4249 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
4251 * doc/xml/manual/io.xml: Fix typo.
4252 * doc/html/manual/streambufs.html: Likewise.
4254 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
4256 * config/abi/pre/gnu.ver: Fix.
4258 2011-02-08 Benjamin Kosnik <bkoz@redhat.com>
4260 * doc/xml/manual/appendix_porting.xml: Add doc section.
4261 * doc/xml/manual/appendix_contributing.xml: Split out doc bits to...
4262 * doc/xml/manual/documentation_hacking.xml: ...here.
4264 * doc/xml/manual/debug_mode.xml: Adjust.
4265 * doc/xml/manual/prerequisites.xml: Adjust.
4266 * doc/Makefile.am (xml_sources): Add dot files,
4267 documentation_hacking.xml.
4268 * doc/Makefile.in: Regenerate.
4270 * doc/xml/manual/build_hacking.xml: Use absolute paths for images.
4271 * doc/xml/images/confdeps.pdf: Add.
4273 * doc/html/*: Regenerate.
4275 2011-02-08 Jonathan Wakely <jwakely.gcc@gmail.com>
4277 * doc/xml/gnu/fdl-1.2.xml: Remove.
4278 * doc/xml/gnu/gpl-2.0.xml: Remove.
4279 * doc/Makefile.am: Update.
4280 * doc/Makefile.in: Regenerate.
4282 2011-02-07 Paolo Carlini <paolo.carlini@oracle.com>
4285 * include/bits/stl_tree.h (_Rb_tree::erase(iterator), erase(iterator,
4286 iterator)): Add back in C++03 mode.
4287 * testsuite/23_containers/map/modifiers/erase/47628.cc: New.
4288 * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Likewise.
4290 2011-02-07 Benjamin Kosnik <bkoz@redhat.com>
4292 PR libstdc++/47560 try two
4293 * config/os/hpux/os_defines.h: Guard for C++.
4295 2011-02-07 Gerald Pfeifer <gerald@pfeifer.com>
4297 * doc/xml/faq.xml: Adjust link to bug database.
4298 Remove old item on broken header files.
4300 2011-02-04 Benjamin Kosnik <bkoz@redhat.com>
4302 * include/bits/regex_error.h (__throw_regex_error): Not inline.
4303 * src/functexcept.cc: Add definition.
4304 * config/abi/pre/gnu.ver: Export.
4306 2011-02-04 Ralf Corsépius <ralf.corsepius@rtems.org>
4308 * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Add *-rtems*.
4309 * configure: Regenerate.
4311 2011-02-01 Paolo Carlini <paolo.carlini@oracle.com>
4314 * include/bits/atomic_0.h (_ATOMIC_STORE_, _ATOMIC_MODIFY_,
4315 _ATOMIC_CMPEXCHNG_): Rename __v -> __w, and __m -> __n, to
4316 avoid name conflicts.
4318 2011-02-01 Benjamin Kosnik <bkoz@redhat.com>
4321 * config/os/hpux/os_defines.h: Remove use of macros on namespace.
4323 2011-02-01 Benjamin Kosnik <bkoz@redhat.com>
4325 * scripts/run_doxygen: Allow doxygen 1.7.0 again.
4326 * doc/doxygen/user.cfg.in (PDF_HYPERLINKS): Re-enable.
4327 (COMPACT_LATEX): Enable.
4329 * include/profile/impl/profiler_container_size.h: Adjust doxygen markup.
4330 * include/profile/impl/profiler_hash_func.h: Same.
4331 * include/bits/hashtable.h: Same.
4332 * include/backward/auto_ptr.h: Same.
4333 * include/backward/strstream: Same.
4334 * include/backward/backward_warning.h: Same.
4335 * include/backward/binders.h: Same.
4337 2011-02-01 Gerald Pfeifer <gerald@pfeifer.com>
4339 * doc/xml/manual/debug.xml: Use GDB instead of gdb.
4340 Adjust link to GDB manual.
4342 2011-01-31 Benjamin Kosnik <bkoz@redhat.com>
4344 * include/bits/c++config (_GLIBCXX_DEPRECATED): To
4345 _GLIBCXX_USE_DEPRECATED.
4346 (_GLIBCXX_DEPRECATED_ATTR): To _GLIBCXX_DEPRECATED.
4347 * doc/xml/manual/using.xml: Same.
4348 * include/std/memory: Same.
4349 * include/std/streambuf: Same.
4350 * include/bits/shared_ptr.h: Same.
4351 * include/bits/unique_ptr.h: Same.
4352 * include/bits/shared_ptr_base.h: Same.
4353 * include/bits/stl_function.h: Same.
4354 * include/tr1/shared_ptr.h: Same.
4355 * include/backward/auto_ptr.h: Same.
4356 * include/backward/binders.h: Same.
4358 2011-01-31 Paolo Carlini <paolo.carlini@oracle.com>
4360 * doc/html/ext/lwg-active.html: Update to Revision D73.
4361 * doc/html/ext/lwg-closed.html: Likewise.
4362 * doc/html/ext/lwg-defects.html: Likewise.
4363 * doc/xml/manual/intro.xml: Update status of issues 408, 539, 865.
4365 2011-01-30 Benjamin Kosnik <bkoz@redhat.com>
4367 PR libstdc++/36104 part four
4368 * include/bits/c++config (_GLIBCXX_STD): Remove.
4369 (_GLIBCXX_STD_D, _GLIBCXX_PR): Now _GLIBCXX_STD_C.
4370 (_GLIBCXX_P): Now _GLIBCXX_STD_A.
4371 (_GLIBCXX_NAMESPACE_DEBUG, _GLIBCXX_NAMESPACE_PARALLEL,
4372 _GLIBCXX_NAMESPACE_PROFILE, _GLIBCXX_NAMESPACE_VERSION): Remove.
4373 (_GLIBCXX_INLINE_DEBUG, _GLIBCXX_INLINE_PARALLEL,
4374 _GLIBCXX_INLINE_PROFILE): Remove.
4375 (_GLIBCXX_BEGIN_NAMESPACE(X)): Remove.
4376 (_GLIBCXX_END_NAMESPACE): Remove.
4377 (_GLIBCXX_BEGIN_NESTED_NAMESPACE(X, Y)): Remove.
4378 (_GLIBCXX_END_NESTED_NAMESPACE): Remove.
4379 (_GLIBCXX_BEGIN_NAMESPACE_ALGO): Add.
4380 (_GLIBCXX_END_NAMESPACE_ALGO): Add.
4381 (_GLIBCXX_BEGIN_NAMESPACE_CONTAINER): Add.
4382 (_GLIBCXX_END_NAMESPACE_CONTAINER): Add.
4383 (_GLIBCXX_BEGIN_NAMESPACE_VERSION): Add.
4384 (_GLIBCXX_END_NAMESPACE_VERSION): Add.
4385 (_GLIBCXX_BEGIN_LDBL_NAMESPACE): To _GLIBCXX_BEGIN_NAMESPACE_LDBL.
4386 (_GLIBCXX_END_LDBL_NAMESPACE): To _GLIBCXX_END_NAMESPACE_LDBL.
4387 (_GLIBCXX_VISIBILITY_ATTR): Revert to _GLIBCXX_VISIBILITY.
4388 * include/*: Use new macros for namespace scope.
4392 * src/Makefile.am (sources): Remove debug_list.cc, add
4393 compatibility-debug_list-2.cc.
4394 (parallel_sources): Remove parallel_list.cc, add
4395 compatibility-parallel_list-2.cc.
4396 (compatibility-parallel_list-2.[o,lo]): New rule.
4397 * src/Makefile.in: Regenerate.
4398 * src/debug_list.cc: Remove.
4399 * src/parallel_list.cc: Remove.
4400 * src/compatibility-list-2.cc: New.
4401 * src/compatibility-debug_list-2.cc: New.
4402 * src/compatibility-parallel_list-2.cc: New.
4404 * doc/doxygen/user.cfg.in: Adjust macros.
4406 * testsuite/20_util/auto_ptr/assign_neg.cc: Adjust line numbers, macros.
4407 * testsuite/20_util/declval/requirements/1_neg.cc: Same.
4408 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Same.
4409 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same.
4410 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same.
4411 * testsuite/20_util/forward/c_neg.cc: Same.
4412 * testsuite/20_util/forward/f_neg.cc: Same.
4413 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
4414 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
4415 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Same.
4416 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Same.
4417 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Same.
4418 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
4419 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
4420 * testsuite/23_containers/deque/requirements/dr438/
4421 constructor_1_neg.cc: Same.
4422 * testsuite/23_containers/deque/requirements/dr438/
4423 constructor_2_neg.cc: Same.
4424 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
4425 * testsuite/23_containers/forward_list/capacity/1.cc: Same.
4426 * testsuite/23_containers/forward_list/requirements/dr438/
4427 assign_neg.cc: Same.
4428 * testsuite/23_containers/forward_list/requirements/dr438/
4429 constructor_1_neg.cc: Same.
4430 * testsuite/23_containers/forward_list/requirements/dr438/
4431 constructor_2_neg.cc: Same.
4432 * testsuite/23_containers/forward_list/requirements/dr438/
4433 insert_neg.cc: Same.
4434 * testsuite/23_containers/list/capacity/29134.cc: Same.
4435 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
4436 * testsuite/23_containers/list/requirements/dr438/
4437 constructor_1_neg.cc: Same.
4438 * testsuite/23_containers/list/requirements/dr438/
4439 constructor_2_neg.cc: Same.
4440 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
4441 * testsuite/23_containers/vector/bool/capacity/29134.cc: Same.
4442 * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc: Same.
4443 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Same.
4444 * testsuite/23_containers/vector/requirements/dr438/
4445 constructor_1_neg.cc: Same.
4446 * testsuite/23_containers/vector/requirements/dr438/
4447 constructor_2_neg.cc: Same.
4448 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
4449 * testsuite/25_algorithms/sort/35588.cc: Same.
4450 * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
4451 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
4452 * testsuite/ext/profile/mutex_extensions_neg.cc: Same.
4453 * testsuite/ext/profile/profiler_algos.cc: Same.
4454 * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Same.
4455 * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Same.
4456 * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Same.
4457 * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Same.
4458 * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same.
4460 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
4462 * doc/xml/manual/abi.xml: Adjust link to C++ ABI specification.
4463 Improve description of one such reference.
4465 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
4467 * doc/xml/manual/codecvt.xml: Fix link to The Austin Common
4468 Standards Revision Group.
4469 * doc/xml/manual/locale.xml: Ditto.
4470 * doc/xml/manual/messages.xml: Ditto.
4471 * doc/xml/manual/using_exceptions.xml: Ditto.
4473 2011-01-28 Paolo Carlini <paolo.carlini@oracle.com>
4475 * include/bits/atomic_base.h: Do not include <stddef.h>.
4476 (kill_dependency): Uglify ret.
4478 2011-01-26 Johannes Singler <singler@kit.edu>
4480 * include/parallel/numeric (inner_product, partial_sum):
4481 Qualify subsequent call with __gnu_parallel instead of
4482 _GLIBCXX_STD_P to reenable parallel execution without ambiguity.
4483 * include/parallel/algobase.h (equal): Likewise.
4484 * include/parallel/algo.h (find_first_of, search_n, merge,
4485 nth_element, partial_sort, max_element, min_element): Likewise.
4486 * testsuite/25_algorithms/headers/algorithm/
4487 parallel_algorithm_mixed1.cc (main): Add respective test cases.
4488 * testsuite/25_algorithms/headers/algorithm/
4489 parallel_algorithm_mixed2.cc (main): Likewise.
4490 * testsuite/26_numerics/headers/numeric/
4491 parallel_numeric_mixed1.cc (main): Likewise.
4492 * testsuite/26_numerics/headers/numeric/
4493 parallel_numeric_mixed2.cc (main): Likewise.
4495 2011-01-24 Graham Reed <greed@pobox.com>
4498 * config/os/aix/ctype_inline.h (ctype<char>::is): Use _M_table if
4501 2011-01-24 Johannes Singler <singler@kit.edu>
4504 * include/parallel/losertree.h
4505 (_LoserTree<>::__delete_min_insert):
4506 Do not qualify swap with std:: for value type,
4507 but include a using directive instead.
4508 (_LoserTreeUnguarded<>::__delete_min_insert): Likewise.
4509 * include/parallel/balanced_quicksort.h (__qsb_divide):
4510 Use std::iter_swap instead of std::swap.
4511 (__qsb_local_sort_with_helping): Likewise.
4512 * include/parallel/partition.h (__parallel_partition):
4513 Likewise. (__parallel_nth_element): Likewise.
4515 2011-01-24 Johannes Singler <singler@kit.edu>
4518 * include/parallel/multiway_merge.h (_UnguardedIterator):
4519 Remove useless "mutable" from reference declaration.
4521 2011-01-21 Benjamin Kosnik <bkoz@redhat.com>
4523 * include/bits/c++config (_GLIBCXX_EXPORT_TEMPLATE): Remove.
4524 * include/debug/safe_sequence.h: Same.
4525 * include/debug/safe_iterator.h: Same.
4526 * include/std/forward_list: Same.
4527 * include/std/deque: Same.
4528 * include/std/list: Same.
4529 * include/std/random: Same.
4530 * include/std/streambuf: Same.
4531 * include/std/fstream: Same.
4532 * include/std/istream: Same.
4533 * include/std/string: Same.
4534 * include/std/ostream: Same.
4535 * include/std/sstream: Same.
4536 * include/ext/vstring.h: Same.
4537 * include/bits/basic_ios.h: Same.
4538 * include/bits/locale_classes.h: Same.
4539 * include/bits/locale_facets.h: Same.
4540 * include/bits/valarray_array.h: Same.
4541 * include/bits/locale_facets_nonio.h: Same.
4542 * include/tr1/random: Same.
4544 2011-01-20 Jonathan Wakely <jwakely.gcc@gmail.com>
4546 * doc/xml/manual/diagnostics.xml: Replace note about C++0x concepts.
4548 2011-01-20 Benjamin Kosnik <bkoz@redhat.com>
4550 PR libstdc++/36104 part three
4551 * src/hashtable_c++0x.cc: Adjust namespace macros.
4552 * testsuite/util/testsuite_rvalref.h: Don't forward declare hash.
4553 * config/abi/pre/gnu-versioned-namespace.ver: Update.
4555 2011-01-20 Benjamin Kosnik <bkoz@redhat.com>
4557 * include/ext/pb_ds/detail/resize_policy/
4558 hash_load_check_resize_trigger_imp.hpp: Adjust assert condition.
4559 * include/ext/pb_ds/detail/pat_trie_/
4560 constructors_destructor_fn_imps.hpp: Same.
4561 * include/ext/pb_ds/detail/binary_heap_/erase_fn_imps.hpp: Format.
4562 * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same.
4563 * include/ext/pb_ds/detail/debug_map_base.hpp: Use never_adjustor.
4565 * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Adjust
4566 iterations downward when testing in debug mode.
4567 * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
4568 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
4569 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
4570 * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
4571 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
4572 * testsuite/ext/pb_ds/example/hash_illegal_resize.cc: Use SIZE,
4573 reduce in debug mode.
4575 2011-01-19 Benjamin Kosnik <bkoz@redhat.com>
4577 PR libstdc++/36104 part two
4578 * include/bits/hashtable.h: Revert to non-nested macro usage.
4579 * include/bits/hashtable_policy.h: Same.
4581 2011-01-19 Graham Reed <greed@pobox.com>
4584 * src/bitmap_allocator.cc (free_list::_M_get): Lock mutex.
4586 2011-01-18 Benjamin Kosnik <bkoz@redhat.com>
4588 * doc/xml/images/confdeps.png: Regenerate.
4590 * include/std/chrono (duration): Mark copy constructor constexpr.
4591 * testsuite/20_util/duration/cons/constexpr.cc: Add test.
4593 2011-01-18 Paolo Carlini <paolo.carlini@oracle.com>
4595 * include/bits/unique_ptr.h (default_delete<>::default_delete()):
4596 Declare defaulted per DR 1517.
4597 * testsuite/util/testsuite_common_types.h
4598 (constexpr_defaulted_default_constructible): Add.
4599 * testsuite/20_util/default_delete/cons/constexpr.cc: Use it.
4601 2011-01-17 Paolo Carlini <paolo.carlini@oracle.com>
4603 * include/bits/stl_queue.h (queue<>::swap, priority_queue<>::swap):
4605 * include/bits/stl_stack.h (stack<>::swap): Likewise.
4607 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
4610 * testsuite/28_regex/08_basic_regex/requirements/constexpr_data.cc:
4611 Only test wregex when _GLIBCXX_USE_WCHAR_T is defined.
4613 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
4616 * testsuite/18_support/numeric_limits/lowest.cc:
4617 Only test wchar_t when _GLIBCXX_USE_WCHAR_T is defined.
4619 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
4622 * testsuite/21_strings/basic_string/requirements/typedefs.cc:
4623 Only test std::wstring when _GLIBCXX_USE_WCHAR_T is defined.
4625 2011-01-16 François Dumont <francois.cppdevs@free.fr>
4627 * testsuite/23_containers/forward_list/debug/erase_after1_neg.cc: Move
4628 to this. Use _neg suffix.
4629 * testsuite/23_containers/forward_list/debug/erase_after1.cc: ...from
4631 * testsuite/23_containers/forward_list/debug/erase_after2_neg.cc:
4633 * testsuite/23_containers/forward_list/debug/erase_after2.cc: Same.
4634 * testsuite/23_containers/forward_list/debug/erase_after3_neg.cc:
4636 * testsuite/23_containers/forward_list/debug/erase_after3.cc: Same.
4637 * testsuite/23_containers/forward_list/debug/erase_after4_neg.cc:
4639 * testsuite/23_containers/forward_list/debug/erase_after4.cc: Same.
4640 * testsuite/23_containers/forward_list/debug/erase_after5_neg.cc:
4642 * testsuite/23_containers/forward_list/debug/erase_after5.cc: Same.
4643 * testsuite/23_containers/forward_list/debug/erase_after6_neg.cc:
4645 * testsuite/23_containers/forward_list/debug/erase_after6.cc: Same.
4646 * testsuite/23_containers/forward_list/debug/erase_after7_neg.cc:
4648 * testsuite/23_containers/forward_list/debug/erase_after7.cc: Same.
4649 * testsuite/23_containers/forward_list/debug/erase_after8_neg.cc:
4651 * testsuite/23_containers/forward_list/debug/erase_after8.cc: Same.
4652 * testsuite/23_containers/forward_list/debug/erase_after9_neg.cc:
4654 * testsuite/23_containers/forward_list/debug/erase_after9.cc: Same.
4655 * testsuite/23_containers/forward_list/debug/insert_after1_neg.cc:
4657 * testsuite/23_containers/forward_list/debug/insert_after1.cc: Same.
4658 * testsuite/23_containers/forward_list/debug/insert_after2_neg.cc:
4660 * testsuite/23_containers/forward_list/debug/insert_after2.cc: Same.
4661 * testsuite/23_containers/forward_list/debug/insert_after3_neg.cc:
4663 * testsuite/23_containers/forward_list/debug/insert_after3.cc: Same.
4664 * testsuite/23_containers/forward_list/debug/splice_after1_neg.cc:
4666 * testsuite/23_containers/forward_list/debug/splice_after1.cc: Same.
4667 * testsuite/23_containers/forward_list/debug/splice_after2_neg.cc:
4669 * testsuite/23_containers/forward_list/debug/splice_after2.cc: Same.
4670 * testsuite/23_containers/forward_list/debug/splice_after3_neg.cc:
4672 * testsuite/23_containers/forward_list/debug/splice_after3.cc: Same.
4673 * testsuite/23_containers/forward_list/debug/splice_after4_neg.cc:
4675 * testsuite/23_containers/forward_list/debug/splice_after4.cc: Same.
4677 2011-01-14 Benjamin Kosnik <bkoz@redhat.com>
4680 * include/Makefile.am (bits_sup_headers, stamp-bits-sup): New.
4681 * include/Makefile.in: Regenerate.
4682 * libsupc++/Makefile.am (std_HEADERS, bits_HEADERS): New.
4683 (install-stdHEADERS, install-bitsHEADERS): New.
4684 * libsupc++/Makefile.in: Regenerate.
4686 * include/bits/c++config: Update for inline namespaces.
4687 * libsupc++/cxxabi-forced.h: To...
4688 * libsupc++/cxxabi_forced.h: ...this.
4689 * libsupc++/hash_bytes.h: Separate file.
4690 * libsupc++/typeinfo: Use it.
4691 * libsupc++/exception: Adjust for bits subdirectory.
4692 * libsupc++/eh_aux_runtime.cc: Same.
4693 * libsupc++/eh_ptr.cc: Same.
4694 * libsupc++/new_op.cc: Same.
4695 * libsupc++/exception_defines.h: Same.
4696 * libsupc++/nested_exception.h: Same.
4697 * libsupc++/eh_terminate.cc: Same.
4698 * libsupc++/vec.cc: Same.
4699 * libsupc++/vterminate.cc: Same.
4700 * libsupc++/exception_ptr.h: Same.
4701 * libsupc++/eh_personality.cc: Same.
4702 * libsupc++/eh_call.cc: Same.
4703 * libsupc++/new_opnt.cc: Same.
4704 * libsupc++/hash_bytes.cc: Same.
4705 * config/cpu/arm/cxxabi_tweaks.h: Same.
4706 * config/cpu/generic/cxxabi_tweaks.h: Same.
4707 * libsupc++/cxxabi.h: Same. Consolidate _GLIBCXX_NOTHROW defines.
4708 * include/std/bitset: Same.
4709 * include/ext/vstring.tcc: Same.
4710 * include/bits/hashtable.h: Same.
4711 * include/bits/functional_hash.h: Same.
4712 * include/bits/hashtable_policy.h: Same.
4713 * include/bits/basic_string.h: Same.
4714 * include/bits/istream.tcc: Same.
4715 * include/bits/ostream.tcc: Same.
4716 * include/bits/algorithmfwd.h: Same.
4717 * include/bits/basic_string.tcc: Same.
4718 * include/bits/ostream_insert.h: Same.
4719 * include/bits/fstream.tcc: Same.
4720 * include/bits/functexcept.h: Same.
4722 * doc/doxygen/user.cfg.in: Adjust names.
4724 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
4726 2011-01-14 Paolo Carlini <paolo.carlini@oracle.com>
4728 * testsuite/25_algorithms/is_permutation/check_type.cc: Minor
4730 * testsuite/25_algorithms/is_permutation/1.cc: Cosmetic changes.
4732 2011-01-13 Paolo Carlini <paolo.carlini@oracle.com>
4734 * testsuite/25_algorithms/is_permutation/check_type.cc: New.
4735 * testsuite/25_algorithms/is_permutation/requirements/
4736 explicit_instantiation/2.cc: Likewise.
4737 * testsuite/25_algorithms/is_permutation/requirements/
4738 explicit_instantiation/pod.cc: Likewise.
4739 * testsuite/25_algorithms/is_permutation/1.cc: Likewise.
4741 2011-01-13 John Lakos <jlakos@bloomberg.net>
4742 Pablo Halpern <phalpern@halpernwightsoftware.com>
4743 Paolo Carlini <paolo.carlini@oracle.com>
4745 * include/bits/stl_algo.h (is_permutation): Add, per N3068.
4746 * include/bits/algorithmfwd.h: Add.
4748 2011-01-13 Jonathan Wakely <jwakely.gcc@gmail.com>
4751 * config/os/bsd/netbsd/ctype_base.h: Use new macros based on version.
4753 2011-01-11 Paolo Carlini <paolo.carlini@oracle.com>
4755 * aclocal.m4: Regenerate.
4757 2011-01-06 Paolo Carlini <paolo.carlini@oracle.com>
4760 * src/placeholders.cc: New.
4761 * src/Makefile.am: Adjust.
4762 * src/Makefile.in: Regenerate.
4763 * include/std/functional (placeholders::_1, _2, ..., _29): Declare
4765 * config/abi/pre/gnu.ver: Export.
4767 2011-01-05 François Dumont <francois.cppdevs@free.fr>
4769 * include/debug/safe_base.h (_Safe_iterator_base::_M_unlink): New.
4770 * include/src/debug.cc: Use latter
4771 * include/debug/forward_list (forward_list<>::_M_swap): Fix to
4772 correctly handle before_begin iterators.
4773 * testsuite/23_containers/forward_list/debug/swap.cc: Remove now
4774 useless _GLIBCXX_DEBUG checks.
4776 2011-01-04 Kai Tietz <kai.tietz@onevision.com>
4779 * configure.ac (AC_CHECK_FILE): Replaced by test -f.
4780 * configure: Regenerated.
4782 2011-01-03 Paolo Carlini <paolo.carlini@oracle.com>
4785 * config/abi/pre/gnu.ver: Export std::bad_function_call symbols.
4788 Copyright (C) 2011 Free Software Foundation, Inc.
4790 Copying and distribution of this file, with or without modification,
4791 are permitted in any medium without royalty provided the copyright
4792 notice and this notice are preserved.