Richard Henderson
172f7610ae
* include/bits/stl_bvector.h (_Bit_type): New. Use throughout.
...
From-SVN: r50615
2002-03-11 14:36:30 -08:00
Phil Edwards
abd3d6007c
libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles): New function.
...
2002-03-11 Phil Edwards <pme@gcc.gnu.org>
* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
New function. Build the list of tests to run in testsuite_files.
* testsuite/libstdc++-v3.dg/dg.exp: Use it.
From-SVN: r50598
2002-03-11 21:11:07 +00:00
Phil Edwards
72c9b0629d
capacity.cc: Only explicitly instantiate on platforms with no weak support.
...
2002-03-11 Phil Edwards <pme@gcc.gnu.org>
* testsuite/21_strings/capacity.cc: Only explicitly instantiate on
platforms with no weak support.
* testsuite/27_io/ios_init.cc: Likewise.
From-SVN: r50597
2002-03-11 21:08:06 +00:00
GCC Administrator
eb58b2086c
Daily bump.
...
From-SVN: r50564
2002-03-11 08:17:16 +00:00
Paolo Carlini
c15892e05e
locale_facets.tcc (time_put::do_put): Consider sizeof(char_type) in allocating the buffer.
...
2002-03-10 Paolo Carlini <pcarlini@unitus.it>
* include/bits/locale_facets.tcc (time_put::do_put):
Consider sizeof(char_type) in allocating the buffer.
* include/bits/locale_facets.tcc (collate::do_tranform):
Remove redundant variable.
From-SVN: r50553
2002-03-10 23:51:31 +00:00
Ulrich Drepper
a10e3b428c
2002-03-09 Ulrich Drepper <drepper@redhat.com>
...
Paolo Carlini <pcarlini@unitus.it>
* config/locale/generic/collate_members.cc
(collate<char,wchar_t>::_M_compare_helper): normalize
values returned by strcoll and wcscoll.
* config/locale/gnu/collate_members.cc
(collate<char,wchar_t>::_M_compare_helper): ditto
for __strcoll_l and __wcscoll_l.
Co-Authored-By: Paolo Carlini <pcarlini@unitus.it>
From-SVN: r50551
2002-03-10 23:48:25 +00:00
Anthony Green
660bdf3605
Fix mingw32 cross builds.
...
From-SVN: r50541
2002-03-10 19:28:05 +00:00
GCC Administrator
156d2e0451
Daily bump.
...
From-SVN: r50531
2002-03-10 08:17:01 +00:00
Paolo Carlini
32c1620024
locale_facets.tcc (collate::do_transform): Rewrite to fix problems with long transformed strings.
...
2002-03-09 Paolo Carlini <pcarlini@unitus.it>
* include/bits/locale_facets.tcc (collate::do_transform):
Rewrite to fix problems with long transformed strings.
From-SVN: r50500
2002-03-09 16:44:34 +00:00
GCC Administrator
52662243ef
Daily bump.
...
From-SVN: r50486
2002-03-09 08:18:08 +00:00
Benjamin Kosnik
1fa4bed7b5
c_locale_generic.cc: Move to...
...
2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
* c_locale_generic.cc: Move to...
* generic/c_locale.cc
* c_locale_generic.h: Move to...
* generic/c_locale.h
* codecvt_specializations_generic.h: Move to...
* generic/codecvt_specializations.h
* collate_members_generic.cc: Move to...
* generic/collate_members.cc
* ctype_members_generic.cc: Move to...
* generic/ctype_members.cc
* messages_members_generic.cc: Move to...
* generic/messages_members.cc
* messages_members_generic.h: Move to...
* generic/messages_members.h
* moneypunct_members_generic.cc: Move to...
* generic/monetary_members.cc
* numpunct_members_generic.cc: Move to...
* generic/numeric_members.cc
* time_members_generic.cc: Move to...
* generic/time_members.cc
* c_locale_gnu.cc: Move to...
* gnu/c_locale.cc
* c_locale_gnu.h: Move to...
* gnu/c_locale.h
* collate_members_gnu.cc: Move to...
* gnu/collate_members.cc
* ctype_members_gnu.cc: Move to...
* gnu/ctype_members.cc
* messages_members_gnu.cc: Move to...
* gnu/messages_members.cc
* messages_members_gnu.h: Move to...
* gnu/messages_members.h
* moneypunct_members_gnu.cc: Move to...
* gnu/monetary_members.cc
* numpunct_members_gnu.cc: Move to...
* gnu/numeric_members.cc
* time_members_gnu.cc: Move to...
* gnu/time_members.cc
* c_locale_ieee_1003.1-200x.cc: Move to...
* ieee_1003.1-2001/c_locale.cc
* c_locale_ieee_1003.1-200x.h: Move to...
* ieee_1003.1-2001/c_locale.h
* codecvt_specializations_ieee_1003.1-200x.h: Move to...
* ieee_1003.1-2001/codecvt_specializations.h
* messages_members_ieee_1003.1-200x.cc: Move to...
* ieee_1003.1-2001/messages_members.cc
* messages_members_ieee_1003.1-200x.h: Move to...
* ieee_1003.1-2001/messages_members.h
* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* src/Makefile.am (sources): Change to monetary and numeric.
* src/Makefile.in: Regenerate.
* docs/html/configopts.html: Update to ieee_1003.1-2001.
From-SVN: r50472
2002-03-09 02:16:36 +00:00
Scott Snyder
44087988dc
locale_facets.tcc (num_put::_M_convert_float): Allow one more digit of precision.
...
2002-03-08 scott snyder <snyder@fnal.gov>
libstdc++/5875
* include/bits/locale_facets.tcc (num_put::_M_convert_float):
Allow one more digit of precision.
* testsuite/27_io/ostream_inserter_arith.cc: Test that we can
From-SVN: r50471
2002-03-09 02:12:30 +00:00
Scott Snyder
96854fe254
locale_facets.tcc (num_put::_M_convert_float): Allow one more digit of precision.
...
2002-03-08 scott snyder <snyder@fnal.gov>
libstdc++/5875
* include/bits/locale_facets.tcc (num_put::_M_convert_float):
Allow one more digit of precision.
* testsuite/27_io/ostream_inserter_arith.cc: Test that we can
write a double and read back in the same value.
From-SVN: r50470
2002-03-09 02:01:34 +00:00
Benjamin Kosnik
8497934433
std_limits.h: Move static const data members out of generic template...
...
2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
* include/std/std_limits.h: Move static const data members out of
generic template, into base class __numeric_limits_base.
* src/limits.cc: Add definitions.
* config/linker-map.gnu: Add __numeric_limits_base.
* testsuite/18_support/numeric_limits.cc: Declare test in scope.
From-SVN: r50447
2002-03-08 17:59:14 +00:00
GCC Administrator
e9fb78a471
Daily bump.
...
From-SVN: r50430
2002-03-08 08:17:38 +00:00
Benjamin Kosnik
41b4d44bac
stl_alloc.h: Add extern implicit allocator instantiations.
...
2002-03-07 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/stl_alloc.h: Add extern implicit allocator
instantiations.
* include/bits/basic_string.tcc: Tweak.
* include/bits/locale_facets.tcc: Remove default args. Add
has_facet, use_facet extern instantiations.
* src/stl-inst.cc: Add explicit instantiation.
* src/locale-inst.cc: Clean. Remove locale member template
instantiations.
* testsuite/22_locale/operators.cc (test02): Enable.
From-SVN: r50426
2002-03-08 06:05:21 +00:00
GCC Administrator
da4ea8993c
Daily bump.
...
From-SVN: r50398
2002-03-07 08:16:59 +00:00
Benjamin Kosnik
d3d526aca6
stl_tree.h (_S_rb_tree_red): Make enum.
...
2002-03-06 Benjamin Kosnik <bkoz@redhat.com>
Stephen M. Webb <stephen.webb@bregmasoft.com>
* include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
(_S_rb_tree_black): Make enum.
Clean. Format.
* include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
* include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
(__stl_threshold): _M_threshold, enum.
* src/stl-inst.cc: Same.
* config/linker-map.gnu: Remove.
* testsuite/23_containers/vector_bool.cc: New.
Co-Authored-By: Stephen M. Webb <stephen.webb@bregmasoft.com>
From-SVN: r50393
2002-03-07 06:53:23 +00:00
Phil Edwards
037cfe71e0
user.cfg.in: Also document deprecated entries.
...
2002-03-06 Phil Edwards <pme@gcc.gnu.org>
* docs/doxygen/user.cfg.in: Also document deprecated entries.
* docs/html/Makefile: Example rule to rebuild porting-howto.html.
* docs/html/17_intro/howto.html: "gcc"->"GCC" changes, when
referring to the collection as a whole. New section on which macros
can be redefined by the user.
* docs/html/19_diagnostics/howto.html: Update note for concepts.
* docs/html/20_util/howto.html: Update link to SGI.
* docs/html/faq/index.html: Update snapshot versions. New entry
on why g++ (but not gcc) must currently predefine certain macros.
* docs/html/faq/index.txt: Regenerated.
* include/bits/basic_string.h (basic_string::_S_construct): Fix
names in declaration.
(basic_string::compare): These are no longer optional.
* include/bits/ostream.tcc: Tweak closing brace placement.
* include/bits/stl_algo.h: Lots of initial doxygen comment hooks.
* include/std/std_sstream.h: Fix typo in comment.
* include/bits/locale_facets.tcc: Remove unneeded header inclusion.
* src/locale.cc: Likewise.
From-SVN: r50376
2002-03-06 21:22:56 +00:00
Phil Edwards
d95336cf37
re PR libstdc++/5734 (2 extensions (empty push_back() and is_sorted()) are not documented)
...
2002-03-06 Phil Edwards <pme@gcc.gnu.org>
PR libstdc++/5734
* include/bits/stl_vector.h (vector::push_back()): Guard with
_GLIBCPP_DEPRECATED.
From-SVN: r50375
2002-03-06 20:08:18 +00:00
Phil Edwards
de53cb7506
c++config: Fix misplaced leading blanks on first line.
...
2002-03-06 Phil Edwards <pme@gcc.gnu.org>
* include/bits/c++config: Fix misplaced leading blanks on first line.
From-SVN: r50365
2002-03-06 18:37:39 +00:00
GCC Administrator
9533dec173
Daily bump.
...
From-SVN: r50353
2002-03-06 08:18:28 +00:00
Benjamin Kosnik
251a817e23
002-03-05 Benjamin Kosnik <bkoz@redhat.com>
...
* docs/html/17_intro/RELEASE-NOTES: Fix usage.
* README (libmath): Make clear.
From-SVN: r50331
2002-03-05 21:14:20 +00:00
Jakub Jelinek
d7ac744e9f
acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version script globbing in ld.
...
* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
script globbing in ld.
* aclocal.m4: Rebuilt.
* configure: Rebuilt.
From-SVN: r50330
2002-03-05 22:12:17 +01:00
Benjamin Kosnik
c01bfdbf7c
RELEASE-NOTES: Update.
...
2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
* docs/html/17_intro/RELEASE-NOTES: Update.
* README: Format subdirectories.
From-SVN: r50326
2002-03-05 20:16:09 +00:00
Paolo Carlini
84eb48794c
2002-03-05 Paolo Carlini <pcarlini@unitus.it>
...
libstdc++/5816
* include/bits/locale_facets.tcc
(num_get::_M_extract_float): Fix the parsing of __dec, since
the standard prescribes that if no grouping characters are
seen, no grouping check is applied.
* testsuite/22_locale/num_get_members_char.cc: Add test05
distilled from the PR.
* testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
From-SVN: r50317
2002-03-05 12:09:45 +00:00
GCC Administrator
a562995d91
Daily bump.
...
From-SVN: r50310
2002-03-05 08:18:29 +00:00
Craig Rodrigues
b890704b15
porting-howto.xml: Refer to http://www.oasis-open.org for docbookx.dtd.
...
2002-03-04 Craig Rodrigues <rodrigc@gcc.gnu.org>
* docs/html/17_intro/porting-howto.xml: Refer to
http://www.oasis-open.org for docbookx.dtd.
* docs/html/17_intro/porting-howto.html: Regenerated.
From-SVN: r50291
2002-03-04 22:58:50 +00:00
GCC Administrator
ecff97f32e
Daily bump.
...
From-SVN: r50276
2002-03-04 08:17:49 +00:00
Phil Edwards
28ced9f821
Add missing PR tag for previous commit.
...
From-SVN: r50260
2002-03-03 17:52:41 +00:00
Phil Edwards
798355a229
std_sstream.h: Remove trailing spaces.
...
2002-03-03 Phil Edwards <pme@gcc.gnu.org>
* include/std/std_sstream.h: Remove trailing spaces.
(basic_stringbuf::_M_stringbuf_init): Also check for ios_base::app.
* testsuite/27_io/stringbuf.cc (test05, test06): New tests.
From-SVN: r50258
2002-03-03 17:48:42 +00:00
GCC Administrator
1311c5c65f
Daily bump.
...
From-SVN: r50245
2002-03-03 08:17:12 +00:00
Paolo Carlini
658499e7b4
num_get_members_char.cc (test04): Use a named locale expecting grouping (de_DE).
...
2002-03-02 Paolo Carlini <pcarlini@unitus.it>
* testsuite/22_locale/num_get_members_char.cc (test04):
Use a named locale expecting grouping (de_DE).
* testsuite/22_locale/num_get_members_wchar_t.cc (test04):
Ditto.
* testsuite/27_io/ios_manip_basefield.cc (test01):
Extend coverage, uniform treatment of hexs and octs.
From-SVN: r50234
2002-03-02 21:32:56 +00:00
GCC Administrator
fcab624bb8
Daily bump.
...
From-SVN: r50222
2002-03-02 08:17:34 +00:00
GCC Administrator
2631798eca
Daily bump.
...
From-SVN: r50190
2002-03-01 08:19:04 +00:00
Richard Henderson
e38ff265da
linker-map.gnu: Export operator new with unsigned long, and with std::nothrow_t.
...
* config/linker-map.gnu: Export operator new with unsigned long,
and with std::nothrow_t. Likewise operator delete.
From-SVN: r50176
2002-02-28 17:27:57 -08:00
Paolo Carlini
694d519fb0
locale_facets.tcc (num_get::_M_extract_int): Admit grouping for octals and hexadecimals too.
...
2002-02-28 Paolo Carlini <pcarlini@unitus.it>
* include/bits/locale_facets.tcc (num_get::_M_extract_int):
Admit grouping for octals and hexadecimals too.
* testsuite/22_locale/num_get_members_char.cc: Add test04.
(test01): Tweak "." -> "," in void* test.
* testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
* testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
* testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
From-SVN: r50162
2002-02-28 21:16:45 +00:00
GCC Administrator
bde131d34d
Daily bump.
...
From-SVN: r50126
2002-02-28 08:17:15 +00:00
Paolo Carlini
bded68b108
ios_manip_basefield.cc (test01): Fix for 64 bit machines.
...
2002-02-27 Paolo Carlini <pcarlini@unitus.it>
* testsuite/27_io/ios_manip_basefield.cc (test01):
Fix for 64 bit machines.
From-SVN: r50111
2002-02-27 19:54:32 +00:00
GCC Administrator
977c98c2db
Daily bump.
...
From-SVN: r50095
2002-02-27 08:19:19 +00:00
Benjamin Kosnik
3af7d37f67
basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
...
2002-02-26 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
Adjust comment.
* include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
(basic_ios::_M_fill_init): New.
(basic_ios::fill()): Delay dealing with _M_fill.
Adjust comment.
* testsuite/27_io/ios_init.cc (test02): Adjust testcase.
From-SVN: r50077
2002-02-27 01:01:59 +00:00
Benjamin Kosnik
ac39fabb8b
basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
...
2002-02-26 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
Adjust comment.
* include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
(basic_ios::_M_fill_init): New.
(basic_ios::fill()): Deal with _M_fill lazily.
Adjust comment.
* testsuite/27_io/ios_init.cc (test02): Adjust testcase.
From-SVN: r50076
2002-02-27 01:01:31 +00:00
Loren J. Rittle
79d6ba0bee
Makefile.am (thread_target_headers): Unconditionally stage and install gthr-posix.h.
...
* include/Makefile.am (thread_target_headers): Unconditionally
stage and install gthr-posix.h.
(${target_builddir}/gthr-posix.h): New rule cloned off
${target_builddir}/gthr-default.h.
(${target_builddir}/gthr-default.h): Support chained inclusion
of gthr support headers.
* include/Makefile.in: Rebuilt.
From-SVN: r50069
2002-02-26 23:02:52 +00:00
Paolo Carlini
2d13abcf86
locale_facets.tcc (num_put::_M_widen_int): Group all the integral types, not only decs.
...
2002-02-26 Paolo Carlini <pcarlini@unitus.it>
* include/bits/locale_facets.tcc (num_put::_M_widen_int):
Group all the integral types, not only decs.
* testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
tests, add a few more.
From-SVN: r50057
2002-02-26 20:56:24 +00:00
GCC Administrator
64ee51e0ba
Daily bump.
...
From-SVN: r50053
2002-02-26 08:17:53 +00:00
Mark Mitchell
a007e0819b
Daily bump.
...
From-SVN: r50044
2002-02-26 06:12:33 +00:00
Benjamin Kosnik
1bc59af523
ios.cc (ios_base::~ios_base): Tweak.
...
2002-02-25 Benjamin Kosnik <bkoz@redhat.com>
* src/ios.cc (ios_base::~ios_base): Tweak.
(ios_base::_M_call_callbacks): Deal with null __p.
(ios_base::ios_base): Set _M_callbacks.
* include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
* testsuite/27_io/ios_init.cc (test02): Fix.
* mkcheck.in (static_fail): Failed links go to output file.
From-SVN: r50032
2002-02-26 04:55:48 +00:00
GCC Administrator
b73a391b6f
Daily bump.
...
From-SVN: r50022
2002-02-25 08:16:22 +00:00
Phil Edwards
14d6758650
index.html: Update.
...
2002-02-25 Phil Edwards <pme@gcc.gnu.org>
* docs/html/faq/index.html: Update.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r50020
2002-02-25 05:24:53 +00:00
GCC Administrator
e2743a17d9
Daily bump.
...
From-SVN: r50002
2002-02-24 08:16:22 +00:00