Commit Graph

875 Commits

Author SHA1 Message Date
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
Jason Merrill
68f9fcfc5c * testsuite_flags.in (--build-includes): backward, not backwards.
From-SVN: r43783
2001-07-05 13:18:00 -04:00
GCC Administrator
ce0e8f03d9 Daily bump.
From-SVN: r43775
2001-07-05 07:16:17 +00:00
Jeffrey Oldham
98aff0b52e ropeimpl.h (_Rope_RopeRep::_M_free_c_string): Replace destroy by _Destroy.
2001-07-04  Jeffrey Oldham  <oldham@codesourcery.com>

	* include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
	Replace destroy by _Destroy.
	(_Rope_RopeRep::_S_free_string): Likewise.
	(rope::c_str()): Likewise.
	* include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
	(_Slist_base::_M_erase_after): Likewise.
	(slist::_M_create_node): Replace construct by _Construct.
	(slist::pop_front): Replace destroy by _Destroy.
	* include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
	construct by _Construct.
	(hashtable::_M_delete_node): Replace destroy by _Destroy.
	* include/ext/stl_rope.h (rope::rope): Replace construct by
	_Construct.
	(rope::copy): Replace destroy by _Destroy.

From-SVN: r43764
2001-07-04 18:12:08 +00:00
GCC Administrator
e24a5cb1f3 Daily bump.
From-SVN: r43749
2001-07-04 07:16:47 +00:00
Benjamin Kosnik
1f46fc8e90 localefwd.h: Format.
2001-07-03  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/localefwd.h: Format.
	* include/bits/locale_facts.tcc (locale::combine): Adjust.
	* src/locale.cc (locale::locale::(_Impl)): Don't call
	_M_add_reference.
	(locale::facet::_M_remove_reference): Simplify.
	* src/globals.cc (locale_impl_c): New. Format.
	(locale_c): New.
	* src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.

From-SVN: r43747
2001-07-04 02:39:02 +00:00
GCC Administrator
ff9c9107d8 Daily bump.
From-SVN: r43723
2001-07-03 07:16:12 +00:00
Loren J. Rittle
1ce847cf95 acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell expansion (thanks to Alexandre Oliva).
* acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
	expansion (thanks to Alexandre Oliva).
	* aclocal.m4: Regenerate.
	* configure: Regenerate.

Also, re-add last comment since Benjamin accidentally trashed it with
his last check-in.

From-SVN: r43715
2001-07-02 23:30:01 +00:00
Benjamin Kosnik
213c2316b6 locale.cc (locale::locale(const char*)): Make sure global locales are initialized.
2001-07-02  Benjamin Kosnik  <bkoz@redhat.com>

	* src/locale.cc (locale::locale(const char*)): Make sure global
	locales are initialized.
	* include/bits/locale_facets.tcc (locale::combine): Refcout should
	be zero, not one as it's return-by-value.
	* testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
	named locales here.
	* testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
	for it here.
	(test02): Add test.
	* libsupc++/eh_alloc.cc: Use climits, not limits.h.

From-SVN: r43713
2001-07-02 23:08:28 +00:00
Loren J. Rittle
30b3a033af acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
libstdc++/3284
	* acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.

From-SVN: r43711
2001-07-02 22:24:57 +00:00
Loren J. Rittle
3a5e0e62b0 acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to staged/installed area to support -I-.
libstdc++/3243
	* acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
	staged/installed area to support -I-.  Document.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.

From-SVN: r43709
2001-07-02 21:30:30 +00:00
Loren J. Rittle
861d4e70e8 ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to __out_bufsize.
libstdc++/2211
	* src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
	__out_bufsize.  Add __in_bufsize, document it and use it.

From-SVN: r43707
2001-07-02 20:50:40 +00:00
Stephen M. Webb
494fff4cea stl_construct.h (construct): Remove.
2001-07-01  Stephen M. Webb <stephen@bregmasoft.com>

	* include/bits/stl_construct.h (construct): Remove.
      	(destroy): Remove.
      	(__destroy): Replaced by use of iterator_traits.
	* include/bits/stl_deque.h: replaced HP iterator functions with
	iterator_traits.
        (construct): changed to _Construct.
	(destroy): changed to _Destroy.
	* include/bits/stl_tempbuf.h: Same.
	* include/bits/stl_tree.h: Same.
	* include/bits/stl_vector.h: Same.
	* include/backward/iterator.h (construct): moved definition to here.
	(destroy): Same.

From-SVN: r43701
2001-07-02 19:47:09 +00:00
GCC Administrator
071d36e295 Daily bump.
From-SVN: r43684
2001-07-02 07:16:12 +00:00
GCC Administrator
80617fee7e Daily bump.
From-SVN: r43668
2001-07-01 07:16:41 +00:00
GCC Administrator
bc2fa2fd2e Daily bump.
From-SVN: r43663
2001-06-30 07:17:41 +00:00
Benjamin Kosnik
13f83598b3 locale_facets.tcc (locale::combine): Clone _Impl.
2001-06-29  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
	before replacing facet.
	* include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
	Correct decrement.
	* src/localename.cc (locale::_Impl): Correct ctor initialization
	lists. Initialize ref count with one. Simplify.
	* src/locale.cc: Add comment.
	* testsuite/22_locale/numpunct.cc (test01): Add derivation test.
	* testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
	* testsuite/22_locale/members.cc (test02): Fix.

From-SVN: r43661
2001-06-30 04:35:49 +00:00
GCC Administrator
b669108540 Daily bump.
From-SVN: r43652
2001-06-29 07:16:59 +00:00