Alexandre Oliva
dd6eaaed37
strstream.cc, [...]: Remove incorrect whitespace added in my previous change.
...
* src/strstream.cc, include/bits/basic_string.tcc: Remove
incorrect whitespace added in my previous change.
From-SVN: r63869
2003-03-05 22:24:56 +00:00
Carlo Wood
0530d3b00b
ios_base.h (ios_base::Init::_S_initialized()): Added _S_initialized() in order to allow debugging libraries to detect when...
...
2003-03-05 Carlo Wood <carlo@alinoe.com>
* include/bits/ios_base.h(ios_base::Init::_S_initialized()): Added
_S_initialized() in order to allow debugging libraries to detect
when the std streams are initialized from an overloaded operator
new.
From-SVN: r63852
2003-03-05 18:53:18 +00:00
Benjamin Kosnik
83e924e101
demangle.h: Move to..
...
2003-03-05 Benjamin Kosnik <bkoz@redhat.com>
* libsupc++/demangle.h: Move to..
* include/bits/demangle.h: ...here.
* src/demangle.cc: Adjust include.
* include/Makefile.am (bits_headers): Add.
* include/Makefile.in: Regenerate.
From-SVN: r63851
2003-03-05 17:57:52 +00:00
Benjamin Kosnik
4e7a2c6f9a
globals.cc: Clarify comments, remove c_locale_imp_compat.
...
2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
* src/globals.cc: Clarify comments, remove c_locale_imp_compat.
* config/linker-map.gnu: Filter typeinfo and vtable info.
From-SVN: r63826
2003-03-05 06:02:15 +00:00
Jerry Quinn
c524ed5dc9
ios.cc (ios_base::_M_grow_words): Don't delete _M_word on new failure.
...
2003-03-04 Jerry Quinn <jlquinn@optonline.net>
* src/ios.cc (ios_base::_M_grow_words): Don't delete _M_word on
new failure. Throw exception if badbit and exception mask when ix
>= numeric_limits<int>::max().
From-SVN: r63824
2003-03-05 03:01:42 +00:00
GCC Administrator
75d8f260df
Daily bump.
...
From-SVN: r63821
2003-03-05 00:17:14 +00:00
Alexandre Oliva
1a8f10da2c
strstream.cc (strstreambuf::overflow): Make sure operands of min and max have the same type.
...
* src/strstream.cc (strstreambuf::overflow): Make sure operands of
min and max have the same type.
* include/bits/basic_string.tcc (append, rfind, compare): Likewise.
From-SVN: r63802
2003-03-04 21:21:44 +00:00
Benjamin Kosnik
6b919a8ab9
Makefile.am (allstamps): Remove stamp-std-precompile.
...
2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
* include/Makefile.am (allstamps): Remove stamp-std-precompile.
* include/Makefile.in: Regenerate.
From-SVN: r63787
2003-03-04 16:22:17 +00:00
Benjamin Kosnik
fd4290d6c7
abi_check.cc (report_symbol_info): Add version info.
...
2003-03-03 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/abi_check.cc (report_symbol_info): Add version info.
* config/linker-map.gnu: Hide more stuff.
* include/Makefile.am: Cleanups.
* include/Makefile.in: Regenerate.
From-SVN: r63765
2003-03-04 05:51:50 +00:00
Benjamin Kosnik
3a15abf155
abi_check.cc (report_symbol_info): Add version info.
...
2003-03-03 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/abi_check.cc (report_symbol_info): Add version info.
* config/linker-map.gnu: Hide more stuff.
* include/Makefile.am: Cleanups.
* include/Makefile.in: Regenerate.
From-SVN: r63764
2003-03-04 05:23:56 +00:00
GCC Administrator
f06e42d6a0
Daily bump.
...
From-SVN: r63751
2003-03-04 00:17:04 +00:00
GCC Administrator
90d86c43f3
Daily bump.
...
From-SVN: r63712
2003-03-03 00:17:04 +00:00
GCC Administrator
d457094cc1
Daily bump.
...
From-SVN: r63643
2003-03-02 00:17:03 +00:00
GCC Administrator
d5b11fba00
Daily bump.
...
From-SVN: r63597
2003-03-01 00:17:22 +00:00
Jerry Quinn
486f4cd1b2
messages_members.h (messages::messages): Remove name from unused parameter.
...
2003-02-27 Jerry Quinn <jlquinn@optonline.net>
* config/locale/generic/messages_members.h (messages::messages):
Remove name from unused parameter.
From-SVN: r63545
2003-02-28 05:15:06 +00:00
GCC Administrator
c5cf6d7d48
Daily bump.
...
From-SVN: r63539
2003-02-28 00:17:06 +00:00
Benjamin Kosnik
4ffbd0777c
[multiple changes]
...
2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
* src/Makefile.am (sources): Add demangle.cc.
(demangle.o): Add.
(demangle.lo): Add.
* src/Makefile.in: Regenerate.
* libsupc++/Makefile.am: Remove old __cxa_demangle bits.
* libsupc++/Makefile.in: Regenerate.
* testsuite/testsuite_hooks.h
(__gnu_cxx_test::verify_demangle): New.
* testsuite/testsuite_hooks.cc: Define.
2003-02-27 Carlo Wood <carlo@alinoe.com>
* src/demangle.cc: New.
* libsupc++/demangle.h: New.
2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
Carlo Wood <carlo@alinoe.com>
* testsuite/demangle/abi_examples/01.cc: New.
* testsuite/demangle/abi_examples/02.cc: New.
* testsuite/demangle/abi_examples/03.cc: New.
* testsuite/demangle/abi_examples/04.cc: New.
* testsuite/demangle/abi_examples/05.cc: New.
* testsuite/demangle/abi_examples/06.cc: New.
* testsuite/demangle/abi_examples/07.cc: New.
* testsuite/demangle/abi_examples/08.cc: New.
* testsuite/demangle/abi_examples/09.cc: New.
* testsuite/demangle/abi_examples/10.cc: New.
* testsuite/demangle/abi_examples/11.cc: New.
* testsuite/demangle/abi_examples/12.cc: New.
* testsuite/demangle/abi_examples/13.cc: New.
* testsuite/demangle/abi_examples/14.cc: New.
* testsuite/demangle/abi_examples/15.cc: New.
* testsuite/demangle/abi_examples/16.cc: New.
* testsuite/demangle/abi_examples/17.cc: New.
* testsuite/demangle/abi_examples/18.cc: New.
* testsuite/demangle/abi_examples/19.cc: New.
* testsuite/demangle/abi_examples/20.cc: New.
* testsuite/demangle/abi_examples/21.cc: New.
* testsuite/demangle/abi_examples/22.cc: New.
* testsuite/demangle/abi_examples/23.cc: New.
* testsuite/demangle/abi_examples/24.cc: New.
* testsuite/demangle/abi_examples/25.cc: New.
* testsuite/demangle/abi_examples/26.cc: New.
* testsuite/demangle/abi_text/01.cc: New.
* testsuite/demangle/abi_text/02.cc: New.
* testsuite/demangle/abi_text/03.cc: New.
* testsuite/demangle/abi_text/04.cc: New.
* testsuite/demangle/abi_text/05.cc: New.
* testsuite/demangle/abi_text/06.cc: New.
* testsuite/demangle/abi_text/07.cc: New.
* testsuite/demangle/abi_text/08.cc: New.
* testsuite/demangle/abi_text/09.cc: New.
* testsuite/demangle/abi_text/10.cc: New.
* testsuite/demangle/abi_text/11.cc: New.
* testsuite/demangle/abi_text/12.cc: New.
* testsuite/demangle/abi_text/13.cc: New.
* testsuite/demangle/abi_text/14.cc: New.
* testsuite/demangle/regression/3111-1.cc: New.
* testsuite/demangle/regression/3111-2.cc: New.
* testsuite/demangle/regression/7986-01.cc: New.
* testsuite/demangle/regression/7986-02.cc: New.
* testsuite/demangle/regression/7986-03.cc: New.
* testsuite/demangle/regression/7986-04.cc: New.
* testsuite/demangle/regression/7986-05.cc: New.
* testsuite/demangle/regression/7986-06.cc: New.
* testsuite/demangle/regression/7986-07.cc: New.
* testsuite/demangle/regression/7986-08.cc: New.
* testsuite/demangle/regression/7986-09.cc: New.
* testsuite/demangle/regression/7986-10.cc: New.
* testsuite/demangle/regression/7986-11.cc: New.
* testsuite/demangle/regression/7986-12.cc: New.
* testsuite/demangle/regression/7986.cc: New.
* testsuite/demangle/regression/8897.cc: New.
* testsuite/demangle/regression/cw-01.cc: New.
* testsuite/demangle/regression/cw-02.cc: New.
* testsuite/demangle/regression/cw-03.cc: New.
* testsuite/demangle/regression/cw-04.cc: New.
* testsuite/demangle/regression/cw-05.cc: New.
* testsuite/demangle/regression/cw-06.cc: New.
* testsuite/demangle/regression/cw-07.cc: New.
* testsuite/demangle/regression/cw-08.cc: New.
* testsuite/demangle/regression/cw-09.cc: New.
* testsuite/demangle/regression/cw-10.cc: New.
* testsuite/demangle/regression/cw-11.cc: New.
* testsuite/demangle/regression/cw-12.cc: New.
* testsuite/demangle/regression/cw-13.cc: New.
* testsuite/demangle/regression/cw-14.cc: New.
* testsuite/demangle/regression/old.cc: New.
From-SVN: r63513
2003-02-27 16:57:26 +00:00
GCC Administrator
f50e2df291
Daily bump.
...
From-SVN: r63497
2003-02-27 00:17:03 +00:00
GCC Administrator
61ba356a99
Daily bump.
...
From-SVN: r63440
2003-02-26 00:17:03 +00:00
Phil Edwards
bd2726e0ca
Intro.3: Update with new (proper) names.
...
2003-02-25 Phil Edwards <pme@gcc.gnu.org>
* docs/doxygen/Intro.3: Update with new (proper) names.
* docs/doxygen/TODO: Update.
* docs/doxygen/run_doxygen: More comments, fix up man pages.
Fake entries for standard typedefs.
* docs/doxygen/user.cfg.in: Turn INLINE_INHERITED_MEMB back on.
* docs/html/documentation.html: Top-level man page is now called
C++Intro.
* include/std/std_limits.h: Doxygenate.
From-SVN: r63433
2003-02-26 00:02:16 +00:00
Nick Clifton
64458158b9
remove bogus files accidentally commited during a previous delta
...
From-SVN: r63399
2003-02-25 10:17:06 +00:00
Scott Snyder
63b1a6ba01
re PR libstdc++/9811 (incorrect documentation for std::map::lower_bound, etc.)
...
2003-02-25 Scott Snyder <snyder@fnal.gov>
PR libstdc++/9811
* include/bits/stl_map.h (lower_bound, upper_bound, equal_range):
Correct documentation.
* include/bits/stl_multimap.h (lower_bound, upper_bound,
equal_range): Likewise.
From-SVN: r63396
2003-02-25 06:27:10 +00:00
GCC Administrator
bacbf39910
Daily bump.
...
From-SVN: r63392
2003-02-25 00:17:06 +00:00
Paolo Carlini
57df94c8f6
re PR libstdc++/9825 (filebuf::sputbackc breaks sbumpc)
...
2003-02-24 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/9825
* src/fstream.cc
(basic_filebuf<char/wchar_t>::_M_underflow_common): When
__bump is true (uflow), always increment the read pointer
(_M_in_cur) before returning successfully.
* testsuite/27_io/filebuf_virtuals.cc (test12): Add.
From-SVN: r63378
2003-02-24 20:39:31 +00:00
Paolo Carlini
391cd0955e
PR libstdc++/9404, PR libstdc++/9701 (partial)
...
2003-02-24 Paolo Carlini <pcarlini@unitus.it>
Nathan Myers <ncm@cantrip.org>
PR libstdc++/9404, PR libstdc++/9701 (partial)
(aka pptr == epptr implies overflow)
* include/bits/fstream.tcc (_M_allocate_internal_buffer):
Consistently, _M_out_end points to the end of the buffer just
created.
(overflow): Tweak to use _M_out_buf_size().
(_M_convert_to_external): The role of the old _M_out_end is
now played by _M_out_lim.
(_M_really_overflow): Likewise.
(seekoff): Likewise.
(setbuf): _M_out_end points to the end of the external buffer.
* include/bits/sstream.tcc (overflow): Rewrote, taking into
account the resolution of DR 169 (TC).
(seekoff): Use _M_string.capacity(); ios_base::end is now _M_out_lim.
(seekpos): Use _M_string.capacity(); tweak.
* include/bits/streambuf.tcc (sputc, xsputn): Remove comments.
* include/std/std_fstream.h (sync): The role of the old
_M_out_end is now played by _M_out_lim.
(_M_set_indeterminate): Use _M_set_determinate.
(_M_set_determinate): _M_out_end is now _M_out_lim.
(_M_is_indeterminate): Likewise.
* include/std/std_sstream.h (str()): _M_out_end is now _M_out_lim.
(_M_stringbuf_init): Don't set _M_buf_size, unused for sstreams,
which have the information readily available as _M_string.capacity();
for ate and app modes, pass the string size to _M_really_sync.
(_M_really_sync): Consistently set _M_out_end and _M_out_lim, to
point to the end of the buffer (i.e., epptr) and to the string end,
respectively.
* include/std/std_streambuf.h: tweak comments, add _M_out_lim,
which points to the right limit of the used put area.
(_M_out_cur_move): The role of the old _M_out_end is now played
by _M_out_lim.
(_M_out_buf_size): Simplify: now (when _M_out_cur) return simply
_M_out_end - _M_out_cur (i.e., pptr), _very_ close to the letter
of the standard.
(basic_streambuf()): Initialize _M_out_lim too.
* testsuite/27_io/filebuf_virtuals.cc (test10): Trivial tweak.
* testsuite/27_io/filebuf_virtuals.cc (test11): Add.
* testsuite/27_io/stringbuf_virtuals.cc (test09): Add.
Co-Authored-By: Nathan Myers <ncm@cantrip.org>
From-SVN: r63367
2003-02-24 18:22:58 +00:00
Benjamin Kosnik
2e812a0a41
ios_base_storage.cc (main): Call set_memory_limits.
...
2003-02-24 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/27_io/ios_base_storage.cc (main): Call
set_memory_limits.
From-SVN: r63366
2003-02-24 18:14:20 +00:00
GCC Administrator
6ecc7b8ffd
Daily bump.
...
From-SVN: r63347
2003-02-24 00:17:04 +00:00
Nick Clifton
7b652bb8eb
Add %redact file
...
From-SVN: r63331
2003-02-23 20:32:20 +00:00
Nick Clifton
39071122d3
FSF GCC merge 02/23/03
...
From-SVN: r63327
2003-02-23 17:26:23 +00:00
GCC Administrator
185e2e1315
Daily bump.
...
From-SVN: r63312
2003-02-23 00:17:03 +00:00
GCC Administrator
6a6d417ebd
Daily bump.
...
From-SVN: r63262
2003-02-22 00:17:07 +00:00
Jerry Quinn
d77478a5e5
locale_facets.tcc (_M_convert_float): Replace numpunct facet accesses with data from __locale_cache.
...
2003-02-21 Jerry Quinn <jlquinn@optonline.net>
* include/bits/locale_facets.tcc (_M_convert_float): Replace
numpunct facet accesses with data from __locale_cache.
From-SVN: r63213
2003-02-21 08:34:18 +00:00
GCC Administrator
763b929241
Daily bump.
...
From-SVN: r63196
2003-02-21 00:17:07 +00:00
Phil Edwards
0385e9506b
index.html (3.9): New note, wchar_t on FreeBSD.
...
2003-02-20 Phil Edwards <pme@gcc.gnu.org>
* docs/html/faq/index.html (3.9): New note, wchar_t on FreeBSD.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r63173
2003-02-20 17:57:05 +00:00
Phil Edwards
3a24c5134f
linker-map.gnu: Also export locking symbols needed for the generic atomicity.h case.
...
2003-02-20 Phil Edwards <pme@gcc.gnu.org>
* config/linker-map.gnu: Also export locking symbols needed for the
generic atomicity.h case.
From-SVN: r63169
2003-02-20 16:47:39 +00:00
Alexandre Oliva
3343fdd21c
configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to config.status.
...
* configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
config.status.
* configure: Rebuilt.
From-SVN: r63159
2003-02-20 09:08:45 +00:00
Paolo Carlini
c85dca2816
sstream.tcc (overflow): According to 27.7.1.3, p5, actual output is performed by sputc(c).
...
2003-02-19 Paolo Carlini <pcarlini@unitus.it>
* include/bits/sstream.tcc (overflow): According to
27.7.1.3, p5, actual output is performed by sputc(c).
From-SVN: r63147
2003-02-20 00:55:45 +00:00
GCC Administrator
7b616a297c
Daily bump.
...
From-SVN: r63144
2003-02-20 00:17:05 +00:00
Phil Edwards
41662dbb4e
re PR libstdc++/9582 (ODR violation in std::allocator)
...
2003-02-19 Phil Edwards <pme@gcc.gnu.org>
PR libstdc++/9582
* include/bits/stl_alloc.h: Remove all traces of assert().
From-SVN: r63136
2003-02-20 00:11:43 +00:00
GCC Administrator
35bd551997
Daily bump.
...
From-SVN: r63076
2003-02-19 00:17:34 +00:00
Paolo Carlini
de59bd27dc
std_sstream.h (str()): the size of the current string may be different from the initial one whenever...
...
2003-02-18 Paolo Carlini <pcarlini@unitus.it>
* include/std/std_sstream.h (str()): the size of the
current string may be different from the initial one
whenever _M_out_end > _M_out_beg.
* testsuite/27_io/stringbuf_members.cc (test07): Add.
From-SVN: r63066
2003-02-18 23:26:32 +00:00
Paolo Carlini
14a65f50b0
re PR libstdc++/9582 (ODR violation in std::allocator)
...
2003-02-18 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/9582
* include/bits/stl_alloc.h (__pool_alloc::allocate):
Remove assert.
From-SVN: r63031
2003-02-18 10:54:37 +00:00
Benjamin Kosnik
6067bea410
[multiple changes]
...
2003-02-17 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/basic_ios.tcc (copyfmt): Copy locale data as well.
* testsuite/27_io/ios_members.cc (test03): New.
2003-02-17 Jerry Quinn <jlquinn@optonline.net>
* include/bits/basic_ios.h (basic_ios::_M_cache_locale): Declare.
(basic_ios::_M_cache_facets): Move into above.
* include/bits/basic_ios.tcc (basic_ios::copyfmt): Rebuild locale
cache.
(basic_ios::imbue): Force locale cache to be built.
(basic_ios::_M_init): Create and initialize locale cache.
* include/bits/ios_base.h (__locale_cache_base): Declare.
(ios_base::_M_locale_cache): New.
(ios_base::_M_cache): Define.
* include/bits/locale_facets.h: (__num_base): Fix comment. Add
_S_end.
(__locale_cache_base,__locale_cache<_CharT>): New classes.
(__locale_cache<char>, __locale_cache<wchar_t>): New specializations.
* include/bits/locale_facets.tcc (num_put::_M_convert_int): Use locale
cache literal string, grouping flag, thousands separator.
(__locale_cache<_CharT>::__locale_cache): New.
(__locale_cache<_CharT>::_M_init): New.
(__locale_cache<_CharT>::_M_populate): New.
* src/ios.cc: Clear _M_locale_cache in constructor.
* src/locale-inst.cc (__locale_cache<char>, __locale_cache<_char_t>):
New.
From-SVN: r63025
2003-02-18 05:45:07 +00:00
GCC Administrator
5b0512df31
Daily bump.
...
From-SVN: r63023
2003-02-18 00:17:05 +00:00
Paolo Carlini
d407831d09
locale-inst.cc: Do not include <cassert>.
...
2003-02-17 Paolo Carlini <pcarlini@unitus.it>
* src/locale-inst.cc: Do not include <cassert>.
* src/locale.cc: Likewise.
From-SVN: r63009
2003-02-17 21:42:05 +00:00
Paolo Carlini
1a1aed2466
re PR libstdc++/9580 (basic_filebuf<> with custom traits_type fails to link)
...
2003-02-17 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/9580
* include/std/std_fstream.h: Declare underflow and uflow
specializations, change generic definitions to do nothing.
* src/fstream.cc: Add underflow and uflow specializations.
From-SVN: r63008
2003-02-17 20:07:48 +00:00
Paolo Carlini
130cd3e1df
re PR libstdc++/9169 (filebuf output fails if codecvt<>::out returns noconv)
...
2003-02-17 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/9169
* include/bits/fstream.tcc (_M_convert_to_external):
Deal correctly with noconv, as prescribed by 27.8.1.4,p8.
* testsuite/27_io/filebuf_virtuals.cc (test10): Add.
From-SVN: r63004
2003-02-17 19:05:01 +00:00
GCC Administrator
7a01761009
Daily bump.
...
From-SVN: r62995
2003-02-17 00:17:03 +00:00
GCC Administrator
a7075aea58
Daily bump.
...
From-SVN: r62954
2003-02-16 00:17:03 +00:00
GCC Administrator
b62b6de0cd
Daily bump.
...
From-SVN: r62931
2003-02-15 00:17:03 +00:00