Commit Graph

1142 Commits

Author SHA1 Message Date
GCC Administrator
3cc661ed29 Daily bump.
From-SVN: r60030
2002-12-11 08:17:16 +00:00
GCC Administrator
db8a1d4a56 Daily bump.
From-SVN: r59990
2002-12-10 08:17:19 +00:00
Gabriel Dos Reis
eee9d6bb44 * include/bits/slice_array.h (slice_array<>::operator=): Fix typo.
From-SVN: r59983
2002-12-10 07:32:04 +00:00
GCC Administrator
e46af8eda8 Daily bump.
From-SVN: r59961
2002-12-09 08:17:22 +00:00
GCC Administrator
e598cc3141 Daily bump.
From-SVN: r59935
2002-12-08 08:17:08 +00:00
GCC Administrator
f71d0a9529 Daily bump.
From-SVN: r59910
2002-12-07 08:17:27 +00:00
GCC Administrator
cdb8f3ebe7 Daily bump.
From-SVN: r59887
2002-12-06 08:17:26 +00:00
GCC Administrator
9148659d58 Daily bump.
From-SVN: r59854
2002-12-05 08:17:18 +00:00
GCC Administrator
33602aec45 Daily bump.
From-SVN: r59807
2002-12-04 08:17:32 +00:00
GCC Administrator
67f05dcb2c Daily bump.
From-SVN: r59766
2002-12-03 08:17:12 +00:00
Paolo Carlini
61b8da3733 basic_string.h (compare(const basic_string&)): Fully qualify min() with std::.
2002-12-02  Paolo Carlini  <pcarlini@unitus.it>

	* include/bits/basic_string.h (compare(const basic_string&)):
	Fully qualify min() with std::.

From-SVN: r59745
2002-12-02 22:15:54 +00:00
Paolo Carlini
aa863dca8b basic_string.tcc (basic_string::append(const basic_string&, size_type, size_type), [...]): Fully qualify min() with std::.
2002-12-02  Paolo Carlini  <pcarlini@unitus.it>

	* include/bits/basic_string.tcc
	(basic_string::append(const basic_string&, size_type,
	size_type), basic_string::compare(size_type, size_type,
	const basic_string&), basic_string::compare(size_type,
	size_type, const basic_string&, size_type, size_type),
	basic_string::compare(const _CharT*), basic_string::
	compare(size_type, size_type, const _CharT*),
	basic_string::compare(size_type, size_type, const _CharT*,
	size_type), _S_string_copy(const basic_string&, _CharT*,
	typename _Alloc::size_type)): Fully qualify min() with std::.

2002-12-02  Paolo Carlini  <pcarlini@unitus.it>

	* include/bits/basic_string.tcc
	(basic_string::_S_construct(_InIter, _InIter, const _Alloc&,
	forward_iterator_tag)): Delay the declaration of __dnew,
	fully qualify distance() with std::.
	(basic_string::_M_replace_safe): Fully qualify distance()
	with std::.

From-SVN: r59726
2002-12-02 18:53:41 +00:00
GCC Administrator
54806c1855 Daily bump.
From-SVN: r59712
2002-12-02 08:17:22 +00:00
GCC Administrator
a46ad9b0fb Daily bump.
From-SVN: r59679
2002-12-01 08:17:11 +00:00
GCC Administrator
acb45e09fe Daily bump.
From-SVN: r59657
2002-11-30 08:17:11 +00:00
GCC Administrator
45596747ca Daily bump.
From-SVN: r59631
2002-11-29 08:17:51 +00:00
GCC Administrator
bcfb713a6f Daily bump.
From-SVN: r59603
2002-11-28 08:17:17 +00:00
GCC Administrator
a916a6c019 Daily bump.
From-SVN: r59567
2002-11-27 08:18:24 +00:00
GCC Administrator
db4d71292f Daily bump.
From-SVN: r59505
2002-11-26 08:19:05 +00:00
Wolfgang Bangerth
f815521c75 std_complex.h (operator<<(basic_ostream&, const complex&)): Prefer 'x' to "x" for efficiency sake.
2002-11-25  Wolfgang Bangerth  <bangerth@ticam.utexas.edu>

	* include/std/std_complex.h
	(operator<<(basic_ostream&, const complex&)): Prefer 'x'
	to "x" for efficiency sake.
	* src/locale.cc (locale::locale(const char*)): Ditto.

From-SVN: r59465
2002-11-25 19:01:55 +00:00
GCC Administrator
7580b910da Daily bump.
From-SVN: r59454
2002-11-25 08:17:14 +00:00
GCC Administrator
02ccd3c984 Daily bump.
From-SVN: r59428
2002-11-24 08:17:47 +00:00
GCC Administrator
0176b49232 Daily bump.
From-SVN: r59408
2002-11-23 08:17:09 +00:00
Laszlo Ersek
726a4d6d5e re PR libstdc++/8645 (unnecessary non-0 checks in stl_tree.h)
2002-11-22  Laszlo Ersek  <erseklaszlo@chello.hu>
	    Paolo Carlini  <pcarlini@unitus.it>

	PR libstdc++/8645
	* include/bits/stl_tree.h (_Rb_tree_rebalance_for_erase):
	Don't check that __w->_M_left != 0 and __w->_M_right != 0
	when they can't be otherwise.

Co-Authored-By: Paolo Carlini <pcarlini@unitus.it>

From-SVN: r59381
2002-11-22 18:53:53 +00:00
GCC Administrator
fac3e63d64 Daily bump.
From-SVN: r59373
2002-11-22 08:17:23 +00:00
GCC Administrator
3c6843e78a Daily bump.
From-SVN: r59336
2002-11-21 08:17:21 +00:00
Phil Edwards
a8a4259d5c streambuf.tcc (basic_streambuf::sputbackc): Prefix "this->" to call to pbackfail.
2002-11-21  Phil Edwards  <pme@gcc.gnu.org>

	* include/bits/streambuf.tcc (basic_streambuf::sputbackc):  Prefix
	"this->" to call to pbackfail.

From-SVN: r59327
2002-11-21 07:27:51 +00:00
Phil Edwards
840ceb345b TODO: Note change in clause 27 docs.
2002-11-21  Phil Edwards  <pme@gcc.gnu.org>

	* docs/doxygen/TODO:  Note change in clause 27 docs.
	* include/bits/basic_ios.h, include/bits/fpos.h,
	include/bits/ios_base.h, include/bits/stl_deque.h,
	include/bits/stl_iterator_base_types.h, include/std/std_fstream.h,
	include/std/std_iomanip.h, include/std/std_iosfwd.h,
	include/std/std_iostream.h, include/std/std_istream.h,
	include/std/std_ostream.h, include/std/std_sstream.h,
	include/std/std_streambuf.h:  Doxygenate all I/O entities.

From-SVN: r59325
2002-11-21 07:06:41 +00:00
Benjamin Kosnik
5e85fa9997 streambuf.tcc (__copy_streambufs): Revert previous fix for the interactive half of libstdc++/6745...
2002-11-20  Benjamin Kosnik  <bkoz@redhat.com>
	    Jonathan Lennox  <lennox@cs.columbia.edu>

	* include/bits/streambuf.tcc (__copy_streambufs):
	Revert previous fix for the interactive half of
	libstdc++/6745, use _M_buf_size_opt to set dynamically
	the correct buffer size.

Co-Authored-By: Jonathan Lennox <lennox@cs.columbia.edu>

From-SVN: r59314
2002-11-20 21:22:48 +00:00
GCC Administrator
13b42735b6 Daily bump.
From-SVN: r59294
2002-11-20 08:17:15 +00:00
GCC Administrator
b9423ac22f Daily bump.
From-SVN: r59255
2002-11-19 08:18:06 +00:00
Jonathan Lennox
5bdb1440a1 streambuf.tcc (__copy_streambufs): verify __sbin->gptr() + __bufsize < __sbin->egptr() before using.
2002-11-18  Jonathan Lennox  <lennox@cs.columbia.edu>

	* include/bits/streambuf.tcc (__copy_streambufs): verify
	__sbin->gptr() + __bufsize < __sbin->egptr() before using.
	* testsuite/27_io/ostream_inserter_other.cc (test_buffer_4): Add.
	(test05): Use test_buffer_4.  Delete unused ostringstream
	variables.

From-SVN: r59234
2002-11-18 22:42:35 +00:00
Paolo Carlini
d9d71657bd PR libstdc++/6745 (continued)
2002-11-18  Paolo Carlini  <pcarlini@unitus.it>

	PR libstdc++/6745 (continued)
	* include/bits/streambuf.tcc (__copy_streambufs):
	Deal with interactive input by using isatty as in the
	fix for libstdc++/8399.

From-SVN: r59229
2002-11-18 20:03:52 +00:00
GCC Administrator
d1afe2caee Daily bump.
From-SVN: r59210
2002-11-18 08:19:10 +00:00
GCC Administrator
7b8dbd5041 Daily bump.
From-SVN: r59191
2002-11-17 08:18:17 +00:00
Benjamin Kosnik
af5fb6ab3b re PR libstdc++/8230 (Buggy allocator behaviour)
2002-11-15  Benjamin Kosnik  <bkoz@redhat.com>
            Gabriel Dos Reis  <gdr@integrable-solutions.net>

	PR libstdc++/8230
	* include/bits/stl_alloc.h: Use builtin_expect for the most
	obvious limit checks.
	(__default_alloc_template::allocate): Check for null, throw
	bad_alloc.
	* include/bits/vector.tcc: Formatting tweaks.
	* include/bits/stl_vector.h: Same.
	* testsuite/20_util/allocator_members.cc (test02): Add.
	* testsuite/23_containers/vector_capacity.cc (test03): Add.

Co-Authored-By: Gabriel Dos Reis <gdr@integrable-solutions.net>

From-SVN: r59169
2002-11-16 17:16:31 +00:00
GCC Administrator
952d707302 Daily bump.
From-SVN: r59157
2002-11-16 08:18:01 +00:00
GCC Administrator
21ea7df56f Daily bump.
From-SVN: r59124
2002-11-15 08:17:15 +00:00
GCC Administrator
3dfce4e4fc Daily bump.
From-SVN: r59103
2002-11-14 08:17:18 +00:00
Benjamin Kosnik
48d1c3c568 re PR libstdc++/8230 (Buggy allocator behaviour)
2002-11-13  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/8230
	* include/bits/vector.tcc (vector::reserve): Throw length_error if
	requested size is bigger than max_size().
	* include/bits/stl_bvector.h (vector<bool>::reserve): Same.
	* testsuite/23_containers/vector_capacity.cc (test02): Add.

From-SVN: r59090
2002-11-13 22:15:17 +00:00
GCC Administrator
7b53becc10 Daily bump.
From-SVN: r59071
2002-11-13 08:17:23 +00:00
GCC Administrator
91bc0940c0 Daily bump.
From-SVN: r59045
2002-11-12 08:17:27 +00:00
Benjamin Kosnik
6eeb7d7ae0 re PR libstdc++/6746 (ifstream::readsome() always returns zero)
2002-11-11  Benjamin Kosnik  <bkoz@redhat.com>

        PR libstdc++/6746
        * include/bits/fstream.tcc (filebuf::open): Set input pointers.
	* config/io/basic_file_stdio.cc (__basic_file::_M_open_mode): Set
	__p_mode as well.
	(__basic_file::open): Set to non-block for input.
	* testsuite/27_io/istream_unformatted.cc (test12): Add.
	(test13): Same.

From-SVN: r59030
2002-11-11 23:18:05 +00:00
GCC Administrator
aaea99dc5e Daily bump.
From-SVN: r59019
2002-11-11 08:17:12 +00:00
GCC Administrator
d663b76d17 Daily bump.
From-SVN: r58977
2002-11-10 08:17:13 +00:00
GCC Administrator
8a9a176bf6 Daily bump.
From-SVN: r58949
2002-11-09 08:17:12 +00:00
GCC Administrator
1cc6f9f420 Daily bump.
From-SVN: r58919
2002-11-08 08:17:17 +00:00
GCC Administrator
d7899d8a40 Daily bump.
From-SVN: r58884
2002-11-07 08:17:13 +00:00
GCC Administrator
ca01c43fca Daily bump.
From-SVN: r58856
2002-11-06 08:17:10 +00:00
Jonathan Wakely
93d87ec6f8 std_sstream.h (basic_stringbuf::str(const __string_type&)): Prefer data() to c_str() thus avoiding assigning the unnecessary NULL-terminator.
2002-11-05  Jonathan Wakely  <cow@compsoc.man.ac.uk>

	* include/std/std_sstream.h
	(basic_stringbuf::str(const __string_type&)):
	Prefer data() to c_str() thus avoiding assigning the
	unnecessary NULL-terminator.

From-SVN: r58844
2002-11-06 00:05:35 +00:00