GCC Administrator
1590d64e4f
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r91502.2
2004-11-30 00:16:31 +00:00
Paolo Carlini
d1a7222cce
re PR libstdc++/18654 (Shrink-to-fit std::string::reserve() calls can reallocate & copy string contents unnecessarily)
...
2004-11-29 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/18654
* include/bits/basic_string.tcc (_Rep::_S_create): When shrinking,
do not round to pagesize.
* testsuite/21_strings/basic_string/capacity/char/18654.cc: New.
* testsuite/21_strings/basic_string/capacity/wchar_t/18654.cc: New.
From-SVN: r91466
2004-11-29 12:59:53 +00:00
GCC Administrator
9302338c8c
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r91441.2
2004-11-29 00:17:14 +00:00
GCC Administrator
69b7944b0d
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r91403.2
2004-11-28 00:16:25 +00:00
Paolo Carlini
84477ec3e8
re PR libstdc++/18690 (tr1/utility is broken on darwin)
...
2004-11-27 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/18690
* include/tr1/utility (get(pair), get(const pair)): Change
occurrences of _I to _Int.
From-SVN: r91390
2004-11-27 20:25:11 +00:00
GCC Administrator
23d5143200
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r91358.2
2004-11-27 00:16:36 +00:00
Paolo Carlini
75a25e3f65
DR 243.
...
2004-11-26 Paolo Carlini <pcarlini@suse.de>
DR 243. get and getline when sentry reports failure [WP]
* include/bits/istream.tcc (istream<>::get, istream<>::getline):
Store a null character only if the array has a non-zero size.
* src/istream.cc (istream<char>::getline, istream<wchar_t>::getline):
Likewise.
* testsuite/27_io/basic_istream/get/char/3.cc: New.
* testsuite/27_io/basic_istream/getline/char/6.cc: New.
* testsuite/27_io/basic_istream/getline/wchar_t/6.cc: New.
* docs/html/ext/howto.html: Add an entry for DR 243.
* testsuite/27_io/basic_istream/getline/wchar_t/1.cc: New.
* testsuite/27_io/basic_istream/getline/wchar_t/2.cc: New.
* testsuite/27_io/basic_istream/getline/wchar_t/3.cc: New.
* testsuite/27_io/basic_istream/getline/wchar_t/4.cc: New.
* testsuite/27_io/basic_istream/getline/wchar_t/5.cc: New.
From-SVN: r91348
2004-11-26 20:34:27 +00:00
GCC Administrator
3a4e7e8f5d
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r91312.2
2004-11-26 00:16:19 +00:00
GCC Administrator
5f0a713c2a
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r91262.2
2004-11-25 00:16:28 +00:00
Kelley Cook
a38fb0a7a4
Makefile.in, aclocal.m4: Regenerate with automake 1.9.3.
...
2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
* Makefile.in, aclocal.m4: Regenerate with automake 1.9.3.
* include/Makefile.in: Likewise.
* libmath/Makefile.in: Likewise.
* libsupc++/Makefile.in: Likewise.
* po/Makefile.in: Likewise.
* src/Makefile.in: Likewise.
* testsuite/Makefile.in: Likewise.
From-SVN: r91197
2004-11-24 21:12:26 +00:00
Nathan Myers
eacf72d384
2004-11-24 Nathan Myers <ncm@cantrip.org>
...
* include/bits/streambuf_iterator.h
(istreambuf_iterator<>::operator++(), operator++(int)): Don't
check unnecessarily the return value of _M_sbuf->sbumpc().
From-SVN: r91176
2004-11-24 17:01:22 +00:00
Benjamin Kosnik
f2ede5d621
[multiple changes]
...
2004-11-24 Benjamin Kosnik <bkoz@redhat.com>
* include/Makefile.am (tr1_headers): Add utility, functional.
* include/Makefile.in: Regenerate.
2004-11-24 Chris Jefferson <chris@bubblescope.net>
* include/tr1/tuple(operator!=): Change operator
definition to match (draft) technical report.
(operator>): Same.
(operator<=): Same.
(operator>=): Same.
(ref): Move to include/tr1/functional.
(cref): Same.
(tuple_size<pair>): Move to include/tr1/utility.
(tuple_element<,pair>): Same.
* include/tr1/functional: New.
* include/tr1/utility: New.
* testsuite/tr1/6_container/utility/pair.cc: New.
From-SVN: r91171
2004-11-24 16:04:47 +00:00
Benjamin Kosnik
0aa06b18fc
doxygroups.cc: Add std::tr1 namespace.
...
2004-11-23 Benjamin Kosnik <bkoz@redhat.com>
* docs/doxygen/doxygroups.cc: Add std::tr1 namespace.
* docs/doxygen/run_doxygen: Renames for std::tr1.
* docs/doxygen/user.cfg.in: Add cxxabi.h.
* include/bits/*.tcc: Add file markup.
* include/bits/allocator.h: Add link to allocator.html.
* include/bits/atomicity.h: Add file markup.
* include/bits/concurrence.h: Same.
* include/bits/functexcept.h: Same.
* include/ext*: Adjust file markup, remove GCC3 bits.
* include/std/*: Adjust file markup, remove bits about renamed files.
* libsupc++/cxxabi.h: Add file markup.
* testsuite/20_util/memory/auto_ptr/assign_neg.cc: Adjust line numbers.
From-SVN: r91135
2004-11-24 04:11:23 +00:00
GCC Administrator
8ff4764d74
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r91130.2
2004-11-24 00:16:19 +00:00
Benjamin Kosnik
00aca6e83a
locale_facets.h (isspace, [...]): Add doxygen markup.
...
2004-11-22 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.h (isspace, isprint, isupper,
islower, isalpha, isdigit, ispunct, isxdigit, isalnum, isgraph,
toupper, tolower): Add doxygen markup.
(codecvt_byname, ctype_byname, numpunct_byname, collate_byname,
time_get_byname, time_put_byname, moneypunct_byname,
messages_byname): Same.
* include/std/std_fstream.h: Remove superfluous markup.
* include/std/std_sstream.h: Same.
* include/std/std_streambuf.h: Same.
* include/ext/enc_filebuf.h: Adjust markup.
* include/ext/stdio_filebuf.h: Same.
* include/ext/stdio_sync_filebuf.h: Same.
* include/bits/codecvt.h: Same.
* config/os/gnu-linux/ctype_base.h: Same.
* config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same.
* include/tr1/array: Add markup.
* include/tr1/tuple: Same.
* docs/doxygen/run_doxygen: Print arguments.
* docs/doxygen/user.cfg.in: Tweaks.
From-SVN: r91080
2004-11-23 09:18:41 +00:00
GCC Administrator
9f699c84e2
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r91054.2
2004-11-23 00:22:02 +00:00
GCC Administrator
7fb3dd8b75
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r90993.2
2004-11-22 00:16:21 +00:00
Jonathan Wakely
20fff8cd7c
basic_string.h, [...]: Doxygen fixes.
...
2004-11-19 Jonathan Wakely <redi@gcc.gnu.org>
* include/bits/basic_string.h, include/bits/locale_classes.h,
include/bits/valarray_after.h, include/bits/valarray_before.h,
include/ext/stdio_sync_filebuf.h, include/std/std_algorithm.h,
include/std/std_functional.h, include/std/std_memory.h,
include/std/std_numeric.h: Doxygen fixes.
From-SVN: r90979
2004-11-21 13:16:24 +00:00
GCC Administrator
484d0bd6fe
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r90973.2
2004-11-21 00:16:14 +00:00
GCC Administrator
633ce8953a
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r90946.2
2004-11-20 00:16:27 +00:00
Paolo Carlini
f4e5280b48
[multiple changes]
...
2004-11-19 Chris Jefferson <chris@bubblescope.net>
* include/bits/stl_list.h (list::back, list::back const):
Don't decrement temporary.
2004-11-19 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_deque.h (deque::front, deque::front const,
deque::back, deque::back const): Slightly tweak for stylistic
consistency.
From-SVN: r90917
2004-11-19 12:44:09 +00:00
GCC Administrator
fda7c51555
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r90889.2
2004-11-19 00:16:31 +00:00
Paolo Carlini
899671904c
locale_facets.tcc (num_get<>::do_get(void*&)): If the failbit is set, don't set it again.
...
2004-11-18 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (num_get<>::do_get(void*&)):
If the failbit is set, don't set it again.
(money_get<>::_M_extract): Minor stylistic tweak: consistently
with the other functions, take care of eofbit at the end.
From-SVN: r90861
2004-11-18 13:38:09 +00:00
Paolo Carlini
14492f0b1e
DR 434.
...
2004-11-18 Paolo Carlini <pcarlini@suse.de>
DR 434. bitset::to_string() hard to use [Ready]
* include/std/std_bitset.h (to_string): Add three overloads, taking
fewer template arguments.
* docs/html/ext/howto.html: Add an entry for DR 434.
* testsuite/23_containers/bitset/to_string/1.cc: New.
From-SVN: r90854
2004-11-18 09:52:57 +00:00
GCC Administrator
d596ed22a9
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r90836.2
2004-11-18 00:17:18 +00:00
Paolo Carlini
e9fb72e85f
istream.tcc (getline(basic_istream<>&, basic_string<>&, _CharT)): Remove temporary kludge for libstdc++/15002.
...
2004-11-17 Paolo Carlini <pcarlini@suse.de>
* include/bits/istream.tcc (getline(basic_istream<>&, basic_string<>&,
_CharT)): Remove temporary kludge for libstdc++/15002.
* include/std/std_streambuf.h (class basic_streambuf): Declare
getline(basic_istream<>&, basic_string<>&, _CharT) as friend.
* include/bits/basic_string.h (getline(basic_istream<>&,
basic_string<>&, _CharT)): Declare optimized specializations for
char and wchar_t, using protected members of basic_streambuf.
* src/istream.cc: Define the latter.
From-SVN: r90801
2004-11-17 09:04:14 +00:00
GCC Administrator
f4e649d2d2
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r90777.2
2004-11-17 00:16:34 +00:00
GCC Administrator
0475415888
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r90707.2
2004-11-16 00:16:23 +00:00
Paolo Carlini
2bf8accc31
streambuf.tcc (__copy_streambufs): Provide a generic version of the function...
...
2004-11-15 Paolo Carlini <pcarlini@suse.de>
* include/bits/streambuf.tcc (__copy_streambufs): Provide
a generic version of the function, not using the protected
members of basic_streambuf.
* include/std/std_streambuf.h (__copy_streambufs): Declare
optimized specializations for char and wchar_t.
* src/streambuf.cc: New file, define the latter.
* src/Makefile.am: Add.
* src/Makefile.in: Regenerate.
From-SVN: r90701
2004-11-15 23:33:05 +00:00
GCC Administrator
4d6079e03d
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r90644.2
2004-11-15 00:16:47 +00:00
Paolo Carlini
509228203e
streambuf_iterator.h (istreambuf_iterator::_M_get): Slightly tweak for clarity (also leads to measurably better code).
...
2004-11-14 Paolo Carlini <pcarlini@suse.de>
* include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get):
Slightly tweak for clarity (also leads to measurably better code).
From-SVN: r90636
2004-11-14 22:54:24 +00:00
GCC Administrator
f7b62acd2a
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r90604.2
2004-11-14 00:16:19 +00:00
GCC Administrator
7a4702d25b
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r90563.2
2004-11-13 00:16:33 +00:00
GCC Administrator
49a94e56d8
Daily bump.
...
From-SVN: r90513
2004-11-12 00:16:11 +00:00
GCC Administrator
ed50f1785b
Daily bump.
...
From-SVN: r90462
2004-11-11 00:16:33 +00:00
GCC Administrator
df2ae6e216
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r90377.2
2004-11-10 00:16:21 +00:00
Paolo Carlini
cf5c6c8d31
locale_facets.tcc (time_get<>::do_get_weekday, [...]): Absolutely avoid dereferencing end iterators.
...
2004-11-09 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (time_get<>::do_get_weekday,
time_get<>::do_get_monthname): Absolutely avoid dereferencing
end iterators.
* include/bits/locale_facets.tcc (time_get<>::_M_extract_name):
Minor tweak.
From-SVN: r90341
2004-11-09 12:49:20 +00:00
GCC Administrator
d9e75e864c
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r90322.2
2004-11-09 00:16:36 +00:00
Paolo Carlini
15fb0dbeb7
streambuf_iterator.h (class istreambuf_iterator): Consistently use _M_c to cache the current char...
...
2004-11-08 Paolo Carlini <pcarlini@suse.de>
* include/bits/streambuf_iterator.h (class istreambuf_iterator):
Consistently use _M_c to cache the current char, i.e., not only
when operator++(int) is involved; change _M_c to mutable.
(_M_get()): Always save the return value of _M_sbuf->sgetc() into
_M_c.
* testsuite/22_locale/time_get/get_monthname/char/1.cc: Fix
(long standing) typo.
* testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Likewise.
* testsuite/22_locale/time_get/get_weekday/char/1.cc: Likewise.
* testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Likewise.
From-SVN: r90275
2004-11-08 17:55:54 +00:00
Paolo Carlini
adb31ad60d
istream.tcc (getline(char_type*, streamsize, char_type), [...]): Restore a generic version of the functions...
...
2004-11-08 Paolo Carlini <pcarlini@suse.de>
* include/bits/istream.tcc (getline(char_type*, streamsize,
char_type), ignore(streamsize), ignore(streamsize, int_type)):
Restore a generic version of the functions, not using the
protected members of basic_streambuf.
* include/std/std_istream.h (getline(char_type*, streamsize,
char_type), ignore(streamsize), ignore(streamsize, int_type)):
Declare optimized specializations for char and wchar_t.
* src/istream.cc: New file, define the latter.
* src/Makefile.am: Add.
* src/Makefile.in: Regenerate.
From-SVN: r90268
2004-11-08 15:46:28 +00:00
GCC Administrator
1a89f1b506
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r90249.2
2004-11-08 00:16:15 +00:00
GCC Administrator
d5d9e59836
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r90213.2
2004-11-07 00:16:18 +00:00
GCC Administrator
bc54e9de0c
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r90153.2
2004-11-06 00:16:42 +00:00
Benjamin Kosnik
6309eefc3d
re PR libstdc++/17218 (unknown subjects in generated libstdc++ manpages)
...
2004-11-05 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/17218
PR libstdc++/17223
* docs/doxygen/filter: Remove.
* docs/doxygen/filter.sed: Remove.
* docs/doxygen/mainpage.html: Add link to functions.
* docs/doxygen/run_doxygen: Changes due to new source filtering.
* docs/doxygen/user.cfg.in: Update to doxygen 1.3.9.1, tweak.
* include/bits/allocator.h: Tweaks for doxygen.
* include/bits/char_traits.h: Same.
* include/bits/codecvt.h: Same.
* include/bits/concurrence.h: Same.
* include/bits/locale_facets.h: Same.
* include/ext/array_allocator.h: Same.
* include/ext/debug_allocator.h: Same.
* include/ext/malloc_allocator.h: Same.
* include/ext/mt_allocator.h: Same.
* include/ext/new_allocator.h: Same.
* include/ext/pool_allocator.h: Same.
* include/ext/stdio_sync_filebuf.h: Same.
* include/std/std_memory.h: Same.
* include/tr1/array: Same.
* include/tr1/tuple: Same.
* config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same.
* config/os/gnu-linux/ctype_base.h: Same.
From-SVN: r90137
2004-11-05 19:58:03 +00:00
GCC Administrator
30a8b5f807
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r90097.2
2004-11-05 00:16:46 +00:00
Paolo Carlini
eba7452ba8
locale_facets.tcc (num_get<>::do_get(bool&)): Evaluate __beg == __end the exact strict minimum number of times.
...
2004-11-04 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (num_get<>::do_get(bool&)):
Evaluate __beg == __end the exact strict minimum number of times.
From-SVN: r90058
2004-11-04 11:29:30 +00:00
GCC Administrator
76969785b4
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r90044.2
2004-11-04 00:16:19 +00:00
Jonathan Wakely
cb1d5dbaeb
stl_numeric.h (partial_sum, [...]): Avoid dereferencing two times __first in the prologue.
...
2004-11-03 Jonathan Wakely <redi@gcc.gnu.org>
* include/bits/stl_numeric.h (partial_sum, adjacent_difference):
Avoid dereferencing two times __first in the prologue.
From-SVN: r90038
2004-11-03 22:22:34 +00:00
Paolo Carlini
dae62ba8fd
stl_numeric.h: Trivial formatting fixes.
...
2004-11-03 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_numeric.h: Trivial formatting fixes.
From-SVN: r90024
2004-11-03 10:14:24 +00:00
Benjamin Kosnik
34a133a808
c++config: Spacing.
...
2004-11-03 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/c++config: Spacing.
* libsupc++/del_op.cc: Include c++config.h.
* libsupc++/del_opnt.cc: Same.
* libsupc++/del_opv.cc: Same.
* libsupc++/del_opvnt.cc: Same.
* libsupc++/new_op.cc: Same.
* libsupc++/new_opnt.cc: Same.
* libsupc++/new_opv.cc: Same.
* libsupc++/new_opvnt.cc: Same.
From-SVN: r90021
2004-11-03 04:07:22 +00:00