summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/config
Commit message (Collapse)AuthorAgeFilesLines
* 2005-04-08 Danny Smith <dannysmith@users.sourceforge.net>paolo2005-04-082-2/+8
| | | | | | | | | | | | | | | Paolo Carlini <pcarlini@suse.de> PR libstdc++/20806 * config/os/mingw32/os_defines.h: Define _GLIBCXX_HAVE_DOS_BASED_FILESYSTEM. * config/os/newlib/os_defines.h: Likewise, for __CYGWIN__. * include/bits/fstream.tcc (basic_filebuf<>::showmanyc()): Use it. (basic_filebuf<>::xsgetn(_CharT*, streamsize)): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97842 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/cpu/s390/atomicity.h (__exchange_and_add): Add "memory"uweigand2005-04-061-1/+2
| | | | | | | clobber to inline assembly statement. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97728 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-03-23 Benjamin Kosnik <bkoz@redhat.com>bkoz2005-03-242-8/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * acinclude.m4: Adjust so that _GLIBCXX_USE_C99 implies using _GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_USE_C99_MATH, and _GLIBCXX_USE_C99_WCHAR. Remove GLIBCXX_ENABLE_C_MBCHAR, consolidate in GLIBCXX_ENABLE_C99 and GLIBCXX_ENABLE_WCHAR_T. Take C99 bits from GLIBCXX_CHECK_WCHAR_T_SUPPORT and put in GLIBCXX_ENABLE_C99. Change remaining parts of GLIBCXX_CHECK_WCHAR_T_SUPPORT to GLIBCXX_CHECK_ICONV_SUPPORT. * configure.ac: Remove GLIBCXX_ENABLE_C_MBCHAR, use GLIBCXX_CHECK_ICONV_SUPPORT and GLIBCXX_ENABLE_WCHAR_T. * crossconfig.m4: Same. * acconfig.h: Same, adjust comments. * config.h.in: Regenerate. * configure: Regenerate. * docs/html/configopts.html: Change --enable-c-mbchar to --enable-wchar_t. * config/locale/gnu/c++locale_internal.h: Guard wide functions with _GLIBCXX_USE_WCHAR_T. * include/c_std/std_cwctype.h: Alphabetize, remove duplicates. * include/c_std/std_cstdio.h: Spacing. * config/locale/gnu/c_locale.h: Tweaks for unused warnings. * src/debug.cc: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96981 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/19065hp2005-02-281-5/+5
| | | | | | | | * config/cpu/cris/atomicity.h (__exchange_and_add): In asm, use 'Q' constraint, not 'm'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95648 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/10606rth2005-02-191-0/+6
| | | | | | | | | | | | | | | | | | gcc/cp/ * except.c (do_get_exception_ptr): New. (expand_start_catch_block): Use it. libstdc++/ * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95262 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/linker-map.gnu (GLIBCXX_3.4): Add _ZNSdC* and _ZNSdD*.mmitchel2005-02-081-0/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94739 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-01-30 Paolo Carlini <pcarlini@suse.de>paolo2005-01-301-6/+14
| | | | | | | | | PR libstdc++/19642 * config/locale/generic/c_locale.h (__convert_from_v): Switch only LC_NUMERIC, and only when actually != "C". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94440 138bc75d-0d04-0410-961f-82ee72b054a4
* * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Map FreeBSD to darwinljrittle2005-01-251-1/+38
| | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94236 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/os/aix/os_defines.h (_XOPEN_SOURCE): Delete.dje2005-01-181-7/+1
| | | | | | | (_XOPEN_SOURCE_EXTENDED): Delete. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93837 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/os/aix/os_defines.h (_G_USING_THUNKS): Delete.dje2005-01-151-3/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93699 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-01-07 Benjamin Kosnik <bkoz@redhat.com>bkoz2005-01-072-521/+0
| | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93062 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.host (aix4*|aix5*): Add atomic_word_dir.dje2004-12-281-0/+43
| | | | | | | * config/os/aix/atomic_word.h: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92673 138bc75d-0d04-0410-961f-82ee72b054a4
* libstdc++:jason2004-12-287-6/+178
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add memory barriers to the double-checked locking used for static initialization. * libsupc++/guard.cc (__test_and_acquire): Define default. (_GLIBCXX_GUARD_TEST_AND_ACQUIRE, __set_and_release) (_GLIBCXX_GUARD_SET_AND_RELEASE): Likewise. (recursion_push, recursion_pop): New abstraction functions. (__cxa_guard_acquire): Use _GLIBCXX_GUARD_TEST_AND_ACQUIRE. (__cxa_guard_release): Use _GLIBCXX_GUARD_SET_AND_RELEASE. * config/cpu/generic/cxxabi_tweaks.h (_GLIBCXX_GUARD_TEST): Rename from _GLIBCXX_GUARD_ACQUIRE and reverse sense. (_GLIBCXX_GUARD_SET): Rename from _GLIBCXX_GUARD_RELEASE. * config/cpu/arm/cxxabi_tweaks.h: Likewise. * config/cpu/alpha/atomic_word.h (_GLIBCXX_READ_MEM_BARRIER) (_GLIBCXX_WRITE_MEM_BARRIER): Define. * config/cpu/powerpc/atomic_word.h: Likewise. * config/cpu/sparc/atomic_word.h: Likewise. * config/cpu/generic/atomic_word.h: Define them, commented out. * include/bits/atomicity.h: Define defaults. * config/cpu/ia64/atomic_word.h (__test_and_acquire) (__set_and_release): New inlines. (_GLIBCXX_GUARD_TEST_AND_ACQUIRE): Define. (_GLIBCXX_GUARD_SET_AND_RELEASE): Define. * libsupc++/guard.cc (acquire_1): Use __builtin_trap instead of abort(); gcc: * doc/tm.texi (TARGET_RELAXED_ORDERING): Document. * target.h (struct gcc_target): Add relaxed_ordering field. * target-def.h (TARGET_RELAXED_ORDERING): Define default. (TARGET_INITIALIZER): Add it. * config/alpha/alpha.c (TARGET_RELAXED_ORDERING): Define. * config/ia64/ia64.c (TARGET_RELAXED_ORDERING): Define. * config/rs6000/rs6000.c (TARGET_RELAXED_ORDERING): Define. * config/sparc/sparc.c (TARGET_RELAXED_ORDERING): Define. * cp/decl.c (expand_static_init): Don't use shortcut if targetm.relaxed_ordering. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92659 138bc75d-0d04-0410-961f-82ee72b054a4
* gccdannysmith2004-12-161-0/+4
| | | | | | | | | | | | | PR target/18997 * config/i386/cygwin.h (GTHREAD_USE_WEAK): Define to 0. libstdc++-v3 PR target/18997 * config/os/newlib/os_defines.h (_GLIBCXX_GTHREAD_USE_WEAK): Define to 0 for __CYGWIN__. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92281 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-11-24 Volker Reichelt <reichelt@igpm.rwth-aachen.de>paolo2004-11-241-5/+4
| | | | | | | | * config/locale/ieee_1003.1-2001/codecvt_specializations.h (do_out, do_unshift, do_in): Remove redundant typedef. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91156 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-11-22 Benjamin Kosnik <bkoz@redhat.com>bkoz2004-11-232-4/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | * include/bits/locale_facets.h (isspace, isprint, isupper, islower, isalpha, isdigit, ispunct, isxdigit, isalnum, isgraph, toupper, tolower): Add doxygen markup. (codecvt_byname, ctype_byname, numpunct_byname, collate_byname, time_get_byname, time_put_byname, moneypunct_byname, messages_byname): Same. * include/std/std_fstream.h: Remove superfluous markup. * include/std/std_sstream.h: Same. * include/std/std_streambuf.h: Same. * include/ext/enc_filebuf.h: Adjust markup. * include/ext/stdio_filebuf.h: Same. * include/ext/stdio_sync_filebuf.h: Same. * include/bits/codecvt.h: Same. * config/os/gnu-linux/ctype_base.h: Same. * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same. * include/tr1/array: Add markup. * include/tr1/tuple: Same. * docs/doxygen/run_doxygen: Print arguments. * docs/doxygen/user.cfg.in: Tweaks. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91080 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-11-08 Benjamin Kosnik <bkoz@redhat.com>bkoz2004-11-081-13/+17
| | | | | | | | | | | | * configure.ac (libtool_VERSION): To 6:4:0. * configure: Regenerate. * config/linker-map.gnu: Slide new symbols into GLIBCXX_3.4.4. * docs/doxygen/user.cfg.in: Add more extension files. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90292 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-11-05 Benjamin Kosnik <bkoz@redhat.com>bkoz2004-11-052-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR libstdc++/17218 PR libstdc++/17223 * docs/doxygen/filter: Remove. * docs/doxygen/filter.sed: Remove. * docs/doxygen/mainpage.html: Add link to functions. * docs/doxygen/run_doxygen: Changes due to new source filtering. * docs/doxygen/user.cfg.in: Update to doxygen 1.3.9.1, tweak. * include/bits/allocator.h: Tweaks for doxygen. * include/bits/char_traits.h: Same. * include/bits/codecvt.h: Same. * include/bits/concurrence.h: Same. * include/bits/locale_facets.h: Same. * include/ext/array_allocator.h: Same. * include/ext/debug_allocator.h: Same. * include/ext/malloc_allocator.h: Same. * include/ext/mt_allocator.h: Same. * include/ext/new_allocator.h: Same. * include/ext/pool_allocator.h: Same. * include/ext/stdio_sync_filebuf.h: Same. * include/std/std_memory.h: Same. * include/tr1/array: Same. * include/tr1/tuple: Same. * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same. * config/os/gnu-linux/ctype_base.h: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90137 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/os/bsd/darwin/os_defines.haaronwl2004-11-031-0/+6
| | | | | | | | | | | | | | | | | | | | | (_GLIBCXX_WEAK_DEFINITION): Define. * include/bits/c++config (_GLIBCXX_WEAK_DEFINITION): Define. * libsupc++/del_op.cc (operator delete(void *)): Use _GLIBCXX_WEAK_DEFINITION. * libsupc++/del_opnt.cc (operator delete(void *, const std::nothrow_t&)): Same. * libsupc++/del_opv.cc (operator delete[](void *)): Same. * libsupc++/del_opvnt.cc (operator delete[](void *, const std::nothrow_t&)): Same. * libsupc++/new_op.cc (operator new(std::size_t)): Same. * libsupc++/new_opnt.cc (operator new(std::size_t, const std::nothrow_t&)): Same * libsupc++/new_opv.cc (operator new[](std::size_t)): Same. * libsupc++/new_opvnt.cc (operator new[](std::size_t, const std::nothrow_t&)): Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90017 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-11-02 Benjamin Kosnik <bkoz@redhat.com>bkoz2004-11-021-1/+2
| | | | | | | | | | | | | | | | | | | | | | PR libstdc++/17922 * include/bits/ios_base.h : Add enum values. * testsuite/testsuite_hooks.h (bitmask_operators): Add function. * testsuite/27_io/ios_base/types/fmtflags/bitmask_operators.cc: New. * testsuite/27_io/ios_base/types/fmtflags/case_label.cc: New. * testsuite/27_io/ios_base/types/iostate/bitmask_operators.cc: New. * testsuite/27_io/ios_base/types/iostate/case_label.cc: New. * testsuite/27_io/ios_base/types/openmode/bitmask_operators.cc: New. * testsuite/27_io/ios_base/types/openmode/case_label.cc: New. * testsuite/27_io/ios_base/types/seekdir/case_label.cc: New. * config/io/c_io_stdio.h (__ios_flags): Mark deprecated. * src/ios.cc: Same. * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers. * testsuite/27_io/ios_base/cons/copy_neg.cc: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89996 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.host (darwin*): Set os_include_dir to a separate directorygeoffk2004-10-305-0/+520
| | | | | | | | | | | | | | for Darwin. * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Add a new C locale kind, 'darwin'. * config/locale/darwin/ctype_members.cc: New. * config/os/bsd/darwin/ctype_base.h: New. * config/os/bsd/darwin/ctype_inline.h: New. * config/os/bsd/darwin/ctype_noninline.h: New. * config/os/bsd/darwin/os_defines.h: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89874 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-10-17 Dhruv Matani <dhruvbird@gmx.net>paolo2004-10-171-1/+1
| | | | | | | | | | | | | | | Paolo Carlini <pcarlini@suse.de> * include/ext/bitmap_allocator.h: Change unsigned int -> size_t: this makes the code 64-bit correct and also fixes (together with using at the beginning a bitmap 2 * size_t bytes wide) alignment issues: now 8 is guaranteed, easily tunable to 16 via _BALLOC_ALIGN_BYTES. Fix pthread-rope7.cc fail by nulling out __mini_vector<> destructor. * src/bitmap_allocator.cc: Change to size_t. * config/linker-map.gnu: Adjust. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89170 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-10-14 Dhruv Matani <dhruvbird@gmx.net>paolo2004-10-141-1/+6
| | | | | | | | | | | | | * ext/bitmap_allocator.h: Clean-up add/remove functions. * src/bitmap_allocator.cc: New file. Contains the out-of-line function definitions, static initialization of variables, and explicit instantiations needed for the allocator. * src/Makefile.am: Add. * src/Makefile.in: Regenerate. * config/linker.map.gnu: Add the necessary symbols. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89042 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-10-11 Benjamin Kosnik <bkoz@redhat.com>bkoz2004-10-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/bits/stl_deque.h: Correct for over-long lines. 2004-10-11 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/17937 * include/ext/mt_allocator.h (__pool::_M_destroy): New. * src/mt_allocator.cc (__pool::~__pool): Change definitions to _M_destroy. * acconfig.h: Remove _GLIBCXX_USE___CXA_ATEXIT. * acinclude.m4 (GLIBCXX_ENABLE_CXA_ATEXIT): Remove. * configure.ac: Remove call to GLIBCXX_ENABLE_CXA_EXIT. * configure: Regenerate. * config/linker-map.gnu: Tweak exports. * docs/html/ext/mt_allocator.html: Update docs. * testsuite/ext/mt_allocator/deallocate_global-2.cc: Fix. * testsuite/ext/mt_allocator/deallocate_global-4.cc: Fix. * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Fix. * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Fix. * testsuite/ext/mt_allocator/deallocate_local-2.cc: Fix. * testsuite/ext/mt_allocator/deallocate_local-4.cc: Fix. * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Fix. * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Fix. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88913 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-10-10 Paolo Carlini <pcarlini@suse.de>paolo2004-10-101-1/+1
| | | | | | | | | | | | * config/locale/gnu/monetary_members.cc (_S_construct_pattern): Give __ret a default value, thus avoiding spurious warnings. * testsuite/performance/27_io/filebuf_sgetn_unbuf.cc: Open either words or linux.words, otherwise exit. * testsuite/performance/27_io/ifstream_getline.cc: Slighlty tweak. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88848 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-10-05 Benjamin Kosnik <bkoz@redhat.com>bkoz2004-10-061-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR libstdc++/17780 * include/ext/mt_allocator.h (__pool_base::_Tune): Add default options as compile-time constant enums. (__pool_base::_Tune::is_default): New. (__pool_base::_Block_address): New. (__pool_base): Rearrange data members. (__pool::_M_reserve_memory): To _M_reserve_block. (__pool::_M_reclaim_memory): To _M_reclaim_block. (__pool::_Bin_record): Add _Block_address data member. (__pool<false>): Add _M_thread_freelist_initial. (__pool::~__pool): Declare. (__common_pool_policy): Move static data member to... (__common_pool_policy::_S_get_pool): ...here, make static local. (__per_type_pool_policy): Move static data member to... (__per_type_pool_policy::_S_get_pool): ...here, make static local. (__mt_alloc::__mt_alloc): Call __policy_type::_S_get_pool. Remove static member definitions. Use define for __default_policy. * src/mt_allocator.cc: Same. * config/linker-map.gnu: Don't export _S_get_pool. Renames. * testsuite/ext/new_allocator: New. * testsuite/ext/new_allocator/instantiate.cc: New. * testsuite/ext/new_allocator/check_new.cc: New. * testsuite/ext/new_allocator/deallocate_global.cc: New. * testsuite/ext/new_allocator/deallocate_local.cc: New. * testsuite/ext/mt_allocator/instantiate.cc: Instantiate all template arguments. * testsuite/ext/mt_allocator/deallocate_global-1.cc: New. * testsuite/ext/mt_allocator/deallocate_global-2.cc: New. * testsuite/ext/mt_allocator/deallocate_global-3.cc: New. * testsuite/ext/mt_allocator/deallocate_global-4.cc: New. * testsuite/ext/mt_allocator/deallocate_local-1.cc: New. * testsuite/ext/mt_allocator/deallocate_local-2.cc: New. * testsuite/ext/mt_allocator/deallocate_local-3.cc: New. * testsuite/ext/mt_allocator/deallocate_local-4.cc: New. * testsuite/ext/mt_allocator/deallocate.cc: New. * testsuite/ext/malloc_allocator/deallocate.cc: New. * testsuite/ext/malloc_allocator/deallocate_global.cc: New. * testsuite/ext/malloc_allocator/deallocate_local.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88589 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.host (abi_baseline_pair): Define for s390-*-linux* anduweigand2004-10-052-0/+3090
| | | | | | | | | s390x-*-linux*. * config/abi/s390-linux-gnu/baseline_symbols.txt: Add missing symbols. * config/abi/s390x-linux-gnu/baseline_symbols.txt: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88553 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/17505sayle2004-10-051-0/+20
| | | | | | | | * config/linker-map.gnu: Synchronize the current list of stub functions from libmath. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88540 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/locale/generic/c_locale.cc (__convert_to_v): Usesayle2004-10-041-2/+2
| | | | | | | | | _GLIBCXX_HAVE_STRTOF instead _GLIBCXX_USE_C99 to check for strtof. Likewise, use _GLIBCXX_HAVE_STRTOLD instead of _GLIBCXX_USE_C99 to check for presence of strtold. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88472 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-09-21 Paolo Carlini <pcarlini@suse.de>paolo2004-09-211-6/+17
| | | | | | | | | | | | PR libstdc++/12882 (cont) * acinclude.m4 (GLIBCXX_CHECK_LFS): Check for fstat64 too. * configure: Regenerate. * config/io/basic_file_stdio.cc (__basic_file<>::showmanyc): When _GLIBCXX_USE_LFS use fstat64 and lseek64, thus providing a non trivial showmanyc for large files too. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87797 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-09-17 Paolo Carlini <pcarlini@suse.de>paolo2004-09-171-14/+12
| | | | | | | | | | | | Andrea Arcangeli <andrea@suse.de> * config/io/basic_file_stdio.cc (__basic_file<>::close)): Don't call unnecessarily sync, that is fflush: the library, since 3.4.0 does not use buffered fread/fwrite. * include/bits/fstream.tcc (basic_filebuf<>::overflow): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87636 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/cpu/arm/cxxabi_tweaks.h (__cxa_cdtor_return_type):mmitchel2004-09-162-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Define. * config/cpu/generic/cxxabi_tweaks.h (__cxa_cdtor_return_type): Define. * libsupc++/cxxabi.h (__cxa_cdtor_return_type): New type. (__cxa_vec_new): Use it. (__cxa_vec_new2): Likewise. (__cxa_vec_new3): Likewise. (__cxa_vec_cdtor): Likewise. (__cxa_vec_cctor): Likeiwse. (__cxa_vec_dtor): Likewise. (__cxa_vec_cleanup): Likewise. (__cxa_vec_delete2): Likewise. (__cxa_vec_delete3): Likewise. * libsupc++/vec.cc (__cxa_vec_new): Likewise. (__cxa_vec_new2): Likewise. (__cxa_vec_new3): Likewise. (__cxa_vec_cdtor): Likewise. (__cxa_vec_cctor): Likeiwse. (__cxa_vec_dtor): Likewise. (__cxa_vec_cleanup): Likewise. (__cxa_vec_delete2): Likewise. (__cxa_vec_delete3): Likewise. (__aeabi_vec_ctor_nocookie_nodtor): New function. (__aeabi_vec_ctor_cookie_nodtor): Likewise. (__aeabi_vec_cctor_nocookie_nodtor): Likewise. (__aeabi_vec_new_cookie_noctor): Likewise. (__aeabi_vec_new_nocookie): Likewise. (__aeabi_vec_new_cookie_nodtor): Likewise. (__aeabi_vec_new_cookie): Likewise. (__aeabi_vec_dtor): Likewise. (__aeabi_vec_dtor_cookie): Likewise. (__aeabi_vec_delete): Likewise. (__aeabi_vec_delete3): Likewise. (__aeabi_vec_delete3_nodtor): Likewise. (__aeabi_atexit): Likewise. * testsuite/g++.old-deja/g++.abi/cxa_vec.C: Adjust for ARM EABI. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87585 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-09-08 Benjamin Kosnik <bkoz@redhat.com>bkoz2004-09-081-4/+6
| | | | | | | * config/linker-map.gnu (GLIBCXX_3.4.3): New, adjust symbol exports. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87186 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-09-01 Benjamin Kosnik <bkoz@redhat.com>bkoz2004-09-011-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR libstdc++/16614 * include/ext/mt_allocator.h (__mt_base): Not type dependent, split into.. (__pool): New, specialize. (__common_pool): New, static bits here. (__per_type_pool): New, and here. (__mt_alloc_base): New. (__mt_alloc): Add template parameter, inherit from it. * src/allocator.cc: Split this... * src/allocator-inst.cc: And this... * src/pool_allocator.cc: ...into this. * src/mt_allocator.cc: ... and this. Add definitions for __mt_base. * src/Makefile.am (sources): Split allocator.cc to pool_allocator.cc and mt_allocator.cc. * src/Makefile.in: Regenerate. * config/linker-map.gnu: Add symbols. * docs/html/ext/mt_allocator.html: Document new design. * testsuite/ext/mt_allocator/tune-1.cc: New. * testsuite/ext/mt_allocator/tune-2.cc: New. * testsuite/ext/mt_allocator/tune-3.cc: New. * testsuite/ext/mt_allocator/tune-4.cc: New. * testsuite/testsuite_allocator.h (__gnu_test::check_new): New. * testsuite/ext/allocators.cc: Use check_new, split into... * testsuite/ext/mt_allocator/check_new.cc: this. * testsuite/ext/pool_allocator/check_new.cc: this. * testsuite/ext/malloc_allocator/check_new.cc: this. * testsuite/ext/debug_allocator/check_new.cc: this. * testsuite/ext/mt_allocator/instantiate.cc: this. * testsuite/ext/pool_allocator/instantiate.cc: this. * testsuite/ext/malloc_allocator/instantiate.cc: this. * testsuite/ext/debug_allocator/instantiate.cc: this. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86936 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-08-30 Benjamin Kosnik <bkoz@redhat.com>bkoz2004-08-301-3/+3
| | | | | | | | | | * include/ext/pool_allocator.h: Rename __pool_base to __pool_alloc_base. * src/allocator.cc: Same. * config/linker-map.gnu: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86789 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-08-30 Paolo Carlini <pcarlini@suse.de>paolo2004-08-301-7/+25
| | | | | | | | | | | | Kenneth C. Schalk <ken@xorian.net> PR libstdc++/17215 * config/io/basic_file_stdio.cc (__basic_file<char>::close()): Check the return value of fclose/sync, loop on EINTR. (__basic_file<char>::sys_open): Likewise, for sync. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86756 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-08-27 Matthias Klose <doko@debian.org>doko2004-08-272-3071/+6159
| | | | | | | | | | * config/abi/arm-linux-gnu/baseline_symbols.txt: New. * config/abi/mips-linux-gnu/baseline_symbols.txt: Update to 3.4.0. * configure.host: Set abi_baseline_pair for arm*-*-linux* and mips*-*-linux*. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86677 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-08-25 Paolo Carlini <pcarlini@suse.de>paolo2004-08-252-6/+20
| | | | | | | | | | | | | | | | PR libstdc++/17038 (partial) * include/bits/locale_facets.tcc (time_put<>::do_put): Increase __maxlen to 128. * include/bits/locale_facets.h (class __timepunct): Add FIXME comment about _M_put. * config/locale/generic/time_members.cc (_M_put): Always null terminate __s. * config/locale/gnu/time_members.cc (_M_put): Likewise. * testsuite/22_locale/time_put/put/char/17038.cc: New. * testsuite/22_locale/time_put/put/wchar_t/17038.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86586 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-08-22 Matthias Klose <doko@debian.org>doko2004-08-232-3205/+6153
| | | | | | | | * config/abi/m68k-linux-gnu/baseline_symbols.txt: New. * config/abi/sparc-linux-gnu/baseline_symbols.txt: Update to 3.4.0. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86428 138bc75d-0d04-0410-961f-82ee72b054a4
* * cpu/hppa/atomicity.h (__exchange_and_add, __atomic_add): Add memorydanglin2004-08-201-2/+4
| | | | | | | barrier to locking asm. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86328 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-08-20 Matthias Klose <doko@debian.org>doko2004-08-201-0/+3076
| | | | | | | * config/abi/s390-linux-gnu/baseline_symbols.txt: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86318 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-08-20 Paolo Carlini <pcarlini@suse.de>paolo2004-08-201-0/+3070
| | | | | | | | * config/abi/x86_64-linux-gnu/32/baseline_symbols.txt: Add 32 bit baseline. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86304 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-08-20 Paolo Carlini <pcarlini@suse.de>paolo2004-08-201-833/+833
| | | | | | | * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Fix it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86302 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-08-19 Paolo Carlini <pcarlini@suse.de>paolo2004-08-191-3058/+3070
| | | | | | | * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Update to 3.4.0. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86242 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-08-18 Matthias Klose <doko@debian.org>doko2004-08-193-3071/+9236
| | | | | | | | | * config/abi/hppa-linux-gnu/baseline_symbols.txt: Update to 3.4.0. * config/abi/i386-linux-gnu/baseline_symbols.txt: New. * config/abi/powerpc-linux-gnu/baseline_symbols.txt: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86226 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-08-17 Paolo Carlini <pcarlini@suse.de>paolo2004-08-171-3031/+3083
| | | | | | | * config/abi/alpha-linux-gnu/baseline_symbols.txt: Update to 3.4.0. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86155 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-08-17 Paolo Carlini <pcarlini@suse.de>paolo2004-08-171-3031/+3070
| | | | | | | * config/abi/ia64-linux-gnu/baseline_symbols.txt: Update to 3.4.0. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86142 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-08-17 Benjamin Kosnik <bkoz@redhat.com>bkoz2004-08-171-3058/+3070
| | | | | | | * config/abi/i486-linux-gnu/baseline_symbols.txt: Update to 3.4.0. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86126 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/cpu/arm/cxxabi_tweaks.h: Define __cxa_vec_ctor_return andpbrook2004-08-122-2/+16
| | | | | | | | | | | | | | _GLIBCXX_CXA_VEC_CTOR_RETURN. * config/cpu/generic/cxxabi_tweaks.h: Ditto. * libsupc++/cxxabi.h (__cxa_vec_ctor, __cxa_vec_cctor): Use __cxa_vec_ctor_return. * libsupc++/vec.cc (__cxa_vec_ctor, __cxa_vec_cctor): Ditto. Use _GLIBCXX_CXA_VEC_CTOR_RETURN. * g++.dg/abi/arm_cxa_vec_1.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85891 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-08-12 Jan Beulich <jbeulich@novell.com>paolo2004-08-122-2/+2
| | | | | | | | | | | * config/locale/generic/ctype_members.cc (ctype<wchar_t>::_M_convert_to_wmask): Default case must not use 0 as initializer for return value, as that is invalid for enumerated types. * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::_M_convert_to_wmask): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85862 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud