Age | Commit message (Collapse) | Author |
|
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@106279 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
PR libstdc++/20213
* include/c_std/std_csignal.h: Adjust comment as per 17.4.1.2/4.
* include/c_std/std_cstdlib.h: Likewise.
* include/c_std/std_cstdio.h: Likewise.
* include/c_std/std_cstdarg.h: Likewise.
* include/c_std/std_cctype.h: Likewise.
* include/c_std/std_cerrno.h: Likewise.
* include/c_std/std_cmath.h: Likewise.
* include/c_std/std_ciso646.h: Likewise.
* include/c_std/std_ctime.h: Likewise.
* include/c_std/std_clocale.h: Likewise.
* include/c_std/std_climits.h: Likewise.
* include/c_std/std_cassert.h: Likewise.
* include/c_std/std_csetjmp.h: Likewise.
* include/c_std/std_cwchar.h: Likewise.
* include/c_std/std_cfloat.h: Likewise.
* include/c_std/std_cstring.h: Likewise.
* include/c_std/std_cstddef.h: Likewise.
* include/c_std/std_cwctype.h: Likewise.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@106253 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
PR libstdc++/22087
* config/os/djgpp/ctype_inline.h: Fix.
* config/os/djgpp/ctype_noninline.h: Likewise.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@105999 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
PR libstdc++/24559
* include/c_std/std_cwchar.h (wcspbrk): Adjust signature.
* testsuite/21_strings/c_strings/wchar_t/24559.cc: New.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@105939 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 39.
* docs/html/ext/howto.html: Adjust.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@105884 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
PR libstdc++/24450
* config/locale/generic/time_members.h (__timepunct<>::
__timepunct(__c_locale, const char*, size_t)): Avoid leaking
memory if new throws inside _M_initialize_timepunct.
* config/locale/gnu/time_members.h (__timepunct<>::
__timepunct(__c_locale, const char*, size_t)): Likewise.
* config/locale/gnu/message_members.h (messages<>::
messages(__c_locale, const char*, size_t)): Rearrange to
avoid memory leaks.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@105729 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* include/ext/sso_string_base.h (_M_swap): Rewrite.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@105654 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* include/ext/rc_string_base.h (_S_terminal): Remove.
(_M_set_length): Adjust.
(_S_max_size): Change to anonymous enum.
(_M_max_size()): Add, returns the latter.
* include/ext/sso_string_base.h: Likewise.
* include/ext/vstring.h (max_size): Adjust.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@105616 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
PR libstdc++/24244
* include/tr1/boost_shared_ptr.h (_Sp_counted_base::_Sp_counted_base()):
When __GTHREAD_MUTEX_INIT is defined, initialize the mutex.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@105506 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* include/tr1/functional: Add missing #pragma GCC system_header.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@105444 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* include/tr1/hashtable (hashtable::m_erase): Rename to erase_node.
(hashtable::erase(iterator), erase(const_iterator)): Adjust.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@105401 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* acinclude.m4 (port_specific_symbol_files): More symbol versioning
fixes.
* configure: Regenerate.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@105371 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
native testing before setting v3-sharedlib to 1.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@105361 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* docs/html/27_io/howto.html: Use reference to ifstream when
including iosfwd.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@105356 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
PR libstdc++/23926
* acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Fix typo in check
for GNU LD.
* configure: Regenerate.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@105285 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* include/bits/locale_classes.h (locale::_Impl::_M_install_cache):
Move out of line.
* src/locale.cc: Define here, add mutex.
* configure.ac (libtool_VERSION): To 6:7:0.
* configure: Regenerate.
* testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.7.
* config/linker-map.gnu: Export locale::_Impl::_M_install_cache.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@105221 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
PR libstdc++/24061 (issue 6.19)
* include/tr1/hashtable (struct node_const_iterator, struct
hashtable_const_iterator): New, add const variants to enable separate
overloadings for iterator and const_iterator in unordered_set and
unordered_multiset (as required by issue 6.19).
(class hashtable): Change the mutable_iterators template parameter
to constant_iterators and adjust throughout the logic.
(hashtable::insert(iterator, const value_type&), erase(iterator)
erase(iterator, iterator)): New, as per issue 6.19.
(hashtable::m_erase(node*, node**)): New, called by erase(iterator)
and erase(const_iterator).
(hashtable::Insert_Conv_Type): New, used by insert(iterator,
const value_type&) and insert(const_iterator, const value_type&)
to delegate the work to insert(const value_type&).
* include/tr1/unordered_map (class unordered_map, unordered_multimap):
Adjust typedefs.
* include/tr1/unordered_set (class unordered_set, unordered_multiset):
Likewise.
* testsuite/tr1/6_containers/unordered/erase/24061-map.cc: New.
* testsuite/tr1/6_containers/unordered/erase/24061-multimap.cc: New.
* testsuite/tr1/6_containers/unordered/erase/24061-multiset.cc: New.
* testsuite/tr1/6_containers/unordered/erase/24061-set.cc: New.
* testsuite/tr1/6_containers/unordered/insert/24061-map.cc: New.
* testsuite/tr1/6_containers/unordered/insert/24061-multimap.cc: New.
* testsuite/tr1/6_containers/unordered/insert/24061-multiset.cc: New.
* testsuite/tr1/6_containers/unordered/insert/24061-set.cc: New.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@105138 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* configure.in (arm-*-linux-gnueabi): Add to noconfigdirs
target-libffi, target-qthreads, target-libjava, and
targetlibobjc.
* configure: Regenerate.
gcc/
Merge from csl-arm-branch:
2005-09-07 Paul Brook <paul@codesourcery.com>
* config/arm/linux-eabi.h (SUBTARGET_EXTRA_LINK_SPEC): Prepend a
space to string.
2005-04-30 Paul Brook <paul@codesourcery.com>
* config/arm/bpabi.h (TARGET_DEFAULT): Define.
* config/arm/linux-eabi.h (SUBTARGET_CPU_DEFAULT): Define.
2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
* config/arm/arm.c (arm_all_abis): Add aapcs-linux.
(arm_override_options): Use TARGET_AAPCS_BASED.
* config/arm/arm.h (enum arm_abi_type): Add ARM_ABI_AAPCS_LINUX.
(PTRDIFF_TYPE): Use int for AAPCS.
(DEFAULT_SHORT_ENUMS): Use false for aapcs-linux.
* config/arm/linux-eabi.h (ARM_DEFAULT_ABI, WCHAR_TYPE): Define.
(DEFAULT_SHORT_ENUMS): Delete.
* doc/invoke.texi (ARM Options): Document -mabi=aapcs-linux.
2004-12-15 Daniel Jacobowitz <dan@codesourcery.com>
* config/arm/arm.h (DEFAULT_SHORT_ENUMS): Wrap in #ifndef.
* config/arm/linux-eabi.h (DEFAULT_SHORT_ENUMS): Define to 0.
* config/arm/t-linux-eabi (TARGET_LIBGCC2_CFLAGS): Set to -fPIC.
2004-12-03 Mark Mitchell <mark@codesourcery.com>
* config/arm/linux-eabi.h (LIBGCC_SPEC): Do not define.
2004-11-22 Mark Mitchell <mark@codesourcery.com>
* config.gcc (arm*-*-linux-gnueabi): Use __cxa_atexit.
2004-11-19 Mark Mitchell <mark@codesourcery.com>
* config.gcc (arm*-*-linux-gnueabi): Add it.
* config/arm/bpabi.h (FPUTYPE_DEFAULT): Undefine it before
redefining it.
(TARGET_OS_CPP_BUILTINS): Likeiwse.
* config/arm/linux-eabi.h: New file.
* config/arm/linux-elf.h (LINUX_TARGET_INTERPRETER): New macro.
(LINUX_TARET_LINK_SPEC): Likewise.
(LINK_SPEC): Use it.
* config/arm/t-linux-eabi: New file.
libcpp/
* configure.ac: Require 64-bit int for arm*-*-*eabi*.
* configure: Regenerate.
libstdc++/
Merge from csl-arm-branch:
2004-12-15 Daniel Jacobowitz <dan@codesourcery.com>
* libstdc++-v3/config/linker-map.gnu: Add ARM EABI symbols.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@105121 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Fix libstdc++/24196 for ext/vstring/rc by returning to the behavior
of basic_string pre-2003-06-13; remove fully-dynamic-string stuff.
* include/ext/rc_string_base.h (_M_refcopy): Move inside the
_Rep class and remove code in macro.
(__rc_string_base()): Construct with _S_empty_rep()._M_refcopy().
(_M_dispose, _M_leak_hard): Remove code in macro.
(_S_construct): Return _S_empty_rep()._M_refcopy() for empty string.
(_M_grab): Adjust.
* include/ext/rc_string_base.h (_Rep::_M_refdata()): Minor tweak,
mark throw().
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@105090 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* docs/doxygen/user.cfg.in: Update to Doyxygen 1.4.4.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@105087 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* include/ext/sso_string_base.h (struct __sso_string_local):
Remove, actually POD types cannot have user defined constructors
(being aggregates) and therefore can always be members of unions.
(class __sso_string_base): Adjust consistently.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@105021 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
PR libstdc++/24198
* testsuite/27_io/basic_filebuf/3.cc: Use __gnu_test::pod_ushort
instead.
* testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: Likewise.
* testsuite/27_io/basic_fstream/3.cc: Likewise; run the test.
* testsuite/27_io/basic_ifstream/3.cc: Likewise; run the test.
* testsuite/27_io/basic_ios/3.cc: Likewise.
* testsuite/27_io/basic_iostream/3.cc: Likewise; run the test.
* testsuite/27_io/basic_istream/3.cc: Likewise; run the test.
* testsuite/27_io/basic_istringstream/3.cc: Likewise; run the test.
* testsuite/27_io/basic_ofstream/3.cc: Likewise; run the test.
* testsuite/27_io/basic_ostream/3.cc: Likewise; run the test.
* testsuite/27_io/basic_ostringstream/3.cc: Likewise; run the test.
* testsuite/27_io/basic_streambuf/3.cc: Likewise.
* testsuite/27_io/basic_stringbuf/3.cc: Likewise.
* testsuite/27_io/basic_stringstream/3.cc: Likewise; run the test.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@105010 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
PR libstdc++/11729 (DR 280, [Ready])
* include/bits/stl_iterator.h: Add reverse_iterator global
functions with two template parameters (operator==, !=, <,
>, <=, >=, -).
* testsuite/24_iterators/reverse_iterator/11729.cc: New.
* docs/html/ext/howto.html: Add an entry for issue 280.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@105000 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* include/tr1/hashtable
(node_iterator::node_iterator(const node_iterator<,true,>&)): Fix to
take a "false" (i.e., is_const == false) node_iterator.
(hashtable_iterator::hashtable_iterator(const hashtable_iterator<,
true,>&)): Likewise for hashtable_iterator.
(hashtable::const_local_iterator): Fix typedef (is_const == true).
(hashtable::const_iterator): Likewise.
* testsuite/tr1/6_containers/unordered/types/map_iterator.cc: New.
* testsuite/tr1/6_containers/unordered/types/multimap_iterator.cc: New.
* testsuite/tr1/6_containers/unordered/types/set_iterator.cc: New.
* testsuite/tr1/6_containers/unordered/types/multiset_iterator.cc: New.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@104900 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
PR libstdc++/24054
* include/tr1/hashtable (erase(const key_type&)): Return the
number of elements erased.
* testsuite/tr1/6_containers/unordered/hashtable/24054.cc: New.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@104867 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* include/tr1/tuple_iterate.h (tuple::operator=(const std::pair<>&)):
Add missing return.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@104851 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
PR libstdc++/24064
* include/tr1/hashtable (hash_code_base<>::store_code): Add.
(hashtable<>::insert(const value_type&)): Use it.
* testsuite/tr1/6_containers/unordered/hashtable/24064.cc: New.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@104823 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
PR libstdc++/23953
* include/bits/locale_facets.tcc (__numpunct_cache<>::_M_cache,
__moneypunct_cache<>::_M_cache): Check that grouping()[0] > 0.
(__verify_grouping): Do the last check only if __grouping[__min] > 0.
(__add_grouping<>): End recursion if *__gbeg <= 0.
* testsuite/22_locale/num_get/get/char/23953.cc: New.
* testsuite/22_locale/num_get/get/wchar_t/23953.cc: Likewise.
* testsuite/22_locale/num_put/put/char/23953.cc: Likewise.
* testsuite/22_locale/num_put/put/wchar_t/23953.cc: Likewise.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@104814 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Improve last ChangeLog entry.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@104785 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
PR libstdc++/23978
* include/tr1/functional (ref, cref): Make inline.
* include/tr1/tuple_iterate.h (tuple): Add operator=(std::pair).
(tie): Correct formatting.
(make_tuple): Make inline.
* testsuite/tr1/6_containers/tuple/creation_functions/23978.cc: New.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@104784 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Eric Botcazou <ebotcazou@libertysurf.fr>
* include/ext/mt_allocator.h
(__per_type_pool<...true>::_S_initialize_once): Always call
_M_initialize_once.
(__common_pool<...true>::_S_initialize_once): Same.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@104678 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* testsuite/ext/mt_allocator/tune-1.cc: Clarify for single-thread.
* testsuite/ext/mt_allocator/tune-2.cc: Same.
* testsuite/ext/mt_allocator/tune-3.cc: Same.
* testsuite/ext/mt_allocator/tune-4.cc: Same.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@104591 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
PR libstdc++/23956
* include/ext/mt_allocator.h: Remove excess
policy_type::_S_get_pool calls in constructors.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@104520 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
PR libstdc++/23417 (cont)
* include/bits/stl_tree.h (_Rb_tree_impl<true>): Use member
initialization list for -Weffc++.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@104401 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
New.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@104358 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
PR libstdc++/21674
PR libstdc++/22205
PR libstdc++/22222
* include/bits/c++config: Set _GLIBCXX_STD regardless of __GXX_WEAK__.
Add in check for __NO_INLINE__ for warning.
* testsuite/lib/dg-options.exp (dg-require-debug-mode): New.
* testsuite/lib/libstdc++.exp (check_v3_target_debug_mode): New.
* testsuite/21_strings/basic_string/element_access/char/21674.cc:
Use it.
* testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc:
Use it.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@104314 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
PR libstdc++/23875
* include/std/std_ostream.h (operator<<(short), operator<<(unsigned
short), operator<<(int), operator<<(unsigned int), operator<<(float)):
Don't call operator<<(long), operator<<(unsigned long), or
operator<<(double), do the work mandated by the resolution of DR117...
* include/bits/ostream.tcc (operator<<(short), operator<<(unsigned
short), operator<<(int), operator<<(unsigned int), operator<<(float)):
... here.
* testsuite/27_io/basic_ostream/inserters_arithmetic/pod/23875.cc: New.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@104313 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* decl.c (check_class_member_definition_namespace): New function.
(grokfndecl): Use it.
(grokvardecl): Likewise.
(grokdecl): Improve documentation.
* pt.c (check_explicit_instantiation_namespace): New function.
(register_specialization): Call check_specialization_namespace
when replacing an implicitly instantiated function.
(check_explicit_specialization): Ensure that DECL_CONTEXT is set
correctly for namespace-scope specializations.
(do_decl_instantiation): Use
check_explicit_instantiation_namespace.
(do_type_instantiation): Likewise.
PR c++/13140
* g++.dg/parse/class2.C: New test.
* g++.dg/template/explicit8.C: Likewise.
* g++.dg/template/spec25.C: Likewise.
* testsuite/testsuite_character.h: Specialize character<>
templates in __gnu_cxx, not in __gnu_test.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@104310 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/21674
* testsuite/21_strings/basic_string/element_access/char/21674.cc: New.
* testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc:
New.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@104256 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
PR libstdc++/22554
PR libstdc++/23734
* include/Makefile.am (stamp-assoc): Install each subgroup
of headers separately.
* include/Makefile.in: Regenerate.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@104238 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* testsuite/ext/mt_allocator/22309_thread.cc: Remove dg-do run.
* testsuite/lib/libstdc++.exp ( proc libstdc++_init): Enable
shared only for linux.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@104235 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* testsuite/lib/libstdc++.exp (v3-build_support): Use sharedlib for
type of target_compile.
(v3_target_compile): Set flags for sharelib type.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@104209 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
David Edelsohn <dje@gcc.gnu.org>
PR libstdc++/22554
PR libstdc++/23734
* include/Makefile.am (assoc_headers): Break into five sub values.
(install-headers): Use them.
(stamp-assoc): Same.
* include/Makefile.in: Regenerate.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@104196 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* include/bits/stl_algo.h (search_n): Delegate to specializations.
(search_n(,,,,binary_predicate)): Likewise.
(__search_n(forward_iterator_tag)): Original search_n, tweak to
remove an unnecessary comparison.
(__search_n(,,,,binary_predicate,forward_iterator_tag)): Likewise.
2005-09-12 Jim Xochellis <jimxoch@yahoo.gr>
* include/bits/stl_algo.h (__search_n(std::random_access_iterator_tag)):
Add specialization.
(__search_n(,,,,binary_predicate,std::random_access_iterator_tag)):
Likewise.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@104192 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
PR libstdc++/23417
* include/bits/stl_list.h (_List_impl): Use member initialization
list for -Weffc++.
* include/bits/stl_tree.h (_Rb_tree_impl): Same.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@104191 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
PR libstdc++/23417
* include/bits/stl_list.h (_List_impl): Use member initialization
list for -Weffc++.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@104187 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
PR libstdc++/23767
* include/bits/stl_iterator.h (__normal_iterator::
__normal_iterator<>(const __normal_iterator<_Iter, _Container>&)):
Enable only when _Iter is equal to _Container::pointer.
* testsuite/21_strings/basic_string/types/23767.cc: New.
* testsuite/23_containers/vector/types/23767.cc: Likewise.
* testsuite/ext/vstring/types/23767.cc: Likewise.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@104167 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
PR libstdc++/19265
PR libstdc++/22309
* include/ext/mt_allocator.h
(__gnu_cxx::__create_handler): Remove.
(__pool<true>::_M_destroy_thread_key): Compatibility only.
(__pool<true>::_M_initialize(__destroy): Same.
(__pool<true>::_M_initialize): New.
(__pool<true>::_M_initialize_once): Nothing fancy.
(__pool<true>::_M_once): Remove.
(__common_pool): New.
(__common_pool_base): New.
(__per_type_pool): New.
(__per_type_pool_base): New.
* src/mt_allocator.cc: Same.
* config/linker-map.gnu (__pool<true>::_M_initialize()): Add.
2005-09-11 Jakub Jelinek <jakub@redhat.com>
PR libstdc++/19265
PR libstdc++/22309
* src/mt_allocator.cc (__gnu_internal::freelist_mutex): Make static.
(__gnu_internal::__freelist): New type.
(__gnu_internal::freelist): New variable.
(__gnu_internal::_M_destroy_thread_key): New function.
(__gnu_cxx::__pool<true>::_M_destroy): Don't delete
_M_thread_freelist_initial.
(__gnu_cxx::__pool<true>::_M_initialize): Make argument nameless.
Don't use _M_thread_freelist and _M_thread_freelist_initial
__pool<true> fields, instead use __gnu_internal::freelist fields, call
gthread_key_create just once. Use
__gnu_internal::_M_destroy_thread_key as key destructor.
(__gnu_cxx::__pool<true>::_M_get_thread_id): Store size_t id
rather than _Thread_record* in the thread specific value. Don't
use _M_thread_freelist __pool<true> field, instead use
__gnu_internal::freelist fields.
(__gnu_cxx::__pool<true>::_M_destroy_thread_key): Do nothing.
2005-09-11 Benjamin Kosnik <bkoz@redhat.com>
Jakub Jelinek <jakub@redhat.com>
PR libstdc++/19265
PR libstdc++/22309
* testsuite/testsuite_shared.cc: New.
* testsuite/lib/dg-options.exp (dg-require-sharedlib): New.
* testsuite/lib/libstdc++.exp (libstdc++_init): Look for shared
library, and set v3-sharedlib based on this.
(check_v3_target_sharedlib): New.
(proc v3-build_support): Build shared objects.
* testsuite/ext/mt_allocator/22309_thread.cc: New, use above.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@104161 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
PR libstdc++/23781
* include/bits/stl_list.h (_List_iterator<>::
_List_iterator(_List_node_base*), _List_const_iterator<>::
_List_const_iterator(const _List_node_base*)): Make explicit.
(list<>::begin(), list<>::end(), list<>::pop_back()): Adjust
consistently.
* include/bits/list.tcc (list<>::insert, list<>::erase): Adjust
consistently.
* include/bits/stl_tree.h (_Rb_tree_iterator<>::
_Rb_tree_iterator(_Link_type), _Rb_tree_const_iterator<>::
_Rb_tree_const_iterator(_Link_type)): Make explicit.
(_Rb_tree<>::begin(), _Rb_tree<>::end()): Adjust consistently.
* include/ext/slist (_Slist_iterator<>::_Slist_iterator(_Node*)):
Make explicit.
(slist<>::erase(iterator), slist<>::erase(iterator, iterator)):
Adjust consistently.
* include/tr1/hashtable (hashtable_iterator<>::
hashtable_iterator(hash_node<>**)): Make explicit.
* testsuite/23_containers/list/23781.cc: New.
* testsuite/23_containers/map/23781.cc: Likewise.
* testsuite/23_containers/multimap/23781.cc: Likewise.
* testsuite/23_containers/multiset/23781.cc: Likewise.
* testsuite/23_containers/set/23781.cc: Likewise.
* testsuite/ext/slist/23781.cc: Likewise.
* testsuite/tr1/6_containers/unordered/23781.cc: Likewise.
* testsuite/23_containers/map/operators/1_neg.cc: Adjust dg-error
line numbers.
* testsuite/23_containers/set/operators/1_neg.cc: Likewise.
* include/tr1/array (array<>::begin(), array<>::end()): Adjust
stylistically for consistency with the other containers.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@104139 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
XFAIL on *-*-linux*, not *-*-linux-gnu.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@104125 138bc75d-0d04-0410-961f-82ee72b054a4
|