Commit Graph

1192 Commits

Author SHA1 Message Date
Phil Edwards
744ee8b72b atomicity.h (__compare_and_swap): Remove unused function.
2001-10-05  Phil Edwards  <pme@gcc.gnu.org>

	* config/cpu/alpha/bits/atomicity.h (__compare_and_swap):  Remove
	unused function.
	* config/cpu/arm/bits/atomicity.h:  Likewise.
	* config/cpu/generic/bits/atomicity.h:  Likewise.
	* config/cpu/i486/bits/atomicity.h:  Likewise.
	* config/cpu/ia64/bits/atomicity.h:  Likewise.
	* config/cpu/mips/bits/atomicity.h:  Likewise.
	* config/cpu/powerpc/bits/atomicity.h:  Likewise.
	* config/cpu/sparc/sparc32/bits/atomicity.h:  Likewise.
	* config/cpu/sparc/sparc64/bits/atomicity.h:  Likewise.

From-SVN: r46038
2001-10-05 18:43:43 +00:00
GCC Administrator
17d69790a5 Daily bump.
From-SVN: r46031
2001-10-05 07:16:47 +00:00
Phil Edwards
8a0915a4d3 index.html: Describe DR #22, and a workaround.
2001-10-04  Phil Edwards  <pme@gcc.gnu.org>

	* docs/html/faq/index.html:  Describe DR #22, and a workaround.
	* docs/html/faq/index.txt:  Regenerate.

From-SVN: r46016
2001-10-04 20:10:46 +00:00
Phil Edwards
c9fe10db6b COPYING.DOC: New file, GFDL v1.1 from the FSF.
2001-10-04  Phil Edwards  <pme@gcc.gnu.org>

	* docs/html/17_intro/COPYING.DOC:  New file, GFDL v1.1 from the FSF.
	* docs/html/17_intro/license.html:  New file.  Explain the licenses
	in use.

	* docs/html/configopts.html:  Link to license.html.
	* docs/html/documentation.html:  Likewise.
	* docs/html/explanations.html:  Likewise.
	* docs/html/install.html:  Likewise.
	* docs/html/17_intro/howto.html:  Likewise.
	* docs/html/18_support/howto.html:  Likewise.
	* docs/html/19_diagnostics/howto.html:  Likewise.
	* docs/html/20_util/howto.html:  Likewise.
	* docs/html/21_strings/howto.html:  Likewise.
	* docs/html/22_locale/howto.html:  Likewise.
	* docs/html/23_containers/howto.html:  Likewise.
	* docs/html/24_iterators/howto.html:  Likewise.
	* docs/html/25_algorithms/howto.html:  Likewise.
	* docs/html/26_numerics/howto.html:  Likewise.
	* docs/html/27_io/howto.html:  Likewise.
	* docs/html/ext/howto.html:  Likewise.
	* docs/html/ext/sgiexts.html:  Likewise.
	* docs/html/faq/index.html:  Likewise.  New question, linking to
	the new license.html.

From-SVN: r46015
2001-10-04 20:03:22 +00:00
Phil Edwards
f79297a2fa howto.html: Fix mis-sed in header from 20010917.
2001-10-04  Phil Edwards  <pme@gcc.gnu.org>

	* docs/html/17_intro/howto.html:  Fix mis-sed in header from 20010917.
	* docs/html/18_support/howto.html:  Likewise.
	* docs/html/19_diagnostics/howto.html:  Likewise.
	* docs/html/20_util/howto.html:  Likewise.
	* docs/html/21_strings/howto.html:  Likewise.
	* docs/html/22_locale/howto.html:  Likewise.
	* docs/html/23_containers/howto.html:  Likewise.
	* docs/html/24_iterators/howto.html:  Likewise.
	* docs/html/25_algorithms/howto.html:  Likewise.
	* docs/html/26_numerics/howto.html:  Likewise.
	* docs/html/27_io/howto.html:  Likewise.
	* docs/html/ext/howto.html:  Likewise.
	* docs/html/faq/index.html:  Likewise.  Spacing fix.

From-SVN: r46014
2001-10-04 19:54:54 +00:00
GCC Administrator
3bdeffacad Daily bump.
From-SVN: r46007
2001-10-04 07:38:12 +00:00
Dimitris Vyzovitis
8bf4eeece3 stl_threads.h (_Atomic_swap): New function.
* include/bits/stl_threads.h (_Atomic_swap): New function.
	    (_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
	    * testsuite/ext/rope.cc: New file.

From-SVN: r45999
2001-10-03 21:19:31 +00:00
GCC Administrator
caa3f65c76 Daily bump.
From-SVN: r45986
2001-10-03 07:16:10 +00:00
Benjamin Kosnik
da5c0f6ef5 time_members_gnu.h: Remove.
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-10-02 18:44:50 +00:00
GCC Administrator
b3b5d92c88 Daily bump.
From-SVN: r45943
2001-10-02 07:17:46 +00:00
Hans-Peter Nilsson
be55d07d6f * config/cpu/cris/bits/atomicity.h: Correct file header.
From-SVN: r45929
2001-10-01 16:57:44 +00:00
GCC Administrator
383af6a2e2 Daily bump.
From-SVN: r45919
2001-10-01 07:16:48 +00:00
GCC Administrator
fa82903832 Daily bump.
From-SVN: r45896
2001-09-30 07:16:14 +00:00
Hans-Peter Nilsson
d15a5c7ca1 * config/cpu/cris/bits/limits.h: New file.
From-SVN: r45883
2001-09-29 16:49:48 +00:00
Hans-Peter Nilsson
a78a69ba79 configure.target (LIMITSH): Set for cris.
* configure.target (LIMITSH): Set for cris.
	(cpu_include_dir): Set for cris-*-*.
	* config/cpu/cris/bits/atomicity.h: New file.
	* config/cpu/cris/bits/limits.h: New file.

From-SVN: r45882
2001-09-29 16:49:20 +00:00
GCC Administrator
bb394f6b5c Daily bump.
From-SVN: r45876
2001-09-29 07:16:56 +00:00
Benjamin Kosnik
1ab656771a time_members_gnu.h (__timepunct::_M_get_helper): Add.
2001-09-28  Benjamin Kosnik  <bkoz@redhat.com>

	* config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
	(__timepunct::_M_put_helper): Add.
	* config/locale/time_members_generic.h: Same.
	* include/bits/locale_facets.h (__match_parallel): Remove. Format.
	(__timepunct): Add data members.
	(__timepunct::_M_days): Add.
	(__timepunct::_M_days_abbreviated): Add.
	(__timepunct::_M_months): Add.
	(__timepunct::_M_months_abbreviated): Add.
	(__timepunct::_M_initialize_timepunct): Add.
	* include/bits/locale_facets.tcc: Same.
	* src/locale-inst.cc: Remove instantiations for __match_parallel.
	* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
	* testsuite/22_locale/time_put_members_char.cc (test01): New file.
	* testsuite/22_locale/time_get.cc: New file.

From-SVN: r45868
2001-09-28 23:44:48 +00:00
Rainer Orth
c20d89f553 libstdc++-v3-dg.exp (libstdc++-v3-init): Use correct multilib builddir.
* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
	correct multilib builddir.
	Properly locate libgcc_s.

From-SVN: r45864
2001-09-28 19:42:12 +00:00
GCC Administrator
0c0d83a1b4 Daily bump.
From-SVN: r45857
2001-09-28 07:16:44 +00:00
Phil Edwards
2f9d51b858 *: Add Doxygen hooks.
2001-09-27  Phil Edwards  <pme@gcc.gnu.org>

	* include/std/*:  Add Doxygen hooks.
	* docs/doxygen/Intro.3:  New file, general intro to the man pages.
	* docs/doxygen/mainpage.doxy:  Formatting tweaks.  List our own links
	rather than using a generated index.
	* docs/doxygen/user.cfg.in:  Disable the index, enable man pages.
	* docs/doxygen/run_doxygen:  Massage the generated man pages, using...
	* docs/doxygen/stdheader.cc:  ...this new file.

From-SVN: r45850
2001-09-27 22:44:24 +00:00
GCC Administrator
ef1d8fc882 Daily bump.
From-SVN: r45838
2001-09-27 07:16:41 +00:00
Stan Shebs
8ddad08b9e Makefile.am: Remove RCS Id strings.
* include/Makefile.am: Remove RCS Id strings.
        * src/Makefile.am: Ditto.
        * docs/doxygen/run_doxygen: Ditto.
        * docs/html/configopts.html: Ditto.
        * docs/html/documentation.html: Ditto.
        * docs/html/explanations.html: Ditto.
        * docs/html/install.html: Ditto.
        * docs/html/17_intro/howto.html: Ditto.
        * docs/html/18_support/howto.html: Ditto.
        * docs/html/19_diagnostics/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/ext/howto.html: Ditto.
        * docs/html/ext/sgiexts.html: Ditto.
        * docs/html/faq/index.html: Ditto.
        * docs/html/faq/index.txt: Ditto.

From-SVN: r45836
2001-09-27 00:48:01 +00:00
GCC Administrator
45899a7481 Daily bump.
From-SVN: r45820
2001-09-26 07:34:41 +00:00
Phil Edwards
4c1805d702 c_strings.cc (test01, test02): Increase `carray' size.
2001-09-25  Phil Edwards  <pme@gcc.gnu.org>

	* testsuite/21_strings/c_strings.cc (test01, test02):  Increase
	`carray' size.

From-SVN: r45817
2001-09-26 01:45:49 +00:00
Phil Edwards
77cd227ec3 howto.html: Add anchor name.
2001-09-25  Phil Edwards  <pme@gcc.gnu.org>

	* 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.

From-SVN: r45816
2001-09-25 23:51:17 +00:00
GCC Administrator
aca0f84e00 Daily bump.
From-SVN: r45800
2001-09-25 07:16:10 +00:00
GCC Administrator
d8c2a81063 Daily bump.
From-SVN: r45767
2001-09-24 07:16:50 +00:00
GCC Administrator
ff4490a3a0 Daily bump.
From-SVN: r45760
2001-09-23 07:16:11 +00:00
GCC Administrator
ed41066c2d Daily bump.
From-SVN: r45745
2001-09-22 07:16:42 +00:00
GCC Administrator
4816067b8d Daily bump.
From-SVN: r45722
2001-09-21 07:16:43 +00:00
Benjamin Kosnik
5b66fcf9a9 [multiple changes]
2001-09-20  Scott Johnston <scott@accom.com>
	    Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>

	* include/backward/alloc.h: Conditionally define malloc_alloc
	* testsuite/backward/header_deque_h.cc: New file.

2001-09-20  Sylvain Pion <Sylvain.Pion@sophia.inria.fr>

	* libstdc++-v3/include/bits/locale_facets.tcc (money_put::do_put):
        change variable name so that it works with -fno-for-scope.

From-SVN: r45704
2001-09-20 09:48:24 +00:00
Benjamin Kosnik
9a92330f24 numpunct_members_char.cc (test01): Remove redundant sanity checks.
2001-09-20  Benjamin Kosnik  <bkoz@redhat.com>

	* testsuite/22_locale/numpunct_members_char.cc (test01): Remove
	redundant sanity checks.
	* testsuite/22_locale/money_put_members_wchar_t.cc (test01): Same.
	(test02): Same.
	* testsuite/22_locale/money_put_members_char.cc (test01): Same.
	(test02): Same.
	* testsuite/22_locale/moneypunct_members_wchar_t.cc (test01): Same.
	* testsuite/22_locale/moneypunct_members_char.cc (test01): Same.
	* testsuite/22_locale/money_get_members_wchar_t.cc (test01): Same.
	(test02): Same.
	* testsuite/22_locale/money_get_members_char.cc (test01): Same.
	(test02): Same.

From-SVN: r45703
2001-09-20 09:07:37 +00:00
Benjamin Kosnik
e08138aae3 Implement std::time_put.
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-20 08:30:01 +00:00
GCC Administrator
10bd1d78b4 Daily bump.
From-SVN: r45701
2001-09-20 07:16:41 +00:00
GCC Administrator
e8f9246734 Daily bump.
From-SVN: r45688
2001-09-19 07:16:16 +00:00
GCC Administrator
a45ea23b3d Daily bump.
From-SVN: r45672
2001-09-18 07:16:10 +00:00
Phil Edwards
5d5e5e4e42 configopts.html: HTML to XHTML change.
2001-09-17  Phil Edwards  <pme@gcc.gnu.org>

	* docs/html/configopts.html:  HTML to XHTML change.  Lowercase tags.
	* docs/html/documentation.html:  Likewise.
	* docs/html/explanations.html:  Likewise.
	* docs/html/install.html:  Likewise.
	* docs/html/17_intro/howto.html:  Likewise.
	* docs/html/18_support/howto.html:  Likewise.
	* docs/html/19_diagnostics/howto.html:  Likewise.
	* docs/html/20_util/howto.html:  Likewise.
	* docs/html/21_strings/howto.html:  Likewise.
	* docs/html/22_locale/codecvt.html:  Likewise.
	* docs/html/22_locale/ctype.html:  Likewise.
	* docs/html/22_locale/howto.html:  Likewise.
	* docs/html/22_locale/locale.html:  Likewise.
	* docs/html/22_locale/messages.html:  Likewise.
	* docs/html/23_containers/howto.html:  Likewise.
	* docs/html/24_iterators/howto.html:  Likewise.
	* docs/html/25_algorithms/howto.html:  Likewise.
	* docs/html/26_numerics/howto.html:  Likewise.
	* docs/html/27_io/howto.html:  Likewise.
	* docs/html/ext/howto.html:  Likewise.
	* docs/html/faq/index.html:  Likewise.
	* docs/html/faq/index.txt:  Regenerated.

From-SVN: r45668
2001-09-17 23:24:40 +00:00
GCC Administrator
28d86bb96b Daily bump.
From-SVN: r45651
2001-09-17 07:16:15 +00:00
GCC Administrator
27553bf325 Daily bump.
From-SVN: r45644
2001-09-16 07:16:41 +00:00
GCC Administrator
6131fd23f5 Daily bump.
From-SVN: r45626
2001-09-15 07:16:39 +00:00
Phil Edwards
0da1b7b516 headers_cc.txt: "Sync"/copy real file over.
2001-09-14  Phil Edwards  <pme@sources.redhat.com>

	* docs/html/17_intro/headers_cc.txt:  "Sync"/copy real file over.
	* docs/html/17_intro/howto.html:  Spacing and HTML markup fixes.
	* docs/html/18_support/howto.html:  It won't compile; it's not code.
	* docs/html/19_diagnostics/howto.html:  Point diagram seekers to
	doxygen'd pages.
	* docs/html/22_locale/howto.html:  Comment for future work.
	* docs/html/23_containers/howto.html:  More comments.
	* docs/html/25_algorithms/howto.html:  It's a comment, not a
	blunt command to the reader.  (English grammar.)

From-SVN: r45620
2001-09-15 00:41:11 +00:00
Benjamin Kosnik
9775a638f4 moneypunct_members_gnu.cc: Fix initialization of wchar_t members.
2001-09-14  Benjamin Kosnik  <bkoz@redhat.com>

	* config/locale/moneypunct_members_gnu.cc: Fix initialization of
	wchar_t members.
	* testsuite/22_locale/money_get_members_wchar_t.cc (test02): New file.
	* testsuite/22_locale/money_put_members_wchar_t.cc (test02): Fix.

From-SVN: r45615
2001-09-14 22:13:11 +00:00
Benjamin Kosnik
55dea7b149 moneypunct_members_gnu.cc: Fix initialization of wchar_t members.
2001-09-14  Benjamin Kosnik  <bkoz@redhat.com>

	* config/locale/moneypunct_members_gnu.cc: Fix initialization of
	wchar_t members.
	* testsuite/22_locale/money_get_members_wchar_t.cc (test02): New file.
	* testsuite/22_locale/money_put_members_wchar_t.cc (test02): Fix.

From-SVN: r45614
2001-09-14 22:09:35 +00:00
Alexandre Petit-Bianco
7330797589 money_get_members_char.cc: Fixed typo in comment.
2001-09-13  Alexandre Petit-Bianco  <apbianco@redhat.com>

	* testsuite/22_locale/money_get_members_char.cc: Fixed typo in comment.
	* testsuite/22_locale/money_put_members_char.cc: Likewise.
	* testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.

(If only spelling them right would make them go away...)

From-SVN: r45592
2001-09-14 01:38:18 -07:00
Benjamin Kosnik
96bbfafed8 locale_facets.tcc: Conditionalize use of strtold.
2001-09-14  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/locale_facets.tcc: Conditionalize use of strtold.

From-SVN: r45591
2001-09-14 07:43:36 +00:00
GCC Administrator
813c20eb74 Daily bump.
From-SVN: r45589
2001-09-14 07:16:09 +00:00
Benjamin Kosnik
fb67885447 Implement std::money_get.
2001-09-13   Benjamin Kosnik  <bkoz@redhat.com>

	Implement std::money_get.
	* include/bits/locale_facets.tcc (money_get::do_get): Implement.
	* include/bits/locale_facets.h (money_get): Correct signatures.
	* testsuite/22_locale/money_get.cc: New file.
	* testsuite/22_locale/money_get_members_char.cc: New file.

	* include/bits/locale_facets.tcc (__verify_grouping): New
	function. Consolidate num_get and money_get group checking into
	one function.
	(money_get): Use it.
	* src/locale.cc (num_get::_M_extract): Use it.
	* src/locale-inst.cc: Add instantiation.

From-SVN: r45585
2001-09-13 23:21:25 +00:00
GCC Administrator
97f4007957 Daily bump.
From-SVN: r45574
2001-09-13 07:16:08 +00:00
Gabriel Dos Reis
a44d2c392f std_limits.h (numeric_limits<float>::radix, [...]): Fix thinko.
* include/bits/std_limits.h (numeric_limits<float>::radix,
  numeric_limits<float>::epsilon:  Fix thinko.

From-SVN: r45559
2001-09-12 07:39:46 +00:00
GCC Administrator
be7377b2cc Daily bump.
From-SVN: r45557
2001-09-12 07:16:11 +00:00
GCC Administrator
75b7ac7d01 Daily bump.
From-SVN: r45535
2001-09-11 07:16:11 +00:00
Benjamin Kosnik
f280fdf44d configure.in: Fix cross compiling math routines.
2001-09-10  Benjamin Kosnik  <bkoz@redhat.com>

	* configure.in: Fix cross compiling math routines. Correct
	comments for cross compiling and limits. Add floating point math
	routines found in newlib.
	* configure: Regenerate.
	* acconfig.h: Add macros.
	* config.h.in: Regenerate.

From-SVN: r45530
2001-09-11 00:12:57 +00:00
Benjamin Kosnik
a623ef6e71 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
* config/locale/moneypunct_members_generic.cc
	(money_base::_S_construct_pattern): Remove unused parameters.

From-SVN: r45518
2001-09-10 20:14:15 +00:00
Benjamin Kosnik
89c06d5007 Makefile.am (stamp-target): Remove link to self.
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-10 18:13:17 +00:00
GCC Administrator
6f36d76ad0 Daily bump.
From-SVN: r45499
2001-09-10 07:16:41 +00:00
Benjamin Kosnik
69971cd850 Implement std::money_put.
2001-09-09  Benjamin Kosnik  <bkoz@redhat.com>

	Implement std::money_put.
	* include/bits/locale_facets.h
	(moneypunct::_M_initialize_moneypunct): Split up specializations
	to account for _Intl.  More grody hacking to get around the
	ill-considered use of const bool as a template parameter.
	* config/locale/moneypunct_members_gnu.cc: And here.
	* config/locale/moneypunct_members_generic.cc: And here.
	* testsuite/22_locale/moneypunct_members_char.cc: Add tests.
	* testsuite/22_locale/moneypunct.cc: Add tests.
	* testsuite/22_locale/money_put_members_wchar_t.cc: New file.
	* testsuite/22_locale/moneypunct_members_wchar_t.cc: New file.

	* src/locale.cc (money_base::_S_construct_pattern): Move into
	gnu-specific file.
	* config/locale/moneypunct_members_gnu.cc: Add here.
	* config/locale/moneypunct_members_generic.cc: Add generic version
	here.

	* include/bits/locale_facets.tcc (money_put::do_put): Move member
	function definitions here.
	* include/bits/locale_facets.h (money_put): Implement.
	* src/locale-inst.cc: Add use_facet instantiations for moneypunct.
	Correct money_get, money_put instantiations.
	* src/locale.cc (money_base::_S_construct_pattern): Handle case
	where __posn == 0.
	* testsuite/22_locale/money_put_members_char.cc: Add tests.

From-SVN: r45496
2001-09-10 01:00:27 +00:00
GCC Administrator
7b95ee3dda Daily bump.
From-SVN: r45491
2001-09-09 07:16:09 +00:00
GCC Administrator
718fd87ea1 Daily bump.
From-SVN: r45488
2001-09-08 07:16:10 +00:00
GCC Administrator
d29d2b8756 Daily bump.
From-SVN: r45462
2001-09-07 08:55:16 +00:00
GCC Administrator
418162d99e Daily bump.
From-SVN: r45431
2001-09-06 07:16:12 +00:00
Phil Edwards
2d25bf5d52 testsuite_flags.in: No longer need to search testsuite builddir.
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-09-05 22:38:06 +00:00
GCC Administrator
f29b1c66f3 Daily bump.
From-SVN: r45396
2001-09-05 07:16:22 +00:00
Scott Johnston
45932d27fb iterator.h: Include <bits/std_iterator.h>, remove reverse_bidirectional_iterator.
2001-09-04  Scott Johnston  <scott@accom.com>
	    Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>

	* include/backward/iterator.h: Include <bits/std_iterator.h>,
	remove reverse_bidirectional_iterator.
	* testsuite/backward: New directory.
	* testsuite/backward/header_iterator_h.cc: New file.

Co-Authored-By: Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>

From-SVN: r45389
2001-09-04 22:05:33 +00:00
Benjamin Kosnik
c0dae541cf std_c*.h: Don't use include_next.
2001-09-04  Benjamin Kosnik  <bkoz@redhat.com>

	* include/c_std/bits/std_c*.h: Don't use include_next.

From-SVN: r45387
2001-09-04 21:42:24 +00:00
GCC Administrator
3c4ec3894c Daily bump.
From-SVN: r45369
2001-09-04 07:16:40 +00:00
GCC Administrator
72ea47b164 Daily bump.
From-SVN: r45361
2001-09-03 20:50:23 +00:00
Richard Sandiford
320daf529e eh_personality.cc (parse_lsda_header): Change type of tmp from _Unwind_Ptr to _Unwind_Word.
* libsupc++/eh_personality.cc (parse_lsda_header): Change type of
	tmp from _Unwind_Ptr to _Unwind_Word.

From-SVN: r45360
2001-09-03 12:24:24 +00:00
GCC Administrator
303e4ccfaf Daily bump.
From-SVN: r45356
2001-09-02 07:16:12 +00:00
GCC Administrator
058466a1a1 Daily bump.
From-SVN: r45347
2001-09-01 07:16:11 +00:00
Jason Merrill
6c8d43e78d exception.cc (PERSONALITY_FUNCTION): Simplify leb128 handling.
* exception.cc (PERSONALITY_FUNCTION): Simplify
        leb128 handling.

From-SVN: r45317
2001-08-31 08:27:32 -04:00
Jason Merrill
a9985a921e unwind-pe.h (read_uleb128, [...]): Move actual reading code here.
* unwind-pe.h (read_uleb128, read_sleb128): Move actual reading
        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.

From-SVN: r45315
2001-08-31 05:49:13 -04:00
GCC Administrator
06d2bb8002 Daily bump.
From-SVN: r45313
2001-08-31 07:16:42 +00:00
GCC Administrator
c8cbefbb57 Daily bump.
From-SVN: r45282
2001-08-30 07:16:09 +00:00
GCC Administrator
e0e4041f3b Daily bump.
From-SVN: r45257
2001-08-29 09:32:43 +00:00
Loren J. Rittle
533ab4d1f3 Makefile.am: Use toplevel_srcdir to refer to src files outside this component.
* include/Makefile.am: Use toplevel_srcdir to refer to src files
outside this component.
* include/Makefile.in: Regenerate.

From-SVN: r45248
2001-08-29 00:32:49 +00:00
GCC Administrator
fce881ebee Daily bump.
From-SVN: r45227
2001-08-28 07:17:02 +00:00
Benjamin Kosnik
72e2386f87 c_locale_gnu.cc: Move facet info to separate files...
2001-08-27  Benjamin Kosnik  <bkoz@redhat.com>

	* config/locale/c_locale_gnu.cc: Move facet info to separate files...
	* config/locale/c_locale_generic.cc: Same.
	* config/locale/moneypunct_members_gnu.cc: New file.
	* config/locale/moneypunct_members_generic.cc: New file.
	* config/locale/numpunct_members_gnu.cc: New file.
	* config/locale/numpunct_members_generic.cc: New file.
	* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
	options.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* src/Makefile.am (sources): And here.
	* src/Makefile.in: Regenerate.

	Rename for consistency with rest of testsuite.
	* testsuite/22_locale/codecvt.cc: New file.
	* testsuite/22_locale/money_put.cc: New file.
	* testsuite/22_locale/money_put_members_char.cc: New file.

From-SVN: r45224
2001-08-28 06:19:35 +00:00
Phil Edwards
b969a5d7d1 re PR libstdc++/4143 (--disable == --enable for version-specific-runtime-libs)
2001-08-27  Phil Edwards  <pme@sources.redhat.com>

	PR libstdc++/4143
	* acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO):  Handle enable/disable
	correctly for version-specific-runtime-libs.
	* aclocal.m4:  Regenerate.
	* configure:  Regenerate.

From-SVN: r45206
2001-08-27 19:40:02 +00:00
GCC Administrator
c34cce4404 Daily bump.
From-SVN: r45188
2001-08-27 15:51:29 +00:00
GCC Administrator
51c4678a03 Daily bump.
From-SVN: r45179
2001-08-26 07:16:09 +00:00
GCC Administrator
c1cf72f572 Daily bump.
From-SVN: r45170
2001-08-25 07:16:44 +00:00
Loren J. Rittle
405bfc410e limits.h (__glibcpp_long_double_bits): Only define if not already provided by per-OS file.
* config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
        define if not already provided by per-OS file.
        * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
        Define.

From-SVN: r45165
2001-08-24 21:57:15 +00:00
Jan van Male
11a584be8d C++STYLE: Fix typo.
2001-08-24  Jan van Male <jan.vanmale@fenk.wau.nl>

	* docs/html/17_intro/C++STYLE:  Fix typo.

From-SVN: r45163
2001-08-24 20:50:53 +00:00
Phil Edwards
b5796814d0 howto.html: Describe implementation of insertion with hints.
2001-08-24  Phil Edwards  <pme@sources.redhat.com>

	* docs/html/23_containers/howto.html:  Describe implementation of
	insertion with hints.

From-SVN: r45161
2001-08-24 20:34:34 +00:00
Kenny Simpson
bfa7321375 std_sstream.h (basic_ostringstream): Fix ctor.
2001-08-24  Kenny Simpson  <kenny.simpson@gs.com>

	libstdc++/3740
	* include/bits/std_sstream.h (basic_ostringstream): Fix ctor.

From-SVN: r45159
2001-08-24 18:52:03 +00:00
Sylvain Pion
f2c333a19d re PR libstdc++/3349 (bug in map::insert(p,t))
2001-08-24  Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
            Phil Edwards  <pme@sources.redhat.com>

	PR libstdc++/3349
	* include/bits/stl_tree.h (insert_unique):  Revert last change.
	Values inserted at begin() must be less, not greater, than *begin()'s.
	* testsuite/23_containers/map_insert.cc:  New file.

Co-Authored-By: Phil Edwards <pme@gcc.gnu.org>

From-SVN: r45155
2001-08-24 17:40:31 +00:00
GCC Administrator
2dc8352c90 Daily bump.
From-SVN: r45143
2001-08-24 07:16:10 +00:00
Benjamin Kosnik
575dd831c7 c_locale_gnu.cc: Minor tweaks.
2001-08-23  Benjamin Kosnik  <bkoz@redhat.com>

	* config/locale/c_locale_gnu.cc: Minor tweaks.
	(moneypunct<wchar_t>): Implement.
	* include/bits/locale_facets.h: Same.
	* testsuite/22_locale/moneypunct.cc: New file.
	* testsuite/22_locale/moneypunct_byname.cc: New file.
	* testsuite/22_locale/moneypunct_char_members.cc: New file.

From-SVN: r45142
2001-08-24 04:11:23 +00:00
David Edelsohn
a9e7dc6cdf Fix PowerPC long double as well.
From-SVN: r45141
2001-08-23 19:02:01 -04:00
David Edelsohn
be3ebbbb9e Correct __s390__ definitions.
From-SVN: r45140
2001-08-23 18:49:20 -04:00
Jason Merrill
d22ec5294d testsuite_flags.in (build-includes): Re-add backward.
* testsuite_flags.in (build-includes): Re-add backward.
(and back out earlier aclocal change)

From-SVN: r45139
2001-08-23 18:35:52 -04:00
Jason Merrill
cbf0bc8370 * aclocal.m4 (GLIBCPP_INCLUDES): Include backward.
From-SVN: r45129
2001-08-23 07:38:07 -04:00
GCC Administrator
1ba2bace76 Daily bump.
From-SVN: r45123
2001-08-23 07:16:49 +00:00
Benjamin Kosnik
0bab15bb70 collate_wchar_t_members.cc: Guard with _GLIBCPP_USE_WCHAR_T.
2001-08-22  Benjamin Kosnik  <bkoz@redhat.com>

	* testsuite/22_locale/collate_wchar_t_members.cc: Guard
	with _GLIBCPP_USE_WCHAR_T.

From-SVN: r45118
2001-08-23 04:50:55 +00:00
GCC Administrator
e5c94e7bf8 Daily bump.
From-SVN: r45096
2001-08-22 07:16:11 +00:00
Benjamin Kosnik
d1b30231db collate_byname.cc (test01): Fix.
2001-08-21  Benjamin Kosnik  <bkoz@redhat.com>

	* testsuite/22_locale/collate_byname.cc (test01): Fix.

From-SVN: r45094
2001-08-22 05:47:35 +00:00
GCC Administrator
08b3bb93ec Daily bump.
From-SVN: r45071
2001-08-21 07:16:14 +00:00
GCC Administrator
b7ae9d530c Daily bump.
From-SVN: r45046
2001-08-20 07:16:49 +00:00
GCC Administrator
a943f0a2d8 Daily bump.
From-SVN: r45025
2001-08-19 07:52:23 +00:00
Vladimir A Merzliakov
b36d8fb47a locale_facets.tcc (collate::do_transform): Add typename.
2001-08-18  Vladimir A Merzliakov  <wanderer@rsu.ru>

	* include/bits/locale_facets.tcc (collate::do_transform): Add typename.

From-SVN: r45016
2001-08-19 00:29:01 +00:00
Benjamin Kosnik
9f530faf18 operators.cc: Add test.
2001-08-18  Benjamin Kosnik  <bkoz@redhat.com>

	* testsuite/22_locale/operators.cc: Add test.

From-SVN: r45015
2001-08-19 00:20:07 +00:00
Andreas Schwab
8d36d72292 configure.target (cpu_include_dir): Set to `config/cpu/m68k' for m68k and m680[246]0.
* configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
	m68k and m680[246]0.
	* config/cpu/m68k/bits/atomicity.h: New file.

From-SVN: r45006
2001-08-18 19:22:25 +00:00
GCC Administrator
5dc4ff73e6 Daily bump.
From-SVN: r45000
2001-08-18 07:16:42 +00:00
Benjamin Kosnik
ea0c0b6e1b Implement std::collate.
2001-08-17  Benjamin Kosnik  <bkoz@redhat.com>

	Implement std::collate.
	* config/locale/collate_specializations_gnu.cc: Add here, implement in
	MT-safe way.
	* config/locale/collate_specializations_generic.cc: Add here, but
	in a less sophisticated manner.
	* include/bits/locale_facets.tcc (collate): Add generic definition.
	* include/bits/locale_facets.h (~collate): Mark virtual.
	(collate::_M_compare_helper): New.
	(collate::_M_transform_helper): New.
	* src/locale.cc: Remove unnecessary specializations.
	* src/string-inst.cc: Tweak instantiation of ctors.

	* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* src/Makefile.am (sources): Add collate.cc.
	* src/Makefile.in: Regenerate.

	* testsuite/22_locale/collate_byname.cc: New.
	* testsuite/22_locale/collate.cc: New file.
	* testsuite/22_locale/collate_char_members.cc: New file.
	* testsuite/22_locale/collate_wchar_t_members.cc: New file.

From-SVN: r44996
2001-08-18 02:53:13 +00:00
GCC Administrator
823e2b91bb Daily bump.
From-SVN: r44959
2001-08-17 07:18:02 +00:00
Franz Sirl
9567d32780 configure.target: Set LIMITSH for powerpc-*-*.
2001-08-16  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
	* configure.target: Set LIMITSH for powerpc-*-*.
	* config/cpu/powerpc/bits/limits.h: New file.

From-SVN: r44944
2001-08-16 19:19:09 +00:00
Marc Espie
c8f9b30251 configure.in: Check for <sys/types.h>.
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-16 12:49:19 +00:00
GCC Administrator
1cfe9d4012 Daily bump.
From-SVN: r44931
2001-08-16 07:16:09 +00:00
Andreas Schwab
b8f73826af configure.target (cpu_include_dir): Set to `config/cpu/m68k' for m68k and m680[246]0.
* configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
	m68k and m680[246]0.
	* config/cpu/m68k/bits/atomicity.h: New file.

From-SVN: r44925
2001-08-15 16:00:45 +00:00
Andreas Schwab
2e0aa8179f std_limits.h [...]: Define appropriate long double limits for m68k extended floating point.
* include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
	Define appropriate long double limits for m68k extended floating
	point.
	(__glibcpp_f32_digits10): Corrected, off by one.
	(__glibcpp_f80_digits10): Likewise.
	(__glibcpp_f128_digits10): Likewise.
	* config/os/gnu-linux/bits/os_defines.h
	(__glibcpp_long_double_bits) [__mc68000__]: Define to 96.

From-SVN: r44924
2001-08-15 15:57:41 +00:00
GCC Administrator
d0420460b5 Daily bump.
From-SVN: r44917
2001-08-15 07:16:16 +00:00
Gabriel Dos Reis
1489e3241e numeric_limits.cc: Add more tests.
* testsuite/18_support/numeric_limits.cc: Add more tests.
      * include/bits/std_limits.h (numeric_limits<char>::max): Fix
      typo.

From-SVN: r44911
2001-08-14 23:34:04 +00:00
Ulrich Weigand
354953125e Added atomicity.h header for s390.
From-SVN: r44907
2001-08-14 23:16:57 +00:00
Gabriel Dos Reis
8e0bcac8f3 * include/bits/std_limits.h: Fix thinko.
From-SVN: r44901
2001-08-14 21:06:48 +00:00
Benjamin Kosnik
3119bd48cc Makefile.am: Consolidate target rules.
2001-08-14  Benjamin Kosnik  <bkoz@redhat.com>

	* include/Makefile.am: Consolidate target rules. Don't clean stamp
	files. Tweak target build directory stamp.
	* include/Makefile.in: Regenerate.

From-SVN: r44889
2001-08-14 08:46:37 +00:00
Benjamin Kosnik
843312be57 Makefile.am: Consolidate target rules.
2001-08-14  Benjamin Kosnik  <bkoz@redhat.com>

	* include/Makefile.am: Consolidate target rules. Don't clean stamp
	files. Tweak target build directory stamp.
	* include/Makefile.in: Regenerate.

2

From-SVN: r44888
2001-08-14 08:42:19 +00:00
GCC Administrator
c104edca38 Daily bump.
From-SVN: r44886
2001-08-14 07:16:18 +00:00
Peter Schmid
abfc6eb13b stubs.c: Fix PR/3988, replace _GBLICPP_HAVE_LOGL with HAVE_LOGL
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-14 06:50:58 +00:00
Benjamin Kosnik
4e10943dda configure.in (libtool_VERSION): Add.
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-14 01:24:30 +00:00
Mark Mitchell
9f3c078ea9 configure.in (LIMITS_INC_SRCDIR): New variable.
* 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-13 22:26:11 +00:00
H.J. Lu
7db1993723 libstdc++-v3-dg.exp (libstdc++-v3-copy-files): New.
2001-08-13  H.J. Lu  (hjl@gnu.org)

	* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
	New. Copy files.
	(libstdc++-v3-init ): Use it.

From-SVN: r44866
2001-08-13 13:43:13 -07:00
Gabriel Dos Reis
fe45ab59ca ostream.tcc (__pad_char): Change toplevel '__fmt' to '__adjust' to avoid shadowing in nested scope.
* include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
      to '__adjust' to avoid shadowing in nested scope.

From-SVN: r44849
2001-08-13 12:59:38 +00:00
GCC Administrator
15aafd860b Daily bump.
From-SVN: r44844
2001-08-13 07:17:49 +00:00
GCC Administrator
ce55d248ca Daily bump.
From-SVN: r44817
2001-08-12 07:16:09 +00:00
Gabriel Dos Reis
63814ec191 std_limits.h (__glibcpp_char_is_signed): Use __CHAR_UNSIGNED__.
* include/bits/std_limits.h(__glibcpp_char_is_signed): Use
       __CHAR_UNSIGNED__.

       * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
       Likewise.
       * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
       Remove.

From-SVN: r44791
2001-08-11 08:36:52 +00:00
GCC Administrator
16568b922e Daily bump.
From-SVN: r44787
2001-08-11 07:16:09 +00:00
Loren J. Rittle
ff14442814 Makefile.am: Use relative file path in rule to allow colon in $(objdir).
bootstrap/3963
	* include/Makefile.am: Use relative file path in rule to allow
	colon in $(objdir).
	* include/Makefile.in: Rebuilt.

From-SVN: r44776
2001-08-10 20:44:53 +00:00
Loren J. Rittle
b5e58904ae testsuite_hooks.h (__set_testsuite_memlimit): Add dummy default argument to the non-limit implementation.
* testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
	dummy default argument to the non-limit implementation.

From-SVN: r44775
2001-08-10 20:29:41 +00:00
Gunter Winkler
07fe2dec7a 2001-08-10 Gunter Winkler gunter.winkler@mathematik.tu-chemnitz.de
* include/bits/std_complex.h (complex<long double>::operator*=,
      complex<long double>::operator/=): Fix thinko.

From-SVN: r44767
2001-08-10 15:51:00 +00:00
Gabriel Dos Reis
aa2408185d std_limits.h: New file.
2001-08-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
            Mark Mitchell     <mark@codesourcery.com>

        * include/bits/std_limits.h: New file.
        * include/Makefile.am (bits_headers): Add std_limits.h
        (all-local): std_limits.h is no longer built.
        (${target_builddir}/std_limits.h): Remove.
        * include/Makefile.in: Regenerate.
        * src/limits.cc: New file.
        * src/Makefile.am (sources): Add limits.cc in replacement of
        limitsMEMBERS.cc.
        * src/Makefile.in: Regenerate.

From-SVN: r44766
2001-08-10 15:47:22 +00:00
Benjamin Kosnik
0b293f29ab Makefile.am (check-no): Add.
2001-08-09  Benjamin Kosnik  <bkoz@redhat.com>

	* po/Makefile.am (check-no): Add.
	(check-yes): Same.
	* po/Makefile.in: Regenerate.

From-SVN: r44756
2001-08-10 07:39:21 +00:00
GCC Administrator
7c08e8b25a Daily bump.
From-SVN: r44753
2001-08-10 07:16:10 +00:00
Benjamin Kosnik
58b08ac3e1 acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
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-10 06:50:34 +00:00
David Edelsohn
e4124eb384 Fix sparcv9 typo.
From-SVN: r44749
2001-08-09 22:08:33 -04:00
David Edelsohn
3b87de3d00 os_defines.h: Define std_limits.h macros.
* config/os/aix/bits/os_defines.h: Define std_limits.h macros.
	* config/os/generic/bits/os_defines.h: Likewise.
	* config/os/gnu-linux/bits/os_defines.h: Likewise.
	* config/os/hpux/bits/os_defines.h: Likewise.
	* config/os/irix/irix6.5/bits/os_defines.h: Likewise.
	* config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.

From-SVN: r44745
2001-08-09 14:01:36 -04:00
GCC Administrator
86557ec241 Daily bump.
From-SVN: r44734
2001-08-09 07:16:10 +00:00
Benjamin Kosnik
e8406c89d1 Makefile.am (libstdc___la_LDFLAGS): Use -release instead of -version-info, use substituted VERSION info.
2001-08-08  Benjamin Kosnik  <bkoz@redhat.com>

	* src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
	-version-info, use substituted VERSION info.
	* src/Makefile.in: Regenerate.

From-SVN: r44730
2001-08-08 22:39:28 +00:00
GCC Administrator
ece4fc823e Daily bump.
From-SVN: r44705
2001-08-08 07:16:08 +00:00
Benjamin Kosnik
33590f13b2 Implement std::messages.
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-08-08 02:49:01 +00:00
GCC Administrator
e13ef1e287 Daily bump.
From-SVN: r44681
2001-08-07 07:16:13 +00:00
Phil Edwards
fe413112f8 acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls...
2001-08-06  Phil Edwards  <pme@sources.redhat.com>

	* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE):  New macro, calls...
	(GLIBCPP_CHECK_SETRLIMIT):  ...this new macro, which also uses...
	(GLIBCPP_CHECK_SETRLIMIT_ancilliary):  ...this new macro.
	* configure.in (AM_CONFIG_HEADER):  Also generate testsuite_hooks.h.
	Call GLIBCPP_CONFIGURE_TESTSUITE.
	* aclocal.m4:  Regenerate.
	* config.h.in:  Regenerate.
	* configure:  Regenerate.

	* testsuite/lib/libstdc++-v3-dg.exp:  Download new header instead
	of old header.

	* testsuite_flags.in:  Add build dir's testsuite to INCLUDES.
	* testsuite/debug_assert.h:  Removed; contents merged into...
	* testsuite/testsuite_hooks.h.in:  ...here.  New file.
	* testsuite/17_intro/header_ciso646.cc:  No longer include
	debug_assert.h, include testsuite_hooks.h instead.
	* testsuite/17_intro/header_fstream.cc:  Likewise.
	* testsuite/17_intro/header_iomanip.cc:  Likewise.
	* testsuite/17_intro/header_ios.cc:  Likewise.
	* testsuite/17_intro/header_iosfwd.cc:  Likewise.
	* testsuite/17_intro/header_iostream.cc:  Likewise.
	* testsuite/17_intro/header_istream.cc:  Likewise.
	* testsuite/17_intro/header_ostream.cc:  Likewise.
	* testsuite/17_intro/header_sstream.cc:  Likewise.
	* testsuite/17_intro/header_streambuf.cc:  Likewise.
	* testsuite/18_support/numeric_limits.cc:  Likewise.
	* testsuite/19_diagnostics/stdexceptions.cc:  Likewise.
	* testsuite/20_util/allocator_members.cc:  Likewise.
	* testsuite/20_util/auto_ptr.cc:  Likewise.
	* testsuite/20_util/pairs.cc:  Likewise.
	* testsuite/21_strings/append.cc:  Likewise.
	* testsuite/21_strings/capacity.cc:  Likewise.
	* testsuite/21_strings/char_traits_requirements.cc:  Likewise.
	* testsuite/21_strings/compare.cc:  Likewise.
	* testsuite/21_strings/ctor_copy_dtor.cc:  Likewise.  Also set up
	call to (disabled) __set_testsuite_memlimit() wrapper.
	* testsuite/21_strings/element_access.cc:  Likewise.
	* testsuite/21_strings/find.cc:  Likewise.
	* testsuite/21_strings/insert.cc:  Likewise.  Also set up call to
	(disabled) __set_testsuite_memlimit() wrapper.
	* testsuite/21_strings/inserters_extractors.cc:  Likewise.
	* testsuite/21_strings/invariants.cc:  Likewise.
	* testsuite/21_strings/nonmember.cc:  Likewise.
	* testsuite/21_strings/operations.cc:  Likewise.
	* testsuite/21_strings/replace.cc:  Likewise.
	* testsuite/21_strings/rfind.cc:  Likewise.
	* testsuite/21_strings/substr.cc:  Likewise.
	* testsuite/22_locale/codecvt_char_char.cc:  Likewise.
	* testsuite/22_locale/codecvt_unicode_char.cc:  Likewise.
	* testsuite/22_locale/codecvt_unicode_wchar_t.cc:  Likewise.
	* testsuite/22_locale/codecvt_wchar_t_char.cc:  Likewise.
	* testsuite/22_locale/ctor_copy_dtor.cc:  Likewise.
	* testsuite/22_locale/ctype_char_members.cc:  Likewise.
	* testsuite/22_locale/ctype_wchar_t_members.cc:  Likewise.
	* testsuite/22_locale/facet.cc:  Likewise.
	* testsuite/22_locale/global_templates.cc:  Likewise.
	* testsuite/22_locale/members.cc:  Likewise.
	* testsuite/22_locale/numpunct_byname.cc:  Likewise.
	* testsuite/22_locale/numpunct_char_members.cc:  Likewise.
	* testsuite/22_locale/operators.cc:  Likewise.
	* testsuite/22_locale/static_members.cc:  Likewise.
	* testsuite/23_containers/bitset_ctor.cc:  Likewise.
	* testsuite/23_containers/bitset_members.cc:  Likewise.
	* testsuite/23_containers/bitset_shift.cc:  Likewise.
	* testsuite/23_containers/vector_capacity.cc:  Likewise.
	* testsuite/23_containers/vector_ctor.cc:  Likewise.
	* testsuite/23_containers/vector_element_access.cc:  Likewise.
	* testsuite/23_containers/vector_modifiers.cc:  Likewise.
	* testsuite/24_iterators/istreambuf_iterator.cc:  Likewise.
	* testsuite/24_iterators/iterator.cc:  Likewise.
	* testsuite/24_iterators/ostreambuf_iterator.cc:  Likewise.
	* testsuite/25_algorithms/binary_search.cc:  Likewise.
	* testsuite/25_algorithms/copy.cc:  Likewise.
	* testsuite/25_algorithms/heap.cc:  Likewise.
	* testsuite/25_algorithms/lower_bound.cc:  Likewise.
	* testsuite/25_algorithms/min_max.cc:  Likewise.
	* testsuite/25_algorithms/partition.cc:  Likewise.
	* testsuite/25_algorithms/rotate.cc:  Likewise.
	* testsuite/25_algorithms/sort.cc:  Likewise.
	* testsuite/26_numerics/c_math.cc:  Likewise.
	* testsuite/26_numerics/complex_inserters_extractors.cc:  Likewise.
	* testsuite/26_numerics/complex_value.cc:  Likewise.
	* testsuite/27_io/filebuf.cc:  Likewise.
	* testsuite/27_io/filebuf_members.cc:  Likewise.
	* testsuite/27_io/filebuf_virtuals.cc:  Likewise.
	* testsuite/27_io/fpos.cc:  Likewise.
	* testsuite/27_io/fstream_members.cc:  Likewise.
	* testsuite/27_io/ifstream_members.cc:  Likewise.
	* testsuite/27_io/ios_base_callbacks.cc:  Likewise.
	* testsuite/27_io/ios_base_members_static.cc:  Likewise.
	* testsuite/27_io/ios_base_storage.cc:  Likewise.
	* testsuite/27_io/ios_ctor.cc:  Likewise.
	* testsuite/27_io/ios_init.cc:  Likewise.
	* testsuite/27_io/ios_manip_basefield.cc:  Likewise.
	* testsuite/27_io/ios_manip_fmtflags.cc:  Likewise.
	* testsuite/27_io/ios_members.cc:  Likewise.
	* testsuite/27_io/istream_extractor_arith.cc:  Likewise.
	* testsuite/27_io/istream_extractor_char.cc:  Likewise.
	* testsuite/27_io/istream_extractor_other.cc:  Likewise.
	* testsuite/27_io/istream_manip.cc:  Likewise.
	* testsuite/27_io/istream_seeks.cc:  Likewise.
	* testsuite/27_io/istream_sentry.cc:  Likewise.
	* testsuite/27_io/istream_unformatted.cc:  Likewise.
	* testsuite/27_io/istringstream_members.cc:  Likewise.
	* testsuite/27_io/narrow_stream_objects.cc:  Likewise.
	* testsuite/27_io/ofstream_members.cc:  Likewise.
	* testsuite/27_io/ostream_inserter_arith.cc:  Likewise.
	* testsuite/27_io/ostream_inserter_char.cc:  Likewise.
	* testsuite/27_io/ostream_inserter_other.cc:  Likewise.
	* testsuite/27_io/ostream_manip.cc:  Likewise.
	* testsuite/27_io/ostream_seeks.cc:  Likewise.
	* testsuite/27_io/ostream_unformatted.cc:  Likewise.
	* testsuite/27_io/ostringstream_members.cc:  Likewise.
	* testsuite/27_io/streambuf.cc:  Likewise.
	* testsuite/27_io/stringbuf.cc:  Likewise.
	* testsuite/27_io/stringbuf_virtuals.cc:  Likewise.
	* testsuite/27_io/stringstream.cc:  Likewise.
	* testsuite/27_io/stringstream_members.cc:  Likewise.
	* testsuite/27_io/wide_stream_objects.cc:  Likewise.

From-SVN: r44679
2001-08-07 03:38:33 +00:00
GCC Administrator
fe8112f826 Daily bump.
From-SVN: r44657
2001-08-06 07:16:09 +00:00
GCC Administrator
f799ab4537 Daily bump.
From-SVN: r44641
2001-08-05 07:16:10 +00:00
GCC Administrator
34259cdc2a Daily bump.
From-SVN: r44627
2001-08-04 07:16:10 +00:00
GCC Administrator
62dcadeb4a Daily bump.
From-SVN: r44593
2001-08-03 07:16:48 +00:00
GCC Administrator
a2db29a140 Daily bump.
From-SVN: r44564
2001-08-02 07:16:40 +00:00
GCC Administrator
80858e66df Daily bump.
From-SVN: r44534
2001-08-01 07:16:08 +00:00
Loren J. Rittle
67926e5216 * src/gen-num-limits.cc: Use __LONG_LONG_MAX__.
From-SVN: r44518
2001-07-31 19:33:43 +00:00
GCC Administrator
f70961a0e3 Daily bump.
From-SVN: r44505
2001-07-31 07:16:44 +00:00
Benjamin Kosnik
3fe670a469 configure.target: Remove mips from cpu table.
2001-07-30  Benjamin Kosnik  <bkoz@redhat.com>

        * configure.target: Remove mips from cpu table.
        * config/cpu/mips/bits/atomicity.h: Remove generic
        versions. Comment sgidefs include.

From-SVN: r44493
2001-07-31 01:49:30 +00:00
GCC Administrator
60e19e8b3f Daily bump.
From-SVN: r44468
2001-07-30 07:16:11 +00:00
GCC Administrator
1e785d81aa Daily bump.
From-SVN: r44452
2001-07-29 07:16:10 +00:00
GCC Administrator
7b6a93997d Daily bump.
From-SVN: r44436
2001-07-28 07:16:09 +00:00
GCC Administrator
e42834b84a Daily bump.
From-SVN: r44415
2001-07-27 07:16:44 +00:00
GCC Administrator
4d10215152 Daily bump.
From-SVN: r44383
2001-07-26 07:16:10 +00:00
H.J. Lu
3f19669a7c configure.target (cpu_include_dir): Set to `config/cpu/mips' for mips.
2001-07-25  H.J. Lu <hjl@gnu.org>

	* configure.target (cpu_include_dir): Set to `config/cpu/mips'
	for mips.

	* config/cpu/mips/bits/atomicity.h: New.

From-SVN: r44375
2001-07-25 22:04:48 -07:00
H.J. Lu
95b02d7e3a configure.target (cpu_include_dir): Set to `config/cpu/mips' for mips.
2001-07-25  H.J. Lu <hjl@gnu.org>

	* configure.target (cpu_include_dir): Set to `config/cpu/mips'
	for mips.

	* config/cpu/mips/bits/atomicity.h: New.

[[Split portion of a mixed commit.]]

From-SVN: r44374.2
2001-07-25 22:04:48 -07:00
Gabriel Dos Reis
d38cd8ae50 acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf, hypotl, atan2f, 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-25 08:06:47 +00:00
GCC Administrator
40a25731d6 Daily bump.
From-SVN: r44332
2001-07-25 07:16:08 +00:00
GCC Administrator
016c22b5b4 Daily bump.
From-SVN: r44288
2001-07-24 07:16:15 +00:00
David Edelsohn
cba6dfc843 limits_generic.h (int): Set digits and digits10 appropriately for word size.
* include/bits/limits_generic.h (int): Set digits and digits10
	appropriately for word size.
	(unsigned int,long,unsigned long): Likewise.

From-SVN: r44271
2001-07-23 12:41:03 -04:00
GCC Administrator
f3a0f754ad Daily bump.
From-SVN: r44258
2001-07-23 07:16:09 +00:00
GCC Administrator
665e329311 Daily bump.
From-SVN: r44236
2001-07-22 07:16:39 +00:00
GCC Administrator
06dff162a8 Daily bump.
From-SVN: r44224
2001-07-21 07:16:08 +00:00
GCC Administrator
ef1846a7b8 Daily bump.
From-SVN: r44186
2001-07-20 07:16:10 +00:00
Peter Schmid
3b73bce168 stl_algo.h: Fix typos.
2001-07-19  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>

        * include/bits/stl_algo.h : Fix typos.
	* testsuite/25_algorithms/unique.cc: New file.

From-SVN: r44169
2001-07-20 01:17:13 +00:00
Phil Edwards
31bfa17776 backport: basic_string.h: Qualify symbols with 'template'.
2001-07-19  Phil Edwards  <pme@sources.redhat.com>
            Mark Mitchell <mark@codesourcery.com>

	Merge from cp-parser-branch.
	* include/bits/basic_string.h:  Qualify symbols with 'template'.
	* include/bits/basic_string.tcc:  Likewise.
	* include/bits/fstream.tcc:  Likewise.
	* include/bits/istream.tcc:  Likewise.
	* include/bits/sstream.tcc:  Likewise.
	* include/bits/std_istream.h:  Likewise.
	* include/bits/stl_iterator.h:  Likewise.
	* include/bits/streambuf.tcc:  Likewise.
	* src/gen-num-limits.cc:  Add 'template<>' to specializations.
	* src/locale.cc:  Likewise.

Co-Authored-By: Mark Mitchell <mark@codesourcery.com>

From-SVN: r44167
2001-07-20 00:09:31 +00:00
GCC Administrator
69e6b1d4b2 Daily bump.
From-SVN: r44146
2001-07-19 07:16:10 +00:00
Gabriel Dos Reis
b2a4c43c0d gen-num-limits.cc (set_signals_handler): New function.
* src/gen-num-limits.cc (set_signals_handler): New function.
        Factor out signals setting.  Set signal handler for SIGILL.

Co-Authored-By: Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>

From-SVN: r44139
2001-07-19 03:06:01 +00:00
Phil Edwards
4b92a3bf21 howto.html: Fix typo.
2001-07-18  Phil Edwards  <pme@sources.redhat.com>

	* docs/html/27_io/howto.html:  Fix typo.
	* docs/html/faq/index.html:  Minor updates for 3.0 all around.
	* docs/html/faq/index.txt:  Regenerated.

From-SVN: r44135
2001-07-18 21:37:06 +00:00
Stephen M. Webb
fed3b7b431 ostream.tcc (ostream::put): Fixed error condition check.
2001-07-18  Stephen M. Webb  <stephen@bregmasoft..com>
            Roman Sulzhyk  <roman_sulzhyk@yahoo.com>

        libstdc++/3599
        * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
        * testsuite/27_io/streambuf.cc (test07): Added new regression test.

Co-Authored-By: Roman Sulzhyk <roman_sulzhyk@yahoo.com>

From-SVN: r44122
2001-07-18 17:58:37 +00:00
Stephen M. Webb
02d92e3b70 All occurrences of the __value_type() and __distance_type() functions...
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
2001-07-18 17:09:02 +00:00
GCC Administrator
b8dd1bcdbe Daily bump.
From-SVN: r44100
2001-07-18 07:16:08 +00:00
Benjamin Kosnik
4fe706d8e0 README: Add notes on naming test cases.
2001-07-17  Benjamin Kosnik  <bkoz@redhat.com>

	* testsuite/README: Add notes on naming test cases.
	* testsuite/22_locale/members.cc: Mark as xfail.
	* testsuite/22_locale/numpunct_char_members.cc: Same.

From-SVN: r44076
2001-07-17 18:47:34 +00:00
Benjamin Kosnik
2965361b9e README: Add notes on naming test cases.
2001-07-17  Benjamin Kosnik  <bkoz@redhat.com>

	* testsuite/README: Add notes on naming test cases.
	* testsuite/22_locale/members.cc: Mark as xfail.
	* testsuite/22_locale/numpunct_char_members.cc: Same.

From-SVN: r44074
2001-07-17 18:43:28 +00:00
GCC Administrator
e0bcb41cec Daily bump.
From-SVN: r44066
2001-07-17 07:16:17 +00:00
Stephen M. Webb
fb124b992c acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when setting C_INCLUDE_DIR.
2001-07-16  Stephen M. Webb  <stephen@bregmasoft.com>

	* acinclude.m4 (GLIBCPP_ENABLE_CHEADERS):  Use glibcpp_srcdir when
	setting C_INCLUDE_DIR.
	* configure.in:  Revert yesterday's LN_S change.
	* aclocal.m4:  Regenerate.
	* configure:  Regenerate.

From-SVN: r44052
2001-07-16 17:43:54 +00:00
GCC Administrator
cc385017aa Daily bump.
From-SVN: r44031
2001-07-16 07:16:10 +00:00
Phil Edwards
25dfa34d50 configure.in: Temporarily force LN_S to copy instead of symlink.
2001-07-15  Phil Edwards  <pme@sources.redhat.com>

	* configure.in:  Temporarily force LN_S to copy instead of symlink.
	* configure:  Regenerate.

From-SVN: r44028
2001-07-15 22:17:43 +00:00
GCC Administrator
4a82c9509d Daily bump.
From-SVN: r44015
2001-07-15 07:16:50 +00:00
GCC Administrator
386eda2e22 Daily bump.
From-SVN: r44004
2001-07-14 07:16:10 +00:00
Phil Edwards
48fe3de0c3 std_sstream.h (basic_stringbuf::basic_stringbuf(string): Initialize _M_string with pointer-and-size constructor, not just pointer.
2001-07-13  Phil Edwards  <pme@sources.redhat.com>

	* include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
	Initialize _M_string with pointer-and-size constructor, not just
	pointer.  Fix some comments.
	* testsuite/21_strings/ctor_copy_dtor.cc (test03):  New test.
	* testsuite/27_io/stringbuf.cc (test02):  Remove unused variable.
	(test03):  Add embedded-NUL tests.

	* mkcheck.in:  When printing totals, match the order of the tests.
	* include/bits/stringfwd.h:  Use same declaration keywords.
	* include/bits/std_iosfwd.h:  Cosmetic spacing.

From-SVN: r43996
2001-07-13 20:50:03 +00:00
Stephen M. Webb
4a9d51090a Makefile.am: New file encapsulating header generation rules.
2001-07-13  Stephen M. Webb  <stephen@bregmasoft.com>
            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.

Co-Authored-By: Loren J. Rittle <ljrittle@acm.org>
Co-Authored-By: Phil Edwards <pme@gcc.gnu.org>

From-SVN: r43985
2001-07-13 16:47:56 +00:00
GCC Administrator
dd697c0d31 Daily bump.
From-SVN: r43977
2001-07-13 07:16:46 +00:00
GCC Administrator
4eab60c269 Daily bump.
From-SVN: r43960
2001-07-12 07:16:24 +00:00
Felix Natter
89cd224363 porting-howto.xml: Initial checkin of master copy.
2001-07-11   Felix Natter  <fnatter@gmx.net>

	* docs/html/17_intro/porting-howto.xml:  Initial checkin of
	master copy.
	* docs/html/17_intro/porting-howto.html:  check in v0.9.3

From-SVN: r43953
2001-07-12 00:02:34 +00:00
Phil Edwards
669f7a035a run_doxygen: Don't keep output from previous run.
2001-07-11  Phil Edwards  <pme@sources.redhat.com>

	* 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.

From-SVN: r43948
2001-07-11 19:35:49 +00:00
GCC Administrator
3a2a1b5264 Daily bump.
From-SVN: r43925
2001-07-11 07:16:10 +00:00
Gabriel Dos Reis
2253525c31 acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
* acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
        * aclocal.m4: Regenerate.
        * configure: Same.

From-SVN: r43898
2001-07-10 12:55:05 +00:00
GCC Administrator
8b2db411c2 Daily bump.
From-SVN: r43890
2001-07-10 07:16:41 +00:00
Phil Edwards
3abbcbb1b3 configopts.html: Fix thinko.
2001-07-09  Phil Edwards  <pme@sources.redhat.com>

	* docs/html/configopts.html:  Fix thinko.
	* docs/html/27_io/howto.html:  Fix thinko and HTML markup.
	* include/bits/stl_iterator.h:  Fix typo.

From-SVN: r43878
2001-07-09 21:47:36 +00:00
Phil Edwards
c6c222a89a explanations.html: New file.
2001-07-09  Phil Edwards  <pme@sources.redhat.com>

	* docs/html/explanations.html:  New file.
	* docs/html/configopts.html:  Link to it to provide more notes
	on cstdio.  Minor markup and spacing fixes.
	* docs/html/27_io/howto.html:  Talk about sync_with_stdio.

From-SVN: r43868
2001-07-09 19:37:01 +00:00
Kriang Lerdsuwanakij
7e54f5b80a valarray_meta.h (_Expr::operator+): Use qualified id for _Expr template template argument.
* include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
	for _Expr template template argument.
	(_Expr::operator-): Likewise.
	(_Expr::operator~): Likewise.
	(_Expr::operator!): Likewise.
	(_DEFINE_EXPR_UNARY_OPERATOR): Likewise.

From-SVN: r43862
2001-07-09 12:21:56 +00:00
GCC Administrator
42b5727a40 Daily bump.
From-SVN: r43859
2001-07-09 07:16:40 +00:00
GCC Administrator
25076a0731 Daily bump.
From-SVN: r43845
2001-07-08 07:16:47 +00:00
GCC Administrator
edb16d2c64 Daily bump.
From-SVN: r43833
2001-07-07 07:16:12 +00:00
Gabriel Dos Reis
81216ef246 Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
* libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
        * libmath/Makefile.in: Regenerate.
        * libmath/expf.c: Remove.
        * libmath/atan2f.c: Likewise.

From-SVN: r43828
2001-07-06 23:09:30 +00:00
Daniel Jacobowitz
39f5fa3333 configure.in: Remove NATIVE, NULL_TARGET.
2001-07-06  Daniel Jacobowitz  <drow@mvista.com>

        * configure.in: Remove NATIVE, NULL_TARGET.
        Set CANADIAN only for Canadian crosses.  Set xcompiling
        for both Canadian crosses and host-x-host crosses.
        * configure: Regenerated.

From-SVN: r43814
2001-07-06 17:16:46 +00:00
Peter Schmid
17879500fb stl_vector.h (vector::_M_initialize_aux): Fix typo.
2001-07-06  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
        * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.

From-SVN: r43808
2001-07-06 12:28:48 +00:00
GCC Administrator
8a7496476a Daily bump.
From-SVN: r43802
2001-07-06 07:16:43 +00:00