2006-01-26 12:29:20 +01:00
|
|
|
2006-01-26 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
* include/tr1/cfenv: New.
|
|
|
|
* include/Makefile.am: Add.
|
|
|
|
* testsuite/tr1/8_c_compatibility/cfenv/functions.cc: New.
|
|
|
|
* testsuite/tr1/8_c_compatibility/cfenv/types.cc: Likewise.
|
|
|
|
* acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Add <fenv.h> checks.
|
|
|
|
* docs/html/ext/tr1.html: Update; add note.
|
|
|
|
* include/Makefile.in: Regenerate.
|
|
|
|
* config.h.in: Likewise.
|
|
|
|
* configure: Likewise.
|
|
|
|
|
|
|
|
* testsuite/tr1/8_c_compatibility/complex/functions.cc: Tweak.
|
|
|
|
* testsuite/tr1/8_c_compatibility/cctype/functions.cc: Likewise.
|
|
|
|
|
|
|
|
* docs/html/faq/index.html: Fix link to tr1.html text; fix
|
|
|
|
formatting.
|
|
|
|
|
2006-01-25 20:29:40 +01:00
|
|
|
2006-01-25 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
* include/tr1/cctype: New.
|
|
|
|
* include/Makefile.am: Add.
|
|
|
|
* testsuite/tr1/8_c_compatibility/cctype/functions.cc: New.
|
|
|
|
* include/Makefile.in: Regenerate.
|
|
|
|
|
|
|
|
* acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): New, check for C99
|
|
|
|
support to TR1, Chapter 8.
|
|
|
|
* configure.ac: Use it.
|
|
|
|
* include/tr1/complex: Adjust.
|
|
|
|
* config.h.in: Regenerate.
|
|
|
|
* configure: Likewise.
|
|
|
|
|
2006-01-25 19:22:34 +01:00
|
|
|
2006-01-25 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
* docs/html/configopts.html: Tweak docs.
|
|
|
|
|
|
|
|
* libsupc++/eh_personality.cc: Fix typos.
|
|
|
|
|
2006-01-25 00:12:26 +01:00
|
|
|
2006-01-24 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
PR libstdc++/25649
|
|
|
|
* include/std/std_istream.h (operator>>(short&), operator>>(int&)):
|
|
|
|
Move out of line...
|
|
|
|
* include/bits/istream.tcc: ... here.
|
|
|
|
* include/std/std_ostream.h (operator<<(short), operator<<(int)):
|
|
|
|
Move out of line...
|
|
|
|
* include/bits/ostream.tcc: ... here.
|
|
|
|
|
2006-01-24 11:15:27 +01:00
|
|
|
2006-01-24 Ed Smith-Rowland <3dw4rd@verizon.net>
|
|
|
|
|
|
|
|
* docs/html/faq/index.html ([5.2]): Mention TR1 and point to
|
|
|
|
paragraph [5.5], describing it.
|
|
|
|
([5.5]): New.
|
|
|
|
* docs/html/ext/tr1.html: New.
|
|
|
|
|
2006-01-20 23:24:43 +01:00
|
|
|
2006-01-20 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
* acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Verbose ld version
|
|
|
|
reporting. Disable --gc-sections for old binutils, by version.
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2006-01-20 22:00:03 +01:00
|
|
|
2006-01-20 Joseph S. Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
PR libstdc++/25524
|
|
|
|
* include/Makefile.am: Install host-specific headers in multilib
|
|
|
|
subdirectory.
|
|
|
|
* include/Makefile.in: Regenerate.
|
|
|
|
|
Implement list::splice (and merge) bits of N1599
2006-01-19 Paolo Carlini <pcarlini@suse.de>
Implement list::splice (and merge) bits of N1599
* include/bits/stl_list.h (list<>::_M_check_equal_allocators): New.
(list<>::splice(iterator, list&), splice(iterator, list&, iterator),
splice(iterator, list&, iterator, iterator)): Use it.
* include/bits/stl_list.h (list<>::merge(list&), merge(list&,
_StrictWeakOrdering)): Likewise.
* testsuite/23_containers/list/operators/5.cc: New.
From-SVN: r110011
2006-01-20 03:38:54 +01:00
|
|
|
2006-01-19 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
Implement list::splice (and merge) bits of N1599
|
|
|
|
* include/bits/stl_list.h (list<>::_M_check_equal_allocators): New.
|
|
|
|
(list<>::splice(iterator, list&), splice(iterator, list&, iterator),
|
|
|
|
splice(iterator, list&, iterator, iterator)): Use it.
|
2006-01-23 11:54:23 +01:00
|
|
|
* include/bits/list.tcc (list<>::merge(list&), merge(list&,
|
Implement list::splice (and merge) bits of N1599
2006-01-19 Paolo Carlini <pcarlini@suse.de>
Implement list::splice (and merge) bits of N1599
* include/bits/stl_list.h (list<>::_M_check_equal_allocators): New.
(list<>::splice(iterator, list&), splice(iterator, list&, iterator),
splice(iterator, list&, iterator, iterator)): Use it.
* include/bits/stl_list.h (list<>::merge(list&), merge(list&,
_StrictWeakOrdering)): Likewise.
* testsuite/23_containers/list/operators/5.cc: New.
From-SVN: r110011
2006-01-20 03:38:54 +01:00
|
|
|
_StrictWeakOrdering)): Likewise.
|
|
|
|
* testsuite/23_containers/list/operators/5.cc: New.
|
|
|
|
|
2006-01-19 23:36:41 +01:00
|
|
|
2006-01-19 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
PR libstdc++/25797
|
|
|
|
* acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Remove -Werror
|
|
|
|
from CFLAGS. Check if linker really supports --gc-sections.
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
2006-01-18 17:31:00 +01:00
|
|
|
2006-01-18 Paul Brook <paul@codesourcery.com>
|
|
|
|
|
|
|
|
* libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Use std::abort.
|
|
|
|
|
2006-01-18 15:30:16 +01:00
|
|
|
2006-01-18 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
* include/bits/allocator.h: Include <bits/cpp_type_traits.h>.
|
|
|
|
|
2006-01-18 12:22:10 +01:00
|
|
|
2006-01-18 Perry Smith <pedz@easesoftware.net>
|
|
|
|
|
|
|
|
PR libstdc++/25823
|
|
|
|
PR libstdc++/25824
|
|
|
|
* libsupc++/eh_alloc.cc: Fix return type of memset declaration.
|
|
|
|
* libsupc++/eh_globals.cc: If !_GLIBCXX_HOSTED declare malloc and free.
|
|
|
|
|
|
|
|
2006-01-18 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
* include/ext/pb_assoc/detail/value_type_adapter/
|
|
|
|
value_type_adapter.hpp: Include <tr1/type_traits>.
|
|
|
|
* include/ext/pb_assoc/detail/value_type_adapter/
|
|
|
|
it_value_type_traits.hpp (it_value_type_traits_<>::value_type_holder):
|
|
|
|
Use tr1::aligned_storage and tr1::alignment_of.
|
|
|
|
(it_value_type_traits_<>::buf_t): Remove.
|
|
|
|
(it_value_type_traits_<>::make_valid, recast): Adjust.
|
|
|
|
|
2006-01-16 23:25:13 +01:00
|
|
|
2006-01-16 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
PR libstdc++/25797
|
|
|
|
* acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Add -Werror to
|
|
|
|
CFLAGS for --gc-sections test. Correct compile test.
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
re PR libstdc++/25626 (Valarray vs non-POD)
2006-01-15 Paolo Carlini <pcarlini@suse.de>
Gabriel Dos Reis <gdr@integrable-solutions.net>
PR libstdc++/25626
* include/std/std_valarray.h (valarray(const slice_array<>&),
valarray(const gslice_array<>&), valarray(const mask_array<>&),
valarray(const indirect_array<>&), valarray(const _Expr<>&)):
Forward to __valarray_copy_construct, not __valarray_copy.
* include/bits/valarray_array.h
(__valarray_copy_construct(_Array<>, _Array<>, _Array<>, size_t),
__valarray_copy_construct(_Array<>, size_t, size_t, _Array<>)):
New.
Co-Authored-By: Gabriel Dos Reis <gdr@integrable-solutions.net>
From-SVN: r109726
2006-01-15 19:04:31 +01:00
|
|
|
2006-01-15 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
Gabriel Dos Reis <gdr@integrable-solutions.net>
|
|
|
|
|
|
|
|
PR libstdc++/25626
|
|
|
|
* include/std/std_valarray.h (valarray(const slice_array<>&),
|
|
|
|
valarray(const gslice_array<>&), valarray(const mask_array<>&),
|
|
|
|
valarray(const indirect_array<>&), valarray(const _Expr<>&)):
|
|
|
|
Forward to __valarray_copy_construct, not __valarray_copy.
|
|
|
|
* include/bits/valarray_array.h
|
|
|
|
(__valarray_copy_construct(_Array<>, _Array<>, _Array<>, size_t),
|
|
|
|
__valarray_copy_construct(_Array<>, size_t, size_t, _Array<>)):
|
|
|
|
New.
|
|
|
|
|
2006-01-15 18:52:36 +01:00
|
|
|
2006-01-15 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
* testsuite/tr1/8_c_compatibility/complex/overloads_int.cc:
|
|
|
|
Fix norm test, use casts everywhere.
|
|
|
|
|
2006-01-14 21:59:41 +01:00
|
|
|
2006-01-14 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
* testsuite/testsuite_tr1.h: Add missing include; use std::__are_same.
|
|
|
|
|
2006-01-14 11:15:50 +01:00
|
|
|
2006-01-14 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
* testsuite/tr1/8_c_compatibility/complex/overloads_int.cc:
|
|
|
|
Fix wrong test (don't pick by mistake the (const complex<>&, int)
|
|
|
|
overload); add some.
|
|
|
|
|
complex (arg, [...]): Add, implementing TR1, 8.1.9.
2006-01-13 Paolo Carlini <pcarlini@suse.de>
Howard Hinnant <hhinnant@apple.com>
* include/tr1/complex (arg, conj, imag, norm, polar, pow, real):
Add, implementing TR1, 8.1.9.
(__promote_2): New.
* include/tr1/common.h: New, provides __promote, __promote_2.
* include/Makefile.am: Add.
* include/Makefile.in: Regenerate.
* testsuite/testsuite_tr1.h (check_ret_type): New.
* testsuite/tr1/8_c_compatibility/complex/overloads_int.cc: New.
* testsuite/tr1/8_c_compatibility/complex/overloads_float.cc: New.
Co-Authored-By: Howard Hinnant <hhinnant@apple.com>
From-SVN: r109663
2006-01-13 10:45:57 +01:00
|
|
|
2006-01-13 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
Howard Hinnant <hhinnant@apple.com>
|
|
|
|
|
|
|
|
* include/tr1/complex (arg, conj, imag, norm, polar, pow, real):
|
|
|
|
Add, implementing TR1, 8.1.9.
|
|
|
|
(__promote_2): New.
|
|
|
|
* include/tr1/common.h: New, provides __promote, __promote_2.
|
|
|
|
* include/Makefile.am: Add.
|
|
|
|
* include/Makefile.in: Regenerate.
|
|
|
|
* testsuite/testsuite_tr1.h (check_ret_type): New.
|
|
|
|
* testsuite/tr1/8_c_compatibility/complex/overloads_int.cc: New.
|
|
|
|
* testsuite/tr1/8_c_compatibility/complex/overloads_float.cc: New.
|
|
|
|
|
2006-01-13 04:58:38 +01:00
|
|
|
2006-01-12 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
* acinclude.m4(GLIBCXX_CHECK_LINKER_FEATURES): Enable
|
|
|
|
--gc-sections in more cases.
|
|
|
|
* configure: Regenerate.
|
|
|
|
* scripts/testsuite_flags.in: Remove SECTION_LDFLAGS.
|
|
|
|
* scripts/testsuite_flags.in (cxxldflags): New.
|
|
|
|
* testsuite/lib/libstdc++.exp (v3_target_compile): Add cxxldflags.
|
|
|
|
(libstdc++_init ): Same.
|
|
|
|
|
2006-01-12 08:47:14 +01:00
|
|
|
2006-01-12 Jan Beulich <jbeulich@novell.com>
|
|
|
|
|
|
|
|
* crossconfig.m4: Add AC_DEFINE-s for HAVE_HYPOT, HAVE_ISINF, and
|
|
|
|
HAVE_ISNAN for *-*-netware*.
|
|
|
|
* configure: Refresh.
|
|
|
|
|
2006-01-12 01:17:38 +01:00
|
|
|
2006-01-11 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
2006-01-13 04:58:38 +01:00
|
|
|
* acinclude.m4(GLIBCXX_CHECK_LINKER_FEATURES): Use -Wl,-z,relro if
|
|
|
|
possible.
|
2006-01-12 01:17:38 +01:00
|
|
|
* configure: Regenerate.
|
|
|
|
|
2006-01-10 19:15:34 +01:00
|
|
|
2006-01-10 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
* include/tr1/complex: New file, hosts the additions to header
|
|
|
|
<complex> described in TR1, Chapter 8 [tr.c99].
|
|
|
|
* include/Makefile.am: Add.
|
|
|
|
* include/Makefile.in: Regenerate.
|
|
|
|
* testsuite/tr1/8_c_compatibility/complex/functions.cc: New.
|
|
|
|
|
2006-01-09 12:37:17 +01:00
|
|
|
2006-01-09 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
PR libstdc++/25658
|
|
|
|
* testsuite/23_containers/deque/cons/assign/1.cc: Divide
|
|
|
|
sizes by 10.
|
|
|
|
|
2006-01-08 18:34:32 +01:00
|
|
|
2006-01-08 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
PR libstdc++/22102 (insert as close to hint as possible)
|
|
|
|
* include/bits/stl_tree.h (_Rb_tree<>::_M_insert_lower,
|
|
|
|
_M_insert_equal_lower): New.
|
|
|
|
(_M_insert_equal(iterator, const _Val&),
|
|
|
|
_M_insert_equal(const_iterator, const _Val&)): Use the above.
|
|
|
|
* docs/html/ext/howto.html: Add an entry for DR 233.
|
|
|
|
* testsuite/23_containers/multiset/modifiers/insert/22102.cc: New.
|
|
|
|
* testsuite/23_containers/multimap/modifiers/insert/22102.cc: New.
|
|
|
|
|
|
|
|
* testsuite/23_containers/set/insert/: Move...
|
|
|
|
* testsuite/23_containers/set/modifiers/insert/: ...here.
|
|
|
|
* testsuite/23_containers/map/insert/: Move...
|
|
|
|
* testsuite/23_containers/map/modifiers/insert/: ...here.
|
|
|
|
* testsuite/23_containers/multiset/insert/: Move...
|
|
|
|
* testsuite/23_containers/multiset/modifiers/insert/: ...here.
|
|
|
|
|
2006-01-06 20:11:06 +01:00
|
|
|
2006-01-06 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
* include/bits/stl_tree.h (_Rb_tree<>::insert_unique): Rename
|
|
|
|
to _M_insert_unique.
|
|
|
|
(_Rb_tree<>::insert_equal): Rename to _M_insert_equal.
|
|
|
|
* include/bits/stl_map.h (class map<>): Update callers.
|
|
|
|
* include/bits/stl_set.h (class set<>): Likewise.
|
|
|
|
* include/bits/stl_multimap.h (class multimap<>): Likewise.
|
|
|
|
* include/bits/stl_multiset.h (class multiset<>): Likewise.
|
|
|
|
|
stl_bvector.h (vector<bool>::erase(iterator, iterator)): Just use _M_erase_at_end.
2006-01-06 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_bvector.h (vector<bool>::erase(iterator,
iterator)): Just use _M_erase_at_end.
2006-01-06 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_bvector.h (class vector<bool>): Move all the
helpers under protected access mode, consistently with the primary
vector template.
(vector<bool>::_M_erase_at_end): Add.
(erase(iterator, iterator), clear, resize, _M_fill_assign,
_M_assign_aux): Use it.
* testsuite/23_containers/vector/bool/modifiers/erase/1.cc: New.
2006-01-06 Paolo Carlini <pcarlini@suse.de>
Implement Option 3 of DR 431 for vector<bool>.
* include/bits/stl_bvector.h (class _Bvector_base): Change to
a struct, consistently with the primary vector template.
(class vector<bool>): Adjust to protected inheritance, tidy
typedefs.
(_Bvector_base<>::_M_get_Bit_allocator): Add.
(vector<bool>::vector(const vector&)): Use it.
(_Bvector_base<>::get_allocator): Tidy.
(vector<bool>::swap): Use __alloc_swap.
* testsuite/23_containers/vector/bool/modifiers/swap/1.cc: New.
* testsuite/23_containers/vector/bool/modifiers/swap/2.cc: New.
From-SVN: r109415
2006-01-06 12:23:02 +01:00
|
|
|
2006-01-06 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
* include/bits/stl_bvector.h (vector<bool>::erase(iterator,
|
|
|
|
iterator)): Just use _M_erase_at_end.
|
|
|
|
|
|
|
|
2006-01-06 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
* include/bits/stl_bvector.h (class vector<bool>): Move all the
|
|
|
|
helpers under protected access mode, consistently with the primary
|
|
|
|
vector template.
|
|
|
|
(vector<bool>::_M_erase_at_end): Add.
|
|
|
|
(erase(iterator, iterator), clear, resize, _M_fill_assign,
|
|
|
|
_M_assign_aux): Use it.
|
|
|
|
* testsuite/23_containers/vector/bool/modifiers/erase/1.cc: New.
|
|
|
|
|
|
|
|
2006-01-06 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
Implement Option 3 of DR 431 for vector<bool>.
|
|
|
|
* include/bits/stl_bvector.h (class _Bvector_base): Change to
|
|
|
|
a struct, consistently with the primary vector template.
|
|
|
|
(class vector<bool>): Adjust to protected inheritance, tidy
|
|
|
|
typedefs.
|
|
|
|
(_Bvector_base<>::_M_get_Bit_allocator): Add.
|
|
|
|
(vector<bool>::vector(const vector&)): Use it.
|
|
|
|
(_Bvector_base<>::get_allocator): Tidy.
|
|
|
|
(vector<bool>::swap): Use __alloc_swap.
|
|
|
|
* testsuite/23_containers/vector/bool/modifiers/swap/1.cc: New.
|
|
|
|
* testsuite/23_containers/vector/bool/modifiers/swap/2.cc: New.
|
|
|
|
|
2006-01-06 03:11:55 +01:00
|
|
|
2006-01-05 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
* testsuite/testsuite_hooks.h (test_tm(unsigned)): Change to
|
|
|
|
take all the tm members.
|
|
|
|
* testsuite/testsuite_hooks.cc (test_tm): Adjust.
|
|
|
|
* testsuite/22_locale/time_put/put/wchar_t/10.cc: Update.
|
|
|
|
* testsuite/22_locale/time_put/put/wchar_t/1.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_put/put/wchar_t/5.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_put/put/wchar_t/9.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_put/put/wchar_t/17038.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_put/put/char/10.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_put/put/char/1.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_put/put/char/2.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_put/put/char/3.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_put/put/char/4.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_put/put/char/5.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_put/put/char/6.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_put/put/char/7.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_put/put/char/8.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_put/put/char/9.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_put/put/char/17038.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_year/wchar_t/3.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_year/char/1.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_year/char/3.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_monthname/char/1.cc: Likewise.
|
stl_bvector.h (vector<bool>::erase(iterator, iterator)): Just use _M_erase_at_end.
2006-01-06 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_bvector.h (vector<bool>::erase(iterator,
iterator)): Just use _M_erase_at_end.
2006-01-06 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_bvector.h (class vector<bool>): Move all the
helpers under protected access mode, consistently with the primary
vector template.
(vector<bool>::_M_erase_at_end): Add.
(erase(iterator, iterator), clear, resize, _M_fill_assign,
_M_assign_aux): Use it.
* testsuite/23_containers/vector/bool/modifiers/erase/1.cc: New.
2006-01-06 Paolo Carlini <pcarlini@suse.de>
Implement Option 3 of DR 431 for vector<bool>.
* include/bits/stl_bvector.h (class _Bvector_base): Change to
a struct, consistently with the primary vector template.
(class vector<bool>): Adjust to protected inheritance, tidy
typedefs.
(_Bvector_base<>::_M_get_Bit_allocator): Add.
(vector<bool>::vector(const vector&)): Use it.
(_Bvector_base<>::get_allocator): Tidy.
(vector<bool>::swap): Use __alloc_swap.
* testsuite/23_containers/vector/bool/modifiers/swap/1.cc: New.
* testsuite/23_containers/vector/bool/modifiers/swap/2.cc: New.
From-SVN: r109415
2006-01-06 12:23:02 +01:00
|
|
|
* testsuite/22_locale/time_get/get_monthname/char/2.cc: Likewise.
|
2006-01-06 03:11:55 +01:00
|
|
|
* testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_weekday/wchar_t/3.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_weekday/char/1.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_weekday/char/2.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_weekday/char/3.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_date/wchar_t/3.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_date/char/12750.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_date/char/12750.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_date/char/1.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_date/char/2.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_date/char/3.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_time/wchar_t/3.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_time/wchar_t/4.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_time/char/1.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_time/char/2.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_time/char/3.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_time/char/4.cc: Likewise.
|
|
|
|
|
2006-01-06 01:06:52 +01:00
|
|
|
2006-01-05 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
* testsuite/testsuite_hooks.h (test_tm(unsigned)): New.
|
|
|
|
* testsuite/testsuite_hooks.cc (test_tm(unsigned)): Define.
|
|
|
|
* testsuite/22_locale/time_put/put/wchar_t/10.cc: Use it.
|
|
|
|
* testsuite/22_locale/time_put/put/wchar_t/1.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_put/put/wchar_t/5.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_put/put/wchar_t/9.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_put/put/wchar_t/17038.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_put/put/char/10.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_put/put/char/1.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_put/put/char/2.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_put/put/char/3.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_put/put/char/4.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_put/put/char/5.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_put/put/char/6.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_put/put/char/7.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_put/put/char/8.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_put/put/char/9.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_put/put/char/17038.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_year/wchar_t/3.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_year/char/1.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_year/char/3.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_monthname/char/1.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_monthname/char/2.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_weekday/wchar_t/3.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_weekday/char/1.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_weekday/char/2.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_weekday/char/3.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_date/wchar_t/3.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_date/char/12750.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_date/char/12750.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_date/char/1.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_date/char/2.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_date/char/3.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_time/wchar_t/3.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_time/wchar_t/4.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_time/char/1.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_time/char/2.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_time/char/3.cc: Likewise.
|
|
|
|
* testsuite/22_locale/time_get/get_time/char/4.cc: Likewise.
|
|
|
|
|
2006-01-04 12:34:24 +01:00
|
|
|
2006-01-04 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
* include/ext/sso_string_base.h (__sso_string_base<>::_M_dataplus):
|
|
|
|
Use _CharT_alloc_type as base class.
|
|
|
|
(_M_get_allocator, _M_swap, _M_create, _M_destroy): Adjust.
|
|
|
|
* include/ext/vstring.h (get_allocator): Tidy.
|
|
|
|
|
|
|
|
2006-01-04 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
Implement Option 3 of DR 431 for all the containers.
|
|
|
|
* include/bits/allocator.h (struct __alloc_swap): Add, swaps
|
|
|
|
allocators, optimized to nothing in case they are empty.
|
|
|
|
* include/bits/stl_deque.h (deque<>::swap): Use it.
|
|
|
|
* include/bits/stl_list.h (list<>::swap): Likewise.
|
|
|
|
* include/bits/stl_tree.h (_Rb_tree<>::swap): Likewise.
|
|
|
|
* include/bits/stl_vector.h (vector<>::swap): Likewise.
|
|
|
|
* include/tr1/hashtable (hashtable<>::swap): Likewise.
|
|
|
|
* include/ext/rc_string_base.h (__rc_string_base<>::_M_swap):
|
|
|
|
Likewise.
|
|
|
|
* include/ext/sso_string_base.h (__sso_string_base<>::_M_swap):
|
|
|
|
Likewise.
|
|
|
|
* include/ext/vstring_util.h (__vstring_utility<>::_Alloc_hider):
|
|
|
|
Clean-up (now vstring uses the generic __alloc_swap facility).
|
|
|
|
* include/tr1/unordered_map: Adjust includes.
|
|
|
|
* include/tr1/unordered_set: Likewise.
|
|
|
|
* docs/html/ext/howto.html: Add an entry for DR 431.
|
|
|
|
* testsuite/23_containers/deque/modifiers/swap.cc: Move to...
|
|
|
|
* testsuite/23_containers/deque/modifiers/swap/1.cc: ... here.
|
|
|
|
* testsuite/23_containers/deque/modifiers/swap/2.cc: New.
|
|
|
|
* testsuite/23_containers/deque/modifiers/swap/3.cc: New.
|
|
|
|
* testsuite/23_containers/list/modifiers/swap.cc: Move to...
|
|
|
|
* testsuite/23_containers/list/modifiers/swap/1.cc: ... here.
|
|
|
|
* testsuite/23_containers/list/modifiers/swap/2.cc: New.
|
|
|
|
* testsuite/23_containers/list/modifiers/swap/3.cc: New.
|
|
|
|
* testsuite/23_containers/vector/modifiers/swap.cc: Move to...
|
|
|
|
* testsuite/23_containers/vector/modifiers/swap/1.cc: ... here.
|
|
|
|
* testsuite/23_containers/vector/modifiers/swap/2.cc: New.
|
|
|
|
* testsuite/23_containers/vector/modifiers/swap/3.cc: New.
|
|
|
|
* testsuite/23_containers/set/modifiers/swap.cc: Move to...
|
|
|
|
* testsuite/23_containers/set/modifiers/swap/1.cc: ... here.
|
|
|
|
* testsuite/23_containers/set/modifiers/swap/2.cc: New.
|
|
|
|
* testsuite/23_containers/set/modifiers/swap/3.cc: New.
|
|
|
|
* testsuite/23_containers/map/modifiers/swap.cc: Move to...
|
|
|
|
* testsuite/23_containers/map/modifiers/swap/1.cc: ... here.
|
|
|
|
* testsuite/23_containers/map/modifiers/swap/2.cc: New.
|
|
|
|
* testsuite/23_containers/map/modifiers/swap/3.cc: New.
|
|
|
|
* testsuite/23_containers/multiset/modifiers/swap.cc: Move to...
|
|
|
|
* testsuite/23_containers/multiset/modifiers/swap/1.cc: ... here.
|
|
|
|
* testsuite/23_containers/multiset/modifiers/swap/2.cc: New.
|
|
|
|
* testsuite/23_containers/multiset/modifiers/swap/3.cc: New.
|
|
|
|
* testsuite/23_containers/multimap/modifiers/swap.cc: Move to...
|
|
|
|
* testsuite/23_containers/multimap/modifiers/swap/1.cc: ... here.
|
|
|
|
* testsuite/23_containers/multimap/modifiers/swap/2.cc: New.
|
|
|
|
* testsuite/23_containers/multimap/modifiers/swap/3.cc: New.
|
|
|
|
* testsuite/tr1/6_containers/unordered/swap/unordered_set/1.cc: New.
|
|
|
|
* testsuite/tr1/6_containers/unordered/swap/unordered_set/2.cc: New.
|
|
|
|
* testsuite/tr1/6_containers/unordered/swap/unordered_map/1.cc: New.
|
|
|
|
* testsuite/tr1/6_containers/unordered/swap/unordered_map/2.cc: New.
|
|
|
|
* testsuite/tr1/6_containers/unordered/swap/unordered_multiset/1.cc: New.
|
|
|
|
* testsuite/tr1/6_containers/unordered/swap/unordered_multiset/2.cc: New.
|
|
|
|
* testsuite/tr1/6_containers/unordered/swap/unordered_multimap/1.cc: New.
|
|
|
|
* testsuite/tr1/6_containers/unordered/swap/unordered_multimap/2.cc: New.
|
|
|
|
|
2006-01-03 14:19:23 +01:00
|
|
|
2006-01-03 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
* include/bits/stl_list.h (_List_base<>::_M_get_Node_allocator): Add.
|
|
|
|
(_M_get_Tp_allocator, get_allocator): Tidy.
|
|
|
|
(list<>::list(const list&), insert(iterator, size_type, const
|
|
|
|
value_type&), insert(iterator, _InputIterator, _InputIterator)):
|
|
|
|
Use _M_get_Node_allocator.
|
|
|
|
* include/bits/stl_tree.h (_Rb_tree<>::_M_get_Node_allocator()): Add.
|
|
|
|
(_Rb_tree(const _Rb_tree<>&): Use it.
|
|
|
|
* include/bits/stl_deque.h (_Deque_base<>::_M_get_map_allocator,
|
|
|
|
get_allocator): Tidy.
|
|
|
|
* include/bits/stl_vector.h (_Vector_base<>::get_allocator): Tidy.
|
|
|
|
* testsuite/23_containers/map/operators/1_neg.cc: Adjust dg-error
|
|
|
|
line numbers.
|
|
|
|
* testsuite/23_containers/set/operators/1_neg.cc: Likewise.
|
|
|
|
|
|
|
|
* testsuite/testsuite_allocator.h (uneq_allocator<>::swap): Fix.
|
|
|
|
|
|
|
|
* testsuite/testsuite_allocator.h (class uneq_allocator): A simple
|
|
|
|
non-empty testing allocator which can be endowed of a "personality"
|
|
|
|
at construction time.
|
|
|
|
|
2006-01-03 11:29:25 +01:00
|
|
|
2006-01-03 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
* testsuite/27_io/basic_stringstream/str/char/1.cc: Initialize vars.
|
|
|
|
* testsuite/27_io/basic_stringstream/str/wchar_t/1.cc: Likewise.
|
|
|
|
* testsuite/27_io/basic_istringstream/str/char/1.cc: Likewise, tidy.
|
|
|
|
* testsuite/27_io/basic_istringstream/str/wchar_t/1.cc: Likewise.
|
|
|
|
|
2006-01-03 01:30:27 +01:00
|
|
|
2006-01-02 Mark Mitchell <mark@codesourcery.com>
|
|
|
|
|
|
|
|
* src/Makefile.am (LTLDFLAGS): New variable.
|
|
|
|
(CXXLINK): Use LTLDFLAGS.
|
|
|
|
* src/Makefile.in: Regenerated.
|
|
|
|
* libsupc++/Makefile.am (LTLDFLAGS): New variable.
|
|
|
|
(CXXLINK): Use LTLDFLAGS.
|
|
|
|
* libsupc++/Makefile.in: Regenerated.
|
|
|
|
|
re PR libstdc++/24645 (Commonize arithmetic inserters/extractors bodies)
2006-01-02 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/24645
* include/std/std_istream.h (basic_istream<>::_M_extract): New.
(operator>>(bool&), operator>>(short&), operator>>(unsigned short&),
operator>>(int&), operator>>(unsigned int&), operator>>(long&),
operator>>(unsigned long&), operator>>(long long&), operator>>
(unsigned long long&), operator>>(float&), operator>>(double&),
operator>>(long double&), operator>>(void*&)): Use it.
* include/bits/istream.tcc (basic_istream<>::_M_extract): Define.
* include/std/std_ostream.h (basic_ostream<>::_M_insert): New.
(operator<<(long), operator<<(unsigned long), operator<<(bool),
operator<<(short), operator<<(unsigned short), operator<<(int),
operator<<(unsigned int), operator<<(long long), operator<<
(unsigned long long), operator<<(double), operator<<(float),
operator<<(long double), operator<<(const void*): Use it.
* include/bits/ostream.tcc (basic_ostream<>::_M_insert): Define.
* src/istream-inst.cc: Add _M_insert instantiations.
* src/ostream-inst.cc: Add _M_extract instantiations.
* config/abi/pre/gnu.ver: Export the new symbols @GLIBCXX_3.4.7;
detail existing @GLIBCXX_3.4 exports of basic_ostream, num_put,
money_put, etc., symbols to avoid exporting _M_insert symbols
@GLIBCXX_3.4.
From-SVN: r109236
2006-01-02 10:57:49 +01:00
|
|
|
2006-01-02 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
|
|
|
|
PR libstdc++/24645
|
|
|
|
* include/std/std_istream.h (basic_istream<>::_M_extract): New.
|
|
|
|
(operator>>(bool&), operator>>(short&), operator>>(unsigned short&),
|
|
|
|
operator>>(int&), operator>>(unsigned int&), operator>>(long&),
|
|
|
|
operator>>(unsigned long&), operator>>(long long&), operator>>
|
|
|
|
(unsigned long long&), operator>>(float&), operator>>(double&),
|
|
|
|
operator>>(long double&), operator>>(void*&)): Use it.
|
|
|
|
* include/bits/istream.tcc (basic_istream<>::_M_extract): Define.
|
|
|
|
* include/std/std_ostream.h (basic_ostream<>::_M_insert): New.
|
|
|
|
(operator<<(long), operator<<(unsigned long), operator<<(bool),
|
|
|
|
operator<<(short), operator<<(unsigned short), operator<<(int),
|
|
|
|
operator<<(unsigned int), operator<<(long long), operator<<
|
|
|
|
(unsigned long long), operator<<(double), operator<<(float),
|
|
|
|
operator<<(long double), operator<<(const void*): Use it.
|
|
|
|
* include/bits/ostream.tcc (basic_ostream<>::_M_insert): Define.
|
2006-01-04 12:34:24 +01:00
|
|
|
* src/istream-inst.cc: Add _M_extract instantiations.
|
|
|
|
* src/ostream-inst.cc: Add _M_insert instantiations.
|
re PR libstdc++/24645 (Commonize arithmetic inserters/extractors bodies)
2006-01-02 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/24645
* include/std/std_istream.h (basic_istream<>::_M_extract): New.
(operator>>(bool&), operator>>(short&), operator>>(unsigned short&),
operator>>(int&), operator>>(unsigned int&), operator>>(long&),
operator>>(unsigned long&), operator>>(long long&), operator>>
(unsigned long long&), operator>>(float&), operator>>(double&),
operator>>(long double&), operator>>(void*&)): Use it.
* include/bits/istream.tcc (basic_istream<>::_M_extract): Define.
* include/std/std_ostream.h (basic_ostream<>::_M_insert): New.
(operator<<(long), operator<<(unsigned long), operator<<(bool),
operator<<(short), operator<<(unsigned short), operator<<(int),
operator<<(unsigned int), operator<<(long long), operator<<
(unsigned long long), operator<<(double), operator<<(float),
operator<<(long double), operator<<(const void*): Use it.
* include/bits/ostream.tcc (basic_ostream<>::_M_insert): Define.
* src/istream-inst.cc: Add _M_insert instantiations.
* src/ostream-inst.cc: Add _M_extract instantiations.
* config/abi/pre/gnu.ver: Export the new symbols @GLIBCXX_3.4.7;
detail existing @GLIBCXX_3.4 exports of basic_ostream, num_put,
money_put, etc., symbols to avoid exporting _M_insert symbols
@GLIBCXX_3.4.
From-SVN: r109236
2006-01-02 10:57:49 +01:00
|
|
|
* config/abi/pre/gnu.ver: Export the new symbols @GLIBCXX_3.4.7;
|
|
|
|
detail existing @GLIBCXX_3.4 exports of basic_ostream, num_put,
|
|
|
|
money_put, etc., symbols to avoid exporting _M_insert symbols
|
|
|
|
@GLIBCXX_3.4.
|