aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/libmath
AgeCommit message (Collapse)AuthorFilesLines
2004-07-02configure.ac: Set ABI_TWEAKS_SRCDIR.Paul Brook1-0/+1
* configure.ac: Set ABI_TWEAKS_SRCDIR. * configure.host: Set abi_tweaks_dir. Check for atomicity.h when setting atomicity_dir. Override type_cpu for arm based targets. * include/Makefile.am (host_headers): Add cxxabi_tweaks.h. * libsupc++/cxxabi.h: Include bits/cxxabi.h. Don't declare __guard. * libsupc++/guard.cc: Use definitions from cxxabi_tweaks.h. * libsupc++/vec.cc: Ditto. * config/cpu/arm/cxxabi_tweaks.h: New file. * config/cpu/generic/cxxabi_tweaks.h: New file. * */Makefile.in: Regenerate. * configure: Regenerate. From-SVN: r84032
2004-06-14Makefile.in: Regenerate with automake 1.8.5.Benjamin Kosnik1-5/+7
2004-06-14 Benjamin Kosnik <bkoz@redhat.com> * Makefile.in: Regenerate with automake 1.8.5. * aclocal.m4: Same. * include/Makefile.in: Same. * libmath/Makefile.in: Same. * libsupc++/Makefile.in: Same. * po/Makefile.in: Same. * src/Makefile.in: Same. * testsuite/Makefile.in: Same. From-SVN: r83123
2004-03-19acinclude.m4 (GLIBCXX_CHECK_WCHAR_T_SUPPORT): Set LIBICONV, not libiconv.Phil Edwards1-0/+1
2004-03-19 Phil Edwards <phil@codesourcery.com> * acinclude.m4 (GLIBCXX_CHECK_WCHAR_T_SUPPORT): Set LIBICONV, not libiconv. SUBST this variable as well. * testsuite/Makefile.am (site.exp): New target, based on that created by automake. Also set libiconv. * configure, Makefile.in, include/Makefile.in, libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in, testsuite/Makefile.in: Regenerate. From-SVN: r79678
2004-03-13allocator: New.Benjamin Kosnik1-0/+2
2004-03-13 Benjamin Kosnik <bkoz@redhat.com> * config/allocator: New. * config/allocator/bitmap_allocator_base.h: New. * config/allocator/malloc_allocator_base.h: New. * config/allocator/mt_allocator_base.h: New. * config/allocator/new_allocator_base.h: New. * include/bits/allocator.h: Include c++allocator.h. * acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): New. * aclocal.m4: Regenerate. * configure.ac: Use GLIBCXX_ENABLE_ALLOCATOR. * configure: Regenerate. * include/Makefile.am (host_headers_extra): Add c++allocator.h. * include/Makefile.in: Regenerate. * docs/html/configopts.html: Add enable-libstdcxx-allocator. From-SVN: r79435
2004-03-02Support automake 1.8.2Benjamin Kosnik1-62/+81
2004-03-02 Benjamin Kosnik <bkoz@redhat.com> Support automake 1.8.2 * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-override. * po/Makefile.am (EXTRA_DIST): New. * po/Makefile.in: Regenerate. * Makefile.in: Same. * include/Makefile.in: Same. * libmath/Makefile.in: Same. * libsupc++/Makefile.in: Same. * src/Makefile.in: Same. * testsuite/Makefile.in: Same. * include/Makefile.am (${host_builddir}/gthr-posix.h): Use __GXX_WEAK__ instead of SUPPORTS_WEAK. (${host_builddir}/gthr-default.h): Same. (${host_builddir}/gthr.h): Same. * acinclude.m4 (GLIBCXX_ENABLE_THREAD): Remove _GLIBCXX_SUPPORTS_WEAK, as this behavior can be modified via -fno-weak. * aclocal.m4: Regenerate. * acconfig.h: Remove _GLIBCXX_SUPPORTS_WEAK. * config.h.in: Regenerate. * configure: Same. From-SVN: r78770
2004-01-23re PR c/13814 (rejects different prototypes than builtin function)Kaveh R. Ghazi2-41/+0
PR c/13814 * config/linker-map.gnu (nan): Delete. * libmath/mathconf.h (NAN, nan): Delete. * linkage.m4 (nan): Don't check for it. * libmath/nan.c: Delete file. * config.h.in, configure: Regenerate. From-SVN: r76431
2003-12-29acconfig.h: Add _GLIBCXX_USE_C99_MATH.Mark Mitchell1-2/+2
* acconfig.h: Add _GLIBCXX_USE_C99_MATH. * acinclude.m4 (GLIBCXX_ENABLE_C99): Define GLIBCXX_USE_C99_MATH. * configure.ac: Define HAVE_S_ISREG and HAVE_S_IFREG when targeting newlib. * aclocal.m4: Regenerated. * config.h.in: Likewise. * configure: Likewise. * Makefile.in: Likewise. * include/Makefile.in: Likewise. * libmath/Makefile.in: Likewise. * libsupc++/Makefile.in: Likewise. * testsuite/Makefile.in: Likewise. * src/Makefile.in: Likewise. * po/Makefile.in: Likewise. * include/c_std/std_cmath.h (_GLIBCXX_USE_C99): Replace with ... (_GLIBCXX_USE_C99_MATH): ... this. * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: XFAIL for arm-none-elf. * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Likewise. * testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: Likewise. * testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: Likewise. * testsuite/27_io/basic_istream/readsome/char/6476-2.cc: Likewise. * testsuite/27_io/objects/char/9.cc: Likewise. * testsuite/ext/stdio_filebuf/char/10063-2.cc: Likewise. From-SVN: r75209
2003-12-10re PR libstdc++/13296 (unnecessary libunwind support in libstdc++-v3)Benjamin Kosnik1-1/+0
2003-12-09 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/13296 * acinclude.m4 (GLIBCXX_ENABLE_LIBUNWIND_EXCEPTIONS): Remove. * aclocal.m4: Regenerate. * configure.ac: Remove call to GLIBCXX_ENABLE_LIBUNWIND_EXCEPTIONS. * conigure: Regenerate. * src/Makefile.am (libstdc___la_LDFLAGS): Remove LIBUNWIND_FLAGS. * src/Makefile.in: Regenerate. * docs/html/17_intro/configury.html: Modify. From-SVN: r74479
2003-12-04re PR libstdc++/13284 (126 g++ failures due to lrand48 not defined)Benjamin Kosnik1-7/+5
2003-12-04 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/13284 * include/bits/stl_algo.h (__random_number): Remove. (random_shuffle): Use rand, as permitted by DR 395. * include/ext/algorithm: Same. * linkage.m4 (GLIBCXX_CHECK_STDLIB_SUPPORT): Remove lrand48. * acconfig.h: Same. * crossconfig.m4: Remove HAVE_DRAND48, HAVE_LRAND48. * config.h.in: Regenerated. * configure: Same. * aclocal.m4: Same. From-SVN: r74288
2003-11-15std_cmath.h: Don't import C99's float transcendentals into the ↵Roger Sayle1-0/+161
__gnu_cxx::__c99_binding... * include/c_std/std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding namespace. (acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp, ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using GCC's math builtins, i.e. __builtin_foo. * libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl, ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl, ldexpf, ldexpl, modff, modfl): Provide stub implementations. From-SVN: r73629
2003-11-04stubs.c (sqrtf, sqrtl): Reorder so they appear before they're used.Anthony Green1-17/+17
2003-11-01 Anthony Green <green@redhat.com> * libmath/stubs.c (sqrtf, sqrtl): Reorder so they appear before they're used. From-SVN: r73243
2003-08-27Makefile.am: Remove trailing whitespace.Phil Edwards2-2/+2
2003-08-27 Phil Edwards <pme@gcc.gnu.org> * Makefile.am: Remove trailing whitespace. Remove needless "foo = @foo@" assignments. Replace direct uses of @foo@ with $(foo). * include/Makefile.am: Likewise. * libmath/Makefile.am: Likewise. * libsupc++/Makefile.am: Likewise. * po/Makefile.am: Likewise. * src/Makefile.am: Likewise. * testsuite/Makefile.am: Likewise. * Makefile.in, include/Makefile.in, libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in, testsuite/Makefile.in: Regenerated. From-SVN: r70865
2003-08-27acinclude.m4 (GLIBCXX_CONDITIONAL): New macro.Phil Edwards1-0/+2
2003-08-27 Phil Edwards <pme@gcc.gnu.org> * acinclude.m4 (GLIBCXX_CONDITIONAL): New macro. Wrap AM_CONDITIONAL. Replace all calls to AM_CONDITIONAL with this one. (GLIBCXX_ENABLE_HOSTED): New macro, sets new variable is_hosted, used elsewhere in this file. (GLIBCXX_EVALUATE_CONDITIONALS): New macro... * configure.ac: ...called here to expand all conditionals. * Makefile.am: Conditionalize SUBDIRS on GLIBCXX_HOSTED. * include/Makefile.am: Remove redundant gxx_include_dir assignment. (install-freestanding-headers): New target, a subset of install-headers. Conditionalize install-data-local on GLIBCXX_HOSTED. * aclocal.m4, configure, Makefile.in, include/Makefile.in, libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in, testsuite/Makefile.in: Regenerated. From-SVN: r70854
2003-08-17acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Remove LIBMATH_INCLUDES and ↵Phil Edwards2-20/+5
LIBSUPCXX_INCLUDES. 2003-08-17 Phil Edwards <pme@gcc.gnu.org> * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Remove LIBMATH_INCLUDES and LIBSUPCXX_INCLUDES. Re-purpose TOPLEVEL_INCLUDES to refer to things from the top level. * configure.ac (GLIBCXX_IS_NATIVE): Determine earlier and re-order. Comment out the conditionals for CANADIAN and GLIBCXX_BUILD_LIBMATH (currently unused). Strip the fake-VPATH shell fragment from automake-generated rules, if present. * linkage.m4: Add comment. * fragment.am: New file, containing factored-out common settings. (AM_CPPFLAGS): Absorb the deprecated INCLUDES variable contents. * Makefile.am: Include fragment.am. Remove common variables. * include/Makefile.am: Likewise. * libmath/Makefile.am: Likewise. * libsupc++/Makefile.am: Likewise. * po/Makefile.am: Likewise. Print rules during check. * src/Makefile.am: Likewise. * testsuite/Makefile.am: Likewise. * aclocal.m4, configure, Makefile.in, include/Makefile.in, libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in, testsuite/Makefile.in: Regenerate. From-SVN: r70522
2003-08-05configure.in: Rename...Phil Edwards1-1/+1
2003-08-05 Phil Edwards <pme@gcc.gnu.org> * configure.in: Rename... * configure.ac: ...to this. * docs/html/17_intro/porting.texi: Update name. * docs/html/17_intro/porting.html: Regenerate. * config.h.in, Makefile.in, include/Makefile.in, libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in, testsuite/Makefile.in: Regenerate (picks up new dependancy). From-SVN: r70194
2003-08-05Convert to new autotools.Phil Edwards2-197/+280
2003-08-04 Phil Edwards <pme@gcc.gnu.org> Convert to new autotools. * acconfig.h: Update with correct names. * configure.host (ATOMICITYH): Rename to atomicity_include_dir. (qnx6.[12]*): 'q' comes before 's', not after 'w'. * configure.in: Update. Split hardcoded cross-configury settings out to... * crossconfig.m4: ...here. New file. Contents untouched. * acinclude.m4: Reorganize and rewrite as needed. Split large chunks out to... * linkage.m4: ...here. New file. Math and stdlib linkage tests. Contents untouched. * scripts/testsuite_flags.in: Update. * Makefile.am: Remove unneeded AUTOMAKE_OPTIONS settings and other variables (already generated by automake). * include/Makefile.am: Ditto. * libmath/Makefile.am: Ditto. * libsupc++/Makefile.am: Ditto. * po/Makefile.am: Ditto. * src/Makefile.am: Ditto. * aclocal.m4: Regenerate using new versions. * config.h.in: Ditto. * configure: Ditto. * Makefile.in: Ditto. * include/Makefile.in: Ditto. * libmath/Makefile.in: Ditto. * libsupc++/Makefile.in: Ditto. * po/Makefile.in: Ditto. * src/Makefile.in: Ditto. * testsuite/Makefile.in: Ditto. From-SVN: r70167
2003-07-05Move from CPP to CXX.Benjamin Kosnik2-16/+18
2003-07-04 Benjamin Kosnik <bkoz@redhat.com> Move from CPP to CXX. * include/bits/c++config: Move to GLIBCXX from GLIBCPP. * testsuite/Makefile.am: Same. * testsuite/Makefile.in: Regenerate. * po/Makefile.am: Same. * po/Makefile.in: Regenerate. * libsupc++/Makefile.am: Same. * libsupc++/Makefile.in: Regenerate. * libmath/Makefile.am: Same. * libmath/Makefile.in: Regenerate. * include/Makefile.am: Same. * include/Makefile.in: Regenerate. * src/Makefile.am: Same. * src/Makefile.in: Regenerate. * acconfig.h: Same. * configure.host: Same. * configure.in: Same. * configure: Regenerate. * acinclude.m4: Same. * aclocal.m4: Same. * src: Change all files in this directory. * testsuite: Same. * include: Same, standardize include guards. * config: Same. * libsupc++: Same. From-SVN: r68958
2003-06-30acinclude.m4 (GLIBCPP_ENABLE_PCH): Add bits for --enable-pch.Benjamin Kosnik1-1/+1
2003-06-30 Benjamin Kosnik <bkoz@redhat.com> * acinclude.m4 (GLIBCPP_ENABLE_PCH): Add bits for --enable-pch. * aclocal.m4: Regenerate. * configure.in (GLIBCPP_CHECK_PCH): Move, change to GLIBCPP_ENABLE_PCH, default to yes. * configure: Regenerate. * docs/html/configopts.html: Add --enable-pch. From-SVN: r68715
2003-06-12acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Simplify.Benjamin Kosnik1-4/+2
2003-06-11 Benjamin Kosnik <bkoz@redhat.com> * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Simplify. * aclocal.m4: Regenerate. * Makefile.am (SUBDIRS): Remove libio. * Makefile.in: Regenerate. * configure.in: Same. * configure: Regenerate. * config/io/basic_file_libio.cc: Remove. * config/io/basic_file_libio.h: Remove. * config/io/c_io_libio_codecvt.c: Remove. * config/io/c_io_libio.h: Remove. * libio/*: Remove. * src/Makefile.am: Same. * src/Makefile.in: Regenerate. * docs/html/configopts.html: Edits. * docs/html/explanations.html: Edits. From-SVN: r67813
2003-05-21stubs.c (hypot, [...]): Don't divide by zero.Danny Smith1-1/+7
* libmath/stubs.c (hypot, hypotf, hypotl): Don't divide by zero. Update copyright year. From-SVN: r67051
2003-02-12Makefile.am (stamp-std-precompile): Add rule.Benjamin Kosnik1-1/+1
2003-02-11 Benjamin Kosnik <bkoz@redhat.com> * include/Makefile.am (stamp-std-precompile): Add rule. * include/Makefile.in: Regenerated. From-SVN: r62752
2003-02-06basic_file_libio.h: Fixups.Peter Soetens1-1/+1
2003-02-06 Peter Soetens <peter.soetens@mech.kuleuven.ac.be> * config/io/basic_file_libio.h: Fixups. * config/io/c_io_libio.h: Same. * libio/Makefile.am: Same. * libio/Makefile.in: Regenerated. From-SVN: r62475
2003-01-06locale_facets.h (messages): Move ctor, dtor definitions to..Benjamin Kosnik1-0/+1
2003-01-06 Benjamin Kosnik <bkoz@redhat.com> * include/bits/locale_facets.h (messages): Move ctor, dtor definitions to.. (__timepunct): Same. * config/locale/gnu/messages_members.h (messages): Add dtor, ctor definitions. Conditionalize for GNU systems. * config/locale/generic/messages_members.h (messages): Add dtor, ctor definitions. * config/locale/gnu/time_members.h (messages): New. Add dtor, ctor definitions. Conditionalize for GNU systems. * config/locale/generic/time_members.h (messages): New. Add dtor, ctor definitions. * include/bits/localefwd.h (locale::facet::_S_c_name): Add. * src/locale.cc: Define. * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool): Use it. * config/locale/gnu/time_members.h: Use it. * config/locale/gnu/messages_members.h: Use it. * config/linker-map.gnu: Add locale::facets details. * include/Makefile.am (target_headers_extra): Add time_members.h. * include/Makefile.in: Regenerate. * acinclude.m4: Export CTIME_H. * aclocal.m4: Regenerate. * configure: Regnerate. From-SVN: r60952
2002-12-16configure.in (GLIBCPP_ENABLE_DEBUG): Default to none.Benjamin Kosnik1-0/+11
2002-12-16 Benjamin Kosnik <bkoz@redhat.com> * configure.in (GLIBCPP_ENABLE_DEBUG): Default to none. Call GLIBCPP_ENABLE_DEBUG_FLAGS. * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): GLIBCPP_BUILD_DEBUG, new conditional if --enable-debug is yes. Rework. (GLIBCPP_ENABLE_DEBUG_FLAGS): New. * aclocal.m4: Regenerate. * libio/Makefile.am: Remove DEBUG_FLAGS. * libio/Makefile.in: Regenerate. * libsupc++/Makefile.am: Remove DEBUG_FLAGS. * libsupc++/Makefile.in: Regenerate. * docs/html/configopts.html: Add docs for --enable-debug, --enable-debug-flags. 2002-12-16 Benjamin Kosnik <bkoz@redhat.com> Correct dependency tracking, build warts. * configure.in: Correct repeated AC_OUTPUT thrashing by config-ml.in * configure: Regenerate. * include/Makefile.am (stamp-target): Stamp in top_builddir. * include/Makefile.in: Regenerate. * src/Makefile.am (codecvt_members.cc): New rule. (collate_members.cc): Same. (ctype_members.cc): Same. (messages_members.cc): Same. (monetary_members.cc): Same. (numeric_members.cc): Same. (time_members.cc): Same. (c++locale.cc): Same. (basic_file.cc): Same. * src/Makefile.in: Regenerate. * acinclude.m4 (CCTYPE_CHAR_CC): Remove. (CCCODECVT_CC): Don't link, AC_SUBST. (CCOLLATE_CC): Same. (CCTYPE_CC): Same. (CMESSAGES_CC): Same. (CMONEY_CC): Same. (CNUMERIC_CC): Same. (CTIME_CC): Same. (CLOCALE_CC): Same. * aclocal.m4: Regenerate. * src/Makefile.am (libstdc___la_LIBADD): Use top_builddir for convenience libraries. (version_arg): Rename linker.map to libstdc++.ver. (libstdc___la_DEPENDENCIES): Remove linker.map, add libstdc++-symbol.ver as a dependency. (libstdc++-symbol.ver): Add rule. * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Change LINKER_MAP to SYMVER_MAP. Don't link, AC_SUBST. * include/Makefile.am (target_headers_noinst): New. (stamp-target): Add CLOCALE_INTERNAL_H. * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't link CLOCALE_INTERNAL_H, AC_SUBST. * config/locale/gnu/c_locale.cc: Modify c++locale_internal.h include. * config/locale/gnu/time_members.cc: Same. * config/locale/gnu/numeric_members.cc: Same. * config/locale/gnu/monetary_members.cc: Same. * config/locale/gnu/messages_members.cc: Same. * config/locale/gnu/ctype_members.cc: Same. * config/locale/gnu/collate_members.cc: Same. * config/locale/gnu/codecvt_members.cc: Same. * config/locale/generic/codecvt_members.cc: Remove. From-SVN: r60177
2002-09-26Makefile.am (target_headers): Remove cpu_limits.h.Benjamin Kosnik1-1/+0
2002-09-25 Benjamin Kosnik <bkoz@redhat.com> * include/Makefile.am (target_headers): Remove cpu_limits.h. * include/Makefile.in: Regenerate. * configure.in (CPU_LIMITS_INC_SRCDIR): Remove * configure: Regenerate. * configure.target (CPULIMITS): Remove. * include/std/std_limits.h: Remove cpu_limits.h include. * config/os/solaris/solaris2.7/os_defines.h (__glibcpp_long_bits): Remove. * config/os/irix/irix6.5/os_defines.h (__glibcpp_long_double_bits): Remove. (__glibcpp_wchar_t_bits): Remove. (__glibcpp_long_bits): Remove. * config/os/irix/irix5.2/os_defines.h (__glibcpp_long_double_bits): Remove. (__glibcpp_long_bits): Remove. * config/os/hpux/os_defines.h (__glibcpp_wchar_t_is_signed): Remove. * config/os/bsd/freebsd/os_defines.h: (__glibcpp_long_double_bits): Remove. * config/os/aix/os_defines.h (__glibcpp_wchar_t_bits): Remove. (__glibcpp_wchar_t_is_signed): Remove. (__glibcpp_long_bits): Remove. * config/os/gnu-linux/os_defines.h (__glibcpp_long_bits): Remove. (__glibcpp_long_double_bits): Remove. * config/os/osf/osf5.0/cpu_limits.h: Remove. * config/cpu/alpha/cpu_limits.h: Remove. * config/cpu/arm/cpu_limits.h: Remove. * config/cpu/cris/cpu_limits.h: Remove. * config/cpu/generic/cpu_limits.h: Remove. * config/cpu/generic/limits.h: Remove. * config/cpu/ia64/cpu_limits.h: Remove. * config/cpu/m68k/cpu_limits.h: Remove. * config/cpu/mmix/cpu_limits.h: Remove. * config/cpu/powerpc/cpu_limits.h: Remove. * config/cpu/S390/cpu_limits.h: Remove. From-SVN: r57524
2002-09-12Makefile.am (LIBTOOL): Use --tag CC always for this directory.Benjamin Kosnik2-10/+7
2002-09-12 Benjamin Kosnik <bkoz@redhat.com> * libmath/Makefile.am (LIBTOOL): Use --tag CC always for this directory. * libmath/Makefile.in: Regenerate. * src/Makefile.am: Tweak comment. * src/Makefile.in: Regenerate. * config/locale/gnu/c_locale.h: Remove warnings. Inject __uselocale into __gnu_cxx. * config/locale/generic/c_locale.h: Match. From-SVN: r57082
2002-08-22Makefile.am (check-abi): New rule.Benjamin Kosnik1-0/+1
2002-08-22 Benjamin Kosnik <bkoz@redhat.com> Phil Edwards <pme@gcc.gnu.org> Ulrich Drepper <drepper@redhat.com> * Makefile.am (check-abi): New rule. * Makefile.in: Regenerate. * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Export baseline_file. * aclocal.m4: Regenerate. * configure: Regenerate. * testsuite/Makefile.am (noinst_PROGRAMS): Add abi_check. (abi_check_SOURCES): Add. * testsuite/Makefile.in: Regenerate. * testsuite/abi_check.cc: New file. * config/abi: Add. * config/abi/i686-pc-linux-gnu: Add. * config/abi/i686-pc-linux-gnu/baseline_symbols.txt: New file. Co-Authored-By: Phil Edwards <pme@gcc.gnu.org> Co-Authored-By: Ulrich Drepper <drepper@redhat.com> From-SVN: r56515
2002-06-27configure.in (INTERFACE): Remove.Benjamin Kosnik1-1/+0
2002-06-26 Benjamin Kosnik <bkoz@redhat.com> * configure.in (INTERFACE): Remove. (release_VERSION): Remove. * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Change include placement. (libstdcxx_interface): Change. Use gcc methods to determine version. * configure: Regenerate. * aclocal.m4: Regenerate. From-SVN: r55028
2002-06-20Makefile.am: Add rules.Benjamin Kosnik1-1/+0
2002-06-20 Benjamin Kosnik <bkoz@redhat.com> * include/Makefile.am: Add rules. * include/Makefile.in: Regenerate. * acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY. * aclocal.m4: Regenerate. * configure: Regenerate. * configure.target (c_model, c_compatibility): Add. * libsupc++/Makefile.am (c_sources): New. (libsupc___la_SOURCES): Add c_sources. (LTCOMPILE): Remove INCLUDES. (GCC_INCLUDES): New. (C_COMPILE): New, like COMPILE but without INCLUDES. (cxa_demangle.o): Use C_COMPILE. (dyn-string.o): Use C_COMPILE. * include/c/std_cstdarg.h: Define __need___va_list. * include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t, need_NULL, need_offsetof. From-SVN: r54849
2002-05-27misc-inst.cc: Define unnecessary algorithm instantiations.Benjamin Kosnik1-19/+0
c 2002-05-27 Benjamin Kosnik <bkoz@redhat.com> * src/misc-inst.cc: Define unnecessary algorithm instantiations. Break apart instantiations into groupings below. * src/fstream-inst.cc: New. * src/io-inst.cc: New. * src/istream-inst.cc: New. * src/ostream-inst.cc: New. * src/streambuf-inst.cc: New. * src/sstream-inst.cc: New. * src/Makefile.am (sources): Add files. * src/Makefile.in: Regenerate. * acinclude.m4: Work around automake 1.4-p5 bug, change AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT. From-SVN: r53930
2002-04-02acinclude: More extensive checks for msgfmt, --enable-nls.Benjamin Kosnik1-0/+1
2002-04-01 Benjamin Kosnik <bkoz@redhat.com> libstdc++/5542 * acinclude: More extensive checks for msgfmt, --enable-nls. * aclocal.m4: Regenerate. * configure: Regenerate. From-SVN: r51732
2002-03-23acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for signbit and ↵Benjamin Kosnik2-19/+5
__signbit directly. 2002-03-22 Benjamin Kosnik <bkoz@redhat.com> * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for signbit and __signbit directly. * aclocal.m4: Regenerate. * configure: Regenerate. * config.h.in: Regenerate. * libmath/Makefile.am: Simplify. * libmath/Makefile.in: Regenerate. * include/c_std/std_cmath.h: Update paths for include of cmath.tcc. * include/Makefile.am: Clean up handling of extra "C" header files. Add hooks for "C" compatibility headers. * include/Makefile.in: Regenerate. * include/c/*: Formatting tweaks, cleanups. * include/c_std/*: Same. From-SVN: r51220
2002-03-19acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define ↵Steve Ellcey1-0/+1
GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if... 2002-03-19 Steve Ellcey <sje@cup.hp.com> * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if --enable-libunwind-exceptions is set. * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new macro to check for libunwind. * configure: Regenerate. * src/Makefile.am (libstdc___la_LDFLAGS): Add LIBUNWIND_FLAG to libstdc link line. * src/Makefile.in: Regenerate. From-SVN: r51035
2002-02-22configure.in (target_alias): Default to yes.Benjamin Kosnik1-0/+1
2002-02-21 Benjamin Kosnik <bkoz@redhat.com> * configure.in (target_alias): Default to yes. * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared libgcc to default case. From-SVN: r49959
2002-01-16signbitl.c: Copyright years as list, not range.Benjamin Kosnik6-6/+7
2002-01-16 Benjamin Kosnik <bkoz@redhat.com> * 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. From-SVN: r48922
2002-01-15Makefile.am (LINK): Add --tag CC.Benjamin Kosnik2-4/+8
2002-01-15 Benjamin Kosnik <bkoz@redhat.com> Alexandre Oliva <aoliva@redhat.com> * libmath/Makefile.am (LINK): Add --tag CC. * libmath/Makefile.in: Regenerate. Co-Authored-By: Alexandre Oliva <aoliva@redhat.com> From-SVN: r48883
2002-01-01stubs.c (sinf,cosf): Implement stubs to enable the equivalent ___builtin__ ↵Roger Sayle1-3/+3
versions. 2002-01-01 Roger Sayle <roger@eyesopen.com> * libmath/stubs.c (sinf,cosf): Implement stubs to enable the equivalent ___builtin__ versions. * include/c_shadow/bits/std_cmath.h: All __builtin math functions are available in libstdc++ as the necessary stub implementations are provided by libmath/stubs.c. From-SVN: r48445
2001-10-23limits.h: Move to...Benjamin Kosnik1-1/+1
2001-10-22 Benjamin Kosnik <bkoz@redhat.com> * 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. From-SVN: r46445
2001-10-02time_members_gnu.h: Remove.Benjamin Kosnik1-1/+0
2001-10-02 Benjamin Kosnik <bkoz@redhat.com> * 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. From-SVN: r45966
2001-09-20Implement std::time_put.Benjamin Kosnik1-9/+13
2001-09-19 Benjamin Kosnik <bkoz@redhat.com> 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. From-SVN: r45702
2001-09-10Makefile.am (stamp-target): Remove link to self.Benjamin Kosnik1-5/+2
2001-09-10 Benjamin Kosnik <bkoz@redhat.com> * include/Makefile.am (stamp-target): Remove link to self. * inclulde/Makefile.in: Regenerate. From-SVN: r45514
2001-09-05testsuite_flags.in: No longer need to search testsuite builddir.Phil Edwards1-2/+5
2001-09-05 Phil Edwards <pme@sources.redhat.com> * 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. From-SVN: r45426
2001-08-16configure.in: Check for <sys/types.h>.Marc Espie1-0/+3
2001-08-16 Marc Espie <espie@openbsd.org> * configure.in: Check for <sys/types.h>. * configure: Rebuild. * config.h.in: Rebuild. * libmath/mathconf.h: Include <sys/types.h> prior to <machine/endian.h> if available. From-SVN: r44935
2001-08-14stubs.c: Fix PR/3988, replace _GBLICPP_HAVE_LOGL with HAVE_LOGLPeter Schmid1-1/+1
2001-08-14 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de> * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace _GBLICPP_HAVE_LOGL with HAVE_LOGL From-SVN: r44884
2001-08-14configure.in (libtool_VERSION): Add.Benjamin Kosnik1-0/+3
2001-08-13 Benjamin Kosnik <bkoz@redhat.com> * 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. From-SVN: r44880
2001-08-13configure.in (LIMITS_INC_SRCDIR): New variable.Mark Mitchell1-0/+1
* configure.in (LIMITS_INC_SRCDIR): New variable. * 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. From-SVN: r44877
2001-08-10acconfig.h (_GLIBCPP_MEM_LIMITS): Define.Benjamin Kosnik1-2/+2
2001-08-09 Benjamin Kosnik <bkoz@redhat.com> * 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. From-SVN: r44752
2001-08-08Implement std::messages.Benjamin Kosnik1-4/+27
2001-08-07 Benjamin Kosnik <bkoz@redhat.com> 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. From-SVN: r44702
2001-07-25acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf, hypotl, atan2f, ↵Gabriel Dos Reis6-146/+162
atan2l. * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf, hypotl, atan2f, atan2l. Remove from REPLACE_MATHFUNCS list. * aclocal.m4: Regenerate. * config.h.in: Likewise. * configure: Likewise. * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c (EXTRA_DIST): Remove hypot.c hypotf.c. * libmath/Makefile.am: Regenerate. * libmath/hypotf.c: Remove. * libmath/hypot.c: Likewise. * libmath/hypotl.c: Likewise. * libmath/stubs.c: The macros seen here are HAVE_xxx, not _GLIBCPP_HAVE_xxx. Add long double versions. From-SVN: r44334
2001-07-18All occurrences of the __value_type() and __distance_type() functions...Stephen M. Webb1-10/+4
2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>r 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. From-SVN: r44117