summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/libsupc++
Commit message (Collapse)AuthorAgeFilesLines
...
* PR c++/4381jason2002-03-181-17/+45
| | | | | | | | | | * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn. (check_exception_spec): Call it. Take the thrown pointer. (__cxa_call_unexpected): Pass it. (PERSONALITY_FUNCTION): Likewise. Use get_adjusted_ptr. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50936 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-02-21 Benjamin Kosnik <bkoz@redhat.com>bkoz2002-02-221-0/+1
| | | | | | | | | * configure.in (target_alias): Default to yes. * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared libgcc to default case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49959 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-01-28 Phil Edwards <pme@gcc.gnu.org>pme2002-01-282-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets. * Makefile.in: Regenerate. * docs/doxygen/run_doxygen: Update, mostly for man pages. * docs/doxygen/Intro.3: Update. * docs/doxygen/TODO: Update. * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx. * docs/doxygen/mainpage.doxy: Update. * docs/doxygen/user.cfg.in: Update for header rename. Also regenerate comments and variables with 1.2.12. * docs/doxygen/maint.cfg.in: Remove file. * include/bits/stl_relops.h: Doxygenate. * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise. * include/c_std/std_cassert.h, include/c_std/std_cctype.h, include/c_std/std_cerrno.h, include/c_std/std_cfloat.h, include/c_std/std_ciso646.h, include/c_std/std_climits.h, include/c_std/std_clocale.h, include/c_std/std_cmath.h, include/c_std/std_csetjmp.h, include/c_std/std_csignal.h, include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h, include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h, include/c_std/std_cstring.h, include/c_std/std_ctime.h, include/c_std/std_cwchar.h, include/c_std/std_cwctype.h, include/ext/algorithm, include/ext/functional, include/ext/hash_map, include/ext/hash_set, include/ext/iterator, include/ext/memory, include/ext/numeric, include/ext/rb_tree, include/ext/rope, include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h, include/ext/stl_hashtable.h, include/ext/stl_rope.h, include/std/std_algorithm.h, include/std/std_bitset.h, include/std/std_complex.h, include/std/std_deque.h, include/std/std_fstream.h, include/std/std_functional.h, include/std/std_iomanip.h, include/std/std_ios.h, include/std/std_iosfwd.h, include/std/std_iostream.h, include/std/std_istream.h, include/std/std_iterator.h, include/std/std_limits.h, include/std/std_list.h, include/std/std_locale.h, include/std/std_map.h, include/std/std_memory.h, include/std/std_numeric.h, include/std/std_ostream.h, include/std/std_queue.h, include/std/std_set.h, include/std/std_sstream.h, include/std/std_stack.h, include/std/std_stdexcept.h, include/std/std_streambuf.h, include/std/std_string.h, include/std/std_utility.h, include/std/std_valarray.h, include/std/std_vector.h: Add/correct @file doxygen hook. * include/ext/memory: Doxygenate most of rest of file. * libsupc++/exception: Doxygen output formatting. * libsupc++/new: Say which header it is. * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing. * docs/html/19_diagnostics/howto.html: Describe concept-checks switch. * docs/html/23_containers/howto.html: Describe O(n) list::size(). * docs/html/27_io/howto.html: Also link to Langer and Kreft text. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49300 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>bkoz2002-01-161-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libmath/signbitl.c: Copyright years as list, not range. * libmath/Makefile.am: Same. * libmath/Makefie.in: Regenerate. * libmath/signbit.c: Same. * libmath/nan.c: Same. * libmath/copysignf.c: Same. * libmath/signbitf.c: Same. * testsuite/22_locale/money_get_members_char.cc: Same. * testsuite/22_locale/money_get_members_wchar_t.cc: Same. * testsuite/22_locale/money_put_members_char.cc: Same. * testsuite/22_locale/money_put_members_wchar_t.cc: Same. * testsuite/22_locale/time_get_members_char.cc: Same. * testsuite/22_locale/time_get_members_wchar_t.cc: Same. * testsuite/22_locale/time_put_members_char.cc: Same. * testsuite/22_locale/time_put_members_wchar_t.cc: Same. * testsuite/21_strings/nonmember.cc: Same. * testsuite/21_strings/compare.cc: Same. * testsuite/27_io/stringstream.cc: Same. * testsuite/27_io/stringbuf.cc: Same. * testsuite/27_io/filebuf.cc: Same. * testsuite/27_io/ios_manip_basefield.cc: Same. * testsuite/27_io/ios_manip_fmtflags.cc: Same. * include/bits/cpp_type_traits.h: Same. * include/bits/generic_shadow.h: Same. * include/bits/gslice_array.h: Same. * include/bits/gslice.h: Same. * include/bits/indirect_array.h: Same. * include/bits/slice_array.h: Same. * include/bits/sstream.tcc: Same. * include/bits/streambuf_iterator.h: Same. * include/bits/valarray_array.tcc: Same. * include/bits/valarray_meta.h: Same. * include/bits/valarray_array.h: Same. * config/os/mingw32/bits/ctype_noninline.h: Same. * config/os/mingw32/bits/ctype_base.h: Same. * config/os/hpux/bits/ctype_noninline.h: Same. * config/os/hpux/bits/ctype_base.h: Same. * config/os/gnu-linux/bits/ctype_noninline.h: Same. * config/os/gnu-linux/bits/ctype_base.h: Same. * config/os/generic/bits/ctype_noninline.h: Same. * config/os/generic/bits/ctype_base.h: Same. * libsupc++/tinfo.h: Tweaks. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48922 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-01-09 Paolo Carlini <pcarlini@unitus.it>paolo2002-01-093-0/+8
| | | | | | | | | | * libsupc++/exception (bad_exception): Add comment. * libsupc++/new (bad_alloc): Same. * libsupc++/typeinfo (bad_cast): Same. (bad_typeid): Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48700 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-01-09 Paolo Carlini <pcarlini@unitus.it>paolo2002-01-096-6/+22
| | | | | | | | | | | | | | | | | | | | | | | libstdc++/3150: revert 2001-11-30 commit. DR266 only means that the destructors should be removed from the descriptions in the standard: writing them explicitly allows the vtable heuristic to work. For additional information see: http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html * libsupc++/exception (bad_exception::~bad_exception()): Reintroduce declaration. * libsupc++/new (bad_alloc::~bad_alloc()): Same. * libsupc++/typeinfo (bad_cast::~bad_cast()): Same. (bad_typeid::~bad_typeid()): Same. * libsupc++/eh_exception.cc (bad_exception::~bad_exception()): Reintroduce definition. * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same. * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same. (bad_typeid::~bad_typeid()): Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48687 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-11-30 Benjamin Kosnik <bkoz@redhat.com>bkoz2001-12-016-11/+0
| | | | | | | | | | | | | | | | | | | libstdc++/3150 DR/266 * libsupc++/exception (bad_exception::~bad_exception()): Remove declaration. * libsupc++/new (bad_alloc::~bad_alloc()): Remove. * libsupc++/typeinfo (bad_cast::~bad_cast()): Remove. (bad_typeid::~bad_typeid()): Remove. * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Remove definition. (bad_typeid::~bad_typeid()): Same. * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same. * libsupc++/eh_exception.cc (bad_exception::~bad_exception()): Same. * include/bits/std_iomanip.h: Tweak. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47505 138bc75d-0d04-0410-961f-82ee72b054a4
* * src/vterminate.cc (__verbose_terminate_handler): Add leadingjason2001-11-231-2/+6
| | | | | | | underscores. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47292 138bc75d-0d04-0410-961f-82ee72b054a4
* * ChangeLog, docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,jsm282001-11-234-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | docs/doxygen/doxygroups.cc, docs/doxygen/Intro.3, docs/html/17_intro/BUGS, docs/html/17_intro/C++STYLE, docs/html/17_intro/CHECKLIST, docs/html/17_intro/DESIGN, docs/html/17_intro/howto.html, docs/html/17_intro/porting.html, docs/html/17_intro/porting.texi, docs/html/18_support/howto.html, docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html, docs/html/21_strings/howto.html, docs/html/23_containers/howto.html, docs/html/26_numerics/howto.html, docs/html/27_io/howto.html, docs/html/27_io/binary_iostreams_kuehl.txt, docs/html/ext/sgiexts.html, docs/html/faq/index.html, docs/html/faq/index.txt, testsuite/24_iterators/iterator.cc, include/bits/basic_file.h, include/bits/locale_facets.h, include/bits/locale_facets.tcc, include/bits/std_sstream.h, include/ext/ropeimpl.h, include/ext/stl_rope.h, libsupc++/tinfo.cc, libsupc++/cxxabi.h, libsupc++/typeinfo, libsupc++/eh_throw.cc, acinclude.m4, aclocal.m4, configure, configure.target, ChangeLog-2000: Fix spelling errors. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47291 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-11-19 Phil Edwards <pme@gcc.gnu.org>pme2001-11-202-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * docs/doxygen/Intro.3: More notes. * docs/doxygen/style.css: Update to default style from Doxygen 1.2.10. * include/bits/stl_algobase.h: Add doxygen hooks for functions. * include/ext/hash_map: Add @file hook. * include/ext/hash_set: Likewise. * include/ext/rope: Likewise. * include/ext/ropeimpl.h: Likewise. * include/ext/slist: Likewise. * include/ext/stl_hash_fun.h: Likewise. * include/ext/stl_hashtable.h: Likewise. * include/ext/stl_rope.h: Likewise. * docs/html/17_intro/license.html: Remove "experimental" sentence. * docs/html/19_diagnostics/howto.html: Document new verbose terminate handler. * testsuite/27_io/filebuf.cc: Fix comment, move tweakable parameter to more visible (closer to description) position. * libsupc++/eh_type.cc: Formatting tweak. * libsupc++/exception: Likewise. * src/vterminate.cc: Likewise. * docs/html/17_intro/porting.html: Regenerate. * docs/html/faq/index.txt: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47193 138bc75d-0d04-0410-961f-82ee72b054a4
* * libsupc++/eh_personality.cc (__cxa_call_unexpected): Take void*.jason2001-11-188-8/+76
| | | | | | | | | | | | | | | | | | * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise. * libsupc++/unwind-cxx.h: Adjust. * src/Makefile.am (strstream.o): Pass -Wno-deprecated. * libsupc++/eh_type.cc (__cxa_current_exception_type): New file. * libsupc++/cxxabi.h: Declare it. * libsupc++/Makefile.am (sources): Add it. * src/vterminate.cc (verbose_terminate_handler): New file. * libsupc++/exception: Declare it. * src/Makefile.am (sources): Add it. * src/Makefile.am (VPATH): Check the src directory before the top one. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47132 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-10-23 Benjamin Kosnik <bkoz@redhat.com>bkoz2001-10-244-29/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make -fno-exceptions work. * config/locale/c_locale_gnu.cc: Use functexcept. * include/bits/c++config (__stl_assert): Remove. (__STL_USE_EXCEPTIONS): Same. (__STL_TRY): Same. (__STL_CATCH_ALL): Same. (__STL_THROW): Same. (__STL_RETHROW): Same. (__STL_NOTHROW): Same. (__STL_UNWIND): Same. * include/bits/pthread_allocimpl.h: Fix. * include/bits/std_bitset.h: Same. * include/bits/std_list.h: Same. * include/bits/std_memory.h: Same. * include/bits/std_queue.h: Same. * include/bits/stl_alloc.h: Same. * include/bits/stl_deque.h: Same. * include/bits/stl_list.h: Same. * include/bits/stl_queue.h: Same. * include/bits/stl_tempbuf.h: Same. * include/bits/stl_tree.h: Same. * include/bits/stl_uninitialized.h: Same. * include/bits/stl_vector.h: Same. * include/ext/ropeimpl.h: Same. * include/ext/slist: Same. * include/ext/stl_hashtable.h: Same. * include/ext/stl_rope.h: Same. * libsupc++/new_op.cc: Include cstdlib. * libsupc++/eh_personality.cc: Add exception_defines include. Use __throw_exception_again, tweak. * libsupc++/eh_aux_runtime.cc: Include stdlib for abort. * libsupc++/vec.cc: Tweak. * src/functexcept.cc: Remove unused arguments. * testsuite/23_containers/bitset_members.cc: Tweak. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46455 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-10-22 Benjamin Kosnik <bkoz@redhat.com>bkoz2001-10-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config/cpu/i386/bits/limits.h: Move to... * config/cpu/i386/bits/cpu_limits.h: ...here. * config/cpu/cris/bits/cpu_limits.h: Same. * config/cpu/powerpc/bits/cpu_limits.h: Same. * config/cpu/x86-64/bits/cpu_limits.h: Same. * config/cpu/alpha/bits/cpu_limits.h: New. * config/cpu/m68k/bits/cpu_limits.h: New. * config/cpu/s390/bits/cpu_limits.h: New. * config/os/aix/bits/os_defines.h: Tweaks. * config/os/bsd/freebsd/bits/os_defines.h: Same. * config/os/bsd/netbsd/bits/os_defines.h: Same. * config/os/djgpp/bits/os_defines.h: Same. * config/os/generic/bits/os_defines.h: Same. * config/os/gnu-linux/bits/os_defines.h: Same. * config/os/hpux/bits/os_defines.h: Same. * config/os/irix/irix5.2/bits/os_defines.h: Same. * config/os/irix/irix6.5/bits/os_defines.h: Same. * config/os/newlib/bits/os_defines.h: Same. * config/os/solaris/solaris2.5/bits/os_defines.h: Same. * config/os/solaris/solaris2.6/bits/os_defines.h: Same. * config/os/solaris/solaris2.7/bits/os_defines.h: Same. * include/bits/c++config: Remove include. * include/bits/limits_generic.h: Remove. * include/bits/std_limits.h: Include cpu_limits.h. * include/Makefile.am: Fixup. * src/limits.cc: Tweak. * src/limits_generic.cc: Remove. * src/gen-num-limits.cc: Remove. * mknumeric_limits: Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46445 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-10-02 Benjamin Kosnik <bkoz@redhat.com>bkoz2001-10-021-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config/locale/time_members_gnu.h: Remove. * config/locale/time_members_generic.h: Remove. * config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add. * config/locale/time_members_generic.cc: Same. * include/bits/locale_facets.h: Add data members. (__timepunct::_M_put_helper): Change signature. (__timepunct::_M_date_formats): Same. (__timepunct::_M_time_formats): Same. (__timepunct::_M_ampm): Add. (__timepunct::_M_date_time_formats): Add. (time_get::_M_extract_via_format): Add. (time_get::_M_extract_time): Change to... (time_get::_M_extract_num): ... this, modify signature. * include/bits/locale_facets.tcc (time_get::do_get_year): Fix. (time_get::do_get_time): Fix. (time_get::do_get_date): Fix. * acinclude.m4: Remove CTIME_H. * aclocal.m4: Regenerate. * include/Makefile.am: Same. * include/Makefile.in: Regenerate. * configure: Regenerate. * testsuite/22_locale/time_get_members_char.cc: Fix. * testsuite/22_locale/time_get_members_wchar_t.cc: Add. * testsuite/22_locale/time_put_members_wchar_t.cc: Add. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45966 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-09-25 Phil Edwards <pme@gcc.gnu.org>pme2001-09-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * docs/html/20_util/howto.html: Add anchor name. * docs/html/23_containers/howto.html: Line wrapping, another link. * docs/html/25_algorithms/howto.html: Another note. * docs/html/ext/howto.html: Link to SGI extensions. List DRs and link to them... * docs/html/ext/lwg-active.html: ...in this new file (from R19), * docs/html/ext/lwg-defects.html: and this new file (from R19). * docs/html/ext/sgiexts.html: New file. Mention SGI extensions carried over to libstdc++-v3. * docs/html/faq/index.html: Link to SGI extensions. Mention the "missing .." pseudobug. * docs/html/faq/index.txt: Regenerate. * include/bits/ios_base.h: DR-related comment cleanup. * include/bits/istream.tcc: Likewise. * include/bits/locale_facets.h: Likewise. * include/bits/locale_facets.tcc: Likewise. * include/bits/ostream.tcc: Likewise. * include/bits/std_bitset.h: Likewise. * include/bits/std_iosfwd.h: Likewise. * include/bits/std_istream.h: Likewise. * include/bits/std_ostream.h: Likewise. * include/bits/std_streambuf.h: Likewise. * include/bits/stl_pair.h: Likewise. * include/bits/streambuf_iterator.h: Likewise. * include/bits/std_map.h: Remove unused header inclusion guard _CPP_BITS_STL_TREE_H from around bits/stl_tree.h. * include/bits/std_set.h: Likewise. * include/bits/stl_function.h: Doxygen markup. * docs/doxygen/doxygroups.cc: New file, specifying module grouping. * libsupc++/typeinfo: Doxygen markup tweak. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45816 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-09-19 Benjamin Kosnik <bkoz@redhat.com>bkoz2001-09-201-19/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | Implement std::time_put. * include/bits/locale_facets.h: Include time_members.h. (__timepunct): New. (time_put): Implement. * include/bits/locale_facets.tcc (do_put): Put generic versions here. * include/bits/localefwd.h: Bump number of facets. * config/locale/time_members_generic.h: New file. * config/locale/time_members_gnu.h: New file. * config/locale/c_locale_generic.h: Include clocale. * src/locale-inst.cc: Add use_facet instantiations for __timepunct. * src/locale.cc: Add __timepunct initializations. * src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same. * include/Makefile.am (stamp-target): Add time_members.h. * include/Makefile.in: Regenerate. * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H. * aclocal.m4: Regenerate. * configure: Regenerate. * testsuite/22_locale/time_put.cc: New file. * testsuite/22_locale/time_put_members_char.cc: New file. * docs/html/22_locale/locale.html: Add note. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45702 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>bkoz2001-09-101-47/+12
| | | | | | | | * include/Makefile.am (stamp-target): Remove link to self. * inclulde/Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45514 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-09-05 Phil Edwards <pme@sources.redhat.com>pme2001-09-051-12/+47
| | | | | | | | | | | | | | | | | * testsuite_flags.in: No longer need to search testsuite builddir. * src/stl-inst.cc (__sink_unused_warning): Unused, remove. * Makefile.am: The testsuite directory never needs to be made here. * Makefile.in: Regenerate. * include/Makefile.in: Regenerate. * libio/Makefile.in: Regenerate. * libmath/Makefile.in: Regenerate. * libsupc++/Makefile.in: Regenerate. * po/Makefile.in: Regenerate. * src/Makefile.in: Regenerate. * testsuite/Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45426 138bc75d-0d04-0410-961f-82ee72b054a4
* * libsupc++/eh_personality.cc (parse_lsda_header): Change type ofrsandifo2001-09-031-1/+1
| | | | | | | tmp from _Unwind_Ptr to _Unwind_Word. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45360 138bc75d-0d04-0410-961f-82ee72b054a4
* * exception.cc (PERSONALITY_FUNCTION): Simplifyjason2001-08-311-2/+3
| | | | | | | leb128 handling. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45317 138bc75d-0d04-0410-961f-82ee72b054a4
* * unwind-pe.h (read_uleb128, read_sleb128): Move actual readingjason2001-08-311-8/+6
| | | | | | | | | | | | | | | | code here. Take _Unwind_{W,Sw}ord*. (read_encoded_value_with_base): Use them. * unwind-dw2.c (_Unwind_FrameState): Make cfa_offset and cfa_reg words. (extract_cie_info): Simplify read_?leb128 handling. (execute_stack_op, execute_cfa_program): Likewise. * unwind-dw2-fde.c (get_cie_encoding): Likewise. * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Simplify leb128 handling. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45315 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-08-13 Benjamin Kosnik <bkoz@redhat.com>bkoz2001-08-141-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in (libtool_VERSION): Add. (VERSION): Change to (release_VERSION): This. * configure: Regenerate. * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with libtool_VERSION. * src/Makefile.in: Regenerate. * intl/Makefile.am: Remove. * intl/Makefile.in: Remove. * intl: Remove. * Makefile.am (SUBDIRS): Remove intl. * po/Makefile.am (DISTFILES): Add string_literals.cc (MSGFMT): Add. * po/string_literals.cc: Add. * po/POTFILES.in: Fix path. * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT. * aclocal.m4: Regenerate. * configure.in: Remove AC_OUTPUT of intl/Makefile. * include/backward/backward_warning.h: Clarify message. * testsuite_flags.in (--cxxflags): Use same debug flags for library and testsuite. * include/Makefile.am (c_compatibility): Remove. * include/Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44880 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (LIMITS_INC_SRCDIR): New variable.mmitchel2001-08-131-0/+1
| | | | | | | | | | | | * configure.target (LIMITSH): New variable. * porting.texi: Discuss numeric limits. * config/cpu/generic/bits/limits.h: New file. * config/cpu/i386/bits/limits.h: New file. * include/Makefile.am: Install bits/limits.h. * include/bits/c++config: Include bits/limits.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44877 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>bkoz2001-08-101-2/+2
| | | | | | | | | | | | | | | | | | | | | * acconfig.h (_GLIBCPP_MEM_LIMITS): Define. * config.h.in: Regenerate. * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit function. * aclocal.m4: Regenerate. * configure.in: Remove duplicate AM_CONFIG_HEADER. (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h. Only call GLIBCPP_CHECK_SETRLIMIT for native compiles. * configure: Regenerate. * testsuite_hooks.h.in: Move to... * testsuite_hooks.h: Here, include c++config.h. Use it. * Makefile.am (SUBDIRS): Move testsuite to last directory. * Makefile.in: Regenerate. * po/Makefile.am (stamp-po): Add. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44752 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-08-07 Benjamin Kosnik <bkoz@redhat.com>bkoz2001-08-081-3/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement std::messages. Make config a fully-nested directory. * config/locale: New directory. * config/c_locale_generic.cc: Move into locale subdirectory. * config/c_locale_generic.h: Same. * config/c_locale_gnu.cc: Same. * config/c_locale_gnu.h: Same. * config/c_locale_ieee_1003.1-200x.cc: Same. * config/c_locale_ieee_1003.1-200x_.h: Same. * config/codecvt_specializations_generic.h: Same. * config/codecvt_specializations_ieee_1003.1-200x.h: Same. * config/messages_members_gnu.h: Same. * config/messaages_members_gnu.cc: Same. * config/messages_members_generic.h: Same. * config/messaages_members_generic.cc: Same. * config/messages_members_ieee_1003.1-200x.h: Same. * config/messaages_members_ieee_1003.1-200x.cc: Same. * config/io: New directory. * config/basic_file_libio.h: Move into io subdirectory. * config/basic_file_libio.cc: Same. * config/c_io_libio.h: Same. * config/c_io_libio_codecvt.c: Same. * config/basic_file_stdio.h: Same. * config/basic_file_stdio.cc: Same. * config/c_io_stdio.h: Same. * po: New directory. * po/POTFILES.in: New file. * po/Makefile.am: New file. * po/Makefile.in: New file. * po/libstdc++.pot: Generic translation file. * po/fr.po: Preliminary French translation. * po/de.po: Preliminary German translation. * intl: New directory. * intl/Makefile.am: New file. * intl/Makefile.in: New file. * intl/string_literals.cc: New file. * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add requisite setup for gettext. Re-arrange. * aclocal.m4: Regenerate. * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION. Output Makefile bits for po and intl. * configure: Regenerate. * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist. * Makefile.in: Regenerate. * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY. * config.h.in: Regenerate. * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove. * include/Makefile.am (install-data-local): Don't install Makefile. * include/Makefile.in: Regenerate. * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale): Add member. * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition. * config/locale/c_locale_generic.cc: Same. * config/locale/c_locale_ieee_1003.1-200x.cc: Same. * include/bits/codecvt.h: Excise non-standard, non-required bits. This includes __enc_traits, and partial specializations of codecvt for __enc_traits. * src/codecvt.cc (__enc_traits::_S_max_size): Guard * config/codecvt_partials_ieee_1003.1-200x.h: New file. * config/codecvt_partials_generic.h: New file. * include/Makefile.am (allstamps): Add stamp-codecvt_model. (stamp-codecvt_model): Add. * include/Makefile.in: Regenerate. * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury. * aclocal.m4: Regenerate. * configure: Regenerate. * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard. * testsuite/22_locale/codecvt_unicode_char.cc: Same. * testsuite/22_locale/ctor_copy_dtor.cc: And here. * include/bits/localefwd.h (class locale::facet): Add __enc_traits as a friend for _S_*_c_locale functions. * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale argument to default constructor so that CODESET information can be deduced. * include/bits/locale_facets.h (messages_byname): Re-implement. Remove specializations. * src/locale.cc (messages_byname<char>): Remove specialization. (messages_byname<wchar_t>): Same. * config/locale/c_locale_ieee_1003.1-200x.cc: New file. * config/locale/c_locale_ieee_1003.1-200x.h: New file. * config/locale/messages_members_ieee_1003.1-200x.cc: New file. * config/locale/messages_members_ieee_1003.1-200x.h: New file. * config/locale/messages_members_gnu.cc: New file. * config/locale/messages_members_gnu.h: New file. * config/locale/messages_members_generic.cc: New file. * config/locale/messages_members_generic.h: New file. * docs/html/configopts.html: Add documentation for new locale model, ieee_1003.1. Adjust other flags for current defaults. * docs/html/22_locale/locale.html: Update. * docs/html/22_locale/howto.html: Add link to messages.html. Organize. * docs/html/22_locale/messages.html: New. * src/Makefile.am (sources): Add messages_virtuals.cc. * src/Makefile.in: Regenerate. * include/Makefile.am (allstamps): Add stamp-messages_model. (stamp-messages_model): Add. * include/Makefile.in: Regenerate. * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury. * aclocal.m4: Regenerate. * configure: Regenerate. * testsuite_flags.in (--cxxflags): Add LOCALEDIR. * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH bits for Irix. * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the build directories message catalog base directory, and export. Eventually this should probably be made to deal with build and install directories. For now, punt on this as the library itself doesn't use message catalogs (yet). * testsuite/22_locale/messages.cc: New file. * testsuite/22_locale/messages_char_members.cc: New file. * testsuite/22_locale/messages_byname.cc: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44702 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>rbkoz2001-07-181-47/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All occurrences of the __value_type() and __distance_type() functions, which were required to support the HP STL, have been removed along with all the auxiliary forwarding functions that were required to support their use. The __iterator_category() function was pretty much left alone because there was no benefit to removing it and its use made code just a little more readable. Incidences of distance() with nonstandard argument list were replaced by calls to the standard function (only in the files affected by the removal of the other HP functions). The signature of the rotate() algorithm was changed to match the standard. Headers were reformatted under C++STYLE guidelines (indentation, linebreaks, typename keyword). * include/bits/stl_algo.h: replaced __value_type() and __distance_type() with iterator_traits, eliminated auxiliary support functions required to support said function usage. Changed nonstandard distance() call to standard call. * include/bits/stl_algobase.h: Same. * include/bits/stl_heap.h: Same. * include/bits/stl_numeric.h: Same. * include/bits/stl_uninitialized.h: Same. * include/bits/stl_iterator_base_types.h (__value_type()): Removed. (__distance_type()): Removed. (value_type()): Gone. (distance_type()): Done in. (iterator_category()): Hasta la vista, baby. * include/bits/stl_iterator_base_funcs.h (iterator_category()): Replaced with __iterator_category(). * include/backward/iterator.h: moved definition of value_type(), distance_type(), and iterator_category() out of std:: and into here. * testsuite/23_containers/vector_ctor.cc (test03): New testcases. * testsuite/23_containers/vector_modifiers.cc (test03): New testcases. * testsuite/25_algorithms/rotate.cc: New testcase. * testsuite/25_algorithms/copy.cc: New testcase. * testsuite/25_algorithms/sort.cc: Same. * testsuite/25_algorithms/heap.cc: Same. * testsuite/25_algorithms/partition.cc: Same. * testsuite/25_algorithms/binary_search.cc: Same. * testsuite/26_numerics/sum_diff.cc: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44117 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-07-13 Stephen M. Webb <stephen@bregmasoft.com>pme2001-07-132-26/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Loren J. Rittle <ljrittle@acm.org> Phil Edwards <pme@sources.redhat.com> * include/Makefile.am: New file encapsulating header generation rules. * Makefile.am (SUBDIRS): Prepend 'include' directory. * acinclude.m4: Moved/removed rules for building various headers. * configure.in (AC_OUTPUT): Add include/Makefile. * mkc++config: Removed. * testsuite_flags.in: Changed build-includes to match new scheme. * mknumeric_limits: Likewise. * libio/Makefile.am: Changed INCLUDES to maatch new header scheme. * libmath/Makefile.am: Likewise. * libsupc++/Makefile.am: Likewise. * src/Makefile.am: Likewise; removed rules to build headers. * libmath/mathconf.h: Changed #include'd header names to match. * libmath/stubs.c: Likewise. * src/gen-num-limits.cc: Likewise. * configure: Regenerated. * config.h.in: Regenerated. * aclocal.m4: Regenerated. * Makefile.in: Regenerated. * include/Makefile.in: Regenerated. * libio/Makefile.in: Regenerated. * libmath/Makefile.in: Regenerated. * libsupc++/Makefile.in: Regenerated. * src/Makefile.in: Regenerated. * testsuite/Makefile.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43985 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-07-11 Phil Edwards <pme@sources.redhat.com>pme2001-07-113-6/+75
| | | | | | | | | | | | | | | | | * docs/doxygen/run_doxygen: Don't keep output from previous run. * docs/doxygen/user.cfg.in: Tweaks. * include/bits/c++config: Documentation comments for Doxygen. * include/bits/char_traits.h: Likewise. * include/bits/limits_generic.h: Likewise. * include/bits/std_stdexcept.h: Likewise. * include/bits/stl_pair.h: Likewise. * libsupc++/exception: Likewise. * libsupc++/new: Likewise. * libsupc++/typeinfo: Likewise. * libmath/Makefile.am: Update and correct copyright. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43948 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-07-02 Benjamin Kosnik <bkoz@redhat.com>bkoz2001-07-021-1/+1
| | | | | | | | | | | | | | | | * src/locale.cc (locale::locale(const char*)): Make sure global locales are initialized. * include/bits/locale_facets.tcc (locale::combine): Refcout should be zero, not one as it's return-by-value. * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for named locales here. * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check for it here. (test02): Add test. * libsupc++/eh_alloc.cc: Use climits, not limits.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43713 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>bkoz2001-06-261-48/+12
| | | | | | | | | | | | | | | | | | | | | | | * include/bits/sbuf_iter.h: Change to.. * include/bits/streambuf_iterator.h: This. * include/bits/stl_iterator.h: Take out of here... * include/bits/stream_iterator.h: Add. * src/Makefile.am (base_headers): Add streambuf_iterator, stream_iterator.h * src/Makefile.in: Regenerate. * include/bits/std_string.h: Adjust includes. * include/bits/basic_ios.h: Same. * include/bits/locale_facets.tcc: Same. * include/bits/std_iosfwd.h: Same. * include/bits/std_iterator.h: Add istream, ostream includes. * include/bits/stl_iterator.h: Tweak. * testsuite/24_iterators/ostream_iterator.cc: Add test. * testsuite/24_iterators/istream_iterator.cc: Same. * testsuite/23_containers/multiset.cc: Add iterator include. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43592 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-06-25 Phil Edwards <pme@sources.redhat.com>pme2001-06-251-12/+48
| | | | | | | | | | | | | | | | | | Kurt Garloff <garloff@suse.de> PR libstdc++/3377 * src/cmath.cc: New [version of an old] file; instantiate __cmath_power to start with. * src/Makefile.am (sources): Add cmath.cc (and alphabetize). * Makefile.in: Regenerate. * libio/Makefile.in: Regenerate. * libmath/Makefile.in: Regenerate. * libsupc++/Makefile.in: Regenerate. * src/Makefile.in: Regenerate. * testsuite/Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43559 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-06-21 Phil Edwards <pme@sources.redhat.com>pme2001-06-211-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/backward/algo.h: Add "GPL plus runtime exception" comment. * include/backward/algobase.h: Likewise. * include/backward/alloc.h: Likewise. * include/backward/bvector.h: Likewise. * include/backward/defalloc.h: Likewise. * include/backward/deque.h: Likewise. * include/backward/function.h: Likewise. * include/backward/hash_map.h: Likewise. * include/backward/hash_set.h: Likewise. * include/backward/hashtable.h: Likewise. * include/backward/heap.h: Likewise. * include/backward/iterator.h: Likewise. * include/backward/list.h: Likewise. * include/backward/map.h: Likewise. * include/backward/multimap.h: Likewise. * include/backward/multiset.h: Likewise. * include/backward/pair.h: Likewise. * include/backward/rope.h: Likewise. * include/backward/set.h: Likewise. * include/backward/slist.h: Likewise. * include/backward/stack.h: Likewise. * include/backward/strstream: Likewise. * include/backward/tempbuf.h: Likewise. * include/backward/tree.h: Likewise. * include/backward/vector.h: Likewise. * include/bits/pthread_allocimpl.h: Likewise. * include/bits/std_algorithm.h: Likewise. * include/bits/std_bitset.h: Likewise. * include/bits/std_deque.h: Likewise. * include/bits/std_functional.h: Likewise. * include/bits/std_iterator.h: Likewise. * include/bits/std_list.h: Likewise. * include/bits/std_map.h: Likewise. * include/bits/std_memory.h: Likewise. * include/bits/std_numeric.h: Likewise. * include/bits/std_queue.h: Likewise. * include/bits/std_set.h: Likewise. * include/bits/std_stack.h: Likewise. * include/bits/std_utility.h: Likewise. * include/bits/std_vector.h: Likewise. * include/bits/stl_algo.h: Likewise. * include/bits/stl_algobase.h: Likewise. * include/bits/stl_alloc.h: Likewise. * include/bits/stl_bvector.h: Likewise. * include/bits/stl_construct.h: Likewise. * include/bits/stl_deque.h: Likewise. * include/bits/stl_function.h: Likewise. * include/bits/stl_heap.h: Likewise. * include/bits/stl_iterator.h: Likewise. * include/bits/stl_iterator_base_funcs.h: Likewise. * include/bits/stl_iterator_base_types.h: Likewise. * include/bits/stl_list.h: Likewise. * include/bits/stl_map.h: Likewise. * include/bits/stl_multimap.h: Likewise. * include/bits/stl_multiset.h: Likewise. * include/bits/stl_numeric.h: Likewise. * include/bits/stl_pair.h: Likewise. * include/bits/stl_pthread_alloc.h: Likewise. * include/bits/stl_queue.h: Likewise. * include/bits/stl_raw_storage_iter.h: Likewise. * include/bits/stl_relops.h: Likewise. * include/bits/stl_set.h: Likewise. * include/bits/stl_stack.h: Likewise. * include/bits/stl_tempbuf.h: Likewise. * include/bits/stl_threads.h: Likewise. * include/bits/stl_tree.h: Likewise. * include/bits/stl_uninitialized.h: Likewise. * include/bits/stl_vector.h: Likewise. * include/bits/type_traits.h: Likewise. * include/ext/hash_map: Likewise. * include/ext/hash_set: Likewise. * include/ext/rope: Likewise. * include/ext/ropeimpl.h: Likewise. * include/ext/slist: Likewise. * include/ext/stl_hash_fun.h: Likewise. * include/ext/stl_hashtable.h: Likewise. * include/ext/stl_rope.h: Likewise. * libsupc++/unwind-cxx.h: Likewise. * src/bitset.cc: Likewise. * src/strstream.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43496 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>bkoz2001-06-092-4/+4
| | | | | | | | | | | | | | | | | | | | | | * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc, fgetws. * aclocal.m4: Regenerate. * configure: Regenerate. * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc injection, guard fgetwc, fgetws. * include/c_std/bits/std_cstdio.h: Remove superfluous includes. * include/c_std/bits/std_clocale.h: And here. * include/c_std/bits/std_cctype.h: And here. * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection. * config/basic_file_stdio.h: Don't include unistd.h. * config/c_io_stdio.h: Don't use compatibility headers. * libsupc++/eh_terminate.cc: Qualify abort. (__terminate): And here. * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43070 138bc75d-0d04-0410-961f-82ee72b054a4
* * libsupc++/eh_alloc.cc: Ensure that required macros areljrittle2001-06-082-17/+16
| | | | | | | | | | | | defined before including gthr.h. Ensure that we get the version of gthr.h for which we know how to provide a configuration. * libsupc++/eh_globals.cc: Likewise. And, bring the threading code path into line with the current EH model. Use std, where appropriate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42999 138bc75d-0d04-0410-961f-82ee72b054a4
* * libsupc++/Makefile.am (install-glibcppinstallHEADERS,hp2001-06-042-15/+38
| | | | | | | | | uninstall-glibcppinstallHEADERS): Have explicit rules catering to SUN make VPATH peculiarities. * libsupc++/Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42844 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-05-24 Phil Edwards <pme@sources.redhat.com>pme2001-05-251-2/+2
| | | | | | | | | * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify malloc with std:: . (__cxa_free_exception): Likewise with free. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42556 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/c_std/bin/std_cstring.h: #define away all globalmmitchel2001-05-251-1/+1
| | | | | | | | | | | | | functions we will redeclare in namespace `std'. * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use std::memset, instead of memset. * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp', not plain `strcmp'. * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of plain `strcpy'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42555 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>bkoz2001-05-141-50/+15
| | | | | | | | | | | | | | | | | | | | | | | | | Switch over to new harness. * testsuite_flags.in: Tweaks via Gaby. * testsuite/Makefile.am: Change tool to libstdc++-v3. (EXPECT): Quote directly. (RUNTEST): Same. * configure.in: Output testsuite_flags. * acinclude.m4: Substitute src, bld, and prefix dirs. Remove glibcpp_expect, glibcpp_runtestflags. * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs. * mkcheck.in: Port to new interface. * aclocal.m4: Regerate. * configure: Regnerate. * Makefile.in: Regnerate. * */Makefile.in: Regenerate. * tests_flags.in: Remove. * testsuite/lib/libstdc++.exp: Remove. * testsuite/libstdc++.tests/tests.exp: Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42055 138bc75d-0d04-0410-961f-82ee72b054a4
* * libsupc++/eh_personality.cc: Include unwind-pe.h. Removerth2001-05-121-179/+23
| | | | | | | | | | | | | all pointer encoding logic. (struct lsda_header_info): Add ttype_base. (get_ttype_entry): Use it instead of a context. (check_exception_spec): Likewise. (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in the c++ exception header for __cxa_call_unexpected. (__cxa_call_unexpected): Use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41982 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic oraoliva2001-05-032-14/+51
| | | | | | | | | | | -prefer-non-pic depending on whether libtool has shared libraries enabled or disabled. * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to $(LIBSUPCXX_PICFLAGS). * configure, */Makefile.in: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41806 138bc75d-0d04-0410-961f-82ee72b054a4
* * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don'tnathan2001-04-121-1/+6
| | | | | | | terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41296 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>bkoz2001-04-112-3/+5
| | | | | | | | | | | | | | | | * acinclude.m4: AC_CHECK_TOOL for expect. * aclocal.m4: Regenerate. * configure: Regenerate. * testsuite/Makefile.am (RUNTEST): Use substituted. (EXPECT): Same. * configure.in: Remove xcompiling substitution. * tests_flags.in (CROSS_LIB_PATH): Remove. (xcompiling): Remove. (CXX): Use substituted CXX. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41262 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>bkoz2001-04-061-48/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Warn when using backward headers. * include/backward/algo.h: Include warning file. * include/backward/vector.h: Same. * include/backward/tree.h: Same. * include/backward/tempbuf.h: Same. * include/backward/strstream: Same. * include/backward/streambuf.h: Same. * include/backward/stream.h: Same. * include/backward/stack.h: Same. * include/backward/slist.h: Same. * include/backward/set.h: Same. * include/backward/rope.h: * include/backward/queue.h: Same. * include/backward/pair.h: Same. * include/backward/ostream.h: Same. * include/backward/new.h: Same. * include/backward/multiset.h: Same. * include/backward/multimap.h: Same. * include/backward/map.h: Same. * include/backward/list.h: Same. * include/backward/iterator.h: Same. * include/backward/istream.h: Same. * include/backward/iostream.h: * include/backward/iomanip.h: * include/backward/heap.h: Same. * include/backward/hashtable.h: * include/backward/hash_set.h: * include/backward/hash_map.h: * include/backward/function.h: * include/backward/fstream.h: * include/backward/deque.h: * include/backward/defalloc.h: Same. * include/backward/complex.h: Same. * include/backward/bvector.h: * include/backward/alloc.h: * include/backward/algobase.h: Same. * include/backward/backward_warning.h: New file. * src/Makefile.am (backward_headers): Add backward_warning.h * src/Makefile.in: Regenerate. 2001-04-05 Benjamin Kosnik <bkoz@redhat.com> * src/Makefile.am (myinstalldirs): Make sure backward directory is created. (myinstallheaders): Install backward headers in backward directory. * src/Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41139 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-04-02 Phil Edwards <pme@sources.redhat.com>pme2001-04-031-12/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New concept checking implementation. * docs/html/19_diagnostics/howto.html: Document. * docs/html/17_intro/concept_check.diff: New file, for reference. * include/bits/boost_concept_check.h: New file from Boost. * include/bits/c++config: Update comments. * include/bits/concept_check.h: New file. * include/bits/concept_checks.h: Removed. * include/bits/container_concepts.h: Removed. * include/bits/sequence_concepts.h: Removed. * include/bits/stl_iterator_base.h: Removed; split into... * include/bits/stl_iterator_base_funcs.h: ...this new file... * include/bits/stl_iterator_base_types.h: ...and this new file. * include/bits/sbuf_iter.h: Update to use new implementation. * include/bits/std_iterator.h: Likewise. * include/bits/std_memory.h: Likewise. * include/bits/stl_algo.h: Likewise. * include/bits/stl_algobase.h: Likewise. * include/bits/stl_construct.h: Likewise. * include/bits/stl_deque.h: Likewise. * include/bits/stl_heap.h: Likewise. * include/bits/stl_list.h: Likewise. * include/bits/stl_map.h: Likewise. * include/bits/stl_multimap.h: Likewise. * include/bits/stl_multiset.h: Likewise. * include/bits/stl_numeric.h: Likewise. * include/bits/stl_queue.h: Likewise. * include/bits/stl_set.h: Likewise. * include/bits/stl_stack.h: Likewise. * include/bits/stl_uninitialized.h: Likewise. * include/bits/stl_vector.h: Likewise. * include/ext/hash_map: Likewise. * include/ext/hash_set: Likewise. * include/ext/slist: Likewise. * include/ext/stl_hashtable.h: Likewise. * src/Makefile.am (base_headers): Update list of headers. * Makefile.in: Regenerated. * src/Makefile.in: Regenerated. * libio/Makefile.in: Regenerated. * libmath/Makefile.in: Regenerated. * libsupc++/Makefile.in: Regenerated. * testsuite/Makefile.in: Regenerated. * docs/html/install.html: Update contact information. * docs/html/17_intro/howto.html: Ditto. * docs/html/18_support/howto.html: Ditto. * docs/html/20_util/howto.html: Ditto. * docs/html/21_strings/howto.html: Ditto. * docs/html/22_locale/howto.html: Ditto. * docs/html/23_containers/howto.html: Ditto. * docs/html/24_iterators/howto.html: Ditto. * docs/html/25_algorithms/howto.html: Ditto. * docs/html/26_numerics/howto.html: Ditto. * docs/html/27_io/howto.html: Ditto. * docs/html/faq/index.html: Ditto, plus info on new checking code. * docs/html/ext/howto.html: Ditto, plus info on new checking code. * docs/html/faq/index.txt: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41031 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>bkoz2001-03-301-48/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | * mkcheck.in (LIBTOOL): Don't construct -B argument here... * tests_flags.in (CXX): Construct here. (static_fail): Don't remove compile.out. Format with spaces. (INCLUDES): Deal with xcompiling. * configure.in (xcompiling): Substitute. * testsuite/Makefile.am: Snake libjava configury. * testsuite/Makefile.in: Regenerate. * testsuite/23_containers/map_operators.cc: Tweaks. * testsuite/23_containers/set_operators.cc: Tweaks. 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com> Enable dejagnu testing framework. * configure.in: Generate testsuite/Makefile. * configure: Regenerate. * Makefile.am (check-install): Change rule from this... (check-script-install): ...to this. (check): Change rule from this... (check-script):...to this. * Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40960 138bc75d-0d04-0410-961f-82ee72b054a4
* * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared afteraoliva2001-03-282-25/+53
| | | | | | | | | --tag CXX. (LIBTOOL): Let automake take care of its definition. * libsupc++/Makefile.in: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40947 138bc75d-0d04-0410-961f-82ee72b054a4
* IA-64 ABI Exception Handling.rth2001-03-2816-535/+1472
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40924 138bc75d-0d04-0410-961f-82ee72b054a4
* * libsupc++/Makefile.am (CXXLINK): Use CXX again, and chooseaoliva2001-03-282-10/+14
| | | | | | | | | CXX tag explicitly. * src/Makefile.am (CXXLINK): Likewise. * libsupc++/Makefile.in, src/Makefile.in: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40894 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-03-24 Phil Edwards <pme@sources.redhat.com>pme2001-03-251-8/+36
| | | | | | | | | | | | | | | | * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment. * src/Makefile.am: Replace leading spaces with tabs on continuation lines. * aclocal.m4: Regenerated. * configure: Ditto. * Makefile.in: Ditto. * src/Makefile.in: Ditto. * libio/Makefile.in: Ditto. * libmath/Makefile.in: Ditto. * libsupc++/Makefile.in: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40822 138bc75d-0d04-0410-961f-82ee72b054a4
* * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.jason2001-03-202-10/+43
| | | | | | | | (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it. * libsupc++/cxxabi.h: Declare it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40657 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud