GCC Administrator
9cb88bc20c
Daily bump.
...
From-SVN: r51740
2002-04-02 08:18:58 +00:00
Benjamin Kosnik
501e321e0d
acinclude: More extensive checks for msgfmt, --enable-nls.
...
2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/5542
* acinclude: More extensive checks for msgfmt, --enable-nls.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r51732
2002-04-02 02:41:50 +00:00
Benjamin Kosnik
663653eb3a
basic_ios.h (basic_ios::_M_exception): Move.
...
2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/3129
* include/bits/basic_ios.h (basic_ios::_M_exception): Move.
(basic_ios::_M_streambuf_state): Move.
* include/bits/ios_base (ios_base): To here.
* include/bits/ios_base.h (ios_base::_S_local_words): To
_S_local_word_size.
(ios_base::_M_word_array): To _M_local_word.
(ios_base::_M_words_limit): To _M_word_size.
(ios_base::_M_words): To _M_word.
Comment.
* include/bits/basic_ios.tcc: Adjust.
* src/ios.cc (ios_base::_M_grow_words): Tweak.
* testsuite/27_io/ios_base_storage.cc: Add tests.
libstdc++/5207
Kenny Simpson <theonetruekenny@yahoo.com>
* include/bits/ios_base.h: Fix.
Richard Henderson <rth@redhat.com>
* include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
last change.
* include/bits/basic_string.h: Tweak formatting.
From-SVN: r51695
2002-04-01 18:39:37 +00:00
Paolo Carlini
99b629fa30
2002-04-01 Paolo Carlini <pcarlini@unitus.it>
...
* config/locale/ieee_1003.1-2001/codecvt_specializations.h
(codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
By definition, sizeof(char) == 1.
* include/bits/locale_facets.tcc (money_get::do_get,
money_put::do_put): Ditto.
* testsuite/21_strings/inserters_extractors.cc
(test04): Ditto.
From-SVN: r51685
2002-04-01 08:55:05 +00:00
GCC Administrator
c7a39ea995
Daily bump.
...
From-SVN: r51683
2002-04-01 08:17:05 +00:00
GCC Administrator
efe52a8241
Daily bump.
...
From-SVN: r51638
2002-03-31 08:17:00 +00:00
GCC Administrator
d83975041f
Daily bump.
...
From-SVN: r51600
2002-03-30 08:17:30 +00:00
Roger Sayle
d52e4867ca
re PR c++/5998 (regression, all builtins disabled)
...
* include/c_std/std_cmath.h: To prevent problems overloading
g++ builtins, use the double variants from the global namespace
before defining float and long double variants in std::.
PR c++/5998:
* decl.c (cxx_init_decl_processing): Re-enable built-in functions
in the g++ front-end.
(duplicate_decl): Allow redefinition of anticipated built-ins.
Fix inlining problem by over-writing the old DECL_RTL.
(lookup_namespace_name): Fail to find an identifier in the
specified namespace if its still anticipated.
(builtin_function_1): New function split out from builtin_function
to create a builtin in the current namespace with given context.
(builtin_function): Call builtin_function_1 to define the
appropriate builtins in both the std and global namespaces.
(select_decl): Don't test for anticipated decls here.
(unqualified_namespace_lookup): Instead ignore them whilst
searching through scopes and namespaces.
* decl2.c (do_nonmember_using_decl): If a using declaration
specifies an anticipated built-in function, mark it as no longer
anticipated in that scope.
(ambiguous_decl): Avoid resolving to an anticipated decl.
* lex.c (do_scoped_id): Fail to find an identifier in the global
namespace if its still anticipated.
* g++.old-deja/g++.other/builtins5.C: New test.
* g++.old-deja/g++.other/builtins6.C: New test.
* g++.old-deja/g++.other/builtins7.C: New test.
* g++.old-deja/g++.other/builtins8.C: New test.
* g++.old-deja/g++.other/builtins9.C: New test.
From-SVN: r51568
2002-03-29 20:41:53 +00:00
GCC Administrator
13992acae2
Daily bump.
...
From-SVN: r51555
2002-03-29 08:17:01 +00:00
GCC Administrator
ac43cbb507
Daily bump.
...
From-SVN: r51507
2002-03-28 08:17:10 +00:00
Benjamin Kosnik
a3ebd14d24
ostream.tcc (ostream::operator<<(_CharT)): Always allocate at least a byte.
...
2002-03-27 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
allocate at least a byte.
* testsuite/18_support/numeric_limits.cc (test_extrema): Make
debugger-friendly.
* testsuite/27_io/streambuf.cc (test07): Fix.
(test06): Enable.
From-SVN: r51494
2002-03-28 03:15:08 +00:00
Phil Edwards
04b7c941e9
Intro.3: Date tweak.
...
2002-03-27 Phil Edwards <pme@gcc.gnu.org>
* docs/doxygen/Intro.3: Date tweak.
* docs/doxygen/TODO: Update.
* docs/doxygen/doxygroups.cc: Point to tables.html.
* docs/doxygen/mainpage.html: Date tweak.
* docs/doxygen/run_doxygen: Version tweak. Copy tables.html over.
* docs/doxygen/tables.html: Fill in the blanks.
* docs/doxygen/user.cfg.in (ALIASES): Remove maint and endmaint.
* include/bits/stl_algo.h: Likewise; use expanded form.
* include/bits/stl_alloc.h: Likewise.
* include/bits/stl_construct.h: Likewise.
* include/bits/stl_deque.h: Likewise.
* include/bits/stl_iterator_base_types.h: Likewise.
* include/bits/stl_list.h: Likewise.
* include/bits/stl_relops.h: Likewise.
* include/bits/stl_tempbuf.h: Likewise.
* include/bits/stl_vector.h: Likewise.
* include/std/std_memory.h: Likewise.
* include/bits/stl_deque.h: Point into tables.html and add @ingroup.
* include/bits/stl_list.h: Likewise.
* include/bits/stl_vector.h: Likewise.
From-SVN: r51471
2002-03-27 21:41:36 +00:00
GCC Administrator
473aef78b4
Daily bump.
...
From-SVN: r51437
2002-03-27 08:18:11 +00:00
Benjamin Kosnik
3eb35fcfd4
c/: Guard with _CPP_.
...
2002-03-26 Benjamin Kosnik <bkoz@redhat.com>
* include/c/: Guard with _CPP_.
* include/c_std/: Same.
* include/Makefile.am: Fixup install, link routines for null
c_base_headers_extra scenarios.
* include/Makefile.in: Regerate.
From-SVN: r51431
2002-03-27 04:29:32 +00:00
GCC Administrator
f2a8c7f078
Daily bump.
...
From-SVN: r51373
2002-03-26 08:17:37 +00:00
GCC Administrator
9035ec7952
Daily bump.
...
From-SVN: r51309
2002-03-25 08:17:42 +00:00
GCC Administrator
9e2da84c6a
Daily bump.
...
From-SVN: r51255
2002-03-24 08:17:12 +00:00
GCC Administrator
0e6346967b
Daily bump.
...
From-SVN: r51225
2002-03-23 08:17:21 +00:00
Benjamin Kosnik
f9ff9746d9
acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for signbit and __signbit directly.
...
2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
signbit and __signbit directly.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* config.h.in: Regenerate.
* libmath/Makefile.am: Simplify.
* libmath/Makefile.in: Regenerate.
* include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
* include/Makefile.am: Clean up handling of extra "C" header files.
Add hooks for "C" compatibility headers.
* include/Makefile.in: Regenerate.
* include/c/*: Formatting tweaks, cleanups.
* include/c_std/*: Same.
From-SVN: r51221
2002-03-23 03:34:28 +00:00
Benjamin Kosnik
34ff0b99c1
acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for signbit and __signbit directly.
...
2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
signbit and __signbit directly.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* config.h.in: Regenerate.
* libmath/Makefile.am: Simplify.
* libmath/Makefile.in: Regenerate.
* include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
* include/Makefile.am: Clean up handling of extra "C" header files.
Add hooks for "C" compatibility headers.
* include/Makefile.in: Regenerate.
* include/c/*: Formatting tweaks, cleanups.
* include/c_std/*: Same.
From-SVN: r51220
2002-03-23 03:19:03 +00:00
GCC Administrator
6e11556869
Daily bump.
...
From-SVN: r51165
2002-03-22 08:17:32 +00:00
GCC Administrator
48f90839b0
Daily bump.
...
From-SVN: r51119
2002-03-21 08:17:23 +00:00
GCC Administrator
b525f5b0f7
Daily bump.
...
From-SVN: r51070
2002-03-20 08:18:21 +00:00
Paolo Carlini
6d8e16a463
locale-inst.cc (__convert_from_v): Add an additional __size parameter in the declarations.
...
2002-03-19 Paolo Carlini <pcarlini@unitus.it>
Ulrich Drepper <drepper@redhat.com>
* src/locale-inst.cc (__convert_from_v): Add an additional
__size parameter in the declarations.
* include/bits/locale_facets.tcc
(__convert_from_v): When available (that is,
_GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
(num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
being defined or not, call and use __convert_from_v in the
appropriate way.
(num_put::_M_convert_int): Same here.
(money_put::do_put(long double)): Same here.
Co-Authored-By: Ulrich Drepper <drepper@redhat.com>
From-SVN: r51050
2002-03-19 22:33:06 +00:00
Steve Ellcey
263c6fa840
acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if...
...
2002-03-19 Steve Ellcey <sje@cup.hp.com>
* acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
--enable-libunwind-exceptions is set.
* configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
macro to check for libunwind.
* configure: Regenerate.
* src/Makefile.am (libstdc___la_LDFLAGS): Add
LIBUNWIND_FLAG to libstdc link line.
* src/Makefile.in: Regenerate.
From-SVN: r51035
2002-03-19 19:50:30 +00:00
GCC Administrator
c1ea784307
Daily bump.
...
From-SVN: r51024
2002-03-19 08:18:08 +00:00
Paolo Carlini
3039874b15
locale_facets.tcc (money_put::do_put(long double)): Fix dimensioning of temporary buffers to avoid risk of overruns.
...
2002-03-18 Paolo Carlini <pcarlini@unitus.it>
* include/bits/locale_facets.tcc
(money_put::do_put(long double)): Fix dimensioning of
temporary buffers to avoid risk of overruns.
(money_put::do_put(string)): Same for the buffer used to
add the grouping chars.
* testsuite/22_locale/money_put_members_char.cc: Add test06.
* testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
* include/bits/locale_facets.tcc
(collate::do_transform): Simplify.
From-SVN: r51012
2002-03-18 23:11:57 +00:00
Philipp Thomas
f07beda95a
hash_map.h: hash, hashtable, hash_map and hash_multimap are in namespace __gnu_cxx.
...
2002-03-15 Philipp Thomas <pthomas@suse.de>
* include/backward/hash_map.h: hash, hashtable, hash_map and
hash_multimap are in namespace __gnu_cxx.
include/backward/hash_set.h: hash, hashtable, hash_set and
hash_multiset are in namespace __gnu_cxx.
include/backward/hashtable.h: hash and hashtable are in
namespace __gnu_cxx.
include/backward/rope.h: char_producer, sequence_buffer,
rope, crope and wrope are in namespace __gnu_cxx.
include/backward/slist.h: slist is in namespace __gnu_cxx.
* testsuite/backward/header_hash_map_h.cc
testsuite/backward/header_hash_set_h.cc
testsuite/backward/header_hashtable_h.cc
testsuite/backward/header_rope_h.cc
testsuite/backward/header_slist_h.cc
testsuite/backward/header_tempbuf_h.cc: New tests for
checking that we're using the correct namespace.
From-SVN: r50956
2002-03-18 10:47:15 +00:00
GCC Administrator
6d62edc7f9
Daily bump.
...
From-SVN: r50951
2002-03-18 08:18:41 +00:00
GCC Administrator
2b40dc8cd7
Daily bump.
...
From-SVN: r50910
2002-03-17 08:17:00 +00:00
GCC Administrator
be09037bdd
Daily bump.
...
From-SVN: r50873
2002-03-16 08:18:16 +00:00
GCC Administrator
0f9b56dcb2
Daily bump.
...
From-SVN: r50801
2002-03-15 08:17:02 +00:00
GCC Administrator
73228d2734
Daily bump.
...
From-SVN: r50761
2002-03-14 08:18:32 +00:00
GCC Administrator
96395e3a6a
Daily bump.
...
From-SVN: r50729
2002-03-13 08:17:56 +00:00
Benjamin Kosnik
fcaa810173
basic_string.tcc (string::_S_construct(_InIter, _InIter, const _Alloc&, forward_iterator_tag): Check for null.
...
2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/basic_string.tcc (string::_S_construct(_InIter,
_InIter, const _Alloc&, forward_iterator_tag): Check for null.
(string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
* testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
that memory limits are in place.
(test03): Add tests.
From-SVN: r50683
2002-03-12 22:10:34 +00:00
GCC Administrator
85559bd41b
Daily bump.
...
From-SVN: r50648
2002-03-12 08:18:17 +00:00
Benjamin Kosnik
31f93f905f
acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
...
2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
* aclocal.m4: Regenerate.
* config.h.in: Regenerate.
* configure: Regenerate.
* include/c_std/std_cwctype.h: Guard.
From-SVN: r50628
2002-03-12 02:42:11 +00:00
Benjamin Kosnik
c2b1bb034b
stl_bvector.h: Fix warning.
...
2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/stl_bvector.h: Fix warning.
From-SVN: r50625
2002-03-12 01:43:44 +00:00
Richard Henderson
172f7610ae
* include/bits/stl_bvector.h (_Bit_type): New. Use throughout.
...
From-SVN: r50615
2002-03-11 14:36:30 -08: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
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
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
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
GCC Administrator
ecff97f32e
Daily bump.
...
From-SVN: r50276
2002-03-04 08:17:49 +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
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
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
GCC Administrator
977c98c2db
Daily bump.
...
From-SVN: r50095
2002-02-27 08:19:19 +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
GCC Administrator
e2743a17d9
Daily bump.
...
From-SVN: r50002
2002-02-24 08:16:22 +00:00
GCC Administrator
31e2a00de5
Daily bump.
...
From-SVN: r49987
2002-02-23 08:16:12 +00:00
Philipp Thomas
0bc1e80dca
tempbuf.h: get_temporary_buffer and return_temporary_buffer are in namespace std...
...
2002-02-22 Philipp Thomas <pthomas@suse.de>
* include/backward/tempbuf.h: get_temporary_buffer and
return_temporary_buffer are in namespace std, not in __gnu_cxx.
From-SVN: r49973
2002-02-22 21:23:09 +00:00
Benjamin Kosnik
ab3bc736d9
configure.in (target_alias): Default to yes.
...
2002-02-21 Benjamin Kosnik <bkoz@redhat.com>
* configure.in (target_alias): Default to yes.
* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
libgcc to default case.
From-SVN: r49959
2002-02-22 11:36:26 +00:00
GCC Administrator
d8e7756c8a
Daily bump.
...
From-SVN: r49957
2002-02-22 08:19:09 +00:00
GCC Administrator
bf1d016476
Daily bump.
...
From-SVN: r49925
2002-02-21 08:16:32 +00:00
GCC Administrator
2a785a211d
Daily bump.
...
From-SVN: r49893
2002-02-20 08:16:22 +00:00
Benjamin Kosnik
0d223e3a4e
std_iomanip.h: Inline, tweaks.
...
2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
* include/std/std_iomanip.h: Inline, tweaks.
* config/linker-map.gnu: Remove hacks.
* testsuite/21_strings/capacity.cc: Add explicit instantiations.
* testsuite/27_io/ios_init.cc: Same.
* testsuite/22_locale/money_get_members_char.cc (test07): Fix.
* testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
From-SVN: r49884
2002-02-20 00:58:17 +00:00
Loren J. Rittle
42ebb17f48
Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
...
2002-02-19 Loren Rittle <ljrittle@acm.org>
* include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
* include/Makefile.in: Rebuilt.
From-SVN: r49877
2002-02-19 21:37:37 +00:00
GCC Administrator
419a71d37c
Daily bump.
...
From-SVN: r49861
2002-02-19 08:16:52 +00:00
Peter Schmid
1c417030f4
collate_byname.cc (test01): Replace size4 with size3 for the string collations of str5.
...
2002-02-18 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
* testsuite/22_locale/collate_byname.cc (test01): Replace size4
with size3 for the string collations of str5.
From-SVN: r49857
2002-02-19 05:59:09 +00:00
Paolo Carlini
577f406186
locale_facets.tcc (money_put::do_put): For the space field use __fill instead of ' ', uniformly.
...
2002-02-18 Paolo Carlini <pcarlini@unitus.it>
libstdc++/5708
* include/bits/locale_facets.tcc (money_put::do_put):
For the space field use __fill instead of ' ', uniformly.
* testsuite/22_locale/money_put_members_char.cc:
Add test05 distilled from PR.
(test01-02-03): Trim some '*' to ' '.
* testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
From-SVN: r49847
2002-02-18 21:23:26 +00:00
Loren J. Rittle
3fcfe88d19
Makefile.am (thread_builddir): Remove (map all existing uses to target_builddir).
...
libstdc++/5697
* include/Makefile.am (thread_builddir): Remove (map all
existing uses to target_builddir).
(thread_headers): Rename to...
(thread_target_headers): ...this.
(stamp-thread): Remove.
(stamp-target): Correctly state the position as built.
Update all dependencies to match the new reality. Remove all
dependency calculations on directories.
* include/Makefile.in: Rebuilt.
From-SVN: r49846
2002-02-18 20:23:56 +00:00
GCC Administrator
8910f4aa99
Daily bump.
...
From-SVN: r49836
2002-02-18 08:16:15 +00:00
GCC Administrator
bd4bf6f8cf
Daily bump.
...
From-SVN: r49817
2002-02-17 08:16:12 +00:00
Benjamin Kosnik
3b79452813
locale_facets.tcc: Add pragma GCC system_header.
...
2002-02-16 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.tcc: Add pragma GCC system_header.
* include/bits/fstream.tcc: Same.
* include/bits/sstream.tcc: Same.
* include/bits/ostream.tcc: Same.
* include/bits/istream.tcc: Same.
* include/bits/streambuf.tcc: Same.
* include/bits/basic_ios.tcc: Same.
* include/bits/basic_string.tcc: Same.
From-SVN: r49809
2002-02-16 19:33:43 +00:00
GCC Administrator
45356ea287
Daily bump.
...
From-SVN: r49802
2002-02-16 08:16:41 +00:00
Benjamin Kosnik
b4cce2533b
std_iosfwd.h: Don't guard typedefs with _GLIBCPP_USE_WCHAR_T
...
2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
* include/std/std_iosfwd.h: Don't guard typedefs with
_GLIBCPP_USE_WCHAR_T
* include/bits/stringfwd.h: Same.
From-SVN: r49800
2002-02-16 02:41:10 +00:00
Benjamin Kosnik
c7bbe0c45e
locale.cc (moneypunct_byname): Remove definitions.
...
2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
* src/locale.cc (moneypunct_byname): Remove definitions.
* include/std/std_streambuf.h (streambuf::operator=): Return.
From-SVN: r49799
2002-02-16 00:50:58 +00:00
Benjamin Kosnik
a32e3c097e
Tune for size.
...
2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
Tune for size.
* src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
explicit instantiation.
(string::_Rep::_S_max_size): Same.
* include/bits/basic_string.tcc: Add extern explicit
instantiations for string, wstring.
* include/bits/basic_ios.tcc: Add extern explicit instantiations
for ios, wios.
* include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
* include/bits/istream.tcc: Same, for istream, wistream.
* include/bits/ostream.tcc: Same for ostream, wostream, iostream,
wiostream.
* include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
istringstream, wistringstream, ostringstream, wostringstream,
stringstream, wstringstream.
* include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
wifstream, ofstream, wofstream, fstream, wfstream.
* src/misc-inst.cc: Correct comments.
Add iomanip instantiations for wide streams.
* include/std/std_iomanip.h: Same.
* include/bits/locale_facets.tcc: Same.
* include/std/std_streambuf.h: Correct
_GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
* include/std/std_sstream.h: Same.
* include/std/std_ostream.h: Same.
* include/std/std_istream.h: Same.
* include/std/std_fstream.h: Same.
* include/std/std_streambuf.h: Add definitions for private copy
ctor and assignment operator.
* include/std/std_istream.h: Remove declared but undefined copy
ctor and assignment operator. This is taken care of in ios_base,
so adding it in the derived class as well is superfluous.
* include/std/std_ostream.h: Same.
* include/bits/basic_ios.h (basic_ios::clear): Don't inline.
* include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
From-SVN: r49798
2002-02-16 00:19:13 +00:00
GCC Administrator
6d010d53c1
Daily bump.
...
From-SVN: r49785
2002-02-15 08:16:13 +00:00
GCC Administrator
2a5e0aeacd
Daily bump.
...
From-SVN: r49762
2002-02-14 08:16:54 +00:00
Benjamin Kosnik
8dba028f10
localename.cc: Remove stdexcept include.
...
2002-02-13 Benjamin Kosnik <bkoz@redhat.com>
* src/localename.cc: Remove stdexcept include.
* src/locale-inst.cc: Same.
* src/locale.cc: Same.
* src/functexcept.cc: Remove string includes.
* include/std/std_bitset.h: Remove stdexcept include.
* testsuite/23_containers/bitset_members.cc: Add stdexcept.
From-SVN: r49740
2002-02-13 18:29:12 +00:00
GCC Administrator
8e4949e741
Daily bump.
...
From-SVN: r49722
2002-02-13 08:16:17 +00:00
GCC Administrator
e77acf81cc
Daily bump.
...
From-SVN: r49704
2002-02-12 08:17:01 +00:00
Benjamin Kosnik
005326029f
stl_algo (__stl_threshold): Declare external.
...
2002-02-11 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/stl_algo (__stl_threshold): Declare external.
(__stl_chunk_size): Same.
* include/bits/stl_bvector.h (__WORD_BIT): Same.
* include/bits/stl_tree.h (_S_rb_tree_red): Same.
(_S_rb_tree_black): Same.
* src/stl-inst.cc (__stl_threshold): Define.
(__stl_chunk_size): Same.
(__WORD_BIT): Same.
(_S_rb_tree_red): Same.
(_S_rb_tree_black): Same.
* config/io/basic_file_libio.h (__basic_file): Add declarations.
* include/bits/basic_file.h: Remove.
* config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
Declare generic types, specialization.
* config/io/basic_file_stdio.cc: Definitions.
* config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
Declare generic types.
* include/Makefile.am (bits_headers): Remove basic_file.h.
(extra_target_headers): Change basic_file_model.h to basic_file.h.
(stamp-target): Same.
* include/bits/stl_alloc.h: Tweaks.
* include/bits/localefwd.h: Same.
From-SVN: r49697
2002-02-12 04:35:58 +00:00
Aaron W. LaFramboise
4e2f8bcf6f
locale_facets.tcc (collate::do_hash): Fix.
...
2002-02-11 Aaron W LaFramboise <AWLaFramboise@aol.com>
* include/bits/locale_facets.tcc (collate::do_hash): Fix.
* testsuite/22_locale/collate_members_char.cc (test03): New test.
* testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
From-SVN: r49682
2002-02-11 18:56:24 +00:00
GCC Administrator
4210cb5b17
Daily bump.
...
From-SVN: r49672
2002-02-11 08:16:16 +00:00