1 2008-11-10 Paolo Carlini <paolo.carlini@oracle.com>
4 * config/locale/gnu/monetary_members.cc (moneypunct<>::
5 _M_initialize_moneypunct(__c_locale, const char*)): Use correct vector
6 delete for __wcs_ps and __wcs_ns.
8 2008-11-07 Bob Walters <bob.s.walters@gmail.com>
10 * include/ext/pointer.h: New, add experimental support for non-standard
11 pointer types in containers via the allocator::pointer typedef.
12 (Currently only supported/working with std::vector)
13 * include/ext/cast.h: New, add overload-able pointer casting functions
14 for use in containers supporting non-standard pointer types.
15 * include/ext/extptr_allocator.h: New, add _ExtPtr_allocator.
16 * include/Makefile.am: Update.
17 * include/precompiled/extc++.h: Likewise.
18 * include/Makefile.in: Regenerate.
19 * testsuite/ext/ext_pointer/1.cc: New.
20 * testsuite/ext/ext_pointer/1_neg.cc: Likewise.
21 * testsuite/23_containers/vector/ext_pointer/citerators.cc: New.
22 * testsuite/23_containers/vector/ext_pointer/data_access.cc: Likewise.
23 * testsuite/23_containers/vector/ext_pointer/resize.cc: Likewise.
24 * testsuite/23_containers/vector/ext_pointer/types/1.cc: Likewise.
25 * testsuite/23_containers/vector/ext_pointer/modifiers/element.cc:
27 * testsuite/23_containers/vector/ext_pointer/modifiers/erase.cc:
29 * testsuite/23_containers/vector/ext_pointer/modifiers/insert.cc:
31 * testsuite/23_containers/vector/ext_pointer/explicit_instantiation/
33 * testsuite/23_containers/vector/ext_pointer/explicit_instantiation/
36 2008-11-05 Jonathan Wakely <jwakely.gcc@gmail.com>
40 * include/tr1_impl/functional (result_of,reference_wrapper): Update
41 to use C++0x features.
42 * testsuite/20_util/function_objects/return_types/result_of.cc: New.
43 * testsuite/20_util/function_objects/return_types/result_of_neg.cc:
45 * testsuite/20_util/function_objects/return_types/result_of_ref.cc:
47 * testsuite/20_util/reference_wrapper/24803.cc: Uncomment FIXMEs.
49 2008-11-05 Jonathan Wakely <jwakely.gcc@gmail.com>
53 * include/tr1_impl/functional (result_of,reference_wrapper): Update
54 to use C++0x features.
55 * testsuite/20_util/function_objects/return_types/result_of.cc: New.
56 * testsuite/20_util/function_objects/return_types/result_of_neg.cc:
58 * testsuite/20_util/function_objects/return_types/result_of_ref.cc:
60 * testsuite/20_util/reference_wrapper/24803.cc: Uncomment FIXMEs.
62 2008-11-03 Paolo Carlini <paolo.carlini@oracle.com>
64 * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
65 iter_type, ios_base&, ios_base::iostate&, bool&): Tidy.
66 * testsuite/22_locale/num_get/get/char/37958.cc: Extend.
67 * testsuite/22_locale/num_get/get/wchar_t/37958.cc: Likewise.
69 2008-11-01 Paolo Carlini <paolo.carlini@oracle.com>
71 PR libstdc++/37958 (cont again)
72 * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
73 iter_type, ios_base&, ios_base::iostate&, bool&): Fix again.
74 * testsuite/22_locale/num_get/get/char/37958.cc: Extend.
75 * testsuite/22_locale/num_get/get/wchar_t/37958.cc: Likewise.
77 2008-11-01 Paolo Carlini <paolo.carlini@oracle.com>
79 * include/bits/locale_facets.tcc (num_get<>::do_get(, long&),
80 num_get<>::do_get(, unsigned short&),
81 num_get<>::do_get(, unsigned int&),
82 num_get<>::do_get(, unsigned long&),
83 num_get<>::do_get(, long long&),
84 num_get<>::do_get(, unsigned long long&),
85 num_put<>::do_put(, long), num_put<>::do_put(, unsigned long),
86 num_put<>::do_put(, long long),
87 num_put<>::do_put(, unsigned long long)): Move inline...
88 * include/bits/locale_facets.h: ... here.
90 2008-11-01 Paolo Carlini <paolo.carlini@oracle.com>
92 PR libstdc++/37958 (cont)
93 * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
94 iter_type, ios_base&, ios_base::iostate&, bool&): Fix again.
96 2008-11-01 Jonathan Wakely <jwakely.gcc@gmail.com>
98 * include/bits/shared_ptr.h: Update comparisons to match WP.
99 (_Sp_counted_ptr): Make copy and assignment members deleted.
100 (_Sp_counted_deleter): Remove private copy and assignment members.
101 (__shared_count::_M_less,__weak_count::_M_less,operator<): Replace
102 friend operator< with overloaded _M_less member functions to allow
103 comparison with either shared_count or weak_count.
104 (__shared_ptr::_M_less,__weak_ptr::_M_less): Replace with...
105 (__shared_ptr::owner_before,__weak_ptr::owner_before): New overloads
106 for ownership-based ordering.
107 (operator<(__shared_ptr,__shared_ptr)): Compare stored pointers,
109 (operator==(__shared_ptr,__shared_ptr)): Make non-friend.
110 (operator!=(__shared_ptr,__shared_ptr)): Likewise.
111 (less<__shared_ptr<>>,less<shared_ptr<>>,_Sp_less): Explicitly call
112 pointer specialization.
113 (__weak_ptr::operator<,weak_ptr::operator<=,weak_ptr::operator>,
114 weak_ptr::operator>=): Remove operator< and delete all comparisons.
115 (_Sp_owner_less,owner_less): Predicate for ownership-based ordering.
116 (operator<(shared_ptr,shared_ptr): Overload for derived shared_ptr.
117 (operator==(shared_ptr,shared_ptr): Likewise.
118 (operator!=(shared_ptr,shared_ptr): Likewise.
119 (swap(shared_ptr,shared_ptr)): Fix parameter types.
120 (swap(weak_ptr,weak_ptr)): Add missing overload.
121 * testsuite/20_util/owner_less/cmp.cc: New.
122 * testsuite/20_util/shared_ptr/comparison/cmp.cc: Test other ops.
123 * testsuite/20_util/shared_ptr/comparison/less.cc: New.
124 * testsuite/20_util/shared_ptr/observers/owner_before.cc: New.
125 * testsuite/20_util/weak_ptr/observers/owner_before.cc: New.
126 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: New.
128 2008-10-31 Paolo Carlini <paolo.carlini@oracle.com>
131 * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
132 iter_type, ios_base&, ios_base::iostate&, bool&): Fix.
133 * testsuite/22_locale/num_get/get/char/37958.cc: New.
134 * testsuite/22_locale/num_get/get/wchar_t/37958.cc: Likewise.
136 2008-10-27 Paolo Carlini <paolo.carlini@oracle.com>
140 2008-10-18 Douglas Gregor <doug.gregor@gmail.com>
142 * include/bits/stl_pair.h (__may_be_null_pointer_init): New.
143 (pair::pair): Eliminate the redundant pair(U1&&, U2&&) constructor.
144 Add lvalue pair<U1, U2> constructor to handle non-const pair lvalues.
145 Remove the old variadic constructor, and instead provide several
146 variadic constructors that avoid failing when attempting to
147 initialize a pointer from a null pointer constant.
148 * testsuite/20_util/pair/moveable.cc (test3): Add new tests with
149 initialization of pointers from the null pointer constant.
151 2008-10-27 Paolo Carlini <paolo.carlini@oracle.com>
154 * config/os/mingw32/os_defines.h: Define _GLIBCXX_HAVE_BROKEN_VSWPRINTF
155 * include/bits/basic_string.h: Guard string conversions with
156 !defined(_GLIBCXX_HAVE_BROKEN_VSWPRINTF) too.
157 * testsuite/lib/libstdc++.exp (check_v3_target_string_conversions):
159 * testsuite/lib/dg-options.exp (dg-require-string-conversions): New.
160 * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
162 * testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc:
164 * testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
166 * testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
168 * testsuite/21_strings/basic_string/numeric_conversions/char/
170 * testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc:
172 * testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
174 * testsuite/21_strings/basic_string/numeric_conversions/char/
175 to_string.cc: Likewise.
176 * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
179 2008-10-24 Paolo Carlini <paolo.carlini@oracle.com>
181 * config/os/generic/error_constants.h (enum errc): Remove
183 * config/os/mingw32/error_constants.h (enum errc): Likewise.
184 * testsuite/19_diagnostics/headers/system_error/errc_std_c++0x.cc:
187 2008-10-24 Jakub Jelinek <jakub@redhat.com>
189 * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Remove dejagnu.
190 (RUNTESTDEFAULTFLAGS, EXPECT, check_DEJAGNU_normal_targets): New
192 (%/site.exp, check-DEJAGNU%): New targets.
193 (check-am): Run $(MAKE) check-DEJAGNU.
194 * testsuite/Makefile.in: Regenerated.
196 2008-10-23 Chris Fairles <cfairles@gcc.gnu.org>
198 * config/os/generic/error_constants.h (errc): Use long type.
199 * config/os/mingw32/error_constants.h (errc): Likewise.
201 2008-10-22 Chris Fairles <cfairles@gcc.gnu.org>
203 * include/std/system_error (is_error_code_enum): Specialize for errc.
204 (error_category::error_category): Defaulted and protected.
205 (error_category::~error_category): New, virtual.
206 (error_category::error_category(const error_category&),
207 error_category::operator=(const error_category&)): Deleted.
208 (get_system_category, get_posix_category): Remove (DR 890).
209 (system_category): External linkage (DR 890).
210 (posix_category): Remove.
211 (generic_category): Add. External linkage (DR 890).
212 (error_code::error_code<>(_ErrorCodeEnum)): Use generic_category.
213 (error_code::clear, error_code::operator=<>(_ErrorCodeEnum)): Forward to
214 error_code::assign, use generic_category.
215 (error_condition::error_condition,
216 error_condition::error_condition<>(_ErrorConditionEnum)): Use
218 (error_condition::clear,
219 error_condition::operator=<>(_ErrorConditionEnum)): Forward to
220 error_code::assign, use generic_category.
221 (make_error_code, make_error_condition): Define in namespace std.
222 * include/std/mutex (unique_lock<>::lock, unique_lock<>::try_lock,
223 unique_lock<>::try_lock_until<>(duration),
224 unique_lock<>::try_lock_for<>(duration)): Replace posix_error with errc.
225 * src/system_error.cc (system_error_category, generic_error_category):
227 (gnu_error_category): Remove.
228 (get_system_category, get_posix_category): Remove (DR 890).
229 (system_category, generic_category): Define.
230 * src/functexcept.cc (__throw_system_error): Use generic_category.
231 * config/abi/pre/gnu.ver: Export system_category and generic_category,
232 remove get_system_category and get_generic_category (DR 890).
233 * config/os/generic/error_constants.h (posix_errno): Rename to errc, use
234 enum class type. Fix spelling.
235 * config/os/mingw32/error_constants.h (posix_errno): Likewise.
236 * testsuite/19_diagnostics/error_code/cons/1.cc: Use errc and
238 * testsuite/19_diagnostics/error_code/operators/bool.cc: Use errc.
239 * testsuite/19_diagnostics/error_code/operators/equal.cc: Likewise.
240 * testsuite/19_diagnostics/error_code/operators/not_equal.cc: Likewise.
241 * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Update
242 dg-error line numbers.
243 * testsuite/19_diagnostics/error_condition/cons/1.cc: Use
245 * testsuite/19_diagnostics/error_condition/operators/bool.cc: Use errc.
246 * testsuite/19_diagnostics/error_condition/operators/equal.cc: Likewise.
247 * testsuite/19_diagnostics/error_condition/operators/not_equal.cc:
249 * testsuite/19_diagnostics/headers/system_error/errc_std_c++0x.cc: New.
250 * testsuite/19_diagnostics/headers/system_error/types_std_c++0x.cc:
251 Remove using tests since errc is not a namespace.
252 * testsuite/19_diagnostics/system_error/cons-1.cc: Use errc.
253 * testsuite/19_diagnostics/system_error/what-4.cc: Likewise.
254 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/error_code.cc:
256 * testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc:
258 * testsuite/30_threads/unique_lock/locking/2.cc: Likewise.
260 2008-10-20 Paolo Carlini <paolo.carlini@oracle.com>
262 * include/tr1_impl/hashtable_policy.h (_Hash_node<>::_Hash_node<>
263 (_Args&&...)): Add in C++0x mode.
264 * include/tr1_impl/hashtable (_Hashtable<>::_M_allocate_node,
265 _Hashtable<>::_M_deallocate_node): Use _M_get_Node_allocator in
268 * include/tr1_impl/hashtable (_Hashtable<>::max_size): Use
269 Node_allocator for improved accuracy.
270 * testsuite/tr1/6_containers/unordered_multimap/capacity/
271 29134-multimap.cc: Adjust.
272 * testsuite/tr1/6_containers/unordered_multimap/capacity/
273 29134-map.cc: Likewise.
274 * testsuite/tr1/6_containers/unordered_multimap/capacity/
275 29134-multiset.cc: Adjust.
276 * testsuite/tr1/6_containers/unordered_multimap/capacity/
277 29134-set.cc: Likewise.
279 2008-10-19 Paolo Carlini <paolo.carlini@oracle.com>
281 * include/bits/stl_tree.h (_Rb_tree_node<>::_Rb_tree_node<>
282 (_Args&&...)): Add in C++0x mode.
283 (_Rb_tree<>::_M_create_node<>(_Args&&...)): Add in C++0x mode,
284 use _M_get_Node_allocator.
285 (_Rb_tree<>::_M_destroy_node(_Link_type): Use _M_get_Node_allocator
287 * testsuite/23_containers/set/operators/1_neg.cc: Adjust dg-error
289 * testsuite/23_containers/map/operators/1_neg.cc: Likewise.
291 2008-10-18 Douglas Gregor <doug.gregor@gmail.com>
293 * include/bits/stl_pair.h (__may_be_null_pointer_init): New.
294 (pair::pair): Eliminate the redundant pair(U1&&, U2&&) constructor.
295 Add lvalue pair<U1, U2> constructor to handle non-const pair lvalues.
296 Remove the old variadic constructor, and instead provide several
297 variadic constructors that avoid failing when attempting to
298 initialize a pointer from a null pointer constant.
299 * testsuite/20_util/pair/moveable.cc (test3): Add new tests with
300 initialization of pointers from the null pointer constant.
302 2008-10-17 Paolo Carlini <paolo.carlini@oracle.com>
304 * include/bits/forward_list.tcc (forward_list<>::
305 _M_initialize_dispatch(_InputIterator, _InputIterator, __false_type)):
308 2008-10-17 Paolo Carlini <paolo.carlini@oracle.com>
310 * include/bits/forward_list.h (forward_list<>::
311 forward_list(size_type)): Tweak, use _Base default constructor.
313 2008-10-17 Paolo Carlini <paolo.carlini@oracle.com>
315 * include/bits/forward_list.h (forward_list<>::insert_after): Minor
318 2008-10-16 Edward Smith-Rowland <3dw4rd@verizon.net>
320 * include/bits/forward_list.h: Factor list construction to dispatch
322 * include/bits/forward_list.tcc: Likewise.
323 * testsuite/23_containers/forward_list/modifiers/2.cc:
325 2008-10-16 Paolo Carlini <paolo.carlini@oracle.com>
327 * include/bits/forward_list.tcc (operator==): Use auto.
329 2008-10-16 Paolo Carlini <paolo.carlini@oracle.com>
331 * include/bits/forward_list.h (_Fwd_list_base<>::_M_insert_after):
332 Move out of line, tweak to return _Fwd_list_node_base*.
333 (forward_list<>::insert_after(const_iterator, const _Tp&),
334 forward_list<>::insert_after(const_iterator, _Tp&&)): Use it.
335 * include/bits/forward_list.tcc (_Fwd_list_base<>::_M_insert_after):
338 * include/bits/forward_list.h (forward_list<>): Consistently qualify
339 calls of base class functions with this->.
340 * include/bits/forward_list.tcc (forward_list<>): Likewise.
342 * include/bits/forward_list.h: Move some functions out of line...
343 * include/bits/forward_list.tcc: ... here.
345 * include/bits/forward_list.h (forward_list<>::resize(size_type)): Fix.
347 2008-10-15 Paolo Carlini <paolo.carlini@oracle.com>
349 * include/bits/forward_list.h: Remove pointless const qualifiers in
351 * include/bits/forward_list.tcc: Likewise.
353 * include/bits/forward_list.h (forward_list<>::pointer,
354 const_pointer, reference, const_reference): Fix, use _Tp_alloc_type.
355 * testsuite/23_containers/forward_list/requirements/
356 explicit_instantiation/1.cc: New.
357 * testsuite/23_containers/forward_list/requirements/
358 explicit_instantiation/1.cc: Likewise.
360 2008-10-15 Paolo Carlini <paolo.carlini@oracle.com>
362 * include/bits/forward_list.h (forward_list<>::max_size): Use
363 Node_allocator; minor cosmetic changes.
364 * testsuite/23_containers/forward_list/capacity/1.cc: Adjust.
366 2008-10-15 Edward Smith-Rowland <3dw4rd@verizon.net>
368 * include/std/forward_list: New.
369 * include/bits/forward_list.h: Likewise.
370 * include/bits/forward_list.tcc: Likewise.
371 * include/precompiled/stdc++.h: Modified to include forward_list.
372 * include/Makefile.am: Add forward_list, forward_list.h, and
374 * include/Makefile.in: Regenerate.
375 * testsuite/23_containers/forward_list/modifiers/1.cc: New.
376 * testsuite/23_containers/forward_list/modifiers/2.cc: Likewise.
377 * testsuite/23_containers/forward_list/modifiers/3.cc: Likewise.
378 * testsuite/23_containers/forward_list/modifiers/4.cc: Likewise.
379 * testsuite/23_containers/forward_list/modifiers/5.cc: Likewise.
380 * testsuite/23_containers/forward_list/cons/1.cc: Likewise.
381 * testsuite/23_containers/forward_list/cons/2.cc: Likewise.
382 * testsuite/23_containers/forward_list/cons/3.cc: Likewise.
383 * testsuite/23_containers/forward_list/cons/4.cc: Likewise.
384 * testsuite/23_containers/forward_list/cons/5.cc: Likewise.
385 * testsuite/23_containers/forward_list/cons/6.cc: Likewise.
386 * testsuite/23_containers/forward_list/cons/7.cc: Likewise.
387 * testsuite/23_containers/forward_list/cons/8.cc: Likewise.
388 * testsuite/23_containers/forward_list/cons/9.cc: Likewise.
389 * testsuite/23_containers/forward_list/requirements/1.cc: Likewise.
390 * testsuite/23_containers/forward_list/operations/1.cc: Likewise.
391 * testsuite/23_containers/forward_list/operations/2.cc: Likewise.
392 * testsuite/23_containers/forward_list/operations/3.cc: Likewise.
393 * testsuite/23_containers/forward_list/operations/4.cc: Likewise.
394 * testsuite/23_containers/forward_list/operations/5.cc: Likewise.
395 * testsuite/23_containers/forward_list/operations/6.cc: Likewise.
396 * testsuite/23_containers/forward_list/operations/7.cc: Likewise.
397 * testsuite/23_containers/forward_list/capacity/1.cc: Likewise.
398 * testsuite/23_containers/forward_list/comparable.cc: Likewise.
399 * testsuite/23_containers/forward_list/moveable.cc: Likewise.
400 * testsuite/23_containers/headers/forward_list/synopsis.cc: Likewise.
401 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Update.
402 * testsuite/17_intro/headers/c++200x/all: Likewise.
404 2008-10-14 Paolo Carlini <paolo.carlini@oracle.com>
406 * include/bits/stl_list.h (_List_node<>::_List_node<>(_Args&&...)):
408 (list<>::_M_create_node<>(_Args&&...)): Use _M_get_Node_allocator.
409 (list<>::_M_erase(iterator): Likewise, in C++0x mode.
410 * include/bits/list.tcc (_List_base<>::_M_clear): Likewise.
411 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
412 Adjust dg-error line number.
413 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
415 * testsuite/23_containers/list/requirements/dr438/
416 constructor_1_neg.cc: Likewise.
417 * testsuite/23_containers/list/requirements/dr438/
418 constructor_2_neg.cc: Likewise.
420 2008-10-14 Paolo Carlini <paolo.carlini@oracle.com>
422 * include/bits/stl_tree.h (_Rb_tree<>::max_size): Use Node_allocator
423 for improved accuracy.
424 * include/bits/stl_list.h (list<>::max_size): Likewise.
425 * testsuite/23_containers/multimap/capacity/29134.cc: Adjust.
426 * testsuite/23_containers/set/capacity/29134.cc: Likewise.
427 * testsuite/23_containers/multiset/capacity/29134.cc: Likewise.
428 * testsuite/23_containers/list/capacity/29134.cc: Likewise.
429 * testsuite/23_containers/map/capacity/29134.cc: Likewise.
431 2008-10-10 Paolo Carlini <paolo.carlini@oracle.com>
433 * testsuite/20_util/reference_wrapper/24803.cc: Avoid uninitialized
436 2008-10-10 Paolo Carlini <paolo.carlini@oracle.com>
438 * include/std/system_error (native_category): Remove.
439 (posix_category): Add.
440 (error_code::error_code(_ErrorCodeEnum, typename enable_if<>:type*):
441 Fix _M_cat initialization.
442 (error_code::operator=(_ErrorCodeEnum)): Assign _M_cat too.
443 (error_condition::_M_cat, error_condtion::operator=
444 (_ErrorConditionEnum)): Implement resolution of DR 804.
445 (error_condition::error_condition(_ErrorConditionEnum, typename
446 enable_if<>:type*): Fix.
447 (error_condition::clear, error_condition::assign): Implement.
448 (operator==, operator!=): Fix uglification of parameters.
449 (make_error_code, make_error_condition): Define in namespace
451 (operator<<(basic_ostream<>&, const error_code&)): Define here.
452 * include/std/ostream (operator<<(basic_ostream<>&,
453 const error_code&)): Do not define here.
454 * testsuite/19_diagnostics/error_condition/cons/1.cc: New.
455 * testsuite/19_diagnostics/error_condition/operators/bool.cc: Likewise.
456 * testsuite/19_diagnostics/error_condition/operators/bool_neg.cc:
458 * testsuite/19_diagnostics/error_condition/operators/equal.cc:
460 * testsuite/19_diagnostics/error_condition/operators/not_equal.cc:
462 * testsuite/19_diagnostics/error_code/cons/1.cc: Tweak.
463 * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Adjust
464 dg-error line numbers.
465 * testsuite/30_threads/unique_lock/locking/2.cc: Tweak.
467 * testsuite/util/testsuite_error.h: Minor tweaks.
468 * testsuite/util/testsuite_hooks.cc: Avoid uninitialized warning.
470 2008-10-10 Chris Fairles <cfairles@gcc.gnu.org>
472 * testsuite/20_util/duration/cons/1.cc: Remove invalid check of
473 uninitialized duration.
475 2008-10-08 Bob Walters <bob.s.walters@gmail.com>
477 * include/bits/stl_vector.h (_Vector_base<>::_Vector_impl::_M_start,
478 _M_finish, _M_end_of_storage, _Vector_base<>::_M_allocate,
479 _M_deallocate): Use _Tp_alloc_type::pointer.
481 2008-10-07 Jason Merrill <jason@redhat.com>
484 * testsuite/abi/demangle/abi_examples/20.cc: Adjust expected spacing.
485 * testsuite/abi/demangle/abi_text/02.cc: Likewise.
486 * testsuite/abi/demangle/regression/cw-16.cc: Likewise.
488 2008-10-07 Paolo Carlini <paolo.carlini@oracle.com>
490 * include/bits/stl_iterator.h (operator-(const reverse_iterator<>&,
491 const reverse_iterator<>&), operator-(const __normal_iterator<>&,
492 const __normal_iterator<>&), operator-(const move_iterator<>&,
493 const move_iterator<>&)): Use the auto -> return type syntax,
496 2008-10-06 Jason Merrill <jason@redhat.com>
498 * config/abi/pre/gnu.ver: Update char16/32_t manglings.
500 2008-10-05 Paolo Carlini <paolo.carlini@oracle.com>
502 * testsuite/20_util/reference_wrapper/invoke.cc: New.
503 * testsuite/20_util/reference_wrapper/24803.cc: Likewise.
504 * testsuite/20_util/reference_wrapper/typedefs.cc: Likewise.
506 2008-10-01 Andrew Pinski <andrew_pinski@playstation.sony.com>
508 * config/locale/generic/c_locale.cc (__convert_to_v): Fix
509 !__FLT_HAS_INFINITY__ case.
511 2008-09-30 Chris Fairles <cfairles@gcc.gnu.org>
513 * include/std/tuple (tuple<>::swap): Implement swap for tuple as per
515 * testsuite/20_util/tuple/swap.cc: New.
517 2008-09-30 Paolo Carlini <paolo.carlini@oracle.com>
519 PR libstdc++/30085 (again)
520 * include/debug/unordered_map (unordered_map<>, unordered_multimap<>):
521 Do not derive from _Safe_association, derive from _GLIBCXX_STD_D::
522 unordered_map / unordered_multimap; add missing member functions.
523 * include/debug/unordered_set (unordered_set<>, unordered_multiset<>):
524 Likewise for _GLIBCXX_STD_D::unordered_set / unordered_multiset.
525 * include/debug/safe_association.h: Remove.
526 * include/Makefile.am: Adjust.
527 * include/Makefile.in: Regenerate.
528 * testsuite/23_containers/unordered_multimap/init-list.cc: Remove
531 2008-09-28 Paolo Carlini <paolo.carlini@oracle.com>
533 * include/bits/unique_ptr.h (unique_ptr<_Tp[]>::template<typename U>
534 void reset(U)): Add as deleted function, per DR 821 [Ready].
535 * include/bits/unique_ptr.h: Prefer everywhere deleted to private
536 member function declarations; minor formatting tweaks.
537 * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: New.
538 * testsuite/20_util/unique_ptr/assign/assign.cc: Adjust DejaGNU
541 2008-09-28 Chris Fairles <cfairles@gcc.gnu.org>
543 * include/std/mutex (try_lock): Implement generic try_lock.
544 * testsuite/30_threads/try_lock/1.cc: New.
545 * testsuite/30_threads/try_lock/2.cc: Likewise.
546 * testsuite/30_threads/try_lock/3.cc: Likewise.
547 * testsuite/30_threads/mutex/cons/assign_neg.cc: Adjust line numbers.
548 * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise.
549 * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Likewise.
550 * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Likewise.
551 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
552 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
553 * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc:
555 * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc: Likewise.
557 2008-09-26 Peter O'Gorman <pogma@thewrittenword.com>
558 Steve Ellcey <sje@cup.hp.com>
560 * configure: Regenerate for new libtool.
562 * Makefile.in: Ditto.
563 * src/Makefile.in: Ditto.
564 * doc/Makefile.in: Ditto.
565 * po/Makefile.in: Ditto.
566 * libmath/Makefile.in: Ditto.
567 * include/Makefile.in: Ditto.
568 * libsupc++/Makefile.in: Ditto.
569 * testsuite/Makefile.in: Ditto.
571 2008-09-24 Paolo Carlini <paolo.carlini@oracle.com>
573 * include/std/bitset: Adjust comment to reflect DR 853.
574 * include/debug/bitset: Likewise.
575 * doc/xml/manual/intro.xml: Add an entry for DR 853.
577 2008-09-23 Paolo Carlini <paolo.carlini@oracle.com>
579 Implement DR 396 [Ready].
580 * include/std/bitset (bitset<>::bitset(const std::basic_string<>&,
581 size_t, size_t, _CharT, _CharT), bitset<>::bitset(const char*,
582 char, char), bitset<>::to_string(_CharT, _CharT),
583 bitset<>::_M_copy_from_string(const std::basic_string<>&, size_t,
584 size_t, _CharT, _CharT), bitset<>::_M_copy_to_string
585 (std::basic_string<>&, _CharT, _CharT), bitset<>::_M_copy_from_ptr(
586 const _CharT*, size_t, size_t, size_t, _CharT, _CharT)): Add.
587 (operator>>(std::basic_istream<>&, bitset<_Nb>&), operator<<(
588 std::basic_ostream<>&, const bitset<_Nb>&)): Adjust.
589 * include/debug/bitset (bitset<>::bitset(const std::basic_string<>&,
590 size_t, size_t, _CharT, _CharT), bitset<>::bitset(const char*,
591 char, char), bitset<>::to_string(_CharT, _CharT)): Add.
592 * doc/xml/manual/intro.xml: Add an entry for DR 396.
593 * testsuite/23_containers/bitset/cons/dr396.cc: Add.
594 * testsuite/23_containers/bitset/to_string/dr396.cc: Likewise.
596 2008-09-23 Chris Fairles <cfairles@gcc.gnu.org>
598 * testsuite/25_algorithms/min/37547.cc: Return void to avoid warnings.
599 * testsuite/25_algorithms/max/37547.cc: Likewise.
600 * testsuite/25_algorithms/minmax/37547.cc: Likewise.
602 2008-09-23 Chris Fairles <cfairles@gcc.gnu.org>
604 * include/std/chrono: If _GLIBCXX_USE_MONOTONIC_CLOCK is defined, don't
605 typedef monotonic_clock to system_clock and instead declare new class.
606 * src/chrono.cc: Conditionally define monotonic_clock::now().
607 * include/std/condition_variable (wait_until): Throw exception if
608 __gthread_cond_timedwait returns with error other than timed_out. Use
609 system_clock as known clock type (__clock_t) and add overloads for known
610 and unknown clocks. In the unknown case, sync to the known clock.
611 Implement overload taking a predicate.
612 (wait_for): Implement overload taking a predicate.
613 * config/abi/pre/gnu.ver: Add exports for monotonic_clock.
614 * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc: Modify
616 * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
618 * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Likewise.
619 * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Likewise.
620 * testsuite/30_threads/condition_variable/member/1.cc: New.
621 * testsuite/30_threads/condition_variable/member/2.cc: Likewise.
623 2008-09-23 Paolo Carlini <paolo.carlini@oracle.com>
626 * testsuite/22_locale/num_get/get/char/10.cc: Skip long double case
627 when strtold is not available.
628 * testsuite/22_locale/num_get/get/wchar_t/10.cc: Likewise.
630 2008-09-23 Benjamin Kosnik <bkoz@redhat.com>
632 PR libstdc++/37391 continued.
633 * doc/html/ext/pb_ds/assoc_examples.html: Don't use base tag,
634 specify full path for source file links.
635 * doc/html/ext/pb_ds/pq_examples.html: Same.
637 2008-09-23 Paolo Carlini <paolo.carlini@oracle.com>
639 * include/bits/locale_facets.tcc (__pad<>::_S_pad): Don't use const
641 * include/bits/locale_facets.h (__pad<>::_S_pad): Likewise.
643 2008-09-22 Paolo Carlini <paolo.carlini@oracle.com>
645 PR libstdc++/32422, DR 23 [Ready in R60]
646 * config/locale/gnu/c_locale.cc (__convert_to_v(const char*, float&,
647 ios_base::iostate&, const __c_locale&), __convert_to_v(const char*,
648 double&, ios_base::iostate&, const __c_locale&), __convert_to_v(const
649 char*, long double&, ios_base::iostate&, const __c_locale&)): Implement
650 DR 23 and deal correctly with broken exponents.
651 * config/locale/generic/c_locale.cc (__convert_to_v(const char*,
652 float&, ios_base::iostate&, const __c_locale&), __convert_to_v(const
653 char*, double&, ios_base::iostate&, const __c_locale&),
654 __convert_to_v(const char*, long double&, ios_base::iostate&, const
655 __c_locale&)): Likewise.
656 * include/bits/locale_facets.tcc (num_get<>::_M_extract_int(_InIter,
657 _InIter, ios_base&, ios_base::iostate&, _ValueT&)): Likewise.
658 (num_get<>::_M_extract_float(_InIter, _InIter, ios_base&,
659 ios_base::iostate&, string&): Change grouping check to set instead of
660 OR failbit; do not check for eofbit here...
661 (num_get<>::do_get(iter_type, iter_type, ios_base&,
662 ios_base::iostate&, float&), num_get<>::do_get(iter_type, iter_type,
663 ios_base&, ios_base::iostate&, double&), num_get<>::do_get(iter_type,
664 iter_type, ios_base&, ios_base::iostate&, long double&),
665 num_get<>::__do_get(iter_type, iter_type, ios_base&,
666 ios_base::iostate&, double&)): ... do it here instead.
667 (num_get<>::do_get(iter_type, iter_type, ios_base&,
668 ios_base::iostate&, bool&)): Implement DR 23.
669 (num_get<>::do_get(iter_type, iter_type, ios_base&,
670 ios_base::iostate&, void*&)): Adjust.
671 * doc/xml/manual/intro.xml: Add and entry for DR 23.
672 * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/10.cc:
674 * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc:
676 * testsuite/22_locale/num_get/get/wchar_t/22131.cc: Likewise.
677 * testsuite/22_locale/num_get/get/wchar_t/10.cc: Likewise.
678 * testsuite/22_locale/num_get/get/wchar_t/12.cc: Likewise.
679 * testsuite/22_locale/num_get/get/wchar_t/15.cc: Likewise.
680 * testsuite/22_locale/num_get/get/wchar_t/16.cc: Likewise.
681 * testsuite/22_locale/num_get/get/char/22131.cc: Likewise.
682 * testsuite/22_locale/num_get/get/char/10.cc: Likewise.
683 * testsuite/22_locale/num_get/get/char/12.cc: Likewise.
684 * testsuite/22_locale/num_get/get/char/15.cc: Likewise.
685 * testsuite/22_locale/num_get/get/char/16.cc: Likewise.
687 2008-09-22 Benjamin Kosnik <bkoz@redhat.com>
690 * doc/html/ext/pb_ds/*.html: Fix external links.
692 2008-09-22 Benjamin Kosnik <bkoz@redhat.com>
694 * doc/doxygen/user.cfg.in: Define _GLIBCXX_HAS_GTHREADS for mutex,
695 condition_variable, and thread output.
697 2008-09-22 Paolo Carlini <paolo.carlini@oracle.com>
699 * doc/html/ext/lwg-closed.html: Update to Revision R59.
700 * doc/html/ext/lwg-active.html: Likewise.
701 * doc/html/ext/lwg-defects.html: Likewise.
702 * doc/xml/manual/intro.xml: Adjust.
704 2008-09-21 Paolo Carlini <paolo.carlini@oracle.com>
706 * include/bits/stl_algo.h (minmax(initializer_list<>): Use make_pair,
707 consistently with the other overload for initializer_list.
709 2008-09-19 Johannes Singler <singler@ira.uka.de>
712 * include/parallel/base.h: Rename log2 to __log2.
713 (__log2) Avoid infinite loop for n <= 0, return 0.
714 * include/parallel/losertree.h: Rename log2 to __log2.
715 * include/parallel/multiseq_selection.h: Likewise.
716 * include/parallel/random_shuffle.h: Likewise.
718 2008-09-18 Paolo Carlini <paolo.carlini@oracle.com>
720 * include/bits/shared_ptr.h (__shared_count<>::
721 __shared_count(_Ptr, _Deleter), __shared_count<>::
722 __shared_count(_Ptr, _Deleter, _Alloc), __shared_count<>::
723 __shared_count(_Sp_make_shared_tag, _Tp*, _Alloc, _Args&&...)):
726 2008-09-17 Paolo Carlini <paolo.carlini@oracle.com>
729 * include/bits/stl_algo.h (min(initializer_list<>),
730 min(initializer_list<>, Compare), max(initializer_list<>),
731 max(initializer_list<>, Compare), minmax(initializer_list<>),
732 minmax(initializer_list<>, Compare)): Fix return type.
733 * include/bits/algorithmfwd.h: Adjust.
734 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
735 * testsuite/25_algorithms/max/requirements/explicit_instantiation/3.cc:
737 * testsuite/25_algorithms/max/requirements/explicit_instantiation/
739 * testsuite/25_algorithms/min/requirements/explicit_instantiation/3.cc:
741 * testsuite/25_algorithms/min/requirements/explicit_instantiation/
743 * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
745 * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
747 * testsuite/25_algorithms/max/37547.cc: New.
748 * testsuite/25_algorithms/min/37547.cc: Likewise.
749 * testsuite/25_algorithms/minmax/37547.cc: Likewise.
751 2008-09-16 Chris Fairles <chris.fairles@gmail.com>
753 * testsuite/25_algorithms/min/requirements/explicit_instantiation/3.cc:
755 * testsuite/25_algorithms/min/requirements/explicit_instantiation/
757 * testsuite/25_algorithms/min/3.cc: Likewise.
758 * testsuite/25_algorithms/min/4.cc: Likewise.
759 * testsuite/25_algorithms/max/requirements/explicit_instantiation/3.cc:
761 * testsuite/25_algorithms/max/requirements/explicit_instantiation/
763 * testsuite/25_algorithms/max/3.cc: Likewise.
764 * testsuite/25_algorithms/max/4.cc: Likewise.
765 * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
767 * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
769 * testsuite/25_algorithms/minmax/2.cc: Likewise.
770 * testsuite/25_algorithms/minmax/3.cc: Likewise.
772 2008-09-16 Paolo Carlini <paolo.carlini@oracle.com>
774 * include/bits/stl_algo.h (min(initializer_list<>),
775 min(initializer_list<>, Compare), max(initializer_list<>),
776 max(initializer_list<>, Compare), minmax(initializer_list<>),
777 minmax(initializer_list<>, Compare)): Add in C++0x mode.
778 * include/bits/algorithmfwd.h: Add.
779 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
781 2008-09-13 Chris Fairles <chris.fairles@gmail.com>
783 * testsuite/30_threads/thread/algorithm/1.cc: Join thread before
785 * testsuite/30_threads/thread/algorithm/2.cc: Likewise.
786 * testsuite/30_threads/thread/this_thread/3.cc: Define test variable.
787 * testsuite/30_threads/thread/this_thread/4.cc: Likewise.
789 2008-09-12 Chris Fairles <chris.fairles@gmail.com>
790 Benjamin Kosnik <bkoz@redhat.com>
792 * include/std/thread: New.
793 * include/Makefile.am: Update.
794 * include/Makefile.in: Regenerate.
795 * src/thread.cc: New.
796 * src/Makefile.am: Update.
797 * src/Makefile.in: Regenerate.
798 * acinclude.m4: Add check for nanosleep.
799 * configure.ac: Call it.
800 * configure: Regenerate.
801 * config.h.in: Likewise.
802 * config/abi/pre/gnu.ver: Add exports.
803 * doc/doxygen/user.cfg.in: Add thread header.
804 * testsuite/lib/libstdc++.exp (check_v3_target_nanosleep): Add.
805 * testsuite/lib/dg-options.exp (dg-require-nanosleep): Add.
806 * testsuite/30_threads/thread/cons/1.cc: New.
807 * testsuite/30_threads/thread/cons/2.cc: Likewise.
808 * testsuite/30_threads/thread/cons/3.cc: Likewise.
809 * testsuite/30_threads/thread/cons/4.cc: Likewise.
810 * testsuite/30_threads/thread/algorithm/1.cc: Likewise.
811 * testsuite/30_threads/thread/algorithm/2.cc: Likewise.
812 * testsuite/30_threads/thread/member/1.cc: Likewise.
813 * testsuite/30_threads/thread/member/2.cc: Likewise.
814 * testsuite/30_threads/thread/member/3.cc: Likewise.
815 * testsuite/30_threads/thread/this_thread/1.cc: Likewise.
816 * testsuite/30_threads/thread/this_thread/2.cc: Likewise.
817 * testsuite/30_threads/thread/this_thread/3.cc: Likewise.
818 * testsuite/30_threads/thread/this_thread/4.cc: Likewise.
819 * testsuite/30_threads/headers/thread/types_std_c++0x.cc: Likewise.
820 * testsuite/30_threads/headers/thread/std_c++0x_neg.cc: Likewise.
821 * testsuite/17_intro/headers/c++200x/all.cc: Add thread.
822 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc:
823 Add thread, condition_variable and mutex.
825 2008-09-10 Paolo Carlini <paolo.carlini@oracle.com>
827 * src/ctype.cc (use_facet<ctype<char> >, use_facet<ctype<wchar_t>):
828 Remove specializations.
829 * src/locale-inst.cc (use_facet<ctype<C> >): Instantiate.
830 * include/bits/locale_facets.tcc (use_facet<ctype<char> >,
831 use_facet<ctype<wchar_t>): Declare as extern template.
832 * include/bits/locale_facets.h (use_facet<ctype<char> >,
833 use_facet<ctype<wchar_t>): Do not declare as specializations.
835 2008-09-10 Paolo Carlini <paolo.carlini@oracle.com>
837 * config/locale/darwin/ctype_members.cc (ctype<char>::_M_narrow_init,
838 ctype<char>::_M_widen_init): Don't define here.
839 * config/locale/gnu/ctype_members.cc: Likewise.
840 * config/locale/generic/ctype_members.cc: Likewise.
841 * src/ctype.cc: Define here.
843 2008-09-10 Paolo Carlini <paolo.carlini@oracle.com>
846 * include/bits/locale_facets.h (ctype<char>::_M_narrow_init,
847 ctype<char>::_M_widen_init): Don't define inline.
848 * config/locale/darwin/ctype_members.cc: ... define here.
849 * config/locale/gnu/ctype_members.cc: ... likewise.
850 * config/locale/generic/ctype_members.cc: ... likewise.
851 * config/abi/pre/gnu.ver: Export.
853 2008-09-09 Benjamin Kosnik <bkoz@redhat.com>
855 * doc/xml/manual/abi.xml: Update for new releases.
856 * doc/doxygen/user.cfg.in: Include C compatibility headers.
857 * doc/html/*: Regenerate.
859 2008-09-09 Paolo Carlini <paolo.carlini@oracle.com>
861 * include/tr1_impl/cinttypes: Restore __STDC_FORMAT_MACROS after
862 inclusion of <inttypes.h>.
863 * include/tr1_impl/cstdint: Likewise for __STDC_LIMIT_MACROS and
864 __STDC_CONSTANT_MACROS after <stdint.h>.
865 * include/bits/postypes.h: Likewise.
867 2008-09-09 Andreas Schwab <schwab@suse.de>
869 * acinclude.m4 (GLIBCXX_CHECK_STANDARD_LAYOUT): Fix compile check
870 not to redefine main.
872 2008-09-07 Paolo Carlini <paolo.carlini@oracle.com>
874 * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Check wcstoimax and
875 wcstoumax, define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1.
876 * include/tr1_impl/cinttypes: Use the latter.
877 * testsuite/tr1/8_c_compatibility/cinttypes/functions.cc: Likewise.
878 * configure: Regenerate.
879 * config.h.in: Likewise.
881 2008-09-05 Peter Dimov <pdimov@mmltd.net>
883 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref_2.cc: New.
885 2008-09-05 Paolo Carlini <paolo.carlini@oracle.com>
887 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref.cc: Rename
889 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref_1.cc: ...
892 2008-09-04 Jonathan Wakely <jwakely.gcc@gmail.com>
895 * include/Makefile.am: Update headers.
896 * include/Makefile.in: Regenerate.
897 * include/std/memory: Update headers.
898 * include/tr1/memory: Likewise.
899 * include/tr1_impl/boost_shared_ptr.h: Remove, splitting into
900 separate implementations for std and tr1.
901 * include/bits/boost_sp_shared_count.h: Remove.
902 * include/tr1/boost_sp_shared_count.h: Remove.
903 * include/bits/shared_ptr.h: New. Combines boost_sp_shared_count.h
904 and boost_shared_ptr.h into one file.
905 (__shared_count,__shared_ptr,shared_ptr,swap): Add unique_ptr
906 and rvalue-reference support as per current WP.
907 * include/tr1/shared_ptr.h: New. Combines boost_sp_shared_count.h
908 and boost_shared_ptr.h into one file.
909 * testsuite/20_util/shared_ptr/cons/unique_ptr.cc: New.
910 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter.cc: New.
911 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref.cc: New.
912 * testsuite/20_util/shared_ptr/cons/unique_ptr_neg.cc: New.
913 * testsuite/20_util/shared_ptr/assign/auto_ptr_rvalue.cc: New.
914 * testsuite/20_util/shared_ptr/assign/unique_ptr_lvalue_neg.cc: New.
915 * testsuite/20_util/shared_ptr/assign/unique_ptr_rvalue.cc: New.
916 * testsuite/20_util/shared_ptr/modifiers/swap_rvalue.cc: New.
917 * testsuite/20_util/shared_ptr/assign/auto_ptr_rvalue_neg.cc: Remove.
919 2008-09-04 Jonathan Wakely <jwakely.gcc@gmail.com>
921 * doc/xml/manual/locale.xml: Fix typo.
923 2008-09-04 Paolo Carlini <paolo.carlini@oracle.com>
925 * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Tidy checks in case of
927 * configure: Regenerate.
929 2008-09-04 Chris Fairles <chris.fairles@gmail.com>
931 * include/std/mutex (once_flag): Construct __gthread_once_t in a
932 temporary variable before assigning to _M_once to avoid initialization
935 2008-09-03 Paolo Carlini <paolo.carlini@oracle.com>
937 * config/abi/pre/gnu.ver: Also export __once_functor_lock; tighten
938 GLIBCXX_3.4 exports (necessary in case of undef _GLIBCXX_HAVE_TLS).
940 * Makefile.in: Regenerate.
941 * src/Makefile.in: Likewise.
942 * doc/Makefile.in: Likewise.
943 * po/Makefile.in: Likewise.
944 * libmath/Makefile.in: Likewise.
945 * include/Makefile.in: Likewise.
946 * libsupc++/Makefile.in: Likewise.
947 * testsuite/Makefile.in: Likewise.
949 2008-09-03 Paolo Carlini <paolo.carlini@oracle.com>
951 * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Fix typo in last commit,
952 check _POSIX_TIMEOUTS, not _POSIX_TIMERS.
953 * configure: Regenerate.
955 2008-09-03 Paolo Carlini <paolo.carlini@oracle.com>
957 * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Check _POSIX_TIMERS too.
958 * configure: Regenerate.
960 2008-09-03 Chris Fairles <chris.fairles@gmail.com>
962 * include/std/condition_variable: Use new deleted ctors.
963 * include/std/mutex: Likewise plus implement timed_mutex,
964 recursive_timed_mutex and call_once.
965 * src/condition_variable.cc: Implement wait(). Use gthread types.
966 Remove _GTHREADS_HAS_COND checks in favor of global
967 _GLIBCXX_HAS_GTHREADS.
968 * src/mutex.cc (call_once): Implementation using TLS with mutex
970 * config/abi/pre/gnu.ver: Add exported symbols.
971 * testsuite/lib/libstdc++.exp (check_v3_target_gthreads): New.
972 * testsuite/lib/dg-options.exp (dg-require-gthreads): Likewise.
973 * testsuite/30_threads/lock_guard/requirements/typedefs.cc: Use
974 dg-require-gthreads and dg-require-cstdint.
975 * testsuite/30_threads/lock_guard/requirements/
976 explicit_instantiation.cc: Likewise.
977 * testsuite/30_threads/mutex/dest/destructor_locked.cc: Likewise.
978 * testsuite/30_threads/mutex/native_handle/1.cc: Likewise.
979 * testsuite/30_threads/mutex/cons/1.cc: Likewise.
980 * testsuite/30_threads/mutex/requirements/typedefs.cc: Likewise.
981 * testsuite/30_threads/mutex/try_lock/1.cc: Likewise.
982 * testsuite/30_threads/mutex/try_lock/2.cc: Likewise.
983 * testsuite/30_threads/mutex/lock/1.cc: Likewise.
984 * testsuite/30_threads/mutex/unlock/1.cc: Likewise.
985 * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc:
987 * testsuite/30_threads/recursive_mutex/native_handle/1.cc: Likewise.
988 * testsuite/30_threads/recursive_mutex/cons/1.cc: Likewise.
989 * testsuite/30_threads/recursive_mutex/requirements/typedefs.cc:
991 * testsuite/30_threads/recursive_mutex/try_lock/1.cc: Likewise.
992 * testsuite/30_threads/recursive_mutex/try_lock/2.cc: Likewise.
993 * testsuite/30_threads/recursive_mutex/lock/1.cc: Likewise.
994 * testsuite/30_threads/recursive_mutex/unlock/1.cc: Likewise.
995 * testsuite/30_threads/unique_lock/requirements/
996 explicit_instantiation.cc: Likewise.
997 * testsuite/30_threads/unique_lock/requirements/typedefs.cc: Likewise.
998 * testsuite/30_threads/mutex/cons/assign_neg.cc: Also adjust dg-error
999 lines for deleted members.
1000 * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise.
1001 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
1002 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
1003 * testsuite/30_threads/call_once/once_flag.cc: New.
1004 * testsuite/30_threads/call_once/call_once1.cc: Likewise.
1005 * testsuite/30_threads/condition_variable/cons/1.cc: Likewise.
1006 * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Likewise
1007 * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Likewise.
1008 * testsuite/30_threads/condition_variable_any/cons/1.cc: Likewise.
1009 * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
1011 * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc:
1013 * testsuite/30_threads/timed_mutex/dest/destructor_locked.cc: Likewise.
1014 * testsuite/30_threads/timed_mutex/native_handle/1.cc: Likewise.
1015 * testsuite/30_threads/timed_mutex/try_lock_until/1.cc: Likewise.
1016 * testsuite/30_threads/timed_mutex/try_lock_until/2.cc: Likewise.
1017 * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Likewise.
1018 * testsuite/30_threads/timed_mutex/cons/1.cc: Likewise.
1019 * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Likewise.
1020 * testsuite/30_threads/timed_mutex/requirements/typedefs.cc: Likewise.
1021 * testsuite/30_threads/timed_mutex/try_lock/1.cc: Likewise.
1022 * testsuite/30_threads/timed_mutex/try_lock/2.cc: Likewise.
1023 * testsuite/30_threads/timed_mutex/lock/1.cc: Likewise.
1024 * testsuite/30_threads/timed_mutex/unlock/1.cc: Likewise.
1025 * testsuite/30_threads/timed_mutex/try_lock_for/1.cc: Likewise.
1026 * testsuite/30_threads/timed_mutex/try_lock_for/2.cc: Likewise.
1027 * testsuite/30_threads/timed_mutex/try_lock_for/3.cc: Likewise.
1028 * testsuite/30_threads/recursive_timed_mutex/dest/destructor_locked.cc:
1030 * testsuite/30_threads/recursive_timed_mutex/try_lock_until/1.cc:
1032 * testsuite/30_threads/recursive_timed_mutex/try_lock_until/2.cc:
1034 * testsuite/30_threads/recursive_timed_mutex/native_handle/1.cc:
1036 * testsuite/30_threads/recursive_timed_mutex/cons: Likewise.
1037 * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc:
1039 * testsuite/30_threads/recursive_timed_mutex/cons/1.cc: Likewise.
1040 * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc:
1042 * testsuite/30_threads/recursive_timed_mutex/requirements/typedefs.cc:
1044 * testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc: Likewise.
1045 * testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc: Likewise.
1046 * testsuite/30_threads/recursive_timed_mutex/lock/1.cc: Likewise.
1047 * testsuite/30_threads/recursive_timed_mutex/lock/2.cc: Likewise.
1048 * testsuite/30_threads/recursive_timed_mutex/unlock/1.cc: Likewise.
1049 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/1.cc:
1051 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/2.cc:
1053 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/3.cc:
1055 * testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise.
1056 * testsuite/30_threads/unique_lock/modifiers/2.cc: Likewise.
1057 * testsuite/30_threads/unique_lock/cons/1.cc: Likewise.
1058 * testsuite/30_threads/unique_lock/cons/2.cc: Likewise.
1059 * testsuite/30_threads/unique_lock/cons/3.cc: Likewise.
1060 * testsuite/30_threads/unique_lock/cons/4.cc: Likewise.
1061 * testsuite/30_threads/unique_lock/cons/5.cc: Likewise.
1062 * testsuite/30_threads/unique_lock/cons/6.cc: Likewise.
1063 * testsuite/30_threads/unique_lock/locking/1.cc: Likewise.
1064 * testsuite/30_threads/unique_lock/locking/2.cc: Likewise.
1065 * testsuite/30_threads/unique_lock/locking/3.cc: Likewise.
1066 * testsuite/30_threads/unique_lock/locking/4.cc: Likewise.
1068 2008-09-01 Mark Mitchell <mark@codesourcery.com>
1070 * include/std/type_traits (__make_unsigned_selector<>): Consider
1071 enums of size smaller than short.
1072 (__make_signed_selector<>): Likewise.
1073 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
1074 Adjust line numbers.
1075 * testsuite/20_util/make_usigned/requirements/typedefs_neg.cc:
1076 Adjust line numbers.
1077 * testsuite/20_util/make_signed/requirements/typedefs-2.cc:
1078 Ensure test_enum is the same size as short.
1079 * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc:
1080 Ensure test_enum is the same size as short.
1082 2008-08-31 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
1084 * acinclude.m4 <enable_symvers>: Don't use symvers on Windows.
1085 * configure: Regenerated.
1086 * Makefile.in: Regenerated.
1087 * src/Makefile.in: Regenerated.
1088 * doc/Makefile.in: Regenerated.
1089 * po/Makefile.in: Regenerated.
1090 * libmath/Makefile.in: Regenerated.
1091 * include/Makefile.in: Regenerated.
1092 * libsupc++/Makefile.in: Regenerated.
1093 * testsuite/Makefile.in: Regenerated.
1095 2008-08-29 Mark Mitchell <mark@codesourcery.com>
1097 * testsuite/25_algorithms/nth_element/2.cc: Constrain iterations
1098 when testing on a simultor.
1100 2008-08-28 Paolo Carlini <paolo.carlini@oracle.com>
1102 * testsuite/tr1/6_containers/unordered_set/requirements/typedef.cc:
1103 Rename to .../typedefs.cc.
1104 * testsuite/tr1/6_containers/unordered_map/requirements/typedef.cc:
1106 * testsuite/tr1/6_containers/unordered_multiset/requirements/
1107 typedef.cc: Likewise.
1108 * testsuite/tr1/6_containers/unordered_multimap/requirements/
1109 typedef.cc: Likewise.
1110 * testsuite/23_containers/unordered_set/requirements/typedef.cc:
1112 * testsuite/23_containers/unordered_map/requirements/typedef.cc:
1114 * testsuite/23_containers/unordered_multiset/requirements/typedef.cc:
1116 * testsuite/23_containers/unordered_multimap/requirements/typedef.cc:
1119 2008-08-28 Chris Fairles <chris.fairles@gmail.com>
1121 * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): New. Checks for gthread
1122 support used by c++0x thread library.
1123 * configure.ac: Test unconditionally.
1124 * configure: Regenerate.
1125 * config.h.in: Regenerate.
1127 2008-08-27 Benjamin Kosnik <bkoz@redhat.com>
1129 * doc/Makefile.am: Edit xml file list.
1130 * doc/Makefile.in: Regenerate.
1131 * configure: Regenerate.
1132 * doc/xml/manual/intro.xml: Edit, correct links, structure.
1133 * doc/xml/manual/configure.xml: Same.
1134 * doc/xml/manual/debug.xml: Same.
1135 * doc/xml/manual/test.xml: Same.
1136 * doc/xml/manual/build.xml: Remove.
1137 * doc/xml/manual/prerequisites.xml: Add.
1138 * doc/html/*: Regenerate.
1140 2008-08-27 Paolo Carlini <paolo.carlini@oracle.com>
1142 * include/tr1_impl/hashtable (_Hashtable<>): Add missing pointer and
1143 const_pointer typedefs.
1144 * testsuite/tr1/6_containers/unordered_set/requirements/typedef.cc:
1146 * testsuite/tr1/6_containers/unordered_map/requirements/typedef.cc:
1148 * testsuite/tr1/6_containers/unordered_multiset/requirements/
1149 typedef.cc: Likewise.
1150 * testsuite/tr1/6_containers/unordered_multimap/requirements/
1151 typedef.cc: Likewise.
1152 * testsuite/23_containers/unordered_set/requirements/typedef.cc:
1154 * testsuite/23_containers/unordered_map/requirements/typedef.cc:
1156 * testsuite/23_containers/unordered_multiset/requirements/typedef.cc:
1158 * testsuite/23_containers/unordered_multimap/requirements/typedef.cc:
1161 2008-08-27 Paul Brook <paul@codesourcery.com>
1163 * libsupc++/eh_call.cc (__cxa_call_unexpected): Fix name of
1164 __get_object_from_ambiguous_exception.
1166 2008-08-26 Ben Elliston <bje@au.ibm.com>
1168 * src/mt_allocator.cc (__pool): Fix error in comment.
1170 2008-08-25 Paolo Carlini <paolo.carlini@oracle.com>
1172 * linkage.m4 ([GLIBCXX_CHECK_BUILTIN_MATH_DECL_AND_LINKAGE_1],
1173 [GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT]): Remove
1174 * configure.ac: Do not call the latter.
1175 * crossconfig.m4: Likewise.
1176 * libmath/mathconf.h: Adjust.
1177 * configure: Regenerate.
1178 * config.h.in: Likewise.
1180 2008-08-24 Paolo Carlini <paolo.carlini@oracle.com>
1182 * acinclude.m4 ([GLIBCXX_CHECK_RANDOM_TR1]): Simplify, just use
1183 two test -r instead of an AC_TRY_RUN.
1184 * configure: Regenerate.
1185 * config.h.in: Likewise.
1187 2008-08-24 Paolo Carlini <paolo.carlini@oracle.com>
1189 * acinclude.m4 ([GLIBCXX_ENABLE_CLOCK_GETTIME]): Improve documentation.
1190 * doc/xml/manual/configure.xml: Likewise.
1192 2008-08-23 Paolo Carlini <paolo.carlini@oracle.com>
1194 * acinclude.m4 ([GLIBCXX_ENABLE_CLOCK_GETTIME]): Use [=KIND] in
1196 * configure: Regenerate.
1198 2008-08-23 Paolo Carlini <paolo.carlini@oracle.com>
1200 * acinclude.m4 ([GLIBCXX_CHECK_GETTIMEOFDAY]): Change to use
1201 GCC_TRY_COMPILE_OR_LINK.
1202 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Rename to
1203 [GLIBCXX_ENABLE_CLOCK_GETTIME], a versatile configure-time option,
1204 [no] by default, since it includes TRY_LINK checks. librt is also
1205 searched, if requested.
1206 * doc/xml/manual/configure.xml: Document the latter.
1207 * configure.ac: Move the above checks outside native-only.
1208 * configure: Regenerate.
1210 2008-08-23 Paolo Carlini <paolo.carlini@oracle.com>
1212 * testsuite/lib/libstdc++.exp (check_v3_target_atomic_builtins): Add.
1213 * testsuite/lib/dg-options.exp (dg-require-atomic-builtins): Likewise.
1214 * testsuite/18_support/exception_ptr/current_exception.cc: Use it.
1215 * testsuite/18_support/exception_ptr/rethrow_exception.cc: Likewise.
1216 * testsuite/18_support/exception_ptr/lifespan.cc: Likewise.
1218 2008-08-23 Sebastian Redl <sebastian.redl@getdesigned.at>
1220 Add (again) exception propagation support as per N2179. Feature is
1221 available only when _GLIBCXX_ATOMIC_BUILTINS_4 is defined.
1222 * libsupc++/exception_ptr.h (exception_ptr, current_exception,
1223 copy_exception, rethrow_exception): New file, implement exception
1225 * libsupc++/eh_ptr.cc (exception_ptr, current_exception,
1226 rethrow_exception, __gxx_dependent_exception_cleanup): Likewise.
1227 * libsupc++/unwind-cxx.h (__cxa_exception): Add reference count.
1228 (__cxa_dependent_exception, __cxa_allocate_dependent_exception,
1229 __cxa_free_dependent_exception, __get_dependent_exception_from_ue,
1230 __GXX_INIT_DEPENDENT_EXCEPTION_CLASS, __is_dependent_exception,
1231 __gxx_dependent_exception_class, __get_object_from_ue,
1232 __get_object_from_ambiguous_exception): Add.
1233 (__GXX_INIT_EXCEPTION_CLASS, __gxx_exception_class): Rename.
1234 (__is_gxx_exception_class): Handle dependent exceptions.
1235 * libsupc++/eh_arm.cc (__cxa_type_match): Likewise.
1236 * libsupc++/eh_call.cc (__cxa_call_unexpected): Likewise.
1237 * libsupc++/eh_personality.cc (__gxx_personality_*): Likewise.
1238 * libsupc++/eh_type.cc (__cxa_current_exception_type): Likewise.
1239 * libsupc++/eh_alloc.cc (__cxa_allocate_dependent_exception,
1240 __cxa_free_dependent_exception): Add.
1241 * libsupc++/eh_throw.cc (__gxx_exception_cleanup): Handle reference
1243 * libsupc++/exception: Conditionally include exception_ptr.h.
1244 * libsupc++/Makefile.am: Register new files.
1245 * libsupc++/Makefile.in: Regenerate.
1246 * config/abi/pre/gnu.ver: Add new symbols.
1247 * testsuite/18_support/exception_ptr/current_exception.cc: Test the
1248 core functionality of current_exception().
1249 * testsuite/18_support/exception_ptr/rethrow_exception.cc: Test the
1250 core functionality of rethrow_exception().
1251 * testsuite/18_support/exception_ptr/lifespan.cc: Test the life span of
1252 exception objects during exception propagation.
1254 2008-08-22 Paolo Carlini <paolo.carlini@oracle.com>
1256 Revert again the N2179 patch.
1258 2008-08-21 Sebastian Redl <sebastian.redl@getdesigned.at>
1260 * libsupc++/eh_ptr.cc (__gxx_dependent_exception_cleanup): Call
1261 __cxa_free_dependent_exception.
1263 2008-08-20 Paolo Carlini <paolo.carlini@oracle.com>
1265 * include/bits/char_traits.h (char_traits<char16_t>::
1266 assign(char_type*, size_t, char_type), char_traits<char32_t>::
1267 assign(char_type*, size_t, char_type)): For now, just open-code.
1269 2008-08-20 Paolo Carlini <paolo.carlini@oracle.com>
1271 PR c++/33979 (partial)
1272 * include/bits/postypes.h (u16streampos, u32streampos): Add.
1273 * include/bits/char_traits.h (char_traits<char16_t>,
1274 char_traits<char32_t>): Add.
1275 * include/bits/stringfwd.h (u16string, u32string): Add.
1276 * include/ext/vstring_fwd.h: Add typedefs for char16_t/char32_t.
1277 * testsuite/21_strings/char_traits/requirements/char32_t/typedefs.cc:
1279 * testsuite/21_strings/char_traits/requirements/
1280 explicit_instantiation/short/1.cc: Likewise.
1281 * testsuite/21_strings/char_traits/requirements/
1282 explicit_instantiation/char32_t/1.cc: Likewise.
1283 * testsuite/21_strings/char_traits/requirements/
1284 explicit_instantiation/wchar_t/1.cc: Likewise.
1285 * testsuite/21_strings/char_traits/requirements/
1286 explicit_instantiation/char16_t/1.cc: Likewise.
1287 * testsuite/21_strings/char_traits/requirements/
1288 explicit_instantiation/char/1.cc: Likewise.
1289 * testsuite/21_strings/char_traits/requirements/char16_t/typedefs.cc:
1291 * testsuite/21_strings/basic_string/requirements/
1292 explicit_instantiation/char32_t/1.cc: Likewise.
1293 * testsuite/21_strings/basic_string/requirements/
1294 explicit_instantiation/wchar_t/1.cc: Likewise.
1295 * testsuite/21_strings/basic_string/requirements/
1296 explicit_instantiation/char16_t/1.cc: Likewise.
1297 * testsuite/21_strings/basic_string/requirements/
1298 explicit_instantiation/char/1.cc: Likewise.
1299 * testsuite/21_strings/headers/string/types_std_c++0x.cc: Likewise.
1300 * testsuite/ext/vstring/requirements/explicit_instantiation/
1301 char32_t/1.cc: Likewise.
1302 * testsuite/ext/vstring/requirements/explicit_instantiation/
1303 char16_t/1.cc: Likewise.
1305 2008-08-18 Paolo Carlini <paolo.carlini@oracle.com>
1308 * testsuite/27_io/basic_ostream/inserters_other/char/4.cc: Include
1310 * testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc:
1312 * testsuite/27_io/objects/char/12048-1.cc: Likewise.
1313 * testsuite/27_io/objects/char/12048-3.cc: Likewise.
1314 * testsuite/27_io/objects/wchar_t/12048-1.cc: Likewise.
1315 * testsuite/27_io/objects/wchar_t/12048-3.cc: Likewise.
1316 * testsuite/ext/malloc_allocator/deallocate_global.cc: Likewise.
1317 * testsuite/ext/malloc_allocator/deallocate_local.cc: Likewise.
1318 * testsuite/ext/mt_allocator/deallocate_global-2.cc: Likewise.
1319 * testsuite/ext/mt_allocator/deallocate_global-4.cc: Likewise.
1320 * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Likewise.
1321 * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Likewise.
1322 * testsuite/ext/mt_allocator/deallocate_local-2.cc: Likewise.
1323 * testsuite/ext/mt_allocator/deallocate_local-4.cc: Likewise.
1324 * testsuite/ext/mt_allocator/deallocate_local-6.cc: Likewise.
1325 * testsuite/ext/mt_allocator/deallocate_local-8.cc: Likewise.
1326 * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Likewise.
1327 * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Likewise.
1328 * testsuite/ext/mt_allocator/deallocate_local_thread-5.cc: Likewise.
1329 * testsuite/ext/mt_allocator/deallocate_local_thread-7.cc: Likewise.
1330 * testsuite/ext/new_allocator/deallocate_global.cc: Likewise.
1331 * testsuite/ext/new_allocator/deallocate_local.cc: Likewise.
1332 * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Likewise.
1333 * include/std/regex: Include <sstream>.
1334 * include/tr1/regex: Likewise.
1336 2008-08-18 Paolo Carlini <paolo.carlini@oracle.com>
1338 * configure.ac: Do not hardcode HAVE_S_ISREG and HAVE_S_IFREG for
1340 * configure: Regenerate.
1342 2008-08-18 Paolo Carlini <paolo.carlini@oracle.com>
1345 * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Tighten checks on stdint.h,
1346 check the macros too.
1347 * configure: Regenerate.
1349 2008-08-17 Paolo Carlini <paolo.carlini@oracle.com>
1351 * acinclude.m4 ([AC_LC_MESSAGES]): Use AC_TRY_COMPILE instead of
1353 * configure.ac: Run unconditionally AC_LC_MESSAGES.
1354 * crossconfig.m4: Adjust.
1355 * configure: Regenerate.
1357 2008-08-17 Paolo Carlini <paolo.carlini@oracle.com>
1359 * acinclude.m4 ([GLIBCXX_CHECK_LFS], [GLIBCXX_CHECK_POLL],
1360 [GLIBCXX_CHECK_S_ISREG_OR_S_IFREG], [GLIBCXX_CHECK_WRITEV]):
1361 Use GCC_TRY_COMPILE_OR_LINK instead of AC_TRY_LINK, in C++,
1362 with -fno-exceptions as flags.
1363 * configure.ac: Run unconditionally GLIBCXX_CHECK_LFS,
1364 GLIBCXX_CHECK_POLL, GLIBCXX_CHECK_S_ISREG_OR_S_IFREG,
1365 GLIBCXX_CHECK_WRITEV and commonized AC_CHECK_HEADERS.
1366 * crossconfig.m4: Adjust; remove AC_CHECK_HEADERS commonized
1368 * configure: Regenerate.
1370 2008-08-13 Paolo Carlini <paolo.carlini@oracle.com>
1372 Re-instate last patch, amended to use __exchange_and_add_dispatch
1373 and __atomic_add_dispatch in eh_ptr.cc and eh_throw.cc.
1375 2008-08-13 Paolo Carlini <paolo.carlini@oracle.com>
1377 Revert the last patch.
1379 2008-08-13 Sebastian Redl <sebastian.redl@getdesigned.at>
1381 Add exception propagation support as per N2179.
1382 * libsupc++/exception_ptr.h (exception_ptr, current_exception,
1383 copy_exception, rethrow_exception): New file, implement exception
1385 * libsupc++/eh_ptr.cc (exception_ptr, current_exception,
1386 rethrow_exception, __gxx_dependent_exception_cleanup): Likewise.
1387 * libsupc++/unwind-cxx.h (__cxa_exception): Add reference count.
1388 (__cxa_dependent_exception, __cxa_allocate_dependent_exception,
1389 __cxa_free_dependent_exception, __get_dependent_exception_from_ue,
1390 __GXX_INIT_DEPENDENT_EXCEPTION_CLASS, __is_dependent_exception,
1391 __gxx_dependent_exception_class, __get_object_from_ue,
1392 __get_object_from_ambiguous_exception): Add.
1393 (__GXX_INIT_EXCEPTION_CLASS, __gxx_exception_class): Rename.
1394 (__is_gxx_exception_class): Handle dependent exceptions.
1395 * libsupc++/eh_arm.cc (__cxa_type_match): Likewise.
1396 * libsupc++/eh_call.cc (__cxa_call_unexpected): Likewise.
1397 * libsupc++/eh_personality.cc (__gxx_personality_*): Likewise.
1398 * libsupc++/eh_type.cc (__cxa_current_exception_type): Likewise.
1399 * libsupc++/eh_alloc.cc (__cxa_allocate_dependent_exception,
1400 __cxa_free_dependent_exception): Add.
1401 * libsupc++/eh_throw.cc (__gxx_exception_cleanup): Handle reference
1403 * libsupc++/exception: Conditionally include exception_ptr.h.
1404 * libsupc++/Makefile.am: Register new files.
1405 * libsupc++/Makefile.in: Regenerate.
1406 * config/abi/pre/gnu.ver: Add new symbols.
1407 * testsuite/18_support/exception_ptr/current_exception.cc: Test the
1408 core functionality of current_exception().
1409 * testsuite/18_support/exception_ptr/rethrow_exception.cc: Test the
1410 core functionality of rethrow_exception().
1411 * testsuite/18_support/exception_ptr/lifespan.cc: Test the life span of
1412 exception objects during exception propagation.
1414 2008-08-12 Paolo Carlini <paolo.carlini@oracle.com>
1417 * include/bits/stl_pair.h: Fix documentation URL in comment.
1419 2008-08-12 Johannes Singler <singler@ira.uka.de>
1421 * include/paralle/losertree.h
1422 (LoserTreePointerBase<>::~LoserTreePointerBase):
1423 Replace delete by appropriate delete[].
1425 2008-08-12 Paolo Carlini <paolo.carlini@oracle.com>
1427 * configure.ac: Run unconditionally GLIBCXX_CHECK_INT64_T and
1428 GLIBCXX_CHECK_C99_TR1; remove sigsetjmp and mmap checks (unused).
1429 * crossconfig.m4: Adjust; remove HAVE_GETPAGESIZE defines (unused).
1430 * configure: Regenerate.
1431 * config.h.in: Likewise.
1433 * acinclude.m4: Minor formatting fixes.
1435 2008-08-11 Stephen M. Webb <stephenw@xandros.com>
1437 * include/tr1_impl/regex: Formatting fixes.
1438 * testsuite/tr1/7_regular_expressions/regex_traits/char/value.cc:
1440 * testsuite/tr1/7_regular_expressions/regex_traits/wchar_t/value.cc:
1443 2008-08-11 Paolo Carlini <paolo.carlini@oracle.com>
1445 * config/locale/generic/c_locale.cc: Include <cstdio>.
1447 2008-08-11 Paolo Carlini <paolo.carlini@oracle.com>
1449 * configure.ac: Run GLIBCXX_CHECK_STDIO_MACROS unconditionally.
1450 * configure: Regenerate.
1452 2008-08-10 Paolo Carlini <paolo.carlini@oracle.com>
1454 * include/tr1_impl/type_traits (_DEFINE_SPEC*): Simplify.
1455 (_DEFINE_SPEC_BODY): Remove.
1456 (__is_void_helper, __is_integral_helper, __is_floating_point_helper,
1457 __is_member_object_pointer_helper, __is_member_function_pointer_helper,
1458 __remove_pointer_helper): Add.
1459 (is_void, is_integral, is_floating_point, is_member_object_pointer,
1460 is_member_function_pointer, remove_pointer): Use the latter.
1461 * include/tr1/type_traits (_DEFINE_SPEC): Simplify.
1462 (_DEFINE_SPEC_HELPER): Remove.
1463 (__is_signed_helper, __is_unsigned_helper): Add.
1464 (is_signed, is_unsigned): Use the latter.
1466 2008-08-09 Paolo Carlini <paolo.carlini@oracle.com>
1468 Revert fix for libstdc++/35637, thanks to other/36901.
1469 * include/tr1_impl/type_traits (__is_function_helper): New, uses
1471 (is_function): Forward to the latter.
1472 (__in_array): Remove.
1474 2008-08-09 Paolo Carlini <paolo.carlini@oracle.com>
1476 * config/locale/darwin/ctype_members.cc: Include <cstdio>.
1478 2008-08-08 Paolo Carlini <paolo.carlini@oracle.com>
1480 * include/bits/ios_base.h: Undef _IOS_BASE_SEEK_CUR and
1481 _IOS_BASE_SEEK_END at the end of the file.
1482 * include/bits/char_traits.h: Likewise for _CHAR_TRAITS_EOF.
1484 2008-08-07 Stephen M. Webb <stephenw@xandros.com>
1486 * include/tr1_impl/regex (match_results<>::cbegin, cend): Add, per
1489 2008-08-06 Paolo Carlini <paolo.carlini@oracle.com>
1491 * acinclude.m4 ([GLIBCXX_CHECK_STDIO_MACROS]): New, checks for
1492 common values of EOF, SEEK_CUR, SEEK_END.
1493 * configure.ac: Use it.
1494 * include/bits/ios_base.h: Likewise.
1495 * include/bits/char_traits.h: Likewise.
1496 * config/locale/gnu/ctype_members.cc: Include <cstdio>.
1497 * config/locale/generic/ctype_members.cc: Likewise.
1498 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust dg-error lines.
1499 * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
1500 * configure: Regenerate.
1501 * config.h.in: Likewise.
1503 2008-08-06 Paolo Carlini <paolo.carlini@oracle.com>
1505 * acinclude.m4 ([GLIBCXX_CHECK_INT64_T]): Also check whether int64_t
1506 is actually a typedef to long or long long.
1507 * include/bits/postypes.h: If int64_t is actually a typedef for
1508 long or long long don't include <stdint.h> unnecessarily.
1509 * configure: Regenerate.
1510 * config.h.in: Likewise.
1512 2008-08-05 Paolo Carlini <paolo.carlini@oracle.com>
1514 * testsuite/util/testsuite_api.h (diamond_derivation<>::test):
1515 Expect ambiguity together with the standard exception classes.
1516 * testsuite/27_io/ios_base/failure/cons_virtual_derivation.cc: Remove
1518 * testsuite/19_diagnostics/logic_error/cons_virtual_derivation.cc:
1520 * testsuite/19_diagnostics/runtime_error/cons_virtual_derivation.cc:
1522 * testsuite/19_diagnostics/system_error/cons_virtual_derivation.cc:
1524 * testsuite/18_support/bad_alloc/cons_virtual_derivation.cc: Likewise.
1525 * testsuite/18_support/bad_cast/cons_virtual_derivation.cc: Likewise.
1526 * testsuite/18_support/bad_exception/cons_virtual_derivation.cc:
1528 * testsuite/18_support/bad_typeid/cons_virtual_derivation.cc:
1530 * testsuite/ext/concurrence_lock_error/cons_virtual_derivation.cc:
1532 * testsuite/ext/forced_exception_error/cons_virtual_derivation.cc:
1534 * testsuite/ext/concurrence_unlock_error/cons_virtual_derivation.cc:
1536 * testsuite/20_util/bad_function_call/cons_virtual_derivation.cc:
1539 2008-08-04 Paolo Carlini <paolo.carlini@oracle.com>
1541 * include/bits/postypes.h: Reinstate inclusion of <stdint.h>;
1542 also define the __STDC_* macros.
1543 (streamoff): Adjust.
1545 * include/tr1_impl/cstdint: Check that the __STDC_* macros are
1546 not defined before defining.
1548 2008-08-01 Paolo Bonzini <bonzini@gnu.org>
1549 Chris Fairles <chris.fairles@gmail.com>
1551 * acinclude.m4 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Reinstate clock_gettime
1552 search, but only in libposix4, never link librt.
1553 * src/Makefile.am: Reinstate previous change to add GLIBCXX_LIBS.
1554 * configure: Regenerate.
1555 * configure.in: Likewise.
1556 * Makefile.in: Likewise.
1557 * src/Makefile.in: Likewise.
1558 * libsup++/Makefile.in: Likewise.
1559 * po/Makefile.in: Likewise.
1560 * doc/Makefile.in: Likewise.
1562 2008-07-31 Chris Fairles <chris.fairles@gmail.com>
1564 * include/std/chrono (duration): Use explicitly defaulted ctor, cctor,
1565 dtor and assignment. Add diagnostics as per 20.8.3 paragraphs 2, 3
1566 and 4 in WD. Other minor tweaks.
1567 * testsuite/20_util/duration/cons/1_neg.cc: Adjust line numbers.
1568 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: New.
1569 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Likewise.
1570 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Likewise.
1572 2008-07-31 Paolo Carlini <paolo.carlini@oracle.com>
1574 * testsuite/lib/libstdc++.exp (libstdc++_init): Set v3-libgomp.
1575 (check_v3_target_parallel_mode): Robustify, just follow the
1576 structure of testsuite/Makefile.am.
1578 2008-07-29 Paolo Carlini <paolo.carlini@oracle.com>
1580 * include/debug/set.h: Minor formatting fixes.
1581 * include/debug/multiset.h: Likewise.
1582 * include/debug/safe_association.h: Likewise.
1583 * include/debug/vector: Likewise.
1584 * include/debug/map.h: Likewise.
1585 * include/debug/string: Likewise.
1586 * include/debug/multimap.h: Likewise.
1587 * include/bits/stl_list.h: Likewise.
1588 * include/bits/stl_map.h: Likewise.
1589 * include/bits/stl_set.h: Likewise.
1590 * include/bits/stl_multimap.h: Likewise.
1591 * include/bits/stl_vector.h: Likewise.
1592 * include/bits/stl_multiset.h: Likewise.
1593 * include/bits/stl_bvector.h: Likewise.
1595 2008-07-29 Paolo Carlini <paolo.carlini@oracle.com>
1597 * include/std/utility: Include <initializer_list>, per the current WP.
1599 * testsuite/lib/libstdc++.exp (check_v3_target_cstdint): Tweak,
1600 don't use -std=gnu++0x unnecessarily.
1601 * testsuite/18_support/numeric_limits/char16_32_t.cc: Use
1603 * testsuite/18_support/headers/cstdint/types_std_c++0x.cc: Likewise.
1604 * testsuite/tr1/8_c_compatibility/cstdint/types_std_tr1.cc: Likewise.
1606 2008-07-28 Paolo Carlini <paolo.carlini@oracle.com>
1609 * include/tr1_impl/boost_shared_ptr.h
1610 (__shared_ptr(_Sp_make_shared_tag, _Alloc, _Args&&...): Call
1611 __enable_shared_from_this_helper.
1612 * testsuite/20_util/shared_ptr/creation/36949.cc: New.
1614 2008-07-24 Paolo Carlini <paolo.carlini@oracle.com>
1618 2008-07-23 Chris Fairles <chris.fairles@gmail.com>
1620 * acinclude.m4 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Define GLIBCXX_LIBS.
1621 Holds the lib that defines clock_gettime (-lrt or -lposix4).
1622 * src/Makefile.am: Use it.
1623 * configure: Regenerate.
1624 * configure.in: Likewise.
1625 * Makefile.in: Likewise.
1626 * src/Makefile.in: Likewise.
1627 * libsup++/Makefile.in: Likewise.
1628 * po/Makefile.in: Likewise.
1629 * doc/Makefile.in: Likewise.
1631 2008-07-23 Chris Fairles <chris.fairles@gmail.com>
1633 * include/std/condition_variable: Update to N2691 WD.
1634 * include/std/mutex: Likewise.
1635 * testsuite/30_threads/mutex/cons/assign_neg.cc: Adjust line numbers.
1636 * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise.
1637 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
1638 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
1640 2008-07-23 Chris Fairles <chris.fairles@gmail.com>
1642 * acinclude.m4 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Define GLIBCXX_LIBS.
1643 Holds the lib that defines clock_gettime (-lrt or -lposix4).
1644 * src/Makefile.am: Use it.
1645 * configure: Regenerate.
1646 * configure.in: Likewise.
1647 * Makefile.in: Likewise.
1648 * src/Makefile.in: Likewise.
1649 * libsup++/Makefile.in: Likewise.
1650 * po/Makefile.in: Likewise.
1651 * doc/Makefile.in: Likewise.
1653 2008-07-22 Paolo Carlini <paolo.carlini@oracle.com>
1655 * include/ext/sso_string_base.h
1656 (__sso_string_base<>::__sso_string_base(std::initializer_list<_CharT>,
1657 const _Alloc&)): Remove.
1658 * include/ext/rc_string_base.h
1659 (__rc_string_base<>::__rc_string_base(std::initializer_list<_CharT>,
1660 const _Alloc&)): Likewise.
1661 * include/ext/vstring.h
1662 (__versa_string<>::__versa_string(std::initializer_list<_CharT>,
1663 const _Alloc&)): Adjust.
1665 2008-07-21 Jason Merrill <jason@redhat.com>
1667 Add initializer_list support as per N2679.
1668 * include/debug/unordered_map: Add initializer_list support.
1669 * include/debug/safe_association.h: Likewise.
1670 * include/debug/unordered_set: Likewise.
1671 * include/debug/vector: Likewise.
1672 * include/debug/deque: Likewise.
1673 * include/debug/map.h: Likewise.
1674 * include/debug/set.h: Likewise.
1675 * include/debug/string: Likewise.
1676 * include/debug/list: Likewise.
1677 * include/debug/multimap.h: Likewise.
1678 * include/tr1_impl/unordered_map: Likewise.
1679 * include/tr1_impl/hashtable: Likewise.
1680 * include/tr1_impl/unordered_set: Likewise.
1681 * include/tr1_impl/regex: Likewise.
1682 * include/std/valarray: Likewise.
1683 * include/std/unordered_map: Likewise.
1684 * include/std/unordered_set: Likewise.
1685 * include/bits/stl_list.h: Likewise.
1686 * include/bits/stl_map.h: Likewise.
1687 * include/bits/stl_set.h: Likewise.
1688 * include/bits/basic_string.h: Likewise.
1689 * include/bits/basic_string.tcc: Likewise.
1690 * include/bits/stl_multimap.h: Likewise.
1691 * include/bits/stl_vector.h: Likewise.
1692 * include/bits/stl_deque.h: Likewise.
1693 * include/bits/stl_multiset.h: Likewise.
1694 * include/bits/stl_bvector.h: Likewise.
1695 * include/ext/vstring.h: Likewise.
1696 * include/ext/rc_string_base.h: Likewise.
1697 * include/ext/sso_string_base.h: Likewise.
1698 * src/Makefile.am (w?string-inst): Build with -std=gnu++0x.
1699 * src/Makefile.in: Likewise.
1700 * config/abi/pre/gnu.ver: Add new w?string exports.
1701 * testsuite/21_strings/basic_string/init-list.cc: New test.
1702 * testsuite/23_containers/vector/init-list.cc: New test.
1703 * testsuite/23_containers/deque/init-list.cc: New test.
1704 * testsuite/23_containers/list/init-list.cc: New test.
1705 * testsuite/23_containers/map/init-list.cc: New test.
1706 * testsuite/23_containers/multimap/init-list.cc: New test.
1707 * testsuite/23_containers/set/init-list.cc: New test.
1708 * testsuite/23_containers/multiset/init-list.cc: New test.
1709 * testsuite/23_containers/unordered_map/init-list.cc: New test.
1710 * testsuite/23_containers/unordered_multimap/init-list.cc: New test.
1711 * testsuite/23_containers/unordered_set/init-list.cc: New test.
1712 * testsuite/23_containers/unordered_multiset/init-list.cc: New test.
1713 * testsuite/26_numerics/valarray/init-list.cc: New test.
1714 * testsuite/28_regex/init-list.cc: New test.
1715 * testsuite/ext/vstring/init-list.cc: New test.
1716 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
1717 Update error lineno.
1718 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
1719 Update error lineno.
1720 * testsuite/23_containers/vector/requirements/dr438/
1721 constructor_1_neg.cc: Update error lineno.
1722 * testsuite/23_containers/vector/requirements/dr438/
1723 constructor_2_neg.cc: Update error lineno.
1724 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
1725 Update error lineno.
1726 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
1727 Update error lineno.
1728 * testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc:
1729 Update error lineno.
1730 * testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc:
1731 Update error lineno.
1732 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
1733 Update error lineno.
1734 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
1735 Update error lineno.
1736 * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
1737 Update error lineno.
1738 * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
1739 Update error lineno.
1741 2008-07-21 Mark Mitchell <mark@codesourcery.com>
1743 * config/os/gnu-linux/arm-eabi-extra.ver: New file.
1744 * configure.host: Use it for arm*-*-linux-*eabi.
1746 2008-07-19 Paolo Carlini <paolo.carlini@oracle.com>
1748 * include/ext/pb_ds/detail/binomial_heap_base_/debug_fn_imps.hpp
1749 (assert_node_consistent): Avoid ambiguous else warning.
1751 * include/ext/pb_ds/detail/debug_map_base.hpp: Include <iostream>.
1753 * include/bits/c++config: In debug-mode (and parallel-mode) set
1754 _GLIBCXX_EXTERN_TEMPLATE to -1, not 0, thus disabling extern
1755 templates only for basic_string (per libstdc++/21674).
1756 * include/bits/basic_string.tcc: Use extern templates when
1757 _GLIBCXX_EXTERN_TEMPLATE > 0.
1759 2008-07-18 Kris Van Hees <kris.van.hees@oracle.com>
1760 Holger Hopp <holger.hopp@sap.com>
1762 * config/abi/pre/gnu.ver: Support char16_t and char32_t.
1763 * testsuite/util/testsuite_abi.cc (check_version): Add
1764 CXXABI_1.3.3 to known_versions.
1766 2008-07-16 Paolo Carlini <paolo.carlini@oracle.com>
1768 * include/debug/vector (insert(iterator, _Tp&&), push_back(_Tp&&)):
1769 Enable only when _Tp != bool.
1771 * testsuite/25_algorithms/heap/1.cc: Avoid unused variable warnings.
1773 2008-07-18 Paolo Carlini <paolo.carlini@oracle.com>
1775 * testsuite/lib/libstdc++.exp (check_v3_target_c_std): Avoid unused
1776 variable warnings leading to spurious fails of the test.
1778 2008-07-16 Paolo Carlini <paolo.carlini@oracle.com>
1780 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Adjust
1782 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
1783 * testsuite/20_util/duration/cons/1_neg.cc: Likewise.
1785 * include/tr1_impl/type_traits: Fix comment typo.
1787 2008-07-16 Paolo Carlini <paolo.carlini@oracle.com>
1789 * include/bits/unique_ptr.h: Remove stray character.
1791 2008-07-15 Benjamin Kosnik <bkoz@redhat.com>
1793 * doc/doxygen/user.cfg.in: Add complex, ratio,
1795 (PREDEFINED): Add _GLIBCXX_USE_C99_STDINT_TR1.
1796 * doc/doxygen/doxygroups.cc: Add std::chrono.
1797 * include/bits/unique_ptr.h (default_delete, unique_ptr): Add markup.
1798 * libsupc++/initializer_list (initializer_list): Same.
1799 * include/std/ratio: Same.
1800 * include/std/chrono: Same.
1801 * include/std/complex: Disambiguate file markup.
1803 2008-07-15 Chris Fairles <chris.fairles@gmail.com>
1805 * include/std/chrono: New, as per N2661.
1806 * src/chrono.cc: New.
1807 * include/Makefile.am: Update.
1808 * src/Makefile.am: Likewise.
1809 * include/Makefile.in: Regenerate.
1810 * src/Makefile.in: Likewise.
1811 * acinclude.m4: Add tests for clock_gettime and gettimeofday that
1812 define _GLIBCXX_HAS_CLOCK_GETTIME and/or _GLIBCXX_HAS_GETTIMEOFDAY.
1813 * configure.ac: Use them.
1814 * configure: Regenerate.
1815 * config.h.in: Likewise.
1816 * config/abi/pre/gnu.ver: Add symbols for system_clock::now() and
1817 system_clock::is_monotonic.
1818 * testsuite/20_util/duration/cons/1.cc: New.
1819 * testsuite/20_util/duration/cons/2.cc: Likewise.
1820 * testsuite/20_util/duration/cons/1_neg.cc: Likewise.
1821 * testsuite/20_util/duration/requirements/explicit_instantiation/
1822 explicit_instantiation.cc: Likewise.
1823 * testsuite/20_util/duration/arithmetic/1.cc: Likewise.
1824 * testsuite/20_util/duration/arithmetic/2.cc: Likewise.
1825 * testsuite/20_util/duration/comparisons/1.cc: Likewise.
1826 * testsuite/20_util/time_point/requirements/explicit_instantiation/
1827 explicit_instantiation.cc: Likewise.
1828 * testsuite/20_util/time_point/1.cc: Likewise.
1829 * testsuite/20_util/time_point/2.cc: Likewise.
1830 * testsuite/20_util/time_point/3.cc: Likewise.
1831 * testsuite/20_util/clocks/1.cc: Likewise.
1832 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Add
1834 * testsuite/17_intro/headers/c++200x/all.cc: Likewise.
1835 * include/precompiled/stdc++.h: Likewise and remove <date_time>.
1836 * doc/doxygen/user.cfg.in: Likewise.
1838 2008-07-15 Paolo Carlini <paolo.carlini@oracle.com>
1841 * include/ext/rope (_Destroy_const): Add.
1842 (rope<>::copy): Call it.
1843 * testsuite/ext/rope/36832.cc: New.
1845 2008-07-15 Johannes Singler <singler@ira.uka.de>
1847 * include/parallel/find_selectors.h:
1848 Correct name for include guard #ifndef.
1849 * include/parallel/balanced_quicksort.h: Likewise.
1850 * include/parallel/unique_copy.h: Likewise.
1851 * include/parallel/multiway_mergesort.h: Likewise.
1852 * include/parallel/checkers.h: Likewise.
1853 * include/parallel/[various files]:
1854 Add/correct comment for #endif of include guard (at end of file)
1856 2008-07-12 Paolo Carlini <paolo.carlini@oracle.com>
1858 * include/std/date_time: Remove, per N2549, in WP.
1859 * src/date_time.cc: Likewise.
1860 * config/abi/pre/gnu.ver: Remove <date_time> symbols.
1861 * include/Makefile.am: Remove date_time in std headers.
1862 * src/Makefile.am: Remove date_time.cc to source files.
1863 * include/Makefile.in: Regenerate.
1864 * src/Makefile.in: Likewise.
1865 * testsuite/31_date_time/headers/date_time/types_std.cc: Remove.
1866 * testsuite/31_date_time/headers/date_time/std_c++0x_neg.cc: Likewise.
1867 * testsuite/31_date_time/headers/date_time/functions_std.cc: Likewise.
1868 * testsuite/31_date_time/headers/date_time/synopsis.cc: Likewise.
1869 * testsuite/31_date_time/nanoseconds/requirements/traits.cc: Likewise.
1870 * testsuite/31_date_time/nanoseconds/requirements/duration.cc: Likewise.
1871 * testsuite/31_date_time/system_time/requirements: Likewise.
1872 * testsuite/31_date_time/system_time/requirements/traits.cc: Likewise.
1873 * testsuite/17_intro/headers/c++200x/all.cc: Adjust.
1874 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Adjust.
1876 2008-07-10 Johannes Singler <singler@ira.uka.de>
1878 * include/parallel/balanced_quicksort.h:
1879 (qsb_divide) Replace "*end" by "*(end - 1)" in assertion.
1881 2008-07-09 Benjamin Kosnik <bkoz@redhat.com>
1884 * doc/xml/manual/allocator.xml: Fix links.
1885 * doc/html/*: Regenerate.
1887 2008-07-09 Joseph Myers <joseph@codesourcery.com>
1889 * libsupc++/unwind-cxx.h (__is_gxx_forced_unwind_class,
1890 __GXX_INIT_FORCED_UNWIND_CLASS): Define for ARM EABI unwinder.
1891 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Call
1892 __GXX_INIT_FORCED_UNWIND_CLASS for forced unwind with ARM EABI
1894 * libsupc++/eh_arm.cc (__cxa_type_match): Use
1895 __is_gxx_forced_unwind_class to check for forced unwind.
1897 2008-07-09 Andreas Beckmann <gcc@abeckmann.de>
1900 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1901 null_metadata.hpp: Remove self-include.
1903 2008-07-09 Joseph Myers <joseph@codesourcery.com>
1905 * testsuite/20_util/make_signed/requirements/typedefs-2.cc,
1906 testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Use
1907 -Wl,--no-enum-size-warning for arm*-*-linux*eabi.
1909 2008-07-09 Johannes Singler <singler@ira.uka.de>
1912 * include/parallel/random_shuffle.h:
1913 (sequential_random_shuffle) Copy data back.
1914 * testsuite/25_algorithms/random_shuffle/1.cc:
1915 New. Generic random_shuffle functionality test.
1917 2008-07-08 Chris Fairles <chris.fairles@gmail.com>
1919 * include/std/type_traits: Add common_type.
1920 * testsuite/20_util/common_type/requirements/
1921 explicit_instantiation.cc: New.
1922 * testsuite/20_util/common_type/requirements/
1923 typedefs-1.cc: Likewise.
1925 2008-07-07 Paolo Carlini <paolo.carlini@oracle.com>
1927 * testsuite/lib/libstdc++.exp (check_v3_target_stdint): New.
1928 * testsuite/lib/dg-options.exp (dg-require-cstdint): New.
1929 * testsuite/20_util/ratio/cons/cons1.cc: Use it.
1930 * testsuite/20_util/ratio/cons/cons_overflow.cc: Likewise.
1931 * testsuite/20_util/ratio/operations/ops1.cc: Likewise.
1932 * testsuite/20_util/ratio/operations/ops2.cc: Likewise.
1933 * testsuite/20_util/ratio/operations/ops3.cc: Likewise.
1934 * testsuite/20_util/ratio/operations/ops_overflow.cc: Likewise.
1935 * testsuite/20_util/ratio/comparisons/comp1.cc: Likewise.
1936 * testsuite/20_util/ratio/comparisons/comp2.cc: Likewise.
1938 * include/std/type_traits: Fix comment typo.
1940 2008-07-06 Roger Sayle <roger@eyesopen.com>
1942 * include/std/system_error (is_error_code_enum): Use identifier
1943 _Tp instead of _T to avoid conflict with system macro on Darwin.
1944 (is_error_condition_enum): Likewise.
1946 2008-07-05 Paolo Carlini <paolo.carlini@oracle.com>
1948 * include/bits/postypes.h: Do not include <stdint.h>.
1950 * include/Makefile.am: Reorder.
1952 2008-07-05 Paolo Carlini <paolo.carlini@oracle.com>
1954 * include/std/ratio: Prefer __INTMAX_MAX__ to INTMAX_MAX (INTMAX_MIN).
1956 2008-07-05 Chris Fairles <chris.fairles@gmail.com>
1958 * include/std/ratio: Documentation for std::ratio class. Add conditions
1959 to ratio_less to prevent overflow.
1960 * testsuite/20_util/ratio/comparisons/comp2.cc: New.
1961 * testsuite/20_util/ratio/cons/cons_overflow.cc: Update dg-error line
1964 2008-07-04 Chris Fairles <chris.fairles@gmail.com>
1966 * include/std/ratio: New, per N2661.
1967 * include/Makefile.am: Update.
1968 * include/Makefile.in: Regenerate.
1969 * testsuite/20_util/ratio/cons/cons1.cc: New.
1970 * testsuite/20_util/ratio/cons/cons_overflow.cc: Likewise.
1971 * testsuite/20_util/ratio/operations/ops1.cc: Likewise.
1972 * testsuite/20_util/ratio/operations/ops2.cc: Likewise.
1973 * testsuite/20_util/ratio/operations/ops3.cc: Likewise.
1974 * testsuite/20_util/ratio/operations/ops_overflow.cc: Likewise.
1975 * testsuite/20_util/ratio/comparisons/comp1.cc: Likewise.
1977 2008-07-04 Paolo Carlini <paolo.carlini@oracle.com>
1980 * testsuite/22_locale/time_put/put/char/4.cc: Just use es_ES instead.
1981 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
1983 2008-07-03 Paolo Carlini <paolo.carlini@oracle.com>
1985 * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
1986 Improve check on long double limits.
1987 * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
1989 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
1991 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
1994 2008-07-03 Paolo Carlini <paolo.carlini@oracle.com>
1996 * libsupc++/Makefile.am: Add initializer_list to the headers.
1997 * libsupc++/Makefile.in: Regenerate.
1999 * libsupc++/initializer_list: Minor cosmetic changes.
2001 2008-07-02 Jason Merrill <jason@redhat.com>
2003 * libsupc++/initializer_list: Uglify and wrap in
2004 __GXX_EXPERIMENTAL_CXX0X__.
2005 * include/bits/stl_map.h (insert(initializer_list)): Wrap.
2007 2008-07-02 Jason Merrill <jason@redhat.com>
2009 * libsupc++/initializer_list: New file.
2010 * include/bits/stl_map.h (insert(initializer_list)): New method.
2012 2008-06-30 Alfred E. Heggestad <aeh@db.org>
2014 * include/backward/backward_warning.h: Fix typo.
2016 2008-06-29 Paolo Carlini <paolo.carlini@oracle.com>
2018 * src/string_conversions.cc: Remove.
2019 * config/abi/pre/gnu.ver: Delete exports.
2020 * src/Makefile.am: Update.
2021 * include/ext/string_conversions.h: Add.
2022 * include/Makefile.am: Update.
2023 * include/bits/basic_string.h: Include string_conversions.h,
2024 define numeric conversion functions.
2025 * include/ext/vstring.h: Likewise.
2026 * src/Makefile.in: Regenerate.
2027 * include/Makefile.in: Regenerate.
2029 2008-06-29 Paolo Carlini <paolo.carlini@oracle.com>
2031 * include/bits/stl_algo.h (copy_n): Add in C++0x mode.
2032 * include/bits/algorithmfwd.h: Add.
2033 * include/bits/stl_uninitialized.h (uninitialized_copy_n): Add
2035 * testsuite/20_util/specialized_algorithms/uninitialized_copy_n/
2036 move_iterators/1.cc: New
2037 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
2038 * testsuite/25_algorithms/copy_n/1.cc: New.
2039 * testsuite/25_algorithms/copy_n/2.cc: Likewise.
2040 * testsuite/25_algorithms/copy_n/3.cc: Likewise.
2041 * testsuite/25_algorithms/copy_n/4.cc: Likewise.
2042 * testsuite/25_algorithms/copy_n/move_iterators/1.cc: Likewise.
2043 * testsuite/25_algorithms/copy_n/requirements/
2044 explicit_instantiation/2.cc: Likewise.
2045 * testsuite/25_algorithms/partition_point/requirements/
2046 explicit_instantiation/pod.cc: Likewise.
2048 2008-06-28 Paolo Carlini <paolo.carlini@oracle.com>
2050 * include/bits/stl_algo.h (partition_point): Add in C++0x mode.
2051 * include/bits/algorithmfwd.h: Add.
2052 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
2053 * testsuite/25_algorithms/partition_point/1.cc: New.
2054 * testsuite/25_algorithms/partition_point/check_type.cc: Likewise.
2055 * testsuite/25_algorithms/partition_point/requirements/
2056 explicit_instantiation/2.cc: Likewise.
2057 * testsuite/25_algorithms/partition_point/requirements/
2058 explicit_instantiation/pod.cc: Likewise.
2060 2008-06-28 Paolo Carlini <paolo.carlini@oracle.com>
2063 * include/ext/pb_ds/detail/resize_policy/
2064 sample_resize_trigger.hpp: Remove spurious namespace end.
2066 2008-06-27 Mark Mitchell <mark@codesourcery.com>
2068 * libsupc++/vec.cc (__aeabi_vec_dtor_cookie): Handle NULL array
2070 (__aeabi_vec_delete): Likewise.
2071 (__aeabi_vec_delete3): Likewise.
2072 (__aeabi_vec_delete3_nodtor): Likewise.
2074 2008-06-27 Paolo Carlini <paolo.carlini@oracle.com>
2076 * include/bits/stl_algo.h (is_partitioned): Add in C++0x mode.
2077 * include/bits/algorithmfwd.h: Add.
2078 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
2079 * testsuite/25_algorithms/is_partitioned/1.cc: New.
2080 * testsuite/25_algorithms/is_partitioned/check_type.cc: Likewise.
2081 * testsuite/25_algorithms/is_partitioned/requirements/
2082 explicit_instantiation/2.cc: Likewise.
2083 * testsuite/25_algorithms/is_partitioned/requirements/
2084 explicit_instantiation/pod.cc: Likewise.
2086 2008-06-27 Paolo Carlini <paolo.carlini@oracle.com>
2088 * include/bits/stl_numeric.h (iota): Add in C++0x mode.
2089 * testsuite/util/testsuite_character.h (pod_int): Add operator++
2091 * testsuite/util/testsuite_api.h (NonDefaultConstructible): Likewise.
2092 * testsuite/26_numerics/iota/1.cc: New.
2093 * testsuite/26_numerics/iota/requirements/explicit_instantiation/
2095 * testsuite/26_numerics/iota/requirements/explicit_instantiation/
2098 * include/ext/algorithm: Do not fiddle with the legacy headers.
2100 * testsuite/26_numerics/partial_sum/1.cc: Minor changes, comments,
2102 * testsuite/26_numerics/accumulate/1.cc: Likewise.
2103 * testsuite/26_numerics/adjacent_difference/1.cc: Likewise.
2104 * testsuite/26_numerics/inner_product/1.cc: Likewise.
2106 2008-06-26 Paolo Carlini <paolo.carlini@oracle.com>
2108 * include/bits/stl_algo.h (partition_copy): Add in C++0x mode.
2109 * include/bits/algorithmfwd.h: Add.
2110 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
2111 * testsuite/25_algorithms/partition_copy/1.cc: New.
2112 * testsuite/25_algorithms/partition_copy/check_type.cc: Likewise.
2113 * testsuite/25_algorithms/partition_copy/requirements/
2114 explicit_instantiation/2.cc: Likewise.
2115 * testsuite/25_algorithms/partition_copy/requirements/
2116 explicit_instantiation/pod.cc: Likewise.
2118 2008-06-26 Chris Fairles <chris.fairles@gmail.com>
2120 * testsuite/20_util/unique_ptr/cons/pointer_array.cc: New.
2121 * testsuite/20_util/unique_ptr/cons/pointer.cc: Likewise.
2122 * testsuite/20_util/unique_ptr/cons/pointer_array_convertible.cc:
2124 * testsuite/20_util/unique_ptr/assign/move_array.cc: Likewise.
2125 * testsuite/20_util/unique_ptr/assign/move.cc: Likewise.
2126 * testsuite/20_util/unique_ptr/specialized_algorithms/
2127 comparisons_array.cc: Likewise.
2128 * testsuite/20_util/unique_ptr/specialized_algorithms/comparisons.cc:
2130 * testsuite/20_util/unique_ptr/specialized_algorithms/swap.cc:
2133 2008-06-26 Paolo Carlini <paolo.carlini@oracle.com>
2135 * include/parallel/base.h (plus, multiplies): Use __typeof__,
2138 2008-06-25 Paolo Carlini <paolo.carlini@oracle.com>
2140 * testsuite/29_atomics/atomic_flag/cons/default.cc: Avoid -Wall
2142 * testsuite/29_atomics/atomic_flag/cons/aggregate.cc: Likewise.
2143 * testsuite/29_atomics/headers/cstdatomic/types_std_c++0x.cc:
2145 * testsuite/29_atomics/headers/stdatomic.h/types.c: Likewise.
2146 * testsuite/util/testsuite_common_types.h (struct assignable,
2147 struct default_constructible, struct copy_constructible,
2148 struct explicit_value_constructible): Use a tad of simulated
2149 concept checking techniques to avoid spurious warnings.
2150 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust dg-error
2152 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
2154 2008-06-25 Paolo Carlini <paolo.carlini@oracle.com>
2156 * include/bits/stl_algo.h (__find_if_not, find_if_not, all_of,
2157 any_of, none_of): Add in C++0x, per N2666.
2158 * include/bits/algorithmfwd.h: Update.
2159 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
2160 * testsuite/25_algorithms/all_of/check_type.cc: New.
2161 * testsuite/25_algorithms/all_of/1.cc: Likewise.
2162 * testsuite/25_algorithms/all_of/requirements/explicit_instantiation/
2164 * testsuite/25_algorithms/all_of/requirements/explicit_instantiation/
2166 * testsuite/25_algorithms/any_of/check_type.cc: Likewise.
2167 * testsuite/25_algorithms/any_of/1.cc: Likewise.
2168 * testsuite/25_algorithms/any_of/requirements/explicit_instantiation/
2170 * testsuite/25_algorithms/any_of/requirements/explicit_instantiation/
2172 * testsuite/25_algorithms/none_of/check_type.cc: Likewise.
2173 * testsuite/25_algorithms/none_of/1.cc: Likewise.
2174 * testsuite/25_algorithms/none_of/requirements/explicit_instantiation/
2176 * testsuite/25_algorithms/none_of/requirements/explicit_instantiation/
2178 * testsuite/25_algorithms/find_if_not/check_type.cc: Likewise.
2179 * testsuite/25_algorithms/find_if_not/1.cc: Likewise.
2180 * testsuite/25_algorithms/find_if_not/requirements/
2181 explicit_instantiation/2.cc: Likewise.
2182 * testsuite/25_algorithms/find_if_not/requirements/
2183 explicit_instantiation/pod.cc: Likewise.
2184 * testsuite/25_algorithms/copy_if/check_type.cc: Likewise.
2185 * testsuite/25_algorithms/remove_copy_if/check_type.cc: Likewise.
2186 * testsuite/25_algorithms/find_if/1.cc: Minor tweaks.
2188 2008-06-24 Benjamin Kosnik <bkoz@redhat.com>
2190 * doc/xml/manual/parallel_mode.xml: Clarify use of explicit
2191 parallel algorithms.
2192 * doc/xml/manual/using.xml: Markup fixes caught by validation check.
2193 * doc/xml/manual/test.xml: Remove empty para tags.
2195 * doc/html/*: Regenerate.
2197 2008-06-24 Paolo Carlini <paolo.carlini@oracle.com>
2199 * include/bits/stl_algo.h (remove_if): Cast __pred result to bool.
2200 (copy_if): Add, per N2666.
2201 * testsuite/25_algorithms/copy_if/requirements/explicit_instantiation/
2203 * testsuite/25_algorithms/copy_if/requirements/explicit_instantiation/
2205 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
2207 2008-06-24 Paolo Carlini <paolo.carlini@oracle.com>
2208 Chalathip Thumkanon <chalathip@gmail.com>
2211 * include/ext/pb_ds/exception.hpp (__throw_container_error,
2212 __throw_insert_error, __throw_join_error, __throw_resize_error):
2215 2008-06-22 Paolo Carlini <paolo.carlini@oracle.com>
2217 * include/bits/move.h (swap(_Tp (&)[_Nm], _Tp (&)[_Nm])): Add,
2219 * include/bits/algorithmfwd.h: Add.
2220 * doc/xml/manual/intro.xml: Add an entry for DR 809.
2221 * testsuite/25_algorithms/swap/dr809.cc: New.
2223 * testsuite/25_algorithms/swap/requirements/explicit_instantiation/
2224 2.cc: Remove stray empty line.
2226 2008-06-21 Paolo Carlini <paolo.carlini@oracle.com>
2228 * include/bits/stl_move.h: Rename to move.h.
2229 * include/std/utility: Adjust.
2230 * include/ext/vstring_util.h: Likewise.
2231 * include/ext/throw_allocator.h: Likewise.
2232 * include/ext/pool_allocator.h: Likewise.
2233 * include/ext/bitmap_allocator.h: Likewise.
2234 * include/ext/new_allocator.h: Likewise.
2235 * include/ext/malloc_allocator.h: Likewise.
2236 * include/ext/array_allocator.h: Likewise.
2237 * include/ext/mt_allocator.h: Likewise.
2238 * include/bits/stl_algobase.h: Likewise.
2239 * include/bits/stl_heap.h: Likewise.
2240 * include/bits/stl_pair.h: Likewise.
2241 * include/bits/stl_iterator.h: Likewise.
2242 * testsuite/util/testsuite_allocator.h: Likewise.
2243 * testsuite/util/testsuite_iterators.h: Likewise.
2244 * include/Makefile.am: Likewise.
2245 * include/Makefile.in: Regenerate.
2247 2008-06-21 Chris Fairles <chris.fairles@gmail.com>
2249 * include/bits/unique_ptr.h: New.
2250 * include/std/memory: Adjust.
2251 * include/Makefile.am: Add.
2252 * testsuite/20_util/unique_ptr/requirements/explicit_instantiation/
2253 explicit_instantiation.cc: New.
2254 * testsuite/20_util/unique_ptr/assign/assign.cc: Likewise.
2255 * include/Makefile.in: Regenerate.
2257 2008-06-21 Jonathan Wakely <jwakely.gcc@gmail.com>
2259 * include/c_global/climits, include/tr1/climits: Add parentheses.
2261 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2263 * configure: Regenerate.
2265 2008-06-17 Chris Fairles <chris.fairles@gmail.com>
2267 * include/bits/stl_iterator_base_funcs.h (next, prev): Add in
2269 * testsuite/24_iterators/operations/next.cc: New.
2270 * testsuite/24_iterators/operations/prev.cc: Likewise.
2272 2008-06-17 Paolo Carlini <paolo.carlini@oracle.com>
2274 * src/string_conversions.cc (__to_xstring<>): New.
2275 (to_string, to_wstring): Use it.
2277 2008-06-16 Paolo Carlini <paolo.carlini@oracle.com>
2279 * include/bits/basic_string.h (stod, stof, stoi, stol, stold, stoll,
2280 stoul, stoull, to_string, to_wstring): Declare in C++0x mode.
2281 * src/string_conversions.cc: Add.
2282 * src/Makefile.am: Update.
2283 * config/abi/pre/gnu.ver: Adjust exports.
2284 * src/Makefile.in: Regenerate.
2285 * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
2287 * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
2289 * testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
2291 * testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
2293 * testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc:
2295 * testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc:
2297 * testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
2299 * testsuite/21_strings/basic_string/numeric_conversions/char/stoull.cc:
2301 * testsuite/21_strings/basic_string/numeric_conversions/char/
2302 to_string.cc: Likewise.
2303 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2305 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2307 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2309 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2311 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2313 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2315 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2317 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2318 stoull.cc: Likewise.
2319 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2320 to_wstring.cc: Likewise.
2322 2008-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2324 * include/Makefile.am: Remove trailing white space, fix typo.
2325 (parallel_headers): Remove duplicate file, sort entries.
2326 * include/Makefile.in: Regenerate.
2328 2008-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2330 * src/condition_variable.cc (~condition_variable): Drop unused
2333 2008-06-13 Paolo Carlini <paolo.carlini@oracle.com>
2335 * include/bits/stl_deque.h (deque<>::push_back(_Args&&...),
2336 deque<>::push_front(_Args&&...)): Remove.
2337 (deque<>::push_back(value_type&&),
2338 deque<>::push_front(value_type&&)): Add.
2339 (deque<>::push_back(const value_type&),
2340 deque<>::push_front(const value_type&)): Add back.
2341 (deque<>::emplace_back(_Args&&...),
2342 deque<>::emplace_front(_Args&&...)): Declare...
2343 * include/bits/deque.tcc: ... and define.
2344 * include/bits/stl_list.h (list<>::push_back(_Args&&...),
2345 list<>::push_front(_Args&&...)): Remove.
2346 (list<>::push_back(value_type&&), list<>::push_front(value_type&&),
2347 list<>::emplace_back(_Args&&...), list<>::emplace_front(_Args&&...)):
2349 (list<>::push_back(const value_type&),
2350 list<>::push_front(const value_type&)): Add back.
2351 * include/bits/stl_vector.h (vector<>::push_back(_Args&&...)): Remove.
2352 (vector<>::push_back(value_type&&)): Add.
2353 (vector<>::push_back(const value_type&)): Add back.
2354 (vector<>::emplace_back(_Args&&...)): Declare...
2355 * include/bits/vector.tcc: ... and define.
2356 * include/bits/stl_queue.h (queue<>::push(_Args&&...),
2357 priority_queue<>::push(_Args&&...)): Remove.
2358 (queue<>::push(value_type&&), queue<>::emplace(_Args&&...),
2359 priority_queue<>::push(value_type&&),
2360 priority_queue<>::emplace(_Args&&...)): Add.
2361 (queue<>::push(const value_type&),
2362 priority_queue<>::push(const value_type&)): Add back.
2363 * include/bits/stl_stack.h (stack<>::push(_Args&&...)): Remove.
2364 (stack<>::push(value_type&&), stack<>::emplace(_Args&&...)): Add.
2365 (stack<>::push(const value_type&)): Add back.
2366 * include/debug/deque (deque<>::push_back(_Args&&...),
2367 deque<>::push_front(_Args&&...)): Remove.
2368 (deque<>::push_back(value_type&&), deque<>::push_front(value_type&&),
2369 deque<>::emplace_back(_Args&&...), deque<>::emplace_front(_Args&&...)):
2371 (deque<>::push_back(const value_type&),
2372 deque<>::push_front(const value_type&)): Add back.
2373 * include/debug/list (list<>::push_back(_Args&&...),
2374 list<>::push_front(_Args&&...)): Remove.
2375 (list<>::push_back(value_type&&), list<>::push_front(value_type&&),
2376 list<>::emplace_back(_Args&&...), list<>::emplace_front(_Args&&...)):
2378 (list<>::push_back(const value_type&),
2379 list<>::push_front(const value_type&)): Add back.
2380 * include/debug/vector (vector<>::push_back(_Args&&...)): Remove.
2381 (vector<>::push_back(value_type&&),
2382 vector<>::emplace_back(_Args&&...)): Add.
2383 (vector<>::push_back(const value_type&)): Add back.
2384 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
2385 Adjust dg-error line numbers.
2386 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
2388 * testsuite/23_containers/deque/requirements/dr438/
2389 constructor_1_neg.cc: Likewise.
2390 * testsuite/23_containers/deque/requirements/dr438/
2391 constructor_2_neg.cc: Likewise.
2392 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
2393 Adjust dg-error line numbers.
2394 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
2396 * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
2398 * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
2400 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
2401 Adjust dg-error line numbers.
2402 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
2404 * testsuite/23_containers/vector/requirements/dr438/
2405 constructor_1_neg.cc: Likewise.
2406 * testsuite/23_containers/vector/requirements/dr438/
2407 constructor_2_neg.cc: Likewise.
2409 2008-06-13 Paolo Carlini <paolo.carlini@oracle.com>
2411 * include/tr1_impl/array (array<>::assign): Do not define in
2412 C++0x mode, per DR 776...
2413 (array<>::fill): ... define instead.
2414 * doc/xml/manual/intro.xml: Add an entry for DR 776.
2415 * testsuite/23_containers/array/requirements/fill.cc: New.
2417 2008-06-12 Paolo Carlini <paolo.carlini@oracle.com>
2419 * include/std/complex (pow(const complex<>&, int)): Do not define in
2420 C++0x mode, per DR 844.
2421 * include/tr1/complex (pow(const complex<>&, int)): Remove.
2422 * doc/xml/manual/intro.xml: Add an entry for DR 844.
2423 * testsuite/26_numerics/complex/dr844.cc: New.
2424 * testsuite/tr1/8_c_compatibility/complex/overloads_int.cc: Adjust.
2426 2008-06-11 Paolo Carlini <paolo.carlini@oracle.com>
2428 * include/tr1_impl/hashtable (_Hashtable<>::cbegin(size_type),
2429 cend(size_type)): Add per DR 691.
2430 * testsuite/23_containers/unordered_map/requirements/cliterators.cc:
2432 * testsuite/23_containers/unordered_multimap/requirements/
2433 cliterators.cc: Likewise.
2434 * testsuite/23_containers/unordered_set/requirements/cliterators.cc:
2436 * testsuite/23_containers/unordered_multiset/requirements/
2437 cliterators.cc: Likewise.
2438 * doc/xml/manual/intro.xml: Add an entry for DR 691.
2440 2008-06-11 Matthias Klose <doko@ubuntu.com>
2442 * testsuite/30_threads/lock_error, testsuite/30_threads/once_flag:
2443 Remove empty directories.
2445 2008-06-07 Joseph Myers <joseph@codesourcery.com>
2447 * configure.host (xscale, ep9312, m680[246]0, solaris2.5,
2448 solaris2.5.[0-9], solaris2.6, windiss*): Remove.
2449 * crossconfig.m4 (*-solaris2.5, *-solaris2.6, *-windiss*): Remove.
2450 * configure: Regenerate.
2451 * config/os/solaris/solaris2.5: Remove directory.
2452 * config/os/solaris/solaris2.6: Remove directory.
2453 * config/os/windiss: Remove directory.
2455 2008-06-06 Benjamin Kosnik <bkoz@redhat.com>
2457 * doc/xml/manual/using.xml: Outline exception topics.
2459 * include/ext/pb_ds/detail/binary_heap_/insert_fn_imps.hpp: Format.
2460 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2461 policy_access_fn_imps.hpp: Same.
2462 * include/ext/pb_ds/priority_queue.hpp: Same.
2463 * include/ext/throw_allocator.h: Same.
2465 * include/ext/pb_ds/tag_and_trait.hpp (string_tag): New tag.
2466 (sequence_tag): New tag. Doxygen markup fixes.
2468 * testsuite/lib/libstdc++.exp: Remove twister_ran_gen.cc source file.
2470 * testsuite/performance/ext/pb_ds/text_find_timing.cc: Fix
2471 comment typo, include paths, format.
2472 * testsuite/performance/ext/pb_ds/tree_text_insert_timing.cc: Same.
2473 * testsuite/performance/ext/pb_ds/
2474 hash_random_int_erase_mem_usage.cc: Same.
2475 * testsuite/performance/ext/pb_ds/
2476 random_int_subscript_find_timing.cc: Same.
2477 * testsuite/performance/ext/pb_ds/
2478 priority_queue_text_push_timing.cc: Same.
2479 * testsuite/performance/ext/pb_ds/tree_split_join_timing.cc: Same.
2480 * testsuite/performance/ext/pb_ds/random_int_find_timing.cc: Same.
2481 * testsuite/performance/ext/pb_ds/multimap_text_insert_mem_usage.hpp
2482 * testsuite/performance/ext/pb_ds/multimap_text_find_timing.hpp
2483 * testsuite/performance/ext/pb_ds/
2484 priority_queue_random_int_push_timing.cc: Same.
2485 * testsuite/performance/ext/pb_ds/priority_queue_text_modify_timing.hpp
2486 * testsuite/performance/ext/pb_ds/tree_order_statistics_timing.cc: Same.
2487 * testsuite/performance/ext/pb_ds/
2488 priority_queue_text_push_pop_timing.cc: Same.
2489 * testsuite/performance/ext/pb_ds/
2490 priority_queue_text_join_timing.cc: Same.
2491 * testsuite/performance/ext/pb_ds/
2492 priority_queue_random_int_push_pop_timing.cc: Same.
2493 * testsuite/performance/ext/pb_ds/
2494 random_int_subscript_insert_timing.cc: Same.
2495 * testsuite/performance/ext/pb_ds/tree_text_lor_find_timing.cc: Same.
2496 * testsuite/performance/ext/pb_ds/multimap_text_insert_timing.hpp
2497 * testsuite/performance/ext/pb_ds/
2498 priority_queue_text_pop_mem_usage.cc: Same.
2499 * testsuite/performance/ext/pb_ds/
2500 hash_zlob_random_int_find_timing.cc: Same.
2501 * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Same.
2502 * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
2503 * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand.cc: Same.
2504 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
2505 * testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc: Same.
2506 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
2507 * testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Same.
2508 * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
2509 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
2510 * testsuite/util/regression/trait/priority_queue/trait.hpp: Same.
2511 * testsuite/util/regression/trait/erase_if_fn.hpp: Same.
2512 * testsuite/util/regression/trait/assoc/native_type_trait.hpp: Same.
2513 * testsuite/util/regression/trait/assoc/node_update_trait.hpp: Same.
2514 * testsuite/util/regression/trait/assoc/get_set_load_trait.hpp: Same.
2515 * testsuite/util/regression/trait/assoc/get_set_loads_trait.hpp: Same.
2516 * testsuite/util/regression/trait/assoc/trait.hpp: Same.
2517 * testsuite/util/regression/trait/assoc/resize_trait.hpp: Same.
2518 * testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
2519 * testsuite/util/regression/trait/assoc/to_string.hpp: Same.
2520 * testsuite/util/regression/basic_type.hpp: Same.
2521 * testsuite/util/common_type/priority_queue/string_form.hpp: Same.
2522 * testsuite/util/common_type/priority_queue/detail/
2523 ds_string_form.hpp: Same.
2524 * testsuite/util/common_type/assoc/string_form.hpp: Same.
2525 * testsuite/util/common_type/assoc/detail/
2526 resize_policy_string_form.hpp: Same.
2527 * testsuite/util/common_type/assoc/detail/
2528 trigger_policy_string_form.hpp: Same.
2529 * testsuite/util/common_type/assoc/detail/
2530 comb_hash_fn_string_form.hpp: Same.
2531 * testsuite/util/common_type/assoc/detail/ds_string_form.hpp: Same.
2532 * testsuite/util/common_type/assoc/detail/
2533 size_policy_string_form.hpp: Same.
2534 * testsuite/util/common_type/assoc/detail/
2535 probe_fn_string_form.hpp: Same.
2536 * testsuite/util/common_type/assoc/detail/
2537 list_update_policy_string_form.hpp: Same.
2538 * testsuite/util/common_type/assoc/detail/
2539 store_hash_string_form.hpp: Same.
2540 * testsuite/util/common_type/assoc/native_set.hpp: Same.
2541 * testsuite/util/io/prog_bar.cc: Same.
2543 * testsuite/util/regression/rand/io: Remove.
2544 * testsuite/util/regression/rand/io/priority_queue: Same.
2545 * testsuite/util/regression/rand/io/assoc: Same.
2546 * testsuite/util/regression/rand/io/priority_queue/
2547 xml_formatter.hpp: Consolidate this...
2548 * testsuite/util/regression/rand/io/assoc/xml_formatter.hpp: ...this
2549 * testsuite/util/regression/rand/io/xml_formatter.hpp: ... and this
2550 * testsuite/util/regression/rand/xml_formatter.hpp: ...here.
2552 * testsuite/util/regression/rand/priority_queue/
2553 container_rand_regression_test.hpp:To ...
2554 container_rand_regression_test.h: ... this.
2555 * testsuite/util/regression/rand/priority_queue/detail/*.hpp:To ...
2556 * testsuite/util/regression/rand/priority_queue/
2557 container_rand_regression_test.tcc: ... this.
2558 PB_DS_THROW_IF_FAIL: Change to _GLIBCXX_THROW_IF, adjust predicate.
2559 PB_DS_SET_DESTRUCT_PRINT: Fold inline.
2560 PB_DS_CANCEL_DESTRUCT_PRINT: Fold inline.
2561 * testsuite/util/regression/rand/priority_queue/
2562 rand_regression_test.hpp: Adjust includes.
2564 * testsuite/util/regression/rand/assoc/
2565 container_rand_regression_test.hpp: To ...
2566 * testsuite/util/regression/rand/assoc/
2567 container_rand_regression_test.h: ... this.
2568 * testsuite/util/regression/rand/assoc/detail/*.hpp:To ...
2569 * testsuite/util/regression/rand/assoc/
2570 container_rand_regression_test.tcc: ...this.
2571 * testsuite/util/regression/rand/assoc/rand_regression_test.hpp: Adjust
2574 * testsuite/util/regression/priority_queue: Remove.
2575 * testsuite/util/regression/assoc: Remove.
2576 * testsuite/util/regression/priority_queue/
2577 common_type.hpp: Consolidate this...
2578 * testsuite/util/regression/assoc/common_type.hpp: ... and this
2579 * testsuite/util/regression/common_type.hpp: ...here.
2581 * testsuite/util/rng: Remove.
2582 * testsuite/util/rng/twister_rand_gen.cc: Consolidate...
2583 * testsuite/util/rng/twister_rand_gen.hpp: ... and this
2584 * testsuite/util/testsuite_rng.h: ...here.
2586 * testsuite/util/native_type/priority_queue: Remove.
2587 * testsuite/util/native_type/priority_queue/
2588 native_priority_queue.hpp: To...
2589 * testsuite/util/native_type/native_priority_queue.hpp: ...here.
2591 * testsuite/util/native_type/assoc: Remove.
2592 * testsuite/util/native_type/assoc/native_multimap.hpp: To...
2593 * testsuite/util/native_type/assoc/native_tree_tag.hpp: To...
2594 * testsuite/util/native_type/assoc/native_hash_multimap.hpp: To...
2595 * testsuite/util/native_type/assoc/native_set.hpp: To...
2596 * testsuite/util/native_type/assoc/native_map.hpp: To...
2597 * testsuite/util/native_type/assoc/native_hash_set.hpp: To...
2598 * testsuite/util/native_type/assoc/native_hash_tag.hpp: To...
2599 * testsuite/util/native_type/assoc/native_hash_map.hpp: To...
2600 * testsuite/util/native_type/native_multimap.hpp: ...here.
2601 * testsuite/util/native_type/native_tree_tag.hpp: ...here.
2602 * testsuite/util/native_type/native_hash_multimap.hpp: ...here.
2603 * testsuite/util/native_type/native_set.hpp: ...here.
2604 * testsuite/util/native_type/native_map.hpp: ...here.
2605 * testsuite/util/native_type/native_hash_set.hpp: ...here.
2606 * testsuite/util/native_type/native_hash_tag.hpp: ...here.
2607 * testsuite/util/native_type/native_hash_map.hpp: ...here.
2609 * testsuite/util/common_type/priority_queue/common_type.hpp:
2610 Make include guard distinct.
2611 * testsuite/util/common_type/assoc/common_type.hpp: Same.
2613 2008-06-06 Joseph Myers <joseph@codesourcery.com>
2615 * configure.ac: Do not check for gconv.h.
2616 * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Do not test for gconv.h or
2617 gconf.h. For glibc and uClibc systems, define
2618 _GLIBCXX_USE_RANDOM_TR1 and HAVE_MMAP and use AC_LC_MESSAGES and
2620 * configure, config.h.in: Regenerate.
2622 2008-06-06 Joseph Myers <joseph@codesourcery.com>
2624 * testsuite/17_intro/headers/all.cc,
2625 testsuite/17_intro/headers/all_c++200x_compatibility.cc,
2626 testsuite/17_intro/headers/all_pedantic_errors.cc,
2627 testsuite/ext/headers.cc: Only include
2628 <ext/codecvt_specializations.h> and <ext/enc_filebuf.h> if
2629 _GLIBCXX_HAVE_ICONV.
2631 2008-06-05 Johannes Singler <singler@ira.uka.de>
2633 * include/parallel/random_shuffle.h:
2634 (parallel_random_shuffle_drs) Get the actual number of
2635 threads after entering the parallel region. Indentation.
2636 * include/parallel/algo.h: (random_shuffle(begin, end))
2637 Add namespace qualification to avoid ambiguity.
2639 2008-06-04 Benjamin Kosnik <bkoz@redhat.com>
2641 * include/ext/pb_ds/assoc_container.hpp: Change allocator typedef
2642 to allocator_type, as per existing conventions.
2643 * include/ext/pb_ds/detail/binomial_heap_base_/
2644 binomial_heap_base_.hpp: Same.
2645 * include/ext/pb_ds/detail/cc_hash_table_map_/cc_ht_map_.hpp: Same.
2646 * include/ext/pb_ds/detail/pat_trie_/pat_trie_.hpp: Same.
2647 * include/ext/pb_ds/detail/bin_search_tree_/bin_search_tree_.hpp: Same.
2648 * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Same.
2649 * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp: Same.
2650 * include/ext/pb_ds/detail/trie_policy/trie_policy_base.hpp: Same.
2651 * include/ext/pb_ds/detail/pairing_heap_/pairing_heap_.hpp: Same.
2652 * include/ext/pb_ds/detail/binomial_heap_/binomial_heap_.hpp: Same.
2653 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2654 left_child_next_sibling_heap_.hpp: Same.
2655 * include/ext/pb_ds/detail/thin_heap_/thin_heap_.hpp: Same.
2656 * include/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp: Same.
2657 * include/ext/pb_ds/detail/splay_tree_/splay_tree_.hpp: Same.
2658 * include/ext/pb_ds/detail/list_update_map_/lu_map_.hpp: Same.
2659 * include/ext/pb_ds/detail/rc_binomial_heap_/
2660 rc_binomial_heap_.hpp: Same.
2661 * include/ext/pb_ds/detail/rc_binomial_heap_/rc.hpp: Same.
2662 * include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp: Same.
2663 * include/ext/pb_ds/list_update_policy.hpp: Same.
2664 * include/ext/pb_ds/exception.hpp: Same.
2665 * include/ext/pb_ds/tree_policy.hpp: Same.
2666 * include/ext/pb_ds/trie_policy.hpp: Same.
2667 * include/ext/pb_ds/priority_queue.hpp: Same.
2668 * testsuite/util/regression/trait/assoc/trait.hpp: Same.
2669 * testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
2670 * testsuite/util/regression/rand/priority_queue/detail/
2671 defs_fn_imps.hpp: Same.
2672 * testsuite/util/regression/rand/priority_queue/detail/
2673 operator_fn_imps.hpp: Same.
2674 * testsuite/util/regression/rand/priority_queue/
2675 container_rand_regression_test.hpp: Same.
2676 * testsuite/util/regression/rand/assoc/detail/defs_fn_imps.hpp: Same.
2677 * testsuite/util/regression/rand/assoc/detail/
2678 operator_fn_imps.hpp: Same.
2679 * testsuite/util/regression/rand/assoc/
2680 container_rand_regression_test.hpp: Same.
2681 * testsuite/util/native_type/assoc/native_multimap.hpp: Same.
2682 * testsuite/util/native_type/assoc/native_hash_multimap.hpp: Same.
2683 * testsuite/util/common_type/assoc/detail/
2684 tree_supports_order_statistics.hpp: Same.
2685 * testsuite/util/common_type/assoc/detail/
2686 trie_supports_prefix_search.hpp: Same.
2687 * testsuite/util/common_type/assoc/detail/
2688 trie_supports_order_statistics.hpp: Same.
2690 2008-06-02 Sandra Loosemore <sandra@codesourcery.com>
2691 Daniel Jacobowitz <dan@codesourcery.com>
2693 * testsuite/27_io/basic_filebuf/sputbackc/char/9425.cc: Use
2695 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Likewise.
2696 * testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc: Likewise.
2698 2008-06-02 Paolo Carlini <paolo.carlini@oracle.com>
2700 * include/bits/vector.tcc (vector<>::_M_insert_aux): In C++0x mode,
2701 avoid a memory leak if the first __uninitialized_move_a throws.
2702 (vector<>::_M_fill_insert): Do not always copy to __x_copy, similarly
2704 * testsuite/23_containers/vector/modifiers/moveable.cc: Adjust.
2705 * testsuite/23_containers/vector/resize/moveable.cc: Likewise.
2707 2008-05-31 Paolo Carlini <paolo.carlini@oracle.com>
2708 Chris Jefferson <chris@bubblescope.net>
2711 * include/bits/stl_heap.h (sort_heap): Use __pop_heap directly.
2712 (pop_heap): Slightly tweak.
2714 2008-05-29 Paolo Carlini <paolo.carlini@oracle.com>
2716 * include/debug/bitset (bitset(const char*)): Implement DR 778
2719 * include/bits/cpp_type_traits.h (__is_integer): In C++0x mode
2720 deal with char16_t and char32_t.
2722 2008-05-26 Paolo Carlini <paolo.carlini@oracle.com>
2724 * include/c_global/cmath (pow(float, int), pow(double, int),
2725 pow(long double, int)): Do not define in C++0x mode, per DR 550.
2726 * include/tr1_impl/cmath (pow): Do not bring in unconditionally
2728 * include/tr1/cmath (pow(double, double), pow(float, float),
2729 pow(long double, long double), pow(_Tp, _Up)): Define.
2730 * include/tr1/complex (pow): Do not bring in from namespace std.
2731 (pow(const std::complex<_Tp>&, int), pow(const std::complex<_Tp>&,
2732 const _Tp&), pow(const _Tp&, const std::complex<_Tp>&),
2733 pow(const std::complex<_Tp>&, const std::complex<_Tp>&)): Define.
2734 * include/tr1_impl/complex (pow(const std::complex<_Tp>&,
2735 const _Up&), pow(const _Tp&, const std::complex<_Up>&),
2736 pow(const std::complex<_Tp>&, const std::complex<_Up>&)): Always
2738 * doc/xml/manual/intro.xml: Add an entry for DR 550.
2739 * testsuite/26_numerics/headers/cmath/dr550.cc: New.
2740 * testsuite/tr1/8_c_compatibility/cmath/overloads.cc: Adjust.
2742 2008-05-25 Paolo Carlini <paolo.carlini@oracle.com>
2744 * include/std/tuple: Ifndef __GXX_EXPERIMENTAL_CXX0X__ just error out.
2745 * include/std/date_time: Likewise.
2746 * include/std/system_error: Likewise.
2747 * include/std/type_traits: Likewise; fix typo in macro name.
2748 * include/std/regex: Likewise.
2749 * include/std/random: Likewise.
2750 * include/std/unordered_map: Likewise.
2751 * include/std/condition_variable: Likewise.
2752 * include/std/unordered_set: Likewise.
2753 * include/std/mutex: Likewise.
2754 * include/std/array: Likewise.
2756 * include/c_std/cmath: Fix obsolete comment.
2757 * include/c_global/cmath: Likewise.
2759 2008-05-25 Paolo Carlini <paolo.carlini@oracle.com>
2761 * include/std/complex (complex<>::real(_Tp), complex<>::imag(_Tp),
2762 complex<float>::real(float), complex<float>::imag(float),
2763 complex<double>::real(double), complex<double>::imag(double),
2764 complex<long double>::real(long double),
2765 complex<long double>::imag(long double)): Add per DR 387.
2766 (complex<>::real(), complex<>::imag(), complex<float>::real(),
2767 complex<float>::imag(), complex<double>::real(),
2768 complex<double>::imag(), complex<long double>::real(),
2769 complex<long double>::imag(long double)): Adjust in C++0x mode.
2770 (real(complex<>&), imag(complex<>&), real(const complex<>&),
2771 imag(const complex<>&)): Likewise.
2772 * testsuite/26_numerics/complex/dr387.cc: New.
2773 * doc/xml/manual/intro.xml: Add an entry for DR 387.
2775 2008-05-25 Paolo Carlini <paolo.carlini@oracle.com>
2777 * include/std/complex: Trivial stylistic changes, define inline
2778 members inline, consistently with the rest of the library.
2779 (pow(const _Tp&, const complex<>&)): Minor tweak.
2781 2008-05-24 Paolo Carlini <paolo.carlini@oracle.com>
2783 * src/atomic.cc (atomic_flag_test_and_set_explicit,
2784 atomic_flag_clear_explicit): Suppress unused parameter warnings.
2786 2008-05-23 Paolo Carlini <paolo.carlini@oracle.com>
2788 * include/std/tuple: Replace int -> size_t throughout per DR 775.
2789 * include/tr1_impl/array: Likewise.
2790 * include/tr1_impl/utility: Likewise.
2791 * doc/xml/manual/intro.xml: Add an entry for DR 775.
2793 2008-05-23 Paolo Carlini <paolo.carlini@oracle.com>
2795 * doc/xml/manual/intro.xml: Adjust links to ISO documents.
2797 2008-05-23 Paolo Carlini <paolo.carlini@oracle.com>
2799 * include/c_std/cmath (fpclassify): Use __builtin_fpclassify.
2800 * include/c_global/cmath (fpclassify): Likewise.
2802 2008-05-22 Paolo Carlini <paolo.carlini@oracle.com>
2804 * include/tr1_impl/hashtable_policy.h (_Map_base<,,
2805 std::_Select1st<_Pair>, true,>::at): Add per DR 761.
2806 * testsuite/23_containers/unordered_map/dr761.cc: New.
2807 * doc/xml/manual/intro.xml: Add an entry for DR 761.
2809 2008-05-22 Paolo Carlini <paolo.carlini@oracle.com>
2811 * testsuite/26_numerics/complex/dr781.cc: Add test variable.
2813 2008-05-22 Paolo Carlini <paolo.carlini@oracle.com>
2815 * include/std/complex (proj(const std::complex<>&), proj(_Tp)):
2817 * include/tr1_impl/complex(polar(const _Tp&, const _Up&)): Move to...
2818 * include/tr1/complex: ... here.
2819 * doc/xml/manual/intro.xml: Add an entry for DR 781.
2820 * testsuite/26_numerics/complex/dr781.cc: Add.
2821 * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Update.
2822 * configure: Regenerate.
2824 2008-05-21 Paolo Carlini <paolo.carlini@oracle.com>
2826 * include/std/bitset (bitset<>::bitset(const char*)): Add per DR 778.
2827 (bitset<>::_M_copy_from_ptr): Add.
2828 (bitset<>::_M_copy_from_string): Forward to the latter.
2829 * doc/xml/manual/intro.xml: Add an entry for DR 778.
2830 * testsuite/23_containers/bitset/cons/2.cc: Add.
2832 2008-05-21 Paolo Carlini <paolo.carlini@oracle.com>
2834 * doc/html/ext/lwg-active.html: Update to Revision R56.
2835 * doc/html/ext/lwg-closed.html: Likewise.
2836 * doc/html/ext/lwg-defects.html: Likewise.
2838 2008-05-20 Paolo Carlini <paolo.carlini@oracle.com>
2840 PR c++/33979 (partial)
2841 * include/tr1_impl/functional_hash.h (hash<char16_t>,
2842 hash<char32_t>): Add specializations.
2843 * include/tr1_impl/type_traits (is_integral<char16_t>,
2844 is_integral<char32_t>): Likewise.
2845 * include/std/limits (numeric_limits<char16_t>,
2846 numeric_limits<char32_t>): Likewise.
2847 * src/limits_c++0x.cc: Add.
2848 * src/Makefile.am: Update.
2849 * testsuite/20_util/hash/requirements/explicit_instantiation.cc:
2851 * testsuite/20_util/is_integral/value.cc: New.
2852 * testsuite/20_util/is_integral/requirements/typedefs.cc: Likewise.
2853 * testsuite/20_util/is_integral/requirements/
2854 explicit_instantiation.cc: Likewise.
2855 * testsuite/18_support/numeric_limits/char16_32_t.cc: Likewise.
2856 * config/abi/pre/gnu.ver: Export new numeric_limits symbols at
2858 * configure: Regenerate.
2859 * src/Makefile.in: Likewise.
2860 * config.h.in: Likewise.
2862 2008-05-16 Benjamin Kosnik <bkoz@redhat.com>
2864 * include/std/system_error: Align to current draft specifications.
2865 * src/system_error.cc: Same.
2866 * src/functexcept.cc: Adjust for corrected system_error construction.
2867 * include/std/ostream: Adjust error_code inserter.
2868 * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Remove sys_nerr test.
2869 * config/abi/pre/gnu.ver: Add new exports.
2871 * testsuite/util/testsuite_error.h: Consolidate error testing
2873 * testsuite/19_diagnostics/error_code/cons/1.cc: Use
2874 testsuite_error, adjust line numbers and constructor calls.
2875 * testsuite/19_diagnostics/error_code/operators/equal.cc: Same.
2876 * testsuite/19_diagnostics/error_code/operators/not_equal.cc: Same.
2877 * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Same.
2878 * testsuite/19_diagnostics/error_category/cons/default.cc: Same.
2879 * testsuite/19_diagnostics/error_category/operators/equal.cc: Same.
2880 * testsuite/19_diagnostics/error_category/operators/not_equal.cc: Same.
2881 * testsuite/19_diagnostics/system_error/cons_virtual_derivation.cc:
2883 * testsuite/19_diagnostics/system_error/cons-1.cc: Same.
2884 * testsuite/19_diagnostics/system_error/what-1.cc: Same.
2885 * testsuite/19_diagnostics/system_error/what-2.cc: Same.
2886 * testsuite/19_diagnostics/system_error/what-big.cc: Same.
2887 * testsuite/19_diagnostics/system_error/what-3.cc: Same.
2888 * testsuite/19_diagnostics/system_error/what-4.cc: Same.
2890 2008-05-15 Bernd Schmidt <bernd.schmidt@analog.com>
2892 * configure.ac: Don't check AC_LIBTOOL_DLOPEN if using newlib.
2893 * configure: Regenerate.
2895 2008-05-15 Johannes Singler <singler@ira.uka.de>
2897 * xml/manual/parallel_mode.xml:
2898 General revision and documentation of new compile-time
2899 options for sorting.
2901 2008-05-14 Benjamin Kosnik <bkoz@redhat.com>
2903 * include/std/mutex (mutex::try_lock): Eat errors.
2904 (mutex::unlock): Same.
2905 (recursive_mutex::try_lock): Eat errors.
2906 (recursive_mutex::unlock): Same.
2907 * testsuite/30_threads/mutex/dest/destructor_locked.cc: Add
2908 -pthreads, adjust line numbers.
2909 * testsuite/30_threads/mutex/native_handle/1.cc: Same.
2910 * testsuite/30_threads/mutex/cons/1.cc: Same.
2911 * testsuite/30_threads/mutex/try_lock/1.cc: Same.
2912 * testsuite/30_threads/mutex/try_lock/2.cc: Same.
2913 * testsuite/30_threads/mutex/lock/1.cc: Same.
2914 * testsuite/30_threads/mutex/unlock/1.cc: Same.
2915 * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc: Same.
2916 * testsuite/30_threads/recursive_mutex/native_handle/1.cc: Same.
2917 * testsuite/30_threads/recursive_mutex/cons/1.cc: Same.
2919 2008-05-14 Benjamin Kosnik <bkoz@redhat.com>
2921 * include/std/sstream: Adjust braces.
2922 * include/bits/fstream.tcc: Same.
2923 * testsuite/29_atomics/atomic_flag/test_and_set/explicit.c: Add
2925 * testsuite/29_atomics/atomic_flag/test_and_set/implicit.c: Same.
2927 * doc/doxygen/user.cfg.in: Remove thread include.
2929 2008-05-13 David Daney <ddaney@avtrex.com>
2931 * config/cpu/mips/atomicity.h: Remove file.
2932 * config/cpu/mips: Remove directory.
2933 * configure.host: Remove host specific handling for mips*-*-*.
2935 2008-05-12 Stefano Soffia <soffia@cs.unipr.it>
2936 Paolo Carlini <paolo.carlini@oracle.com>
2938 * include/debug/vector (vector<>::_M_requires_reallocation): Just
2939 use this->capacity().
2940 (vector<>::capacity): Move non-pedantic / pedantic logic here.
2941 * testsuite/23_containers/vector/
2942 debug_mode_requires_reallocation-2.cc: New.
2944 * testsuite/23_containers/vector/debug_mode_requires_reallocation.cc:
2945 Rename to debug_mode_requires_reallocation-1.cc
2947 2008-05-10 Roberto Bagnara <bagnara@cs.unipr.it>
2948 Paolo Carlini <paolo.carlini@oracle.com>
2950 * include/debug/vector (vector<>::_M_requires_reallocation): Fix macro.
2951 * testsuite/23_containers/vector/debug_mode_requires_reallocation.cc:
2954 2008-05-07 Johannes Singler <singler@ira.uka.de>
2956 * include/parallel/quicksort.h:
2957 (parallel_sort_qs_conquer) Explicitly request number of threads
2958 in the parallel clause.
2959 (parallel_sort_qs) Remove setting the number of threads globally.
2961 2008-05-06 Benjamin Kosnik <bkoz@redhat.com>
2963 * include/std/mutex (mutex::mutex): Fix usage of initializing macro.
2964 (recursive_mutex::recursive_mutex): Same.
2965 (once_flag::once_flag): Same.
2966 * testsuite/30_threads/mutex/cons/assign_neg.cc: Fix line numbers.
2967 * testsuite/30_threads/mutex/cons/copy_neg.cc: Same.
2968 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Same.
2969 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Same.
2971 2008-05-06 Benjamin Kosnik <bkoz@redhat.com>
2973 * include/std/condition_variable: New.
2974 * include/std/mutex: New.
2975 * src/condition_variable.cc: New.
2976 * src/mutex.cc: New.
2977 * include/bits/functexcept.h: Add __throw_system_error varients.
2978 * src/functexcept.cc: Same.
2979 * config/abi/pre/gnu.ver: Add exports.
2981 * doc/xml/manual/using.xml: Add new includes.
2982 * doc/doxygen/user.cfg.in: Doxygen support.
2983 * doc/doxygen/doxygroups.cc: Same.
2985 * include/Makefile.am: Add mutex, condition_variable.
2986 * include/Makefile.in: Regenerated.
2987 * src/Makefile.am: Add mutex.cc, condition_variable.cc.
2988 * src/Makefile.in: Regenerated.
2990 * testsuite/30_threads: New.
2991 * testsuite/30_threads/lock_error: New.
2992 * testsuite/30_threads/mutex: New.
2993 * testsuite/30_threads/mutex/dest: New.
2994 * testsuite/30_threads/mutex/dest/destructor_locked.cc: New.
2995 * testsuite/30_threads/mutex/native_handle: New.
2996 * testsuite/30_threads/mutex/native_handle/1.cc: New.
2997 * testsuite/30_threads/mutex/cons: New.
2998 * testsuite/30_threads/mutex/cons/assign_neg.cc: New.
2999 * testsuite/30_threads/mutex/cons/1.cc: New.
3000 * testsuite/30_threads/mutex/cons/copy_neg.cc: New.
3001 * testsuite/30_threads/mutex/requirements: New.
3002 * testsuite/30_threads/mutex/requirements/typedefs.cc: New.
3003 * testsuite/30_threads/mutex/try_lock: New.
3004 * testsuite/30_threads/mutex/try_lock/1.cc: New.
3005 * testsuite/30_threads/mutex/try_lock/2.cc: New.
3006 * testsuite/30_threads/mutex/lock: New.
3007 * testsuite/30_threads/mutex/lock/1.cc: New.
3008 * testsuite/30_threads/mutex/unlock: New.
3009 * testsuite/30_threads/mutex/unlock/1.cc: New.
3010 * testsuite/30_threads/recursive_mutex: New.
3011 * testsuite/30_threads/recursive_mutex/dest: New.
3012 * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc: New.
3013 * testsuite/30_threads/recursive_mutex/native_handle: New.
3014 * testsuite/30_threads/recursive_mutex/native_handle/1.cc: New.
3015 * testsuite/30_threads/recursive_mutex/cons: New.
3016 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: New.
3017 * testsuite/30_threads/recursive_mutex/cons/1.cc: New.
3018 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: New.
3019 * testsuite/30_threads/recursive_mutex/requirements: New.
3020 * testsuite/30_threads/recursive_mutex/requirements/typedefs.cc: New.
3021 * testsuite/30_threads/lock_guard: New.
3022 * testsuite/30_threads/lock_guard/requirements: New.
3023 * testsuite/30_threads/lock_guard/requirements/typedefs.cc: New.
3024 * testsuite/30_threads/lock_guard/requirements/
3025 explicit_instantiation.cc: New.
3026 * testsuite/30_threads/headers: New.
3027 * testsuite/30_threads/headers/mutex: New.
3028 * testsuite/30_threads/headers/mutex/types_std_c++0x.cc: New.
3029 * testsuite/30_threads/headers/mutex/std_c++0x_neg.cc: New.
3030 * testsuite/30_threads/headers/condition_variable: New.
3031 * testsuite/30_threads/headers/condition_variable/
3032 types_std_c++0x.cc: New.
3033 * testsuite/30_threads/headers/condition_variable/std_c++0x_neg.cc: New.
3034 * testsuite/30_threads/once_flag: New.
3035 * testsuite/30_threads/unique_lock: New.
3036 * testsuite/30_threads/unique_lock/requirements: New.
3037 * testsuite/30_threads/unique_lock/requirements/typedefs.cc: New.
3038 * testsuite/30_threads/unique_lock/requirements/
3039 explicit_instantiation.cc: New.
3040 * testsuite/17_intro/headers/c++200x/all.cc: Add new includes.
3042 2008-05-06 Benjamin Kosnik <bkoz@redhat.com>
3045 * include/bits/c++config: Namespace macros and setup only in C++.
3046 * testsuite/29_atomics/headers/stdatomic.h/debug_mode.c: New.
3048 2008-05-06 Johannes Singler <singler@ira.uka.de>
3050 * include/parallel/multiway_merge.h:
3051 (multiway_merge_*_unguarded):
3052 Pass sentinel directly, to allow correct determination.
3053 (multiway_merge_loser_tree_unguarded):
3054 Remove over-cautious assertion.
3055 (calls to multiway_merge_*_splitting):
3056 Parametrize with type that is correct in all cases.
3057 * include/parallel/losertree.h:
3058 (delete_min_insert (in many classes)):
3059 Correct and standardize assertions.
3061 2008-05-05 Benjamin Kosnik <bkoz@redhat.com>
3063 * testsuite/util/testsuite_visualization.h: Move contents into...
3064 * testsuite/util/testsuite_performance.h: ...here.
3065 * testsuite/util/testsuite_common_types.h: Move
3066 performance-related test infrastructure into
3067 testsuite_performance.
3068 * testsuite/performance/25_algorithms/search_n.cc: Fix includes.
3069 * testsuite/performance/23_containers/find/map.cc: Same.
3070 * testsuite/performance/23_containers/create/map.cc: Same.
3071 * testsuite/performance/23_containers/insert_erase/associative.cc: Same.
3072 * testsuite/performance/23_containers/insert/sequence.cc: Same.
3073 * testsuite/performance/23_containers/insert/associative.cc: Same.
3074 * testsuite/performance/23_containers/create_from_sorted/set.cc: Same.
3075 * testsuite/performance/23_containers/index/map.cc: Same.
3076 * testsuite/performance/23_containers/insert_from_sorted/set.cc: Same.
3077 * testsuite/performance/23_containers/create_sort/list.cc: Same.
3078 * testsuite/performance/23_containers/sort_search/list.cc: Same.
3079 * testsuite/performance/23_containers/producer_consumer/sequence.cc:
3081 * testsuite/performance/23_containers/producer_consumer/associative.cc:
3084 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers.
3085 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
3087 2008-05-05 Benjamin Kosnik <bkoz@redhat.com>
3089 * 20_util/make_signed/requirements/typedefs-1.cc: Correct requirements.
3090 * 20_util/make_unsigned/requirements/typedefs-1.cc: Same.
3092 2008-05-01 Benjamin Kosnik <bkoz@redhat.com>
3094 * include/bits/c++config: Revert _GLIBCXX_LONG_DOUBLE_COMPAT change.
3096 2008-04-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3098 * include/Makefile.am (install-headers): Cope with empty
3100 * include/Makefile.in: Regenerate.
3102 2008-04-29 Benjamin Kosnik <bkoz@redhat.com>
3104 * include/bits/c++config: Remove space between '#' and 'undef' for
3105 _GLIBCXX_LONG_DOUBLE_COMPAT.
3107 2008-04-29 Joseph Myers <joseph@codesourcery.com>
3109 * Makefile.am (install-html, install-pdf): Add dummy targets.
3110 * Makefile.in: Regenerate.
3111 * doc/Makefile.am (install-html, install-pdf): Remove.
3112 * doc/Makefile.in: Regenerate.
3114 2008-04-28 Benjamin Kosnik <bkoz@redhat.com>
3116 * include/bits/c++config: Move os_defines and cpu_defines after
3117 namespace definitions and base macros.
3119 2008-04-28 Benjamin Kosnik <bkoz@redhat.com>
3122 * acinclude.m4 (GLIBCXX_ENABLE_PARALLEL): Revert back to just
3124 * configure: Regenerate.
3126 2008-04-25 Benjamin Kosnik <bkoz@redhat.com>
3129 * include/std/unordered_map: Include debug/unordered_map if
3131 * testsuite/23_containers/unordered_map/requirements/debug.cc: Move...
3132 * testsuite/23_containers/unordered_map/requirements/
3133 debug_container.cc: ...here.
3134 * testsuite/23_containers/unordered_map/requirements/debug_mode.cc: New.
3135 * testsuite/23_containers/unordered_set/requirements/debug.cc: Move...
3136 * testsuite/23_containers/unordered_set/requirements/
3137 debug_container.cc: ...here.
3138 * testsuite/23_containers/unordered_set/requirements/debug_mode.cc: New.
3140 2008-04-25 Benjamin Kosnik <bkoz@redhat.com>
3143 * acinclude.m4: (GLIBCXX_ENABLE_PARALLEL): Check for thread support.
3144 * configure.ac: Re-order compiler macros.
3145 * configure: Regenerated.
3147 2008-04-24 Benjamin Kosnik <bkoz@redhat.com>
3150 * configure.ac: Add default argument to GLIBCXX_ENABLE_PARALLEL.
3151 Move atomic warnings to GLIBCXX_ENABLE_ATOMIC_BUILTINS.
3152 * acinclude.m4 (GLIBCXX_ENABLE_PARALLEL): Check for --disable-libgomp.
3153 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Add warning information.
3154 * configure: Regenerate.
3155 * include/Makefile.am (parallel_headers): Make conditional on
3157 * include/Makefile.in: Regenerate.
3159 2008-04-24 Paolo Carlini <pcarlini@suse.de>
3162 * include/debug/list (merge): Use _M_transfer_iter, consistently
3163 with the splice members.
3164 * testsuite/23_containers/list/operations/35969.cc: New.
3166 * testsuite/23_containers/list/operators: Rename to
3167 testsuite/23_containers/list/operations.
3169 2008-04-24 Benjamin Kosnik <bkoz@redhat.com>
3171 * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Check for set of
3172 all used __sync builtins, in two sizes.
3173 * config.h.in: Regenerate.
3174 * configure: Regenerate.
3175 * src/atomic.cc: Use _GLIBCXX_ATOMIC_BUILTINS_1.
3176 * include/ext/atomicity.h: Use _GLIBCXX_ATOMIC_BUILTINS_4.
3177 * libsupc++/guard.cc: Use _GLIBCXX_ATOMIC_BUILTINS_4.
3178 * doc/xml/manual/concurrency.xm: Update docs.
3180 2008-04-23 Benjamin Kosnik <bkoz@redhat.com>
3182 * config/os/hpux/os_defines.h: Use _GLIBCXX_BEGIN_NAMESPACE,
3183 _GLIBCXX_BEGIN_EXTERN_C, etc.
3185 2008-04-23 Johannes Singler <singler@ira.uka.de>
3187 * include/parallel/quicksort.h: Reformat,
3188 (parallel_sort_qs): Do not pass number of elements.
3189 * include/parallel/balanced_quicksort.h: Reformat,
3190 (parallel_sort_qsb): Do not pass number of elements.
3191 * include/parallel/tags.h:
3192 Introduce new tags for compile-time choice.
3193 * include/parallel/merge.h:
3194 (parallel_merge_advance):Beautified.
3195 * include/parallel/algo.h: Reformatting (spaces for tabs)
3196 New sort and stable_sort variants, corresponding to the tags.
3197 * include/parallel/sort.h:
3198 New sort and stable_sort variants, corresponding to the tags.
3199 Changed determining the desired number of threads.
3201 2008-04-23 Johannes Singler <singler@ira.uka.de>
3203 * include/parallel/multiway_merge.h
3204 (multiway_merge_loser_tree):
3205 Leave checks to callers, add precondition instead.
3206 (multiway_merge_loser_tree_unguarded): Likewise.
3207 (multiway_merge_loser_tree_sentinel): Likewise.
3208 (sequential_multiway_merge): Added checks for total length 0.
3209 (parallel_multiway_merge): Skip empty sequences.
3210 (multiway_merge, all variants):
3211 Remove temporary variable, return directly.
3212 (stable_multiway_merge, all variants): Likewise.
3213 (multiway_merge_sentinels, all variants): Likewise.
3214 (stable_multiway_merge_sentinels, all variants): Likewise.
3215 * include/parallel/multiseq_selection.h
3216 (multiseq_partition): More detailed assertions.
3218 2008-04-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3220 * acinclude.m4 (GLIBCXX_CHECK_SETRLIMIT, GLIBCXX_ENABLE_C99)
3221 (GLIBCXX_CHECK_C99_TR1, GLIBCXX_CHECK_RANDOM_TR1)
3222 (GLIBCXX_ENABLE_VISIBILITY): Fix cache variable names.
3223 (GLIBCXX_CHECK_SYSTEM_ERROR): Likewise. Factorize.
3224 * configure: Regenerate.
3226 2008-04-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3229 * include/Makefile.am (pch*_output): Do not touch pch*_output_anchor.
3230 Call 'mkdir -p' unconditionally, but ignore its return value.
3231 * include/Makefile.in: Regenerate.
3233 * include/Makefile.am: Fix most stamp rules to regenerate
3234 the links for all sources newer than the stamp file.
3235 * include/Makefile.in: Regenerate.
3236 * Makefile.in: Likewise.
3237 * src/Makefile.in: Likewise.
3238 * doc/Makefile.in: Likewise.
3239 * po/Makefile.in: Likewise.
3240 * libmath/Makefile.in: Likewise.
3241 * libsupc++/Makefile.in: Likewise.
3242 * testsuite/Makefile.in: Likewise.
3244 2008-04-18 Paolo Bonzini <bonzini@gnu.org>
3247 * aclocal.m4: Regenerate.
3248 * configure: Regenerate.
3250 2008-04-16 Andreas Tobler <a.tobler@schweiz.org>
3253 * configure.ac: Use GCC_HEADER_STDINT.
3254 * src/atomic.cc: Include gstdint.h
3255 * configure: Regenerate.
3256 * Makefile.in: Likewise.
3257 * doc/Makefile.in: Likewise.
3258 * include/Makefile.in: Likewise.
3259 * libmath/Makefile.in: Likewise.
3260 * libsupc++/Makefile.in: Likewise.
3261 * po/Makefile.in: Likewise.
3262 * src/Makefile.in: Likewise.
3263 * testsuite/Makefile.in: Likewise.
3264 * aclocal.m4: Likewise.
3266 2008-04-14 Benjamin Kosnik <bkoz@redhat.com>
3269 * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Set CXXFLAGS to
3270 -O0 when checking for atomic builtins.
3271 * configure: Regenerate.
3273 2008-04-14 Benjamin Kosnik <bkoz@redhat.com>
3275 * include/bits/c++config: Guard _LDBL_ macros with __cplusplus.
3277 2008-04-10 Benjamin Kosnik <bkoz@redhat.com>
3279 * doc/html/*: Regenerate.
3281 2008-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3283 * doc/xml/manual/bitmap_allocator.xml: Improve wording a bit.
3284 * doc/xml/authors.xml: Fix typos.
3285 * doc/xml/faq.xml: Likewise.
3286 * doc/xml/manual/abi.xml: Likewise.
3287 * doc/xml/manual/allocator.xml: Likewise.
3288 * doc/xml/manual/appendix_contributing.xml: Likewise.
3289 * doc/xml/manual/backwards_compatibility.xml: Likewise.
3290 * doc/xml/manual/build_hacking.xml: Likewise.
3291 * doc/xml/manual/codecvt.xml: Likewise.
3292 * doc/xml/manual/concurrency.xml: Likewise.
3293 * doc/xml/manual/ctype.xml: Likewise.
3294 * doc/xml/manual/debug_mode.xml: Likewise.
3295 * doc/xml/manual/diagnostics.xml: Likewise.
3296 * doc/xml/manual/evolution.xml: Likewise.
3297 * doc/xml/manual/extensions.xml: Likewise.
3298 * doc/xml/manual/locale.xml: Likewise.
3299 * doc/xml/manual/messages.xml: Likewise.
3300 * doc/xml/manual/parallel_mode.xml: Likewise.
3301 * doc/xml/manual/status_cxx200x.xml: Likewise.
3302 * doc/xml/manual/strings.xml: Likewise.
3303 * doc/xml/manual/support.xml: Likewise.
3304 * doc/xml/manual/test.xml: Likewise.
3305 * doc/xml/manual/using.xml: Likewise.
3307 2008-04-10 Benjamin Kosnik <bkoz@redhat.com>
3308 Johannes Singler <singler@ira.uka.de>
3310 * doc/xml/manual/parallel_mode.xml: Remove map/set bulk
3311 insertors. Correct omp_set_num_threads example.
3313 2008-04-10 Benjamin Kosnik <bkoz@redhat.com>
3315 * include/c_global/cstdatomic: C++ types only, format, doxygen markup.
3316 * include/c_compatibility/stdatomic.h: "C" only, format, doxygen markup.
3317 * src/atomic.c: Format, doxygen markup, edits.
3319 * include/Makefile.am (cstdatomic, stdatomic.h): Add.
3320 * src/Makefile.am (atomic.c): Add.
3321 * acinclude.m4 (GLIBCXX_CHECK_STANDARD_LAYOUT): New.
3322 * configure.ac: Call it.
3323 * include/Makefile.in: Regenerate.
3324 * src/Makefile.in: Same.
3325 * Makefile.in: Same.
3326 * doc/Makefile.in: Same.
3327 * po/Makefile.in: Same.
3328 * libmath/Makefile.in: Same.
3329 * include/Makefile.in: Same.
3330 * testsuite/Makefile.in: Same.
3331 * libsupc++/Makefile.in: Same.
3332 * config.h.in: Same.
3335 * config/abi/pre/gnu.ver: Add atomics exports.
3337 * include/ext/typelist.h (apply_generator): New.
3338 * include/bits/c++config (_GLIBCXX_BEGIN_EXTERN_C): New.
3339 (_GLIBCXX_END_EXTERN_C): New.
3340 Deal with _GLIBCXX_BEGIN_NAMESPACE, _GLIBCXX_END_NAMESPACE when
3342 * testsuite/lib/libstdc++.exp (v3_target_compile_as_c): Add -L
3344 * testsuite/util/testsuite_common_types.h (integral_types): New
3346 (atomics, atomics_tl): Same.
3347 (assignable, default_constructible, copy_constructible,
3348 explicit_value_constructible): New.
3349 * testsuite/17_intro/headers/c++200x/all.cc: Test new headers.
3350 * testsuite/29_atomics: New.
3351 * testsuite/29_atomics/atomic_address: Same.
3352 * testsuite/29_atomics/atomic_address/cons: Same.
3353 * testsuite/29_atomics/atomic_address/cons/explicit_value.cc: Same.
3354 * testsuite/29_atomics/atomic_address/cons/assign_neg.cc: Same.
3355 * testsuite/29_atomics/atomic_address/cons/copy_neg.cc: Same.
3356 * testsuite/29_atomics/atomic_address/cons/default.cc: Same.
3357 * testsuite/29_atomics/atomic_address/cons/aggregate.cc: Same.
3358 * testsuite/29_atomics/atomic_flag: Same.
3359 * testsuite/29_atomics/atomic_flag/cons: Same.
3360 * testsuite/29_atomics/atomic_flag/cons/assign_neg.cc: Same.
3361 * testsuite/29_atomics/atomic_flag/cons/copy_neg.cc: Same.
3362 * testsuite/29_atomics/atomic_flag/cons/default.cc: Same.
3363 * testsuite/29_atomics/atomic_flag/cons/aggregate.cc: Same.
3364 * testsuite/29_atomics/atomic_flag/requirements: Same.
3365 * testsuite/29_atomics/atomic_flag/requirements/standard_layout.cc:
3367 * testsuite/29_atomics/atomic_flag/
3368 atomic_global_fence_compatibility.cc: Same.
3369 * testsuite/29_atomics/atomic_flag/test_and_set: Same.
3370 * testsuite/29_atomics/atomic_flag/test_and_set/explicit.c: Same.
3371 * testsuite/29_atomics/atomic_flag/test_and_set/explicit.cc: Same.
3372 * testsuite/29_atomics/atomic_flag/test_and_set/implicit.c: Same.
3373 * testsuite/29_atomics/atomic_flag/test_and_set/implicit.cc: Same.
3374 * testsuite/29_atomics/headers: Same.
3375 * testsuite/29_atomics/headers/cstdatomic: Same.
3376 * testsuite/29_atomics/headers/cstdatomic/types_std_c++0x.cc: Same.
3377 * testsuite/29_atomics/headers/cstdatomic/functions_std_c++0x.cc: Same.
3378 * testsuite/29_atomics/headers/cstdatomic/std_c++0x_neg.cc: Same.
3379 * testsuite/29_atomics/headers/cstdatomic/macros.cc: Same.
3380 * testsuite/29_atomics/headers/stdatomic.h: Same.
3381 * testsuite/29_atomics/headers/stdatomic.h/macros.c: Same.
3382 * testsuite/29_atomics/headers/stdatomic.h/types.c: Same.
3383 * testsuite/29_atomics/headers/stdatomic.h/functions.c: Same.
3384 * testsuite/29_atomics/atomic: Same.
3385 * testsuite/29_atomics/atomic/cons: Same.
3386 * testsuite/29_atomics/atomic/cons/explicit_value.cc: Same.
3387 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
3388 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
3389 * testsuite/29_atomics/atomic/cons/default.cc: Same.
3390 * testsuite/29_atomics/atomic/requirements: Same.
3391 * testsuite/29_atomics/atomic/requirements/explicit_instantiation: Same.
3392 * testsuite/29_atomics/atomic/requirements/explicit_instantiation/
3395 2008-04-10 Lawrence Crowl <crowl@google.com>
3397 * include/c_global/cstdatomic: New.
3398 * include/c_compatibility/stdatomic.h: New.
3399 * src/atomic.c: New.
3401 2008-04-10 Benjamin Kosnik <bkoz@redhat.com>
3403 * include/std/tuple: Consistency check for include guard, doxygen
3405 * include/std/date_time: Same.
3406 * include/std/type_traits: Same.
3407 * include/std/regex: Same.
3408 * include/std/array: Same.
3409 * include/std/system_error: Same, add error_code ctor.
3411 2008-04-07 Johannes Singler <singler@ira.uka.de>
3413 * include/parallel/multiway_merge.h: Moved decisions to
3414 compile-time instead of run-time.
3415 * include/parallel/losertree.h: Removed obsolete variants, added
3416 variant that uses pointers in the loser tree.
3417 * include/parallel/types.h: Remove obsolete settings options from enum.
3418 * include/parallel/features.h: Remove obsolete compile-time switches.
3419 * include/parallel/compiletime_settings.h: Remove obsolete variant
3420 that copies back *after* sorting.
3421 * include/parallel/tags.h: Add one new tag for compile-time switch.
3422 * include/parallel/merge.h: Adapt to changes in multiway_merge.h.
3423 * include/parallel/multiway_mergesort.h: Adapt to changes in
3424 multiway_merge.h. Factor out splitting variants. Remove obsolete
3425 variant that copies back *after* sorting.
3426 * include/parallel/sort.h: Adapt to changes in multiway_mergesort.h.
3427 * testsuite/25_algorithms/sort/35588.cc: Added test case from /
3430 2008-03-29 Paolo Carlini <pcarlini@suse.de>
3433 * include/bits/stl_algobase.h (__fill_a(_ForwardIterator,
3434 _ForwardIterator, _Tp), __fill_a(_Tp*, _Tp*, _Tp),
3435 __fill_n_a(_OutputIterator, _Size, _Tp), __fill_n_a(_Tp*, _Size,
3436 _Tp)): Fix signatures.
3437 * testsuite/25_algorithms/fill/35725.cc: New.
3438 * testsuite/25_algorithms/fill_n/35725.cc: Likewise.
3440 2008-03-29 Matthias Klose <doko@ubuntu.com>
3442 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Update.
3443 * config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Likewise.
3444 * config/abi/post/mips-linux-gnu/baseline_symbols.txt: Likewise.
3445 * config/abi/post/sparc-linux-gnu/baseline_symbols.txt: Likewise.
3447 2008-03-27 Ian Lance Taylor <iant@google.com>
3449 * acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Set
3450 glibcxx_ld_is_gold. Check for gold in --gc-sections test.
3451 (GLIBCXX_ENABLE_SYMVERS): Check for gold.
3452 * aclocal.m4, configure: Rebuild.
3454 2008-03-26 Benjamin Kosnik <bkoz@redhat.com>
3456 * testsuite/util/testsuite_abi.h: Remove symbol_objects,
3457 symbol_names typedefs.
3458 * testsuite/util/testsuite_abi.cc (compare_symbols): Correct check
3459 for long double compatiblity symbols, simplify data structures used.
3461 2008-03-25 Benjamin Kosnik <bkoz@redhat.com>
3463 * scripts/run_doxygen: Remove html_output_dir. Downgrade to
3465 * doc/doxygen/style.css: Delete.
3466 * doc/doxygen/user.cfg.in: Regenerate with Doxygen 1.5.1.
3468 (PREDEFINED): Update.
3469 (HTML_OUTPUT): Remove html_output_dir, use html.
3470 (HTML_STYLESHEET): Remove style.css.
3471 * doc/doxygen/tables.html: Remove style.css use.
3472 * doc/doxygen/mainpage.html: Nested lists for Namespaces and Classes.
3473 * doc/doxygen/doxygroups.cc: Namespace edits.
3474 * doc/doxygen/Intro.3: Correct typo.
3476 * doc/xml/api.xml: Add gcc-4.3 links.
3477 * doc/html/api.html: Regenerate.
3479 * include/debug/debug.h: Document namepaces here.
3480 * include/parallel/base.h: Same.
3481 * include/ext/typelist.h: Same.
3482 * include/ext/pb_ds/tag_and_trait.hpp: Same.
3484 * include/tr1_impl/random: Adjust line break.
3485 * include/tr1_impl/unordered_map: Correct and or add markup.
3486 * include/tr1_impl/boost_shared_ptr.h: Correct and or add markup.
3487 * include/tr1_impl/functional_hash.h: Same.
3488 * include/tr1_impl/cmath: Same.
3489 * include/tr1_impl/functional: Same.
3490 * include/tr1_impl/unordered_set: Same.
3491 * include/tr1_impl/complex: Same.
3492 * include/tr1_impl/type_traits: Same.
3493 * include/tr1_impl/regex: Same.
3494 * include/tr1_impl/array: Same.
3495 * include/std/tuple: Same.
3496 * include/std/date_time: Same.
3497 * include/std/system_error: Same.
3498 * include/std/type_traits: Same.
3499 * include/ext/enc_filebuf.h: Same.
3500 * include/ext/throw_allocator.h: Same.
3501 * include/ext/pool_allocator.h: Same.
3502 * include/ext/bitmap_allocator.h: Same.
3503 * include/ext/concurrence.h: Same.
3504 * include/ext/codecvt_specializations.h: Same.
3505 * include/ext/stdio_sync_filebuf.h: Same.
3506 * include/ext/array_allocator.h: Same.
3507 * include/ext/mt_allocator.h: Same.
3508 * include/bits/locale_classes.h: Same.
3509 * include/bits/locale_facets.h: Same.
3510 * include/bits/codecvt.h: Same.
3511 * include/bits/char_traits.h: Same.
3512 * include/bits/allocator.h: Same.
3513 * include/bits/locale_facets_nonio.h: Same.
3514 * include/tr1/poly_laguerre.tcc: Same.
3515 * include/tr1/riemann_zeta.tcc: Same.
3516 * include/tr1/beta_function.tcc: Same.
3517 * include/tr1/tuple: Same.
3518 * include/tr1/exp_integral.tcc: Same.
3519 * include/tr1/gamma.tcc: Same.
3520 * include/tr1/hypergeometric.tcc: Same.
3521 * include/tr1/modified_bessel_func.tcc: Same.
3522 * include/tr1/legendre_function.tcc: Same.
3523 * include/tr1/type_traits: Same.
3524 * include/tr1/special_function_util.h: Same.
3525 * include/tr1/bessel_function.tcc: Same.
3526 * include/tr1/cmath: Same.
3527 * include/tr1/poly_hermite.tcc: Same.
3528 * include/tr1/ell_integral.tcc: Same.
3529 * config/abi/compatibility.h: Adjust file name.
3531 * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Adjust
3533 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
3534 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
3536 2008-03-23 Paolo Carlini <pcarlini@suse.de>
3538 * doc/xml/faq.xml: Fix various links.
3539 * doc/xml/api.xml: Likewise.
3540 * doc/xml/manual/parallel_mode.xml: Likewise.
3541 * doc/html/faq.html: Regenerate.
3542 * doc/html/api.html: Likewise.
3543 * doc/html/manual/bk01pt12ch31s03.html: Likewise.
3545 2008-03-20 Benjamin Kosnik <bkoz@redhat.com>
3547 * testsuite/util/testsuite_abi.cc: Add support for not counting
3548 GLIBCXX_LDBL_* compat symbols missing if no long double compat
3551 2008-03-20 Paolo Carlini <pcarlini@suse.de>
3554 * include/tr1_impl/type_traits (struct __in_array): Add back.
3555 (is_function): Use it.
3556 * testsuite/tr1/4_metaprogramming/is_function/35637.cc: New.
3558 2008-03-20 Johannes Singler <singler@ira.uka.de>
3560 * include/parallel/set_operations.h (set_intersection): Remove.
3562 2008-03-19 Benjamin Kosnik <bkoz@redhat.com>
3565 * doc/xml/manual/parallel_mode.xml: Correct configuration documentation.
3566 * doc/html/manual/bk01pt12ch31s04.html: Regenerate.
3568 2008-03-18 Benjamin Kosnik <bkoz@redhat.com>
3570 * configure.ac (libtool_VERSION): To 6:11:0.
3571 * configure: Regenerate.
3572 * aclocal.m4: Regenerate.
3574 2008-03-16 Paolo Carlini <pcarlini@suse.de>
3576 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc:
3578 * testsuite/17_intro/headers/c++200x/all.cc: Likewise.
3579 * include/precompiled/stdc++.h: Likewise.
3581 2008-03-16 Pedro Lamarão <pedro.lamarao@gmail.com>
3583 * include/std/date_time: New file.
3584 * src/date_time.cc: New file.
3585 * config/abi/pre/gnu.ver: Added <date_time> symbols in version
3586 GLIBCXX_3.4.11 and changed two patterns in version GLIBCXX_3.4
3587 that matched new symbols.
3588 * include/Makefile.am: Add date_time in std headers.
3589 * src/Makefile.am: Add date_time.cc to source files.
3590 * include/Makefile.in: Regenerate.
3591 * src/Makefile.in: Likewise.
3593 2008-03-16 Pedro Lamarão <pedro.lamarao@gmail.com>
3595 * testsuite/31_date_time/headers/date_time/types_std.cc: New.
3596 * testsuite/31_date_time/headers/date_time/std_c++0x_neg.cc: Likewise.
3597 * testsuite/31_date_time/headers/date_time/functions_std.cc: Likewise.
3598 * testsuite/31_date_time/headers/date_time/synopsis.cc: Likewise.
3599 * testsuite/31_date_time/nanoseconds/requirements/traits.cc: Likewise.
3600 * testsuite/31_date_time/nanoseconds/requirements/duration.cc: Likewise.
3601 * testsuite/31_date_time/system_time/requirements: Likewise.
3602 * testsuite/31_date_time/system_time/requirements/traits.cc: Likewise.
3604 2008-03-16 Paolo Carlini <pcarlini@suse.de>
3606 * config.h.in: Regenerate.
3608 2008-03-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3610 * aclocal.m4: Regenerate.
3611 * configure: Likewise.
3612 * Makefile.in: Likewise.
3613 * doc/Makefile.in: Likewise.
3614 * include/Makefile.in: Likewise.
3615 * libmath/Makefile.in: Likewise.
3616 * libsupc++/Makefile.in: Likewise.
3617 * po/Makefile.in: Likewise.
3618 * src/Makefile.in: Likewise.
3619 * testsuite/Makefile.in: Likewise.
3621 2008-03-13 Dennis Czeremin <dennis.czeremin@smiths-heimann.com>
3624 * include/bits/stl_multimap.h (multimap<>::multimap(_InputIterator,
3625 _InputIterator)): Forward to _M_insert_equal, not _M_insert_unique.
3627 2008-03-13 Paolo Carlini <pcarlini@suse.de>
3630 * include/debug/functions.h (__check_sorted_set_aux): Fix signature.
3631 * testsuite/25_algorithms/set_difference/35541.cc: New.
3633 2008-03-07 Jakub Jelinek <jakub@redhat.com>
3635 * config/abi/pre/gnu.ver: Move <system_error> related
3636 symbols to GLIBCXX_3.4.11 symbol version.
3637 * testsuite/util/testsuite_abi.cc (check_version): Allow
3640 2008-03-06 Chris Jefferson <chris@bubblescope.net>
3641 Paolo Carlini <pcarlini@suse.de>
3644 * include/tr1/tuple (operator==, operator<): Fix.
3645 * include/std/tuple (operator==, operator<): Likewise.
3646 * testsuite/tr1/6_containers/tuple/comparison_operators/35480.cc: New.
3647 * testsuite/20_util/tuple/comparison_operators/35480.cc: Likewise.
3649 2008-03-04 Joseph Myers <joseph@codesourcery.com>
3651 * crossconfig.m4 (*-mingw32*): Define HAVE_STRTOF and
3653 * configure: Regenerate.
3655 2008-03-02 Hans-Peter Nilsson <hp@axis.com>
3657 * testsuite/20_util/shared_ptr/assign/shared_ptr_neg.cc,
3658 testsuite/tr1/2_general_utilities/shared_ptr/assign/shared_ptr_neg.cc:
3659 Mark changed error message prelude, adding "in file included from",
3660 using dg-excess-errors.
3662 2008-03-01 Jakub Jelinek <jakub@redhat.com>
3664 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
3665 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
3666 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
3667 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise.
3668 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
3670 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
3671 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
3673 2008-02-29 Jakub Jelinek <jakub@redhat.com>
3675 * config/abi/pre/gnu.ver: Remove
3676 _ZNKSt3tr14hashIgEclEg@@GLIBCXX_3.4.10 and
3677 _ZNKSt4hashIgEclEg@@GLIBCXX_3.4.10 export.
3678 * config/os/gnu-linux/ldbl-extra.ver: Export
3679 _ZNKSt3tr14hashIgEclEg@@GLIBCXX_LDBL_3.4.10
3680 and _ZNKSt4hashIgEclEg@@GLIBCXX_LDBL_3.4.10.
3681 * src/hash.cc: Only define long double hash specialization if
3682 _GLIBCXX_LONG_DOUBLE_COMPAT_IMPL is defined.
3683 * src/compatibility-ldbl.cc: Include "hash.cc".
3684 (_GLIBCXX_LONG_DOUBLE_COMPAT_IMPL): Define.
3685 (_ZNKSt4hashIeEclEe): New alias.
3686 * testsuite/util/testsuite_abi.cc (check_version): Support
3687 GLIBCXX_LDBL_3.4.10.
3689 2008-02-25 Jan Beulich <jbeulich@novell.com>
3691 * acinclude.m4: Also check for EIDRM and ETXTBSY.
3692 * configure: Re-generate.
3693 * config/os/generic/error_constants.h (namespace posix_error):
3694 Also wrap uses of EIDRM and ETXTBSY in conditionals.
3695 * testsuite/19_diagnostics/headers/system_error/types_std_c++0x.cc:
3698 2008-02-20 Jason Merrill <jason@redhat.com>
3700 * include/bits/c++config: Use 'inline namespace' instead of
3703 2008-02-18 Pedro Lamarao <pedro.lamarao@mndfck.org>
3705 * include/std/tuple: Fixes for moveable, non-copyable types.
3706 * testsuite/20_util/tuple/moveable2.cc: New.
3708 2008-02-18 Paolo Carlini <pcarlini@suse.de>
3710 * include/std/tuple (operator+(tuple<>&&, tuple<>&&): Remove.
3712 2008-02-17 Ed Smith-Rowland <3dw4rd@verizon.net>
3714 * include/tr1/poly_laguerre.tcc: Doxygen fixes.
3715 * include/tr1/exp_integral.tcc: Same.
3716 * include/tr1/gamma.tcc: Same.
3717 * include/tr1/hypergeometric.tcc: Same.
3719 2008-02-17 Benjamin Kosnik <bkoz@redhat.com>
3722 * include/parallel/settings.h (_Settings): Reconstruct Settings class
3723 here, uglify, remove anonymous namespace and static
3724 members. Convert to datum.
3725 * include/parallel/types.h: Move Settings:: enumerations here, uglify.
3726 * src/parallel_settings.cc: New, definition for _Settings member
3728 * include/parallel/multiway_merge.h: Same.
3729 * include/parallel/for_each.h: Same.
3730 * include/parallel/workstealing.h: Same.
3731 * include/parallel/base.h: Same.
3732 * include/parallel/numeric
3733 * include/parallel/features.h: Same.
3734 * include/parallel/quicksort.h: Same.
3735 * include/parallel/equally_split.h: Same.
3736 * include/parallel/algorithmfwd.h: Same.
3737 * include/parallel/omp_loop_static.h: Same.
3738 * include/parallel/random_shuffle.h: Same.
3739 * include/parallel/balanced_quicksort.h: Same.
3740 * include/parallel/tags.h: Same.
3741 * include/parallel/multiway_mergesort.h: Same.
3742 * include/parallel/numericfwd.h: Same.
3743 * include/parallel/partition.h: Same.
3744 * include/parallel/partial_sum.h: Same.
3745 * include/parallel/find.h: Same.
3746 * include/parallel/algo.h: Same.
3747 * include/parallel/omp_loop.h: Same.
3748 * include/parallel/sort.h: Same.
3750 * src/Makefile.am (parallel_sources): Add parallel_settings.cc.
3751 * src/Makefile.in: Regenerate.
3753 * config/abi/pre/gnu.ver: Export _Settings::get and _Settings::set.
3755 2008-02-17 Paolo Carlini <pcarlini@suse.de>
3758 * include/parallel/types.h: Reinstate integer types typedefs.
3759 * include/parallel/multiseq_selection.h: Adjust.
3760 * include/parallel/compatibility.h: Likewise.
3761 * include/parallel/random_shuffle.h: Likewise.
3762 * include/parallel/random_number.h: Likewise.
3763 * include/parallel/base.h: Likewise.
3765 2008-02-17 Paolo Carlini <pcarlini@suse.de>
3768 * config/abi/pre/gnu.ver: Export stdio_sync_filebuf symbols.
3769 * testsuite/ext/stdio_sync_filebuf/char/35209.cc: New.
3770 * testsuite/ext/stdio_sync_filebuf/wchar_t/35209.cc: Likewise.
3772 2008-02-16 Benjamin Kosnik <bkoz@redhat.com>
3774 * include/parallel/random_number.h: Use TR1's mersenne_twister.
3775 (random_number::genrand_bits()): Remove.
3776 (random_number::set_seed): Remove.
3778 2008-02-15 Benjamin Kosnik <bkoz@redhat.com>
3780 * include/parallel/types.h: Remove enum parallelism.
3782 2008-02-15 Benjamin Kosnik <bkoz@redhat.com>
3784 * include/parallel/types.h: Move enum parallelism here. Use
3785 tr1/cstdint's int16_t, uint16_t, int32_t, uint32_t, int64_t,
3787 * include/parallel/multiseq_selection.h: Adjust for cstdint.
3788 * include/parallel/compatibility.h: Same.
3789 * include/parallel/tags.h: Just compile-time tags.
3790 * include/parallel/base.h: Put namespace bits here.
3792 * src/Makefile.am (PARALLEL_FLAGS): Use it.
3793 * src/Makefile.in: Regenerate.
3795 * testsuite/25_algorithms/nth_element/1.cc: Add test variable.
3797 2008-02-15 Hans-Peter Nilsson <hp@axis.com>
3799 * testsuite/config/default.exp: Load gcc dejapatches.exp.
3801 2008-02-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3803 * testsuite/27_io/fpos/14320-1.cc: Check for "long long" and
3806 2008-02-14 Benjamin Kosnik <bkoz@redhat.com>
3808 * config/os/generic/error_constants.h (posix_errno): Guard
3809 not_supported use of ENOTSUP.
3810 * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Add check for ENOTSUP
3812 * aclocal.m4: Regenerate.
3813 * configure: Rengerate.
3814 * config.h.in: Same.
3816 2008-02-13 Benjamin Kosnik <bkoz@redhat.com>
3818 * doc/doxygen/mainpage.html: Correct links.
3820 2008-02-11 Benjamin Kosnik <bkoz@redhat.com>
3822 * doc/html/*: Populate with regenerated files.
3824 2008-02-11 Benjamin Kosnik <bkoz@redhat.com>
3826 * doc/html/*: Remove all but contents of ext/pb_ds.
3827 * doc/html/index.html: New.
3828 * doc/html/README: New.
3830 2008-02-11 Benjamin Kosnik <bkoz@redhat.com>
3832 * doc/doxygen/mainpage.html: Add in corrected links.
3833 * README: Edit, move most into...
3834 * doc/xml/manual/appendix_contributing.xml (Directory Layout): ...here.
3835 (Documentation Style): Revise.
3836 * doc/xml/spine.xml: Edit file names.
3837 * doc/Makefile.am: Edit xml_sources.
3838 * doc/Makefile.in: Regenerate.
3840 2008-02-11 Paolo Carlini <pcarlini@suse.de>
3842 * configure: Regenerate with documented autoconf and automake
3843 versions (i.e., 2.59 and 1.9.6).
3844 * Makefile.in: Likewise.
3845 * src/Makefile.in: Likewise.
3846 * doc/Makefile.in: Likewise.
3847 * po/Makefile.in: Likewise.
3848 * libmath/Makefile.in: Likewise.
3849 * include/Makefile.in: Likewise.
3850 * libsupc++/Makefile.in: Likewise.
3851 * testsuite/Makefile.in: Likewise.
3852 * aclocal.m4: Likewise.
3854 2008-02-10 Benjamin Kosnik <bkoz@redhat.com>
3856 Convert documentation to DocBook.
3857 * doc/Makefile.am (doc-doxygen-html): Changed to doc-html-doxygen.
3858 (doc-doxygen-man): Changed to doc-man-doxygen.
3859 (doc-performance): Changed to doc-html-performance.
3860 (doc-xml-doxygen): New.
3861 (doc-xml-single): New.
3862 (doc-xml-validate): New.
3864 (doc-html-single): New.
3867 (doc-pdf-fop-xml): New.
3868 (doc-pdf-fop-fo): New.
3869 (doc-pdf-xmlto): New.
3870 (doc-pdf-xmlroff): New.
3871 (doc-pdf-prince): New.
3872 * doc/xml: New directory.
3873 * doc/xml/authors.xml: New.
3874 * doc/xml/images: New directory.
3875 * doc/xml/images/confdeps.png: Add.
3876 * doc/xml/images/confdeps.dot: Add.
3877 * doc/xml/faq.xml: New.
3878 * doc/xml/api.xml: New.
3879 * doc/xml/gnu: New directory.
3880 * doc/xml/gnu/gpl-3.0.xml: New.
3881 * doc/xml/gnu/fdl-1.2.xml: New.
3882 * doc/xml/gnu/gpl-2.0.xml: New.
3883 * doc/xml/manual: New directory.
3884 * doc/xml/manual/mt_allocator.xml: New.
3885 * doc/xml/manual/allocator.xml: New.
3886 * doc/xml/manual/ctype.xml: New.
3887 * doc/xml/manual/numerics.xml: New.
3888 * doc/xml/manual/codecvt.xml: New.
3889 * doc/xml/manual/concurrency.xml: New.
3890 * doc/xml/manual/backwards_compatibility.xml: New.
3891 * doc/xml/manual/intro.xml: New.
3892 * doc/xml/manual/shared_ptr.xml: New.
3893 * doc/xml/manual/abi.xml: New.
3894 * doc/xml/manual/status_cxxtr1.xml: New.
3895 * doc/xml/manual/auto_ptr.xml: New.
3896 * doc/xml/manual/build.xml: New.
3897 * doc/xml/manual/internals.xml: New.
3898 * doc/xml/manual/parallel_mode.xml: New.
3899 * doc/xml/manual/status_cxx1998.xml: New.
3900 * doc/xml/manual/containers.xml: New.
3901 * doc/xml/manual/io.xml: New.
3902 * doc/xml/manual/appendix_porting.xml: New.
3903 * doc/xml/manual/utilities.xml: New.
3904 * doc/xml/manual/bitmap_allocator.xml: New.
3905 * doc/xml/manual/support.xml: New.
3906 * doc/xml/manual/configure.xml: New.
3907 * doc/xml/manual/build_hacking.xml: New.
3908 * doc/xml/manual/evolution.xml: New.
3909 * doc/xml/manual/using.xml: New.
3910 * doc/xml/manual/debug.xml: New.
3911 * doc/xml/manual/localization.xml: New.
3912 * doc/xml/manual/strings.xml: New.
3913 * doc/xml/manual/debug_mode.xml: New.
3914 * doc/xml/manual/locale.xml: New.
3915 * doc/xml/manual/extensions.xml: New.
3916 * doc/xml/manual/appendix_contributing.xml: New.
3917 * doc/xml/manual/messages.xml: New.
3918 * doc/xml/manual/diagnostics.xml: New.
3919 * doc/xml/manual/appendix_free.xml: New.
3920 * doc/xml/manual/algorithms.xml: New.
3921 * doc/xml/manual/iterators.xml: New.
3922 * doc/xml/manual/spine.xml: New.
3923 * doc/xml/manual/test.xml: New.
3924 * doc/xml/manual/status_cxx200x.xml: New.
3925 * doc/xml/spine.xml: New.
3927 * doc/xml/book.txml: New. Template file.
3928 * doc/xml/chapter.txml: Same.
3929 * doc/xml/class.txml: Same.
3931 * doc/doxygen/guide.html: Removed, integrated into other docs.
3932 * doc/doxygen/user.cfg.in: Clean up XML generation.
3933 * doc/doxygen/run_doxygen: Move to..
3934 * scripts/run_doxygen: ...here.
3936 * configure: Regenerate.
3937 * Makefile.in: Regenerate.
3938 * src/Makefile.in: Regenerate.
3939 * doc/Makefile.in: Regenerate.
3940 * po/Makefile.in: Regenerate.
3941 * libmath/Makefile.in: Regenerate.
3942 * include/Makefile.in: Regenerate.
3943 * libsupc++/Makefile.in: Regenerate.
3944 * testsuite/Makefile.in: Regenerate.
3945 * aclocal.m4: Regenerate.
3947 2008-02-10 Paolo Carlini <pcarlini@suse.de>
3950 * include/std/istream (basic_istream<>::basic_istream()): Call
3952 (basic_iostream<>::basic_iostream(basic_streambuf<>*)): Don't
3953 do it here, per 27.6.1.5.1/1.
3954 * include/std/ostream (basic_ostream<>::basic_ostream()): Call
3956 * testsuite/27_io/basic_iostream/cons/16251.C: New.
3958 * testsuite/27_io/basic_iostream/cons/2020.cc: Minor tweaks.
3960 2008-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3962 * include/backward/auto_ptr.h: Fix comment typos.
3963 * include/bits/algorithmfwd.h: Likewise.
3964 * include/bits/basic_ios.h: Likewise.
3965 * include/bits/c++config: Likewise.
3966 * include/bits/char_traits.h: Likewise.
3967 * include/bits/codecvt.h: Likewise.
3968 * include/bits/gslice.h: Likewise.
3969 * include/bits/ios_base.h: Likewise.
3970 * include/bits/locale_facets.h: Likewise.
3971 * include/bits/locale_facets_nonio.tcc: Likewise.
3972 * include/bits/postypes.h: Likewise.
3973 * include/bits/sstream.tcc: Likewise.
3974 * include/bits/stl_algo.h: Likewise.
3975 * include/bits/stl_deque.h: Likewise.
3976 * include/bits/stl_iterator.h: Likewise.
3977 * include/bits/stl_iterator_base_types.h Likewise.
3978 * include/bits/stl_list.h: Likewise.
3979 * include/bits/stl_map.h: Likewise.
3980 * include/bits/stl_multimap.h: Likewise.
3981 * include/bits/stl_multiset.h: Likewise.
3982 * include/bits/stl_set.h: Likewise.
3983 * include/bits/stl_vector.h: Likewise.
3984 * include/bits/valarray_array.h: Likewise.
3985 * include/debug/safe_base.h: Likewise.
3986 * include/ext/bitmap_allocator.h: Likewise.
3987 * include/ext/codecvt_specializations.h Likewise.
3988 * include/ext/mt_allocator.h: Likewise.
3989 * include/ext/rc_string_base.h: Likewise.
3990 * include/ext/rope: Likewise.
3991 * include/parallel/checkers.h: Likewise.
3992 * include/parallel/find.h: Likewise.
3993 * include/parallel/multiseq_selection.h: Likewise.
3994 * include/parallel/partition.h: Likewise.
3995 * include/parallel/settings.h: Likewise.
3996 * include/std/bitset: Likewise.
3997 * include/std/complex: Likewise.
3998 * include/std/fstream: Likewise.
3999 * include/std/istream: Likewise.
4000 * include/std/limits: Likewise.
4001 * include/std/ostream: Likewise.
4002 * include/std/stdexcept: Likewise.
4003 * include/std/streambuf: Likewise.
4004 * include/tr1/bessel_function.tcc: Likewise.
4005 * include/tr1/cmath: Likewise.
4006 * include/tr1/ell_integral.tcc: Likewise.
4007 * include/tr1/hypergeometric.tcc: Likewise.
4008 * include/tr1/legendre_function.tcc: Likewise.
4009 * include/tr1_impl/random: Likewise.
4010 * include/tr1_impl/regex: Likewise.
4012 2008-01-31 Paolo Carlini <pcarlini@suse.de>
4014 * testsuite/27_io/basic_istream/extractors_character/pod/3983-2.cc:
4015 Avoid -Wall warnings.
4016 * testsuite/22_locale/global_templates/user_facet_hierarchies.cc:
4018 * testsuite/22_locale/global_templates/standard_facet_hierarchies.cc:
4020 * testsuite/tr1/6_containers/hash/operators/size_t.cc: Likewise.
4021 * testsuite/tr1/6_containers/tuple/cons/big_tuples.cc: Likewise.
4022 * testsuite/tr1/6_containers/tuple/cons/constructor.cc: Likewise.
4023 * testsuite/tr1/6_containers/array/cons/aggregate_initialization.cc:
4025 * testsuite/tr1/6_containers/array/requirements/contiguous.cc:
4027 * testsuite/tr1/6_containers/array/requirements/member_swap.cc:
4029 * testsuite/tr1/6_containers/array/requirements/assign.cc: Likewise.
4030 * testsuite/tr1/6_containers/array/specialized_algorithms/swap.cc:
4032 * testsuite/tr1/6_containers/array/comparison_operators/
4033 less_or_equal.cc: Likewise.
4034 * testsuite/tr1/6_containers/array/comparison_operators/
4035 greater_or_equal.cc: Likewise.
4036 * testsuite/tr1/6_containers/array/comparison_operators/less.cc:
4038 * testsuite/tr1/6_containers/array/comparison_operators/equal.cc:
4040 * testsuite/tr1/6_containers/array/comparison_operators/not_equal.cc:
4042 * testsuite/tr1/6_containers/array/comparison_operators/greater.cc:
4044 * testsuite/tr1/6_containers/array/tuple_interface/get.cc: Likewise.
4045 * testsuite/tr1/6_containers/array/element_access/at_out_of_range.cc:
4047 * testsuite/tr1/6_containers/array/element_access/back.cc: Likewise.
4048 * testsuite/tr1/6_containers/array/element_access/front.cc: Likewise.
4049 * testsuite/tr1/6_containers/array/element_access/data.cc: Likewise.
4050 * testsuite/tr1/6_containers/array/iterators/end_is_one_past.cc:
4052 * testsuite/tr1/6_containers/array/capacity/empty.cc: Likewise.
4053 * testsuite/tr1/6_containers/array/capacity/max_size.cc: Likewise.
4054 * testsuite/tr1/6_containers/array/capacity/size.cc: Likewise.
4055 * testsuite/thread/guard.cc: Likewise.
4056 * testsuite/20_util/tuple/cons/big_tuples.cc: Likewise.
4057 * testsuite/20_util/tuple/cons/constructor.cc: Likewise.
4058 * testsuite/20_util/shared_ptr/creation/dr402.cc: Likewise.
4059 * testsuite/20_util/shared_ptr/creation/make.cc: Likewise.
4060 * testsuite/20_util/shared_ptr/creation/alloc.cc: Likewise.
4061 * testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc: Likewise.
4062 * testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc:
4065 2008-01-26 David Edelsohn <edelsohn@gnu.org>
4068 * config/os/aix/os_defines.h: Define __COMPATMATH__.
4070 2008-01-24 David Edelsohn <edelsohn@gnu.org>
4072 * configure: Regenerate.
4074 2008-01-21 Matthias Klose <doko@ubuntu.com>
4076 * doc/doxygen/user.cfg.in: Set SHORT_NAMES to YES.
4078 2008-01-19 Paolo Carlini <pcarlini@suse.de>
4080 * configure: Regenerate.
4081 * Makefile.in: Likewise.
4082 * src/Makefile.in: Likewise.
4083 * doc/Makefile.in: Likewise.
4084 * po/Makefile.in: Likewise.
4085 * libmath/Makefile.in: Likewise.
4086 * include/Makefile.in: Likewise.
4087 * libsupc++/Makefile.in: Likewise.
4088 * testsuite/Makefile.in: Likewise.
4089 * aclocal.m4: Likewise.
4091 2008-01-18 Benjamin Kosnik <bkoz@redhat.com>
4095 * testsuite/Makefile.am: Move doc-performance to...
4096 * Makefile.am: Add doc to SUBDIRS, move doxygen-* rules to...
4097 * doc/Makefile.am: Consolidate documentation creation here.
4098 (doc-doxygen-html): New.
4099 (doc-doxygen-man): New.
4100 (doc-performance): New.
4101 * doc/Makefile.in: New.
4102 * acinclude.m4 (glibcxx_SUBDIRS): Add doc directory.
4103 * doc/doxygen/guide.html: Edit for unified html configuration.
4104 * doc/doxygen/mainpage.html: Same.
4105 * doc/doxygen/run_doxygen: Same, more namespace fixups for man
4107 * doc/doxygen/user.cfg.in: Update for doxygen 1.5.4.
4109 * include/tr1_impl/random: Remove maint from doxygen markup.
4110 * include/tr1_impl/functional: Same.
4111 * include/std/tuple: Same.
4112 * include/std/streambuf: Same.
4113 * include/std/bitset: Same.
4114 * include/std/limits: Same.
4115 * include/std/fstream: Same.
4116 * include/std/istream: Same.
4117 * include/std/sstream: Same.
4118 * include/ext/pool_allocator.h: Same.
4119 * include/ext/rc_string_base.h: Same.
4120 * include/bits/basic_ios.h: Same.
4121 * include/bits/stl_list.h: Same.
4122 * include/bits/stl_map.h: Same.
4123 * include/bits/locale_classes.h: Same.
4124 * include/bits/stl_set.h: Same.
4125 * include/bits/stl_iterator_base_types.h: Same.
4126 * include/bits/basic_string.h: Same.
4127 * include/bits/stl_multimap.h: Same.
4128 * include/bits/stl_vector.h: Same.
4129 * include/bits/ios_base.h: Same.
4130 * include/bits/stl_deque.h: Same.
4131 * include/bits/postypes.h: Same.
4132 * include/bits/stl_multiset.h: Same.
4133 * include/bits/stl_algo.h: Same.
4134 * include/bits/stl_iterator.h: Same.
4135 * include/bits/stl_tempbuf.h: Same.
4136 * include/bits/stl_construct.h: Same.
4137 * include/bits/stl_relops.h: Same.
4138 * include/tr1/tuple: Same.
4139 * include/backward/auto_ptr.h: Same.
4141 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
4142 Fixups for line number changes.
4143 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
4144 * testsuite/23_containers/vector/requirements/dr438/
4145 constructor_1_neg.cc: Same.
4146 * testsuite/23_containers/vector/requirements/dr438/
4147 constructor_2_neg.cc: Same.
4148 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
4149 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
4150 * testsuite/23_containers/deque/requirements/dr438/
4151 constructor_1_neg.cc: Same.
4152 * testsuite/23_containers/deque/requirements/dr438/
4153 constructor_2_neg.cc: Same.
4154 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
4155 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
4156 * testsuite/23_containers/list/requirements/dr438/
4157 constructor_1_neg.cc: Same.
4158 * testsuite/23_containers/list/requirements/dr438/
4159 constructor_2_neg.cc: Same.
4160 * testsuite/20_util/auto_ptr/assign_neg.cc: Same.
4162 * aclocal.m4: Regenerate.
4163 * config.h.in: Regenerate.
4164 * configure: Regenerate.
4165 * Makefile.in: Regenerate.
4166 * src/Makefile.in: Regenerate.
4167 * po/Makefile.in: Regenerate.
4168 * libmath/Makefile.in: Regenerate.
4169 * include/Makefile.in: Regenerate.
4170 * libsupc++/Makefile.in: Regenerate.
4171 * testsuite/Makefile.in: Regenerate.
4173 * scripts/make_graphs.py: Correct paths for new layout.
4175 2008-01-17 Benjamin Kosnik <bkoz@redhat.com>
4177 * acinclude.m4 (AC_LC_MESSAGES): Remove serial.
4178 * linkage.m4 (AC_REPLACE_MATHFUNCS): Same.
4179 * configure: Regenerate.
4180 * aclocal.m4: Regenerate.
4182 2008-01-14 Paolo Carlini <pcarlini@suse.de>
4184 * include/parallel/list_partition.h: Formatting fixes, inline tweaks.
4185 * include/parallel/numeric: Likewise.
4186 * include/parallel/balanced_quicksort.h: Likewise.
4187 * include/parallel/unique_copy.h: Likewise.
4188 * include/parallel/algobase.h: Likewise.
4189 * include/parallel/algo.h: Likewise.
4191 2008-01-14 Seongbae Park <seongbae.park@gmail.com>
4193 * crossconfig.m4: Add missing header checks, C99 TR1 check,
4194 and sigsetjmp check.
4196 2008-01-14 Paolo Carlini <pcarlini@suse.de>
4198 * include/parallel/tree.h: Remove.
4199 * include/Makefile.am: Update.
4200 * include/Makefile.in: Rebuild.
4202 * src/Makefile.am: Remove spurious trailing backslash.
4203 * src/Makefile.in: Rebuild.
4204 * po/Makefile.in: Likewise.
4205 * libmath/Makefile.in: Likewise.
4206 * testsuite/Makefile.in: Likewise.
4207 * libsupc++/Makefile.in: Likewise.
4208 * aclocal.m4: Likewise.
4209 * Makefile.in: Likewise.
4210 * configure: Likewise.
4212 2008-01-12 Paolo Carlini <pcarlini@suse.de>
4215 * include/debug/functions.h (__check_sorted_set,
4216 __check_sorted_set_aux): Add.
4217 (__check_sorted): Check StrictWeakOrdering.
4218 * include/debug/macros.h (__glibcxx_check_strict_weak_ordering,
4219 __glibcxx_check_strict_weak_ordering_pred): Remove.
4220 (__glibcxx_check_sorted, __glibcxx_check_sorted_pred): Adjust.
4221 (__glibcxx_check_sorted_set, __glibcxx_check_sorted_set_pred): Add.
4222 * include/debug/debug.h (__glibcxx_requires_sorted_set,
4223 __glibcxx_requires_sorted_set_pred): Add.
4224 * include/bits/stl_algo.h (merge, includes, set_union,
4225 set_intersection, set_difference, set_symmetric_difference):
4226 Adjust, use __glibcxx_requires_sorted_set* instead.
4227 * testsuite/25_algorithms/set_intersection/34730.cc: New.
4229 2008-01-09 Paolo Carlini <pcarlini@suse.de>
4231 * include/parallel/multiway_merge.h: Reformat to 80 columns;
4232 adjust some inline specifiers; other minor style fixes.
4233 * include/parallel/losertree.h: Likewise.
4234 * include/parallel/list_partition.h: Likewise.
4235 * include/parallel/multiseq_selection.h: Likewise.
4236 * include/parallel/workstealing.h: Likewise.
4237 * include/parallel/base.h: Likewise.
4238 * include/parallel/par_loop.h: Likewise.
4239 * include/parallel/numeric: Likewise.
4240 * include/parallel/quicksort.h: Likewise.
4241 * include/parallel/algorithmfwd.h: Likewise.
4242 * include/parallel/for_each_selectors.h: Likewise.
4243 * include/parallel/omp_loop_static.h: Likewise.
4244 * include/parallel/random_shuffle.h: Likewise.
4245 * include/parallel/balanced_quicksort.h: Likewise.
4246 * include/parallel/set_operations.h: Likewise.
4247 * include/parallel/tree.h: Likewise.
4248 * include/parallel/merge.h: Likewise.
4249 * include/parallel/unique_copy.h: Likewise.
4250 * include/parallel/settings.h: Likewise.
4251 * include/parallel/multiway_mergesort.h: Likewise.
4252 * include/parallel/numericfwd.h: Likewise.
4253 * include/parallel/search.h: Likewise.
4254 * include/parallel/partition.h: Likewise.
4255 * include/parallel/compatibility.h: Likewise.
4256 * include/parallel/partial_sum.h: Likewise.
4257 * include/parallel/find.h: Likewise.
4258 * include/parallel/algo.h: Likewise.
4259 * include/parallel/queue.h: Likewise.
4260 * include/parallel/omp_loop.h: Likewise.
4261 * include/parallel/sort.h: Likewise.
4262 * include/parallel/random_number.h: Likewise.
4264 2008-01-09 Benjamin Kosnik <bkoz@redhat.com>
4266 * docs/html/17_intro/api.html: Fix markup for rope.h.
4268 2008-01-09 Paolo Carlini <pcarlini@suse.de>
4270 * include/parallel/iterator.h: Reformat to 80 columns; adjust some
4272 * include/parallel/find_selectors.h: Likewise.
4273 * include/parallel/losertree.h: Likewise.
4274 * include/parallel/list_partition.h: Likewise.
4275 * include/parallel/for_each.h: Likewise.
4276 * include/parallel/multiseq_selection.h: Likewise.
4277 * include/parallel/algorithmfwd.h: Likewise.
4278 * include/parallel/for_each_selectors.h: Likewise.
4279 * include/parallel/balanced_quicksort.h: Likewise.
4280 * include/parallel/merge.h: Likewise.
4281 * include/parallel/algobase.h: Likewise.
4282 * include/parallel/find.h: Likewise.
4283 * include/parallel/algo.h: Likewise.
4284 * include/parallel/checkers.h: Likewise.
4286 2008-01-09 Francesco Biscani <bluescarni@gmail.com>
4288 * include/tr1_impl/hashtable (_Hashtable): Fix friend declaration
4289 of __detail::_Map_base<>.
4291 2008-01-08 Paolo Carlini <pcarlini@suse.de>
4293 * testsuite/22_locale/global_templates/user_facet_hierarchies.cc: Do
4294 not include <cassert>.
4295 * testsuite/22_locale/global_templates/standard_facet_hierarchies.cc:
4297 * testsuite/util/testsuite_common_types.h: Include <algorithm>.
4299 2008-01-08 Jakub Jelinek <jakub@redhat.com>
4301 * configure.ac (--enable-linux-futex): Add new configure option.
4302 (HAVE_LINUX_FUTEX): New AC_DEFINE.
4303 * Makefile.in: Rebuilt.
4304 * aclocal.m4: Rebuilt.
4305 * configure: Rebuilt.
4306 * config.h.in: Rebuilt.
4307 * config/cpu/generic/cxxabi_tweaks.h (_GLIBCXX_GUARD_BIT,
4308 _GLIBCXX_GUARD_PENDING_BIT, _GLIBCXX_GUARD_WAITING_BIT): Define.
4309 * config/cpu/arm/cxxabi_tweaks.h (_GLIBCXX_GUARD_BIT,
4310 _GLIBCXX_GUARD_PENDING_BIT, _GLIBCXX_GUARD_WAITING_BIT): Define.
4311 * libsupc++/guard.cc: Include climits and syscall.h.
4312 (_GLIBCXX_USE_FUTEX): Define if futex syscall and atomic builtins
4314 (_GLIBCXX_FUTEX_WAIT, _GLIBCXX_FUTEX_WAKE): Likewise.
4315 (__guard_test_bit): New static inline.
4316 (__cxa_guard_acquire, __cxa_guard_release, __cxa_guard_abort): Use
4317 atomic builtins and futex syscall if _GLIBCXX_USE_FUTEX.
4319 2008-01-07 Paolo Carlini <pcarlini@suse.de>
4322 * include/bits/locale_classes.h (has_facet<>, use_facet<>): Do not
4323 use dynamic_cast when run-time type identification is disabled; do
4324 not mark inline; only declare, define...
4325 * include/bits/locale_classes.tcc: ... here.
4327 2008-01-06 Ted Phelps <phelps@gnusto.com>
4330 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Check
4331 _GLIBCXX_HAVE_GETIPINFO instead of HAVE_GETIPINFO.
4333 2008-01-01 Paolo Carlini <pcarlini@suse.de>
4336 * include/parallel/multiway_merge.h (multiway_merge_bubble,
4337 parallel_multiway_merge): Together with ::operator new use
4339 * include/parallel/losertree.h (LoserTree<>::~LoserTree): Likewise.
4340 * include/parallel/quicksort.h (parallel_sort_qs_divide): Likewise.
4341 * include/parallel/random_shuffle.h (parallel_random_shuffle_drs_pu,
4342 sequential_random_shuffle): Likewise.
4343 * include/parallel/tree.h (_M_not_sorted_bulk_insertion_construction):
4345 * include/parallel/multiway_mergesort.h (parallel_sort_mwms_pu,
4346 parallel_sort_mwms): Likewise.
4347 * include/parallel/partial_sum.h (parallel_partial_sum_linear):
4349 * testsuite/25_algorithms/sort/34095.cc: New.
4351 2008-01-01 Paolo Carlini <pcarlini@suse.de>
4353 * testsuite/25_algorithms/sort/34636.cc: Fix Copyright year.
4355 2008-01-01 Paolo Carlini <pcarlini@suse.de>
4358 * include/parallel/algobase.h (lexicographical_compare_switch(...,
4359 random_access_iterator_tag, random_access_iterator_tag)): Careful
4360 with undereferenceable iterators.
4361 * testsuite/25_algorithms/sort/34636.cc: New.