2005-02-22 13:50:56 +01:00
|
|
|
2005-02-22 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
* testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
|
|
|
|
auto_ptr_neg.cc: Add missing dg-do compile directive.
|
|
|
|
* testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
|
|
|
|
auto_ptr_rvalue_neg.cc: Likewise.
|
|
|
|
* testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
|
|
|
|
shared_ptr_neg.cc: Likewise.
|
|
|
|
* testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/
|
|
|
|
auto_ptr_neg.cc: Likewise.
|
|
|
|
* testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
|
|
|
|
reset_neg.cc: Likewise.
|
|
|
|
* testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
|
|
|
|
swap_neg.cc: Likewise.
|
|
|
|
|
2005-02-22 01:17:16 +01:00
|
|
|
2005-02-22 Jonathan Wakely <redi@gcc.gnu.org>
|
|
|
|
|
|
|
|
* include/Makefile.am, include/Makefile.in: Fix accidental extra
|
|
|
|
change from previous commit.
|
|
|
|
|
2005-02-22 01:10:22 +01:00
|
|
|
2005-02-21 Jonathan Wakely <redi@gcc.gnu.org>
|
|
|
|
|
|
|
|
* include/tr1/memory: New file.
|
|
|
|
* include/Makefile.am, include/Makefile.in: Add new TR1 header.
|
|
|
|
* testsuite/tr1/2_general_utilities/memory/
|
|
|
|
enable_shared_from_this/not_shared.cc: New test.
|
|
|
|
* testsuite/tr1/2_general_utilities/memory/
|
|
|
|
enable_shared_from_this/not_shared2.cc: New test.
|
|
|
|
* testsuite/tr1/2_general_utilities/memory/
|
|
|
|
enable_shared_from_this/not_shared3.cc: New test.
|
|
|
|
* testsuite/tr1/2_general_utilities/memory/
|
|
|
|
enable_shared_from_this/shared.cc: New test.
|
|
|
|
* testsuite/tr1/2_general_utilities/memory/
|
|
|
|
enable_shared_from_this/still_shared.cc: New test.
|
|
|
|
* testsuite/tr1/2_general_utilities/memory/
|
|
|
|
shared_ptr/assign/assign.cc: New test.
|
|
|
|
* testsuite/tr1/2_general_utilities/memory/
|
|
|
|
shared_ptr/assign/auto_ptr.cc: New test.
|
|
|
|
* testsuite/tr1/2_general_utilities/memory/
|
|
|
|
shared_ptr/assign/auto_ptr_neg.cc: New test.
|
|
|
|
* testsuite/tr1/2_general_utilities/memory/
|
|
|
|
shared_ptr/assign/auto_ptr_rvalue_neg.cc: New test.
|
|
|
|
* testsuite/tr1/2_general_utilities/memory/
|
|
|
|
shared_ptr/assign/shared_ptr.cc: New test.
|
|
|
|
* testsuite/tr1/2_general_utilities/memory/
|
|
|
|
shared_ptr/assign/shared_ptr_neg.cc: New test.
|
|
|
|
* testsuite/tr1/2_general_utilities/memory/
|
|
|
|
shared_ptr/comparison/cmp.cc: New test.
|
|
|
|
* testsuite/tr1/2_general_utilities/memory/
|
|
|
|
shared_ptr/cons/auto_ptr.cc: New test.
|
|
|
|
* testsuite/tr1/2_general_utilities/memory/
|
|
|
|
shared_ptr/cons/auto_ptr_neg.cc: New test.
|
|
|
|
* testsuite/tr1/2_general_utilities/memory/
|
|
|
|
shared_ptr/cons/copy.cc: New test.
|
|
|
|
* testsuite/tr1/2_general_utilities/memory/
|
|
|
|
shared_ptr/cons/default.cc: New test.
|
|
|
|
* testsuite/tr1/2_general_utilities/memory/
|
|
|
|
shared_ptr/cons/pointer.cc: New test.
|
|
|
|
* testsuite/tr1/2_general_utilities/memory/
|
|
|
|
shared_ptr/cons/weak_ptr.cc: New test.
|
|
|
|
* testsuite/tr1/2_general_utilities/memory/
|
|
|
|
shared_ptr/cons/weak_ptr_expired.cc: New test.
|
|
|
|
* testsuite/tr1/2_general_utilities/memory/
|
|
|
|
shared_ptr/dest/dest.cc: New test.
|
|
|
|
* testsuite/tr1/2_general_utilities/memory/
|
|
|
|
shared_ptr/misc/io.cc: New test.
|
|
|
|
* testsuite/tr1/2_general_utilities/memory/
|
|
|
|
shared_ptr/misc/swap.cc: New test.
|
|
|
|
* testsuite/tr1/2_general_utilities/memory/
|
|
|
|
shared_ptr/modifiers/reset.cc: New test.
|
|
|
|
* testsuite/tr1/2_general_utilities/memory/
|
|
|
|
shared_ptr/modifiers/reset_neg.cc: New test.
|
|
|
|
* testsuite/tr1/2_general_utilities/memory/
|
|
|
|
shared_ptr/modifiers/swap.cc: New test.
|
|
|
|
* testsuite/tr1/2_general_utilities/memory/
|
|
|
|
shared_ptr/modifiers/swap_neg.cc: New test.
|
|
|
|
* testsuite/tr1/2_general_utilities/memory/
|
|
|
|
shared_ptr/observers/bool_conv.cc: New test.
|
|
|
|
* testsuite/tr1/2_general_utilities/memory/
|
|
|
|
shared_ptr/observers/get.cc: New test.
|
|
|
|
* testsuite/tr1/2_general_utilities/memory/
|
|
|
|
shared_ptr/observers/unique.cc: New test.
|
|
|
|
* testsuite/tr1/2_general_utilities/memory/
|
|
|
|
shared_ptr/observers/use_count.cc: New test.
|
|
|
|
|
2005-02-22 00:51:51 +01:00
|
|
|
2005-02-21 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
* include/tr1/type_traits (is_member_function_pointer):
|
|
|
|
Remove ugly workaround for c++/19076.
|
|
|
|
|
2005-02-22 00:25:08 +01:00
|
|
|
2005-02-21 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
* include/bits/basic_string.tcc (_Rep::_M_destroy): Don't
|
|
|
|
check for this == &_S_empty_rep, it's always false, here.
|
|
|
|
|
2005-02-20 00:57:23 +01:00
|
|
|
2005-02-19 Matt Austern <austern@gmail.com>
|
|
|
|
|
|
|
|
* include/tr1/functional (tr1_hashtable_define_trivial_hash): Make
|
|
|
|
hash<T>::operator() a const member function for T a fundamental type
|
|
|
|
* include/tr1/hashtable (extract1st::operator()): Declare const.
|
|
|
|
(hash_code_base): Declare all member functions const
|
|
|
|
(hashtable::find): fix call to this->bucket_count()
|
|
|
|
(hashtable::count): Likewise.
|
|
|
|
(hashtable::equal_range): m_incr_bucket applies to iterator, not node.
|
|
|
|
* testsuite/tr1/6_containers/unordered/find/set1.cc: New test.
|
|
|
|
* testsuite/tr1/6_containers/unordered/find/map1.cc: New test.
|
|
|
|
* testsuite/tr1/6_containers/unordered/find/multimap1.cc: New test.
|
|
|
|
* testsuite/tr1/6_containers/unordered/find/multiset1.cc: New test.
|
|
|
|
|
2005-02-19 16:33:59 +01:00
|
|
|
2005-02-19 Hans-Peter Nilsson <hp@axis.com>
|
|
|
|
|
|
|
|
PR libstdc++/20071
|
|
|
|
* include/tr1/functional (hash<std::wstring>): Wrap in #ifdef
|
|
|
|
_GLIBCXX_USE_WCHAR_T.
|
|
|
|
|
2005-02-19 03:35:25 +01:00
|
|
|
2005-02-18 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
PR libstdc++/10606
|
|
|
|
* config/linker-map.gnu (CXXABI_1.3.1): Add __cxa_get_exception_ptr.
|
|
|
|
* libsupc++/eh_alloc.cc (__cxa_allocate_exception): Increment
|
|
|
|
uncaughtExceptions here instead of ...
|
|
|
|
* libsupc++/eh_throw.cc (__cxa_throw) ... here.
|
|
|
|
(__cxa_rethrow): Increment uncaughtExceptions here instead of ...
|
|
|
|
* libsupc++/eh_catch.cc (__cxa_end_catch): ... here.
|
|
|
|
(__cxa_get_exception_ptr): New.
|
|
|
|
* libsupc++/unwind-cxx.h (__cxa_get_exception_ptr): Declare.
|
|
|
|
|
2005-02-19 00:09:02 +01:00
|
|
|
2005-02-18 Matt Austern <austern@apple.com>
|
2005-02-19 03:35:25 +01:00
|
|
|
|
2005-02-19 00:09:02 +01:00
|
|
|
* testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: Fix
|
|
|
|
test case to use assignment instead of ==
|
|
|
|
* testsuite/tr1/6_containers/unordered/insert/map_range.cc: New test.
|
|
|
|
* testsuite/tr1/6_containers/unordered/insert/multimap_range.cc: New test.
|
|
|
|
* testsuite/tr1/6_containers/unordered/insert/multiset_range.cc: New test.
|
|
|
|
* testsuite/tr1/6_containers/unordered/insert/set_range.cc: New test.
|
|
|
|
|
2005-02-18 12:53:18 +01:00
|
|
|
2005-02-18 Eric Botcazou <ebotcazou@libertysurf.fr>
|
|
|
|
|
|
|
|
* testsuite/thread/pthread1.cc: Do not invoke pthread_setconcurrency
|
|
|
|
on Solaris 2.6 and below.
|
|
|
|
* testsuite/thread/pthread2.cc: Likewise.
|
|
|
|
* testsuite/thread/pthread3.cc: Likewise.
|
|
|
|
* testsuite/thread/pthread4.cc: Likewise.
|
|
|
|
* testsuite/thread/pthread5.cc: Likewise.
|
|
|
|
* testsuite/thread/pthread6.cc: Likewise.
|
|
|
|
* testsuite/thread/pthread7-rope.cc: Likewise.
|
|
|
|
|
2005-02-18 08:50:08 +01:00
|
|
|
2005-02-17 Matt Austern <austern@apple.com>
|
|
|
|
|
|
|
|
* include/tr1/functional (hash): New function object.
|
|
|
|
* include/tr1/hashtable: New file.
|
|
|
|
* include/tr1/unordered_set: New file.
|
|
|
|
* include/tr1/unordered_map: New file.
|
|
|
|
* include/Makefile.am: Add three new TR1 headers.
|
|
|
|
* include/Makefile.in: Likewise.
|
|
|
|
* testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: New test.
|
|
|
|
* testsuite/tr1/6_containers/unordered/insert/map_single.cc: New test.
|
|
|
|
* testsuite/tr1/6_containers/unordered/insert/multimap_single.cc: New test.
|
|
|
|
* testsuite/tr1/6_containers/unordered/insert/multiset_single.cc: New test.
|
|
|
|
* testsuite/tr1/6_containers/unordered/insert/set_single.cc: New test.
|
|
|
|
* testsuite/tr1/6_containers/unordered/instantiate/hash.cc: New test.
|
|
|
|
* testsuite/tr1/6_containers/unordered/instantiate/map.cc: New test.
|
|
|
|
* testsuite/tr1/6_containers/unordered/instantiate/multimap.cc: New test.
|
|
|
|
* testsuite/tr1/6_containers/unordered/instantiate/multiset.cc: New test.
|
|
|
|
* testsuite/tr1/6_containers/unordered/instantiate/set.cc: New test.
|
|
|
|
|
2005-02-16 14:14:36 +01:00
|
|
|
2005-02-16 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
* testsuite/23_containers/set/modifiers/16728.cc:
|
|
|
|
Remove redundant include <testsuite_performance.h>.
|
|
|
|
|
2005-02-16 12:09:57 +01:00
|
|
|
2005-02-16 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
PR libstdc++/19829
|
|
|
|
* testsuite/21_strings/basic_string/find/char/3.cc: Fix the test
|
|
|
|
at line #66 to not access str_lit01 beyond its end.
|
|
|
|
* testsuite/21_strings/basic_string/find/wchar_t/3.cc: Likewise.
|
|
|
|
|
2005-02-16 00:29:52 +01:00
|
|
|
2005-02-15 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
Jon Grimm <jgrimm2@us.ibm.com>
|
|
|
|
|
|
|
|
PR libstdc++/19955
|
|
|
|
* include/bits/locale_facets.h (ctype<char>::_M_narrow_init()):
|
|
|
|
Fix the logic setting _M_narrow_ok: first check whether the
|
|
|
|
transformation is trivial with a dflt == 0, then deal with the
|
|
|
|
special case of zero.
|
|
|
|
* testsuite/22_locale/ctype/narrow/char/19955.cc: New.
|
|
|
|
|
|
|
|
* include/bits/locale_facets.h (ctype<char>::_M_widen_init()):
|
|
|
|
Tweak consistently to use memcmp; minor formatting fixes.
|
|
|
|
|
2005-02-15 01:07:53 +01:00
|
|
|
2005-02-15 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
PR libstdc++/19946
|
|
|
|
* testsuite/demangle/abi_examples/01.cc (main): Adjust for 2005-02-13
|
|
|
|
demangler change.
|
|
|
|
* testsuite/demangle/abi_examples/02.cc (main): Likewise.
|
|
|
|
|
2005-02-13 11:25:02 +01:00
|
|
|
2005-02-13 Richard Guenther <rguenth@gcc.gnu.org>
|
|
|
|
Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
PR libstdc++/11706
|
|
|
|
* include/c_std/std_cmath.h (pow): Use __builtin_powi[lf]
|
|
|
|
for integer overloads.
|
|
|
|
|
|
|
|
* testsuite/26_numerics/cmath/powi.cc: New.
|
|
|
|
|
2005-02-11 23:40:16 +01:00
|
|
|
2005-02-11 Janis Johnson <janis187@us.ibm.com>
|
|
|
|
|
2005-02-12 01:05:08 +01:00
|
|
|
* testsuite/26_numerics/complex/13450.cc: Fix XFAIL selector.
|
|
|
|
* testsuite/26_numerics/complex/complex_value.cc: Ditto.
|
|
|
|
* testsuite/26_numerics/complex/pow.cc: Ditto.
|
|
|
|
|
2005-02-11 23:40:16 +01:00
|
|
|
* testsuite/lib/libstdc++.exp: Load target-supports-dg.exp.
|
|
|
|
* testsuite/26_numerics/complex/13450.cc: XFAIL for broken_cplxf_arg.
|
|
|
|
* testsuite/26_numerics/complex/complex_value.cc: Ditto.
|
|
|
|
* testsuite/26_numerics/complex/pow.cc: Ditto.
|
|
|
|
|
2005-02-10 20:05:34 +01:00
|
|
|
2005-02-09 Mike Stump <mrs@apple.com>
|
|
|
|
|
|
|
|
* libsupc++/del_op.cc: Don't include cstdlib when !_GLIBCXX_HOSTED.
|
|
|
|
|
2005-02-10 01:23:49 +01:00
|
|
|
2005-02-09 Janis Johnson <janis187@us.ibm.com>
|
|
|
|
|
|
|
|
* testsuite/ext/array_allocator/2.cc: XFAIL for powerpc*-*-linux*.
|
|
|
|
|
2005-02-08 17:37:02 +01:00
|
|
|
2005-02-08 Mark Mitchell <mark@codesourcery.com>
|
|
|
|
|
|
|
|
* config/linker-map.gnu (GLIBCXX_3.4): Add _ZNSdC* and _ZNSdD*.
|
|
|
|
|
2005-02-07 23:56:11 +01:00
|
|
|
2005-02-07 Loren J. Rittle <ljrittle@acm.org>
|
|
|
|
|
|
|
|
* testsuite/27_io/basic_istream/getline/wchar_t/5.cc: Make buf static.
|
|
|
|
* testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Make ref and
|
|
|
|
src static.
|
|
|
|
|
2005-02-02 20:38:38 +01:00
|
|
|
2005-02-02 Brad Spencer <spencer@infointeractive.com>
|
|
|
|
|
|
|
|
* debug.html: Fix broken tags.
|
|
|
|
* documentation.html: Same.
|
|
|
|
|
2005-02-02 20:15:07 +01:00
|
|
|
2005-02-02 Andreas Jaeger <aj@suse.de>
|
|
|
|
|
|
|
|
* testsuite/lib/libstdc++.exp: Revert Geoffrey Keating's patch
|
|
|
|
from 2005-01-28.
|
|
|
|
* testsuite/Makefile.am: Likewise.
|
|
|
|
* testsuite/Makefile.in: Likewise.
|
|
|
|
|
2005-02-01 14:30:34 +01:00
|
|
|
2005-02-01 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
* include/bits/cpp_type_traits.h: Rename _M_type fields to
|
|
|
|
__value, except for __enable_if, _M_type -> __type, consistently
|
|
|
|
with the other traits.
|
|
|
|
* include/bits/stl_algobase.h: Tweak consistently.
|
|
|
|
* include/bits/stl_tree.h: Likewise.
|
|
|
|
* include/bits/valarray_array.h: Likewise.
|
|
|
|
* include/c_std/std_cmath.h: Likewise.
|
|
|
|
* include/debug/safe_iterator.h: Likewise.
|
|
|
|
* include/std/std_complex.h: Likewise.
|
|
|
|
|
2005-02-01 07:56:30 +01:00
|
|
|
2005-01-31 Brad Spencer <spencer@infointeractive.com>
|
|
|
|
|
|
|
|
* crossconfig.m4: Repair Solaris cross bits for strtold and strtof.
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
2005-02-01 02:01:34 +01:00
|
|
|
2005-01-31 Mark Mitchell <mark@codesourcery.com>
|
|
|
|
|
|
|
|
* include/std/std_limits.h (numeric_limits<float>::has_denorm):
|
|
|
|
Add required cast.
|
|
|
|
(numeric_limits<double>::has_denorm): Likewise.
|
|
|
|
(numeric_limits<long double>::has_denorm): Likewise.
|
|
|
|
|
cpp_type_traits.h: Add types to the structs thus making type_traits.h redundant...
2005-01-31 Paolo Carlini <pcarlini@suse.de>
Gabriel Dos Reis <gdr@integrable-solutions.net>
* include/bits/cpp_type_traits.h: Add types to the structs thus
making type_traits.h redundant; exploit new __truth_type and
__traitor helpers.
* include/bits/type_traits.h: Remove.
* include/Makefile.am: Update.
* include/Makefile.in: Regenerate.
* include/backward/tempbuf.h: Include cpp_type_traits.h instead.
* include/bits/basic_string.h (replace(iterator, iterator,
_InputIterator, _InputIterator), _S_construct(_InIterator,
_InIterator, const _Alloc&)): Use __is_integer instead.
* include/bits/stl_bvector.h (vector(_InputIterator,
_InputIterator, const allocator_type&), assign(_InputIterator,
_InputIterator), insert(iterator, _InputIterator, _InputIterator)):
Likewise.
* include/bits/stl_construct.h (_Destroy(_ForwardIterator,
_ForwardIterator)): Use __is_scalar.
* include/bits/stl_deque.h (deque(_InputIterator, _InputIterator,
const allocator_type&), assign(_InputIterator, _InputIterator),
insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
* include/bits/stl_list.h (assign(_InputIterator, _InputIterator),
insert(iterator, _InputIterator, _InputIterator)): Likewise.
* include/bits/stl_tempbuf.h (_Temporary_buffer(_ForwardIterator,
_ForwardIterator)): Use __is_scalar.
* include/bits/stl_uninitialized.h (uninitialized_copy(_InputIterator,
_InputIterator, _ForwardIterator), uninitialized_fill(_ForwardIterator,
_ForwardIterator, const _Tp&), uninitialized_fill_n(_ForwardIterator,
_Size, const _Tp&)): Likewise.
* include/bits/stl_vector.h (vector(_InputIterator, _InputIterator,
const allocator_type&), assign(_InputIterator, _InputIterator),
insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
* include/debug/debug.h (__valid_range(const _InputIterator&,
const _InputIterator&)): Use __is_integer.
* include/ext/slist (assign(_InputIterator, _InputIterator)): Likewise.
* include/std/std_string.h: Include cpp_type_traits.h instead.
Co-Authored-By: Gabriel Dos Reis <gdr@integrable-solutions.net>
From-SVN: r94484
2005-01-31 17:22:01 +01:00
|
|
|
2005-01-31 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
Gabriel Dos Reis <gdr@integrable-solutions.net>
|
|
|
|
|
|
|
|
* include/bits/cpp_type_traits.h: Add types to the structs thus
|
|
|
|
making type_traits.h redundant; exploit new __truth_type and
|
|
|
|
__traitor helpers.
|
|
|
|
* include/bits/type_traits.h: Remove.
|
|
|
|
* include/Makefile.am: Update.
|
|
|
|
* include/Makefile.in: Regenerate.
|
|
|
|
* include/backward/tempbuf.h: Include cpp_type_traits.h instead.
|
|
|
|
* include/bits/basic_string.h (replace(iterator, iterator,
|
|
|
|
_InputIterator, _InputIterator), _S_construct(_InIterator,
|
|
|
|
_InIterator, const _Alloc&)): Use __is_integer instead.
|
|
|
|
* include/bits/stl_bvector.h (vector(_InputIterator,
|
|
|
|
_InputIterator, const allocator_type&), assign(_InputIterator,
|
|
|
|
_InputIterator), insert(iterator, _InputIterator, _InputIterator)):
|
|
|
|
Likewise.
|
|
|
|
* include/bits/stl_construct.h (_Destroy(_ForwardIterator,
|
|
|
|
_ForwardIterator)): Use __is_scalar.
|
|
|
|
* include/bits/stl_deque.h (deque(_InputIterator, _InputIterator,
|
|
|
|
const allocator_type&), assign(_InputIterator, _InputIterator),
|
|
|
|
insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
|
|
|
|
* include/bits/stl_list.h (assign(_InputIterator, _InputIterator),
|
|
|
|
insert(iterator, _InputIterator, _InputIterator)): Likewise.
|
|
|
|
* include/bits/stl_tempbuf.h (_Temporary_buffer(_ForwardIterator,
|
|
|
|
_ForwardIterator)): Use __is_scalar.
|
|
|
|
* include/bits/stl_uninitialized.h (uninitialized_copy(_InputIterator,
|
|
|
|
_InputIterator, _ForwardIterator), uninitialized_fill(_ForwardIterator,
|
|
|
|
_ForwardIterator, const _Tp&), uninitialized_fill_n(_ForwardIterator,
|
|
|
|
_Size, const _Tp&)): Likewise.
|
|
|
|
* include/bits/stl_vector.h (vector(_InputIterator, _InputIterator,
|
|
|
|
const allocator_type&), assign(_InputIterator, _InputIterator),
|
|
|
|
insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
|
|
|
|
* include/debug/debug.h (__valid_range(const _InputIterator&,
|
|
|
|
const _InputIterator&)): Use __is_integer.
|
|
|
|
* include/ext/slist (assign(_InputIterator, _InputIterator)): Likewise.
|
|
|
|
* include/std/std_string.h: Include cpp_type_traits.h instead.
|
|
|
|
|
2005-01-30 15:09:58 +01:00
|
|
|
2005-01-30 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
PR libstdc++/19642
|
|
|
|
* config/locale/generic/c_locale.h (__convert_from_v): Switch only
|
|
|
|
LC_NUMERIC, and only when actually != "C".
|
|
|
|
|
2005-01-28 22:00:19 +01:00
|
|
|
2005-01-28 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
* include/tr1/type_traits (is_function): Minor consistency tweaks.
|
|
|
|
|
2005-01-28 19:57:59 +01:00
|
|
|
2005-01-28 Geoffrey Keating <geoffk@apple.com>
|
|
|
|
|
|
|
|
* testsuite/lib/libstdc++.exp (libstdc++_init): Search the path
|
|
|
|
for the compiler. Don't set cxxflags.
|
|
|
|
(v3_target_compile): Search for libv3test.a relative to $objdir.
|
|
|
|
(lsearch_all_inline): New.
|
|
|
|
(lsearch_all_inline_not): New.
|
|
|
|
(v3-list-tests): Rewrite to not need generated files.
|
|
|
|
* testsuite/Makefile.am (IGNORE_WCHAR_T): New.
|
|
|
|
(IGNORE_THREAD): New.
|
|
|
|
(TESTS_TO_IGNORE): New.
|
|
|
|
(site.exp): Set tests_to_ignore, cxxflags.
|
|
|
|
* aclocal.m4: Regenerate.
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
* libmath/Makefile.in: Likewise.
|
|
|
|
* libsupc++/Makefile.in: Likewise.
|
|
|
|
* po/Makefile.in: Likewise.
|
|
|
|
* src/Makefile.in: Likewise.
|
|
|
|
* testsuite/Makefile.in: Likewise.
|
|
|
|
|
2005-01-28 18:20:43 +01:00
|
|
|
2005-01-28 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
* include/tr1/type_traits: Implement is_empty.
|
|
|
|
* testsuite/tr1/4_metaprogramming/type_properties/is_empty/
|
|
|
|
is_empty.cc: New.
|
|
|
|
* testsuite/tr1/4_metaprogramming/type_properties/is_empty/
|
|
|
|
typedefs.cc: Likewise.
|
|
|
|
|
|
|
|
* include/tr1/type_traits (__is_abstract_helper): Simplify a bit.
|
|
|
|
|
2005-01-28 14:29:41 +01:00
|
|
|
2005-01-28 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
* include/tr1/type_traits: Implement is_abstract, by exploiting the
|
|
|
|
resolution of DR core/337.
|
|
|
|
* testsuite/testsuite_tr1.h: Add AbstractClass.
|
|
|
|
* testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
|
|
|
|
is_abstract.cc: New.
|
|
|
|
* testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
|
|
|
|
typedefs.cc: Likewise.
|
|
|
|
|
|
|
|
* include/tr1/type_traits (is_function): Rewrite, use the conversion
|
|
|
|
F& -> F* instead, thus avoiding problems with abstract classes.
|
|
|
|
* testsuite/tr1/4_metaprogramming/primary_type_categories/
|
|
|
|
is_function/is_function.cc: Add a test for tricky AbstractClass.
|
|
|
|
|
2005-01-26 17:34:58 +01:00
|
|
|
2005-01-26 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
* include/ext/mt_allocator.h
|
|
|
|
(struct __per_type_pool_policy<,, false>::_S_get_pool,
|
|
|
|
struct __per_type_pool_policy<,, true>::_S_get_pool): Scale
|
|
|
|
_M_chunk_size too with sizeof(_Tp), otherwise the allocator
|
|
|
|
breaks down as soon as sizeof(_Tp) >~ _S_chunk_size / 128;
|
|
|
|
reduce to 64 the multiplier for _M_max_bytes (safer wrt
|
|
|
|
_Binmap_type being a short); trivial reformattings.
|
|
|
|
* testsuite/ext/mt_allocator/check_allocate_big_per_type.cc: New.
|
|
|
|
|
2005-01-26 11:34:53 +01:00
|
|
|
2005-01-26 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
* acinclude.m4 ([GLIBCXX_ENABLE_C99]): Add ac_c99_complex
|
|
|
|
to the final test for enable_c99, thus robustifying it; remove
|
|
|
|
duplicate final test on ac_99_math.
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
|
|
* include/std/std_complex.h: Remove usages of the dead
|
|
|
|
_GLIBCXX_BUGGY_COMPLEX macro.
|
|
|
|
|
|
|
|
* testsuite/26_numerics/cmath/19322.cc: Protect with
|
|
|
|
_GLIBCXX_USE_C99_MATH instead of the stronger _GLIBCXX_USE_C99,
|
|
|
|
since only C99 math facilities are involved.
|
|
|
|
* testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
|
|
|
|
Likewise.
|
|
|
|
|
2005-01-26 00:44:03 +01:00
|
|
|
2005-01-25 Loren J. Rittle <ljrittle@acm.org>
|
|
|
|
|
|
|
|
* acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Map FreeBSD to darwin
|
|
|
|
instead of generic. Change autoconf report to "darwin or freebsd".
|
|
|
|
* configure: Regenerate.
|
|
|
|
* config/os/bsd/freebsd/ctype_inline.h (ctype<wchar_t>::do_is): Add.
|
|
|
|
(ctype<wchar_t>::do_scan_is): Likewise.
|
|
|
|
(ctype<wchar_t>::do_scan_not): Likewise.
|
|
|
|
|
2005-01-25 16:47:35 +01:00
|
|
|
2005-01-25 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
* acinclude.m4 (GLIBCXX_ENABLE_C99): Test for complex math
|
|
|
|
functions, and enable _GLIBCXX_USE_C99_COMPLEX_MATH if they exist.
|
|
|
|
* acconfig.h: Add _GLIBCXX_USE_C99_COMPLEX_MATH.
|
|
|
|
* config.h.in: Regenerate.
|
|
|
|
* configure: Regenerate.
|
|
|
|
* include/std/std_complex.h: Protect complex builtins with
|
|
|
|
_GLIBCXX_USE_C99_COMPLEX_MATH.
|
|
|
|
|
2005-01-24 15:06:13 +01:00
|
|
|
2005-01-24 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
* include/tr1/type_traits: Implement is_signed and is_unsigned.
|
|
|
|
* testsuite/tr1/4_metaprogramming/type_properties/
|
|
|
|
is_signed/is_signed.cc: New.
|
|
|
|
* testsuite/tr1/4_metaprogramming/type_properties/
|
|
|
|
is_signed/typedefs.cc: Likewise.
|
|
|
|
* testsuite/tr1/4_metaprogramming/type_properties/
|
|
|
|
is_unsigned/is_unsigned.cc: Likewise.
|
|
|
|
* testsuite/tr1/4_metaprogramming/type_properties/
|
|
|
|
is_unsigned/typedefs.cc: Likewise.
|
|
|
|
|
2005-01-24 01:03:02 +01:00
|
|
|
2005-01-23 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
* docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 34.
|
|
|
|
|
2005-01-24 00:35:20 +01:00
|
|
|
2005-01-23 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
* testsuite/27_io/basic_ostream/cons/wchar_t/9827.cc: New.
|
|
|
|
* testsuite/27_io/basic_ostream/endl/wchar_t/1.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/ends/wchar_t/1.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/ends/wchar_t/2.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/exceptions/wchar_t/9561.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/flush/wchar_t/1.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/flush/wchar_t/2.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/flush/wchar_t/
|
|
|
|
exceptions_badbit_throw.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/inserters_arithmetic/
|
|
|
|
wchar_t/2.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/inserters_arithmetic/
|
|
|
|
wchar_t/3.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/inserters_arithmetic/
|
|
|
|
wchar_t/4.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/inserters_arithmetic/
|
|
|
|
wchar_t/4402.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/inserters_arithmetic/
|
|
|
|
wchar_t/5.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/inserters_arithmetic/
|
|
|
|
wchar_t/6.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/inserters_arithmetic/
|
|
|
|
wchar_t/9555-oa.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/inserters_arithmetic/
|
|
|
|
wchar_t/exceptions_badbit_throw.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/inserters_arithmetic/
|
|
|
|
wchar_t/exceptions_failbit_throw.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/inserters_character/
|
|
|
|
wchar_t/1.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/inserters_character/
|
|
|
|
wchar_t/2.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/inserters_character/
|
|
|
|
wchar_t/3.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/inserters_character/
|
|
|
|
wchar_t/4.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/inserters_character/
|
|
|
|
wchar_t/5.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/inserters_character/
|
|
|
|
wchar_t/6.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/inserters_character/
|
|
|
|
wchar_t/9555-oc.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/inserters_other/
|
|
|
|
wchar_t/1.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/inserters_other/
|
|
|
|
wchar_t/2.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/inserters_other/
|
|
|
|
wchar_t/3.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/inserters_other/
|
|
|
|
wchar_t/4.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/inserters_other/
|
|
|
|
wchar_t/5.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/inserters_other/
|
|
|
|
wchar_t/9318-out.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/inserters_other/
|
|
|
|
wchar_t/9424-out.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/inserters_other/
|
|
|
|
wchar_t/9555-oo.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/inserters_other/wchar_t/
|
|
|
|
error_failbit.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/inserters_other/wchar_t/
|
|
|
|
exceptions_badbit_throw.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/inserters_other/wchar_t/
|
|
|
|
exceptions_failbit_throw.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/inserters_other/wchar_t/
|
|
|
|
exceptions_null.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/put/wchar_t/1.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/seekp/char/
|
|
|
|
exceptions_badbit_throw.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/seekp/wchar_t/
|
|
|
|
2346-fstream.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/seekp/wchar_t/
|
|
|
|
2346-sstream.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/seekp/wchar_t/
|
|
|
|
exceptions_badbit_throw.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/sentry/wchar_t/1.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/sentry/wchar_t/2.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/tellp/wchar_t/1.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/tellp/wchar_t/2.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/tellp/wchar_t/
|
|
|
|
exceptions_badbit_throw.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/write/wchar_t/1.cc: Likewise.
|
|
|
|
|
|
|
|
* testsuite/data/wostream_inserter_char-1.tst: Likewise.
|
|
|
|
* testsuite/data/wostream_inserter_char-1.txt: Likewise.
|
|
|
|
* testsuite/data/wostream_inserter_other-1.tst: Likewise.
|
|
|
|
* testsuite/data/wostream_inserter_other-2.tst: Likewise.
|
|
|
|
* testsuite/data/wostream_seeks-1.tst: Likewise.
|
|
|
|
|
|
|
|
* testsuite/27_io/basic_ostream/endl/char/1.cc: Minor tweaks.
|
|
|
|
* testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/exceptions/char/9561.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/flush/char/2.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/flush/char/
|
|
|
|
exceptions_badbit_throw.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/inserters_arithmetic/
|
|
|
|
char/2.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/inserters_arithmetic/
|
|
|
|
char/3.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/inserters_arithmetic/
|
|
|
|
char/4.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/inserters_arithmetic/
|
|
|
|
char/4402.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/inserters_arithmetic/
|
|
|
|
char/5.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/inserters_arithmetic/
|
|
|
|
char/6.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/inserters_character/
|
|
|
|
char/4.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/inserters_other/char/
|
|
|
|
2.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/inserters_other/char/
|
|
|
|
5.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/inserters_other/char/
|
|
|
|
error_failbit.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/inserters_other/char/
|
|
|
|
exceptions_badbit_throw.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/inserters_other/char/
|
|
|
|
exceptions_failbit_throw.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/inserters_other/char/
|
|
|
|
exceptions_null.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/seekp/char/
|
|
|
|
exceptions_badbit_throw.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/sentry/char/2.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_ostream/write/char/1.cc: Likewise.
|
|
|
|
|
2005-01-23 12:10:37 +01:00
|
|
|
2005-01-23 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
* include/tr1/type_traits (aligned_storage): Use __aligned__ instead
|
|
|
|
of aligned.
|
|
|
|
|
2005-01-23 11:45:01 +01:00
|
|
|
2005-01-23 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
Andreas Jaeger <aj@suse.de>
|
|
|
|
|
|
|
|
PR libstdc++/19343
|
|
|
|
* include/bits/functexcept.h: Mark the helpers as 'noreturn'.
|
|
|
|
|
2005-01-21 02:37:10 +01:00
|
|
|
2005-01-21 Loren J. Rittle <ljrittle@acm.org>
|
|
|
|
|
|
|
|
* testsuite/27_io/basic_filebuf/open/char/9507.cc: Allow
|
|
|
|
lseek on fifo to succeed. Thus, check for consistent report.
|
|
|
|
|
2005-01-21 02:23:28 +01:00
|
|
|
2005-01-21 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
|
|
|
|
|
|
|
|
PR libstdc++/19510
|
|
|
|
* include/bits/stl_list.h (_List_iterator): Initialize _M_node
|
|
|
|
in constructor.
|
|
|
|
(_List_const_iterator): Likewise.
|
|
|
|
* include/bits/stl_tree.h (_Rb_tree_iterator): Likewise.
|
|
|
|
(_Rb_tree_const_iterator): Likewise.
|
|
|
|
|
|
|
|
* testsuite/23_containers/map/operators/1_neg.cc: Adjust line numbers.
|
|
|
|
* testsuite/23_containers/set/operators/1_neg.cc: Likewise.
|
|
|
|
|
2005-01-20 21:28:41 +01:00
|
|
|
2005-01-20 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
* testsuite/Makefile.am (check-compile): New.
|
|
|
|
* testsuite/Makefile.in: Regenerate.
|
|
|
|
* scripts/check_compile_time: New.
|
|
|
|
* scripts/check_performance: Tweaks.
|
|
|
|
|
2005-01-20 03:13:49 +01:00
|
|
|
2005-01-19 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
PR libstdc++/19535
|
|
|
|
* include/tr1/utility (struct __pair_get<1>::__get, __const_get):
|
|
|
|
Fix typo in the return type.
|
|
|
|
* testsuite/tr1/6_containers/utility/19535.cc: New.
|
|
|
|
|
2005-01-19 22:59:55 +01:00
|
|
|
2005-01-19 Loren J. Rittle <ljrittle@acm.org>
|
|
|
|
|
|
|
|
* include/ext/array_allocator.h (array_allocator<>::allocate):
|
|
|
|
Avoid __used. Use __array_used instead.
|
2005-01-20 20:06:40 +01:00
|
|
|
* docs/html/17_intro/BADNAMES: Add list for FreeBSD.
|
2005-01-19 22:59:55 +01:00
|
|
|
|
2005-01-18 18:08:50 +01:00
|
|
|
2005-01-18 David Edelsohn <edelsohn@gnu.org>
|
|
|
|
|
|
|
|
* config/os/aix/os_defines.h (_XOPEN_SOURCE): Delete.
|
|
|
|
(_XOPEN_SOURCE_EXTENDED): Delete.
|
|
|
|
|
2005-01-18 17:44:51 +01:00
|
|
|
2005-01-18 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
* testsuite/testsuite_performance.h (time_counter::start):
|
|
|
|
Clear. Tweaks.
|
|
|
|
(clear_counters): Inline.
|
|
|
|
(start_counters): Inline.
|
|
|
|
(stop_counters): Inline.
|
|
|
|
* testsuite/performance/20_util/allocator/map_thread.cc: Return.
|
|
|
|
* testsuite/performance/20_util/allocator/insert.cc: Remove bogus
|
|
|
|
return, add return.
|
|
|
|
* testsuite/performance/20_util/allocator/map_thread.cc: Same.
|
|
|
|
|
2005-01-17 15:14:26 +01:00
|
|
|
2005-01-17 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
PR libstdc++/19433
|
|
|
|
* include/bits/stl_tree.h (_Rb_tree<>::insert_unique(iterator,
|
|
|
|
const _Val&), _Rb_tree<>::insert_equal(iterator, const _Val&)):
|
|
|
|
Obtain amortized constant complexity if t is inserted right after
|
|
|
|
p - not before p - as per Table 69.
|
|
|
|
* testsuite/performance/23_containers/set_insert_from_sorted.cc: New.
|
|
|
|
|
|
|
|
* testsuite/23_containers/multiset/insert/2.cc: New.
|
|
|
|
* testsuite/23_containers/set/insert/1.cc: Likewise.
|
|
|
|
|
|
|
|
* testsuite/performance/23_containers/set_create_from_sorted.cc:
|
|
|
|
Simplify.
|
|
|
|
|
|
|
|
* include/bits/stl_tree.h: Add a few missing std:: qualifications.
|
|
|
|
|
2005-01-16 20:16:27 +01:00
|
|
|
2005-01-16 Jonathan Wakely <redi@gcc.gnu.org>
|
|
|
|
|
|
|
|
* include/ext/rope: Qualify calls to std::copy() by sequence_buffer.
|
|
|
|
* testsuite/ext/rope/4.cc: Add.
|
|
|
|
|
2005-01-16 10:59:06 +01:00
|
|
|
2005-01-16 Lorenz Minder <lminder@gmx.net>
|
|
|
|
Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
PR libstdc++/19322
|
|
|
|
* include/c_std/std_cmath.h: Define the C99 classification facilities
|
|
|
|
directly inside namespace std:.
|
|
|
|
* testsuite/26_numerics/cmath/19322.cc: New.
|
|
|
|
|
2005-01-15 18:38:04 +01:00
|
|
|
2005-01-15 David Edelsohn <edelsohn@gnu.org>
|
|
|
|
|
|
|
|
* config/os/aix/os_defines.h (_G_USING_THUNKS): Delete.
|
|
|
|
|
2005-01-14 22:09:38 +01:00
|
|
|
2005-01-14 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
PR libstdc++/19422
|
|
|
|
* include/bits/stl_tree.h (_Rb_tree<>::insert_equal(_II, _II),
|
|
|
|
_Rb_tree<>::insert_unique(_II, _II)): Use insert_equal (insert_unique,
|
|
|
|
respectively) with hint (end()).
|
|
|
|
* testsuite/performance/23_containers/set_create_from_sorted.cc: New.
|
|
|
|
|
2005-01-13 23:48:14 +01:00
|
|
|
2005-01-13 Geoffrey Keating <geoffk@apple.com>
|
|
|
|
|
|
|
|
* configure.host (darwin): On darwin8 or later, no need to build
|
|
|
|
libstdc++ with -flat_namespace.
|
|
|
|
|
2005-01-13 22:10:00 +01:00
|
|
|
2005-01-13 Jonathan Wakely <redi@gcc.gnu.org>
|
|
|
|
|
|
|
|
* docs/doxygen/user.cfg.in: Set HAVE_DOT back to YES.
|
|
|
|
|
2005-01-13 20:33:40 +01:00
|
|
|
2005-01-13 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
* testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
|
|
|
|
Re-enable commented-out test for double type.
|
|
|
|
|
istream.cc (basic_istream<char>::ignore(streamsize), [...]): In case more than numeric_limits<streamsize>::max() chars are skipped...
2005-01-11 Paolo Carlini <pcarlini@suse.de>
Benjamin Kosnik <bkoz@redhat.com>
* src/istream.cc (basic_istream<char>::ignore(streamsize),
basic_istream<char>::ignore(streamsize, int_type),
basic_istream<wchar_t>::ignore(streamsize),
basic_istream<wchar_t>::ignore(streamsize, int_type)): In case
more than numeric_limits<streamsize>::max() chars are skipped,
set _M_gcount = max().
* include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
int_type)): Likewise; keep simple, don't forward.
Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com>
From-SVN: r93208
2005-01-12 00:35:43 +01:00
|
|
|
2005-01-11 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
* src/istream.cc (basic_istream<char>::ignore(streamsize),
|
|
|
|
basic_istream<char>::ignore(streamsize, int_type),
|
|
|
|
basic_istream<wchar_t>::ignore(streamsize),
|
|
|
|
basic_istream<wchar_t>::ignore(streamsize, int_type)): In case
|
|
|
|
more than numeric_limits<streamsize>::max() chars are skipped,
|
|
|
|
set _M_gcount = max().
|
|
|
|
* include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
|
|
|
|
int_type)): Likewise; keep simple, don't forward.
|
|
|
|
|
istream.cc (basic_istream<char>::ignore(streamsize), [...]): Revert 2005-01-05 change...
2005-01-11 Paolo Carlini <pcarlini@suse.de>
* src/istream.cc (basic_istream<char>::ignore(streamsize),
basic_istream<char>::ignore(streamsize, int_type),
basic_istream<wchar_t>::ignore(streamsize),
basic_istream<wchar_t>::ignore(streamsize, int_type)): Revert
2005-01-05 change: actually, the previous behavior is conforming
and consistent with that of get(char_type*, streamsize, char_type),
albeit slightly different from that of 3.3/3.4 in a corner case
due to the use of snextc.
* include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
int_type)): Likewise.
* testsuite/27_io/basic_istream/ignore/char/4.cc: Remove.
* testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
From-SVN: r93189
2005-01-11 17:48:14 +01:00
|
|
|
2005-01-11 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
* src/istream.cc (basic_istream<char>::ignore(streamsize),
|
|
|
|
basic_istream<char>::ignore(streamsize, int_type),
|
|
|
|
basic_istream<wchar_t>::ignore(streamsize),
|
|
|
|
basic_istream<wchar_t>::ignore(streamsize, int_type)): Revert
|
|
|
|
2005-01-05 change: actually, the previous behavior is conforming
|
|
|
|
and consistent with that of get(char_type*, streamsize, char_type),
|
|
|
|
albeit slightly different from that of 3.3/3.4 in a corner case
|
|
|
|
due to the use of snextc.
|
|
|
|
* include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
|
|
|
|
int_type)): Likewise.
|
|
|
|
* testsuite/27_io/basic_istream/ignore/char/4.cc: Remove.
|
|
|
|
* testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
|
|
|
|
|
2005-01-11 13:29:31 +01:00
|
|
|
2005-01-11 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
* include/tr1/type_traits: Implement alignment_of and aligned_storage.
|
|
|
|
* testsuite/tr1/4_metaprogramming/other_transformations/
|
|
|
|
aligned_storage/aligned_storage.cc: New.
|
|
|
|
* testsuite/tr1/4_metaprogramming/other_transformations/
|
|
|
|
aligned_storage/typedefs.cc: Likewise.
|
|
|
|
* testsuite/tr1/4_metaprogramming/type_properties/
|
|
|
|
alignment_of/alignment_of.cc: Likewise.
|
|
|
|
* testsuite/tr1/4_metaprogramming/type_properties/
|
|
|
|
alignment_of/typedefs.cc: Likewise.
|
|
|
|
|
2005-01-10 18:07:50 +01:00
|
|
|
2005-01-10 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
* libmath/Makefile.in: Likewise.
|
|
|
|
* libsupc++/Makefile.in: Likewise.
|
|
|
|
* po/Makefile.in: Likewise.
|
|
|
|
* src/Makefile.in: Likewise.
|
|
|
|
* testsuite/Makefile.in: Likewise.
|
|
|
|
|
|
|
|
2005-01-10 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
* include/bits/stl_algobase.h (lexicographical_compare):
|
|
|
|
Fix concept check.
|
|
|
|
|
2005-01-07 20:34:46 +01:00
|
|
|
2005-01-07 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
* acinclude.m4: Remove CCODECVT_H.
|
|
|
|
* configure: Regenerate.
|
|
|
|
* include/Makefile.am (host_headers_extra): Move to...
|
|
|
|
(ext_headers): ...here.
|
|
|
|
* include/Makefile.in: Regenerate.
|
|
|
|
* include/ext/enc_filebuf: Remove enc_filebuf, consolidate
|
|
|
|
enc_traits to...
|
|
|
|
* config/locale/ieee_1003.1-2001/codecvt_specializations.h: Move...
|
|
|
|
* include/ext/codecvt_specializations.h: ...here. Remove
|
|
|
|
_GLIBCXX_USE___ENC_TRAITS.
|
|
|
|
(__enc_traits): To __encoding_state, put in __gnu_cxx namespace.
|
|
|
|
(enc_char_traits): To __encoding_char_traits, put in __gnu_cxx
|
|
|
|
namespace.
|
|
|
|
* config/locale/generic/codecvt_specializations.h: Remove.
|
|
|
|
* include/bits/codecvt.h: Remove codecvt_specializations.h include.
|
|
|
|
* src/codecvt.cc: Remove __enc_traits::_S_max_size.
|
|
|
|
|
2005-01-06 21:40:25 +01:00
|
|
|
2005-01-06 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
* include/bits/fstream.tcc: Remove unnecessary qualifications for
|
|
|
|
uglified data members of basic_filebuf, including _M_buf,
|
|
|
|
_M_buf_size, _M_mode, _M_pback_init.
|
|
|
|
* include/std/std_fstream.h: Same.
|
|
|
|
|
2005-01-06 08:08:48 +01:00
|
|
|
2005-01-05 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
* testsuite/testsuite_hooks.h:
|
|
|
|
(copy_constructor::mark_call): Use __throw_runtime_error.
|
|
|
|
(assignment_operator::mark_call): Same.
|
|
|
|
* testsuite/testsuite_hooks.cc (verify_demangle): Same.
|
|
|
|
(locale_data): Remove, just use runtime_error directly.
|
|
|
|
(environment_variable): Same.
|
|
|
|
(not_found): Same.
|
|
|
|
(run_tests_wrapped_locale): Use __throw_runtime_error.
|
|
|
|
(run_tests_wrapped_env): Same.
|
|
|
|
(semaphore::semaphore): Same.
|
|
|
|
(semaphore::signal): Same.
|
|
|
|
(semaphore::wait): Same.
|
|
|
|
* testsuite/testsuite_abi.h (symbol_error): Remove, use logic_error.
|
|
|
|
* testsuite/testsuite_abi.cc (get_symbol): Use __throw_logic_error.
|
|
|
|
(create_symbols): Use __throw_runtime_error.
|
|
|
|
* src/bitmap_allocator.cc: Use __throw_bad_alloc.
|
|
|
|
|
2005-01-05 17:13:46 +01:00
|
|
|
2005-01-05 Mark Mitchell <mark@codesourcery.com>
|
|
|
|
|
|
|
|
* testsuite/27_io/basic_filebuf/open/char/9507.cc: Remove child
|
|
|
|
process.
|
|
|
|
|
istream.cc (basic_istream<char>::ignore(streamsize), [...]): At the end, first check _M_gcount vs __n.
2005-01-05 Paolo Carlini <pcarlini@suse.de>
* src/istream.cc (basic_istream<char>::ignore(streamsize),
basic_istream<char>::ignore(streamsize, int_type),
basic_istream<wchar_t>::ignore(streamsize),
basic_istream<wchar_t>::ignore(streamsize, int_type)): At the end,
first check _M_gcount vs __n.
* include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
int_type)): Likewise.
* testsuite/27_io/basic_istream/ignore/char/4.cc: New.
* testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
From-SVN: r92947
2005-01-05 12:11:48 +01:00
|
|
|
2005-01-05 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
* src/istream.cc (basic_istream<char>::ignore(streamsize),
|
|
|
|
basic_istream<char>::ignore(streamsize, int_type),
|
|
|
|
basic_istream<wchar_t>::ignore(streamsize),
|
|
|
|
basic_istream<wchar_t>::ignore(streamsize, int_type)): At the end,
|
|
|
|
first check _M_gcount vs __n.
|
|
|
|
* include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
|
|
|
|
int_type)): Likewise.
|
|
|
|
* testsuite/27_io/basic_istream/ignore/char/4.cc: New.
|
|
|
|
* testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
|
|
|
|
|
2005-01-03 22:31:39 +01:00
|
|
|
2005-01-03 Mark Mitchell <mark@codesourcery.com>
|
|
|
|
|
2005-01-04 02:45:48 +01:00
|
|
|
* testsuite/testsuite_hooks.cc: Use __throw_exception_again
|
|
|
|
instead of just throw.
|
|
|
|
|
2005-01-04 01:17:16 +01:00
|
|
|
* testsuite/testsuite_hooks.cc: Update coypright and follow style
|
|
|
|
guidelines.
|
|
|
|
* testsuite/testsuite_hooks.h: Likewise.
|
|
|
|
* testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
|
|
|
|
semaphores, not sleep.
|
|
|
|
* testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
|
|
|
|
Likewise.
|
|
|
|
* testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
|
|
|
|
* testsuite/27_io/objects/char/7.cc: Likewise.
|
|
|
|
* testsuite/27_io/objects/char/9661-1.cc: Likewise.
|
|
|
|
* testsuite/27_io/objects/wchar_t/7.cc: Likewise.
|
|
|
|
* testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
|
|
|
|
|
2005-01-03 22:31:39 +01:00
|
|
|
* configure.ac: Check for sys/ipc.h and sys/sem.h.
|
|
|
|
* config.h.in: Regenerated.
|
|
|
|
* configure: Likewise.
|
|
|
|
* testsuite/testsuite_hooks.cc (_GLIBCXX_SYSV_SEM): Conditionally
|
|
|
|
define.
|
|
|
|
(sys/types.h): Include.
|
|
|
|
(sys/ipc.h): Likewise.
|
|
|
|
(sys/sem.h): Likewise.
|
|
|
|
(__gnu_test::semun): New type.
|
|
|
|
(__gnu_test::semaphore::sempaphore): New function.
|
|
|
|
(__gnu_test::semaphore::~semaphore): Likewise.
|
|
|
|
(__gnu_test::semaphore::wait): Likewise.
|
|
|
|
(__gnu_test::semaphore::signal): Likewise.
|
|
|
|
* testsuite/testsuite_hooks.h (__gnu_test::semaphore): New class.
|
2005-01-04 01:08:57 +01:00
|
|
|
* testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
|
2005-01-03 22:31:39 +01:00
|
|
|
semaphores, not sleep.
|
|
|
|
* testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
|
|
|
|
Likewise.
|
|
|
|
* testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
|
|
|
|
* testsuite/27_io/objects/char/7.cc: Likewise.
|
|
|
|
* testsuite/27_io/objects/char/9661-1.cc: Likewise.
|
|
|
|
* testsuite/27_io/objects/wchar_t/7.cc: Likewise.
|
2005-01-04 01:08:57 +01:00
|
|
|
* testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
|
2005-01-03 22:31:39 +01:00
|
|
|
|
2005-01-03 15:07:26 +01:00
|
|
|
2005-01-03 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
* include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
|
|
|
|
int_type)): Reset _M_gcount to numeric_limits<streamsize>::min().
|
|
|
|
* src/istream.cc (basic_istream<char>::ignore(streamsize, int_type),
|
|
|
|
basic_istream<wchar_t>::ignore(streamsize, int_type)): Likewise.
|
|
|
|
* src/istream.cc (basic_istream<char>::ignore(streamsize),
|
|
|
|
basic_istream<wchar_t>::ignore(streamsize)): Likewise; fix a typo.
|
|
|
|
|
2005-01-03 01:02:47 +01:00
|
|
|
2005-01-02 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
* src/istream.cc (basic_istream<char>::ignore(streamsize),
|
|
|
|
basic_istream<char>::ignore(streamsize, int_type),
|
|
|
|
basic_istream<wchar_t>::ignore(streamsize),
|
|
|
|
basic_istream<wchar_t>::ignore(streamsize, int_type)): Avoid
|
|
|
|
_M_gcount overflows.
|
|
|
|
* include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
|
|
|
|
int_type)): Likewise; use snextc in the main loop, consistently
|
|
|
|
with the specializations above.
|
|
|
|
|
2005-01-02 18:49:51 +01:00
|
|
|
2005-01-02 Chris Jefferson <chris@bubblescope.net>
|
|
|
|
|
|
|
|
* include/bits/stl_algobase.h (mismatch): Correct concept check.
|
|
|
|
|
2005-01-02 00:14:53 +01:00
|
|
|
2005-01-01 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
* testsuite/ext/enc_filebuf/char/13189.cc: Fix, first include
|
|
|
|
testsuite_hooks.h, to know whether including ext/enc_filebuf.h.
|
|
|
|
* testsuite/ext/enc_filebuf/wchar_t/13189.cc: Likewise.
|
|
|
|
|
2005-01-01 22:03:33 +01:00
|
|
|
2005-01-01 Paolo Carlini <pcarlini@suse.de>
|
2004-12-31 19:15:22 +01:00
|
|
|
|
2005-01-01 22:03:33 +01:00
|
|
|
* testsuite/27_io/basic_istream/extractors_character/char/1.cc: Fix,
|
|
|
|
null-terminate array1 at the outset.
|
|
|
|
* testsuite/27_io/basic_istream/extractors_character/wchar_t/1.cc:
|
2004-01-04 19:34:27 +01:00
|
|
|
Likewise.
|