Benjamin Kosnik
b988dfc58f
fstream.tcc (filebuf::seekpos): Fix.
...
2002-04-08 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/5180
* include/bits/fstream.tcc (filebuf::seekpos): Fix.
* include/std/std_fstream.h: Clean.
* include/bits/ostream.tcc: Remove extraneous variables.
* include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
open modes and which modes.
(stringbuf::seekpos): Same.
* testsuite/27_io/stringbuf_virtuals.cc: New tests.
From-SVN: r52057
2002-04-09 06:14:32 +00:00
GCC Administrator
3f7fe9b9cf
Daily bump.
...
From-SVN: r52019
2002-04-08 07:17:01 +00:00
GCC Administrator
197e436aea
Daily bump.
...
From-SVN: r51986
2002-04-07 08:16:51 +00:00
GCC Administrator
36e408e6ca
Daily bump.
...
From-SVN: r51945
2002-04-06 08:17:39 +00:00
Jonathan Wakely
39b945d23b
stl_algo.h (unique_copy, [...]): Doxygenate.
...
2002-04-05 Jonathan Wakely <jw@kayari.org>
* include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
random_shuffle, partition, stable_partition, sort, stable_sort,
partial_sort, partial_sort_copy, nth_element): Doxygenate.
From-SVN: r51927
2002-04-05 17:58:41 +00:00
David S. Miller
03381059f7
2002-04-05 David S. Miller <davem@redhat.com>
...
* config/os/gnu-linux/bits/os_defines.h
(__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
From-SVN: r51921
2002-04-05 05:46:50 -08:00
GCC Administrator
23dbaedae9
Daily bump.
...
From-SVN: r51910
2002-04-05 08:17:03 +00:00
Benjamin Kosnik
677b3ae39a
via gawrilow@math.tu-berlin.de
...
2002-04-04 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/3457
via gawrilow@math.tu-berlin.de
* acinclude.m4 (version_specific_libs): Fix combo usage with
--with-gxx-include-dir.
* aclocal.m4: Regenerate.
* configure: Same.
From-SVN: r51875
2002-04-04 21:33:33 +00:00
GCC Administrator
257b325b51
Daily bump.
...
From-SVN: r51847
2002-04-04 08:18:08 +00:00
Benjamin Kosnik
a9bb75a7e0
As per DR 184, libstdc++/3139
...
2002-04-03 Benjamin Kosnik <bkoz@redhat.com>
As per DR 184, libstdc++/3139
* include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
(numeric_limits<bool>::is_iec559): False.
(numeric_limits<bool>::is_modulo): False.
* testsuite/27_io/ios_init.cc: Add instantiations.
From-SVN: r51838
2002-04-04 05:32:59 +00:00
GCC Administrator
13f39b6ddf
Daily bump.
...
From-SVN: r51802
2002-04-03 08:17:15 +00:00
Benjamin Kosnik
40e5b28399
ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
...
2002-04-02 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/5268
* src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
* testsuite/27_io/ios_init.cc (tests04): Add test.
libstdc++/3983
* include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
(basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
* include/bits/basic_ios.tcc: Same. Remove outdated comments.
* include/bits/istream.tcc: Use _M_fctype, make consistent with
ostream.
* testsuite/27_io/ios_init.cc (tests03): Add test.
From-SVN: r51777
2002-04-03 02:32:52 +00:00
Phil Edwards
3741b1abe0
Makefile.am (install-data-local): Use mkinstalldirs.
...
2002-04-02 Phil Edwards <pme@gcc.gnu.org>
* include/Makefile.am (install-data-local): Use mkinstalldirs.
* include/Makefile.in: Regenerate.
From-SVN: r51747
2002-04-02 12:57:23 +00:00
Paolo Carlini
418bb88063
basic_string.h (replace(i1, i2, _CharT* k1, _CharT* k2), [...]): New specializations to optimize for the common cases of pointers and iterators.
...
2002-04-02 Paolo Carlini <pcarlini@unitus.it>
Nathan Myers <ncm@cantrip.org>
Philip Martin <philip@codematters.co.uk>
* include/bits/basic_string.h
(replace(i1, i2, _CharT* k1, _CharT* k2),
replace(i2, i2, const _CharT* k1, const _CharT* k2),
replace(i1, i2, iterator k1, iterator k2,
replace(i1, i2, const_iterator k1, const_iterator k2):
New specializations to optimize for the common cases of
pointers and iterators.
(replace(pos, n1, s, n2)): Tweak.
* include/bits/basic_string.tcc: Tweak comments.
* testsuite/21_strings/replace.cc (test04): New tests.
Co-Authored-By: Nathan Myers <ncm@cantrip.org>
Co-Authored-By: Philip Martin <philip@codematters.co.uk>
From-SVN: r51746
2002-04-02 12:07:07 +00:00
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
Phil Edwards
efe44c60eb
exception (__verbose_terminate_handler): Point to docs.
...
2002-04-01 Phil Edwards <pme@gcc.gnu.org>
* libsupc++/exception (__verbose_terminate_handler): Point to docs.
* docs/doxygen/doxygroups.cc: Doxygen hooks for abi::__cxa_demangle.
* docs/html/18_support/howto.html: Document the demangler.
* docs/html/17_intro/howto.html: And link to it.
* docs/doxygen/mainpage.html: Describe user-vs-maintainer docs.
* docs/doxygen/run_doxygen: Print user-vs-maintainer.
From-SVN: r51730
2002-04-02 02:07:22 +00:00
Phil Edwards
76f6aa8b6c
linker-map.gnu: Export __verbose_terminate_handler.
...
2002-04-01 Phil Edwards <pme@gcc.gnu.org>
* config/linker-map.gnu: Export __verbose_terminate_handler.
* libsupc++/Makefile.am (sources): Add cxa_demangle.c, dyn-string.c.
Make new LTCOMPILE variable, use it in new special build rules.
* libsupc++/Makefile.in: Rebuild.
* src/vterminate.cc (__verbose_terminate_handler): Enable use of
runtime __cxa_demangle.
* docs/html/install.html: Update prereqs and instructions.
* docs/html/19_diagnostics/howto.html: Bring naming for
verbose_terminate_handler into line with reality.
From-SVN: r51709
2002-04-01 21:56:42 +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
Richard Henderson
afaef72670
re PR c++/3719 (Unable to retrow exception in unexpected exception handler.)
...
PR c++/3719
* libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
data out of the exception struct before calling unexpectedHandler.
* g++.dg/eh/unexpected1.C: New.
From-SVN: r51623
2002-03-30 18:56:34 -08: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
Loren J. Rittle
cb105687e5
* testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
...
From-SVN: r51544
2002-03-29 06:34:04 +00:00
Paolo Carlini
0c0bac932e
2002-03-28 Paolo Carlini <pcarlini@unitus.it>
...
* testsuite/24_iterators/istream_iterator.cc
(test02): New tests.
From-SVN: r51527
2002-03-28 20:25:25 +00:00
Paolo Carlini
e1cfa83038
Fix wrong date in last Changelog
...
From-SVN: r51523
2002-03-28 19:23:48 +00:00
Ulrich Weigand
10cbfb51ac
2002-03-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
...
Paolo Carlini <pcarlini@unitus.it>
* testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
(test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
fix i_lit_base e_lit_base arrays, making them independent
from the endianness of the platform; tweak UCS4 to UCS-4BE.
Co-Authored-By: Paolo Carlini <pcarlini@unitus.it>
From-SVN: r51521
2002-03-28 19:19:23 +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
Paolo Carlini
81b1b8c29d
2002-03-25 Paolo Carlini <pcarlini@unitus.it>
...
Richard Henderson <rth@redhat.com>
* testsuite/22_locale/codecvt_members_unicode_char.cc
(test01, test02): make sure that the i_lit_base array
is sufficiently aligned.
Co-Authored-By: Richard Henderson <rth@redhat.com>
From-SVN: r51359
2002-03-26 00:36:19 +00:00
Benjamin Kosnik
9ad6276f02
ctype_noninline.h (ctype::classic): Set to _ctype_.
...
2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
* config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
_ctype_.
From-SVN: r51354
2002-03-25 23:36:47 +00:00
Paolo Carlini
b7d5968dfc
2002-03-25 Paolo Carlini <pcarlini@unitus.it>
...
* testsuite/22_locale/collate_byname.cc
(test01): compare the result of collate::compare with
that of collate::transform + string::compare, not with
that of collate::transform + collate::compare; values
returned by collate::compare are normalized, therefore
test against +-1.
From-SVN: r51351
2002-03-25 23:19:47 +00:00
Benjamin Kosnik
99ffa1e37a
messages_members.h: Correct conditional.
...
2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
Jakub Jelinek <jakub@redhat.com>
* config/locale/gnu/messages_members.h: Correct conditional.
* config/locale/gnu/messages_members.cc: Same.
* config/locale/gnu/time_members.cc: Same.
From-SVN: r51332
2002-03-25 20:20:34 +00:00
Paolo Carlini
2188d04d14
Fix typo in last Changelog.
...
From-SVN: r51322
2002-03-25 18:17:51 +00:00
Ulrich Weigand
9cc737e8da
2002-03-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
...
Paolo Carlini <pcarlini@unitus.it>
* testsuite/locale/codecvt_members_unicode_char.cc
(test01, test02): Fix i_lit_base arrays, making them
independent from the endianness of the platform.
Co-Authored-By: Paolo Carlini <pcarlini@unitus.it>
From-SVN: r51314
2002-03-25 13:22:20 +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
Benjamin Kosnik
1f3a2ce1db
messages_members.h: Add __uselocale bits.
...
2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
* config/locale/gnu/messages_members.h: Add __uselocale bits.
* config/locale/gnu/messages_members.cc: Same.
* config/locale/gnu/time_members.cc: Same.
From-SVN: r51217
2002-03-23 01:55:34 +00:00
Benjamin Kosnik
2ca0895384
vterminate.cc: Format, -fno-exceptions cleanup.
...
2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
* src/vterminate.cc: Format, -fno-exceptions cleanup.
From-SVN: r51185
2002-03-22 20:13:43 +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
Rainer Orth
380f343b24
acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
...
* acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
(GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
* aclocal.m4: Regenerate.
* configure: Likewise.
From-SVN: r51110
2002-03-21 01:29:51 +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
Phil Edwards
0fdebf99e5
index.html (#3.6): Rewrap and close <a href> tags.
...
2002-03-19 Phil Edwards <pme@gcc.gnu.org>
* docs/html/faq/index.html (#3.6): Rewrap and close <a href> tags.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r51038
2002-03-19 20:16:12 +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
Benjamin Kosnik
09979e6f03
index.html: Add OS X workaround.
...
2002-03-19 Benjamin Kosnik <bkoz@redhat.com>
* docs/html/faq/index.html: Add OS X workaround.
* docs/html/17_intro/TODO: Update.
From-SVN: r51029
2002-03-19 17:20:22 +00:00
Benjamin Kosnik
2e4bcfd817
index.html: Add OS X workaround.
...
2002-03-19 Benjamin Kosnik <bkoz@redhat.com>
* docs/html/faq/index.html: Add OS X workaround.
* docs/html/17_intro/TODO: Update.
From-SVN: r51028
2002-03-19 17:17:46 +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
Phil Edwards
d2caef2e8b
acinclude.m4 (GLIBCPP_CONFIGURE): Make indentation/spacing uniform.
...
2002-03-18 Phil Edwards <pme@gcc.gnu.org>
* acinclude.m4 (GLIBCPP_CONFIGURE): Make indentation/spacing uniform.
* configure.in: Add comments pointing the way for autoconf 2.5x.
* aclocal.m4, config.h.in, configure: Regenerate.
From-SVN: r51007
2002-03-18 21:41:02 +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
Jason Merrill
6afcef6bd2
re PR c++/4381 (Exceptions virtually inherited from a class cause segmentation fault at run time)
...
PR c++/4381
* libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
(check_exception_spec): Call it. Take the thrown pointer.
(__cxa_call_unexpected): Pass it.
(PERSONALITY_FUNCTION): Likewise. Use get_adjusted_ptr.
From-SVN: r50936
2002-03-17 19:09:37 -05: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
Anthony Green
b3b77addd0
Remove useless mingw32 configury
...
From-SVN: r50819
2002-03-15 18:16:34 +00:00
Paolo Carlini
53723190aa
2002-03-15 Paolo Carlini <pcarlini@unitus.it>
...
* testsuite/22_locale/collate_members_char.cc
(test01): compare the result of collate::compare with
that of collate::transform + string::compare, not with
that of collate::transform + collate::compare.
(test01): values returned by collate::compare are
normalized, therefore test against +-1.
* testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
From-SVN: r50808
2002-03-15 16:05:56 +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
Loren J. Rittle
56d4fe31c5
reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
...
reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
* testsuite/thread/pthread4.cc: Lower nominal iteration counter.
From-SVN: r50709
2002-03-13 02:53:27 +00:00
Benjamin Kosnik
f714575791
ctype_noninline.h: Cast to unsigned char.
...
2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
Per Liboriussen <liborius@stofanet.dk>
* config/os/gnu-linux/bits/ctype_noninline.h: Cast to
unsigned char.
* config/os/gnu-linux/bits/ctype_inline.h: Same.
* config/os/irix/irix6.5/bits/ctype_inline.h: Same.
* config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
* config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
* config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
* config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
* config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
* config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
* testsuite/22_locale/ctype_members_char.cc (main): Add tests.
Co-Authored-By: Per Liboriussen <liborius@stofanet.dk>
From-SVN: r50708
2002-03-13 02:32:08 +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
Chris Demetriou
cdfda6686e
acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
...
2002-03-11 Chris Demetriou <cgd@broadcom.com>
* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r50626
2002-03-12 01:45:50 +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
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
GCC Administrator
31e2a00de5
Daily bump.
...
From-SVN: r49987
2002-02-23 08:16:12 +00:00
Phil Edwards
9aa4369841
acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment.
...
2002-02-22 Phil Edwards <pme@gcc.gnu.org>
* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment.
* aclocal.m4: Regenerate.
* docs/html/configopts.html: Document --enable-symvers.
* config/linker-map.gnu: Break libsupc++ symbols out to their own tag.
From-SVN: r49977
2002-02-22 23:45:28 +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
696179ca62
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: r49962
2002-02-22 12:09:56 +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
Phil Edwards
c98b201bd9
acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version.
...
2002-02-20 Phil Edwards <pme@gcc.gnu.org>
* acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version.
(GLIBCPP_ENABLE_SYMVERS): Redo logic, use linker version.
* configure.in (GLIBCPP_ENABLE_SYMVERS): Move later in the script.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* config/linker-map.dummy: New file. Contains nothing useful.
From-SVN: r49913
2002-02-20 22:10:39 +00:00
Benjamin Kosnik
04fc13943f
money_put_members_char.cc: Fix.
...
2002-02-20 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/22_locale/money_put_members_char.cc: Fix.
* testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
* testsuite/27_io/standard_manipulators.cc: New file.
* testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
* testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
From-SVN: r49910
2002-02-20 21:06:42 +00:00
Danny Smith
be6efd9f31
2002-02-20 Danny Smith <dannysmith@users.sourceforge.net>
...
* config/os/mingw32/bits/ctype_noninline.h
(ctype<char>::ctype): Remove default args from parm list.
* config/os/djgpp/bits/ctype_noninline.h: Same.
From-SVN: r49900
2002-02-20 17:18:00 +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
Benjamin Kosnik
9b41c37048
linker-map.gnu: Export global vtable, typeinfo, guard variable, and thunk info as per CXXABI docs.
...
2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
* config/linker-map.gnu: Export global vtable, typeinfo, guard
variable, and thunk info as per CXXABI docs.
From-SVN: r49878
2002-02-19 21:47:05 +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
Benjamin Kosnik
37cea03434
linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
...
2002-02-14 Benjamin Kosnik <bkoz@redhat.com>
* config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
Add typeinfo bits. Smooth.
* aclocal.m4: Regenerate.
* configure: Same.
* src/Makefile.in: Same.
From-SVN: r49780
2002-02-15 02:21:33 +00:00
Joel Sherrill
0b46224d2b
atomicity.h: Corrected for RTEMS targets which do not have a CAS instruction.
...
2001-02-14 Joel Sherrill <joel@OARcorp.com>
* config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets which
do not have a CAS instruction.
From-SVN: r49772
2002-02-14 18:57:38 +00:00
Phil Edwards
530539d9d9
acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
...
2002-02-14 Phil Edwards <pme@gcc.gnu.org>
* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
* configure.in: Call it.
* config/linker-map.gnu: New file, initial incomplete revision.
* src/Makefile.am: Optionally pass version script to the linker.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* src/Makefile.in: Regenerate.
From-SVN: r49770
2002-02-14 18:24: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
Phil Edwards
02669b681e
stl_algo.h (transform (both signatures), generate_n): Use __typeof__ in concept checks.
...
2002-02-10 Phil Edwards <pme@gcc.gnu.org>
* include/bits/stl_algo.h (transform (both signatures), generate_n):
Use __typeof__ in concept checks.
From-SVN: r49653
2002-02-10 09:05:46 +00:00
Jonathan Wakely
c0d8816157
stl_algo.h (__median, [...]): Doxygenate.
...
2002-02-10 Jonathan Wakely <cow@compsoc.man.ac.uk>
* include/bits/stl_algo.h (__median, for_each, find, find_if,
adjacent_find, count, count_if, search, search_n, swap_ranges,
transform, replace, replace_if, replace_copy, replace_copy_if,
generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
unique, unique_copy, reverse, reverse_copy): Doxygenate.
From-SVN: r49652
2002-02-10 09:00:41 +00:00
GCC Administrator
3439e039a2
Daily bump.
...
From-SVN: r49650
2002-02-10 08:16:27 +00:00
GCC Administrator
2fd85a75ab
Daily bump.
...
From-SVN: r49634
2002-02-09 08:16:15 +00:00
Benjamin Kosnik
e7d7a7a734
2002-02-08 Benjamin Kosnik <bkoz@redhat.com>
...
* include/bits/locale_facets.h
(numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
(__timepunct<_CharT>::_M_initialize_timepunct): Same.
(__timepunct<_CharT>::_M_put_helper): Same.
(moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
* include/bits/fstream.tcc (filebuf::underflow): Remove
__codecvt_type typedef.
(filebuf::_M_convert_to_external): Same.
From-SVN: r49614
2002-02-08 12:59:49 +00:00
GCC Administrator
19afc459e6
Daily bump.
...
From-SVN: r49612
2002-02-08 08:16:18 +00:00
Phil Edwards
8f94053d32
TODO: Update.
...
2002-02-08 Phil Edwards <pme@gcc.gnu.org>
* docs/doxygen/TODO: Update.
* docs/doxygen/doxygroups.cc: Tweak __gnu_cxx description.
* docs/doxygen/mainpage.html: Add TODO list link.
* docs/doxygen/user.cfg.in: Add @doctodo hook.
* docs/doxygen/tables.html: New file, emoty structure only.
* include/bits/stl_iterator.h: Doxygenate just about everything.
* include/bits/stl_iterator_base_funcs.h: Ditto, clean up spaces.
* include/bits/stl_iterator_base_types.h: Add notes.
From-SVN: r49608
2002-02-08 07:34:54 +00:00
Stephan Buys
ad2a4e2b47
stl_map.h: Tweak doxygen markup.
...
2002-02-07 Stephan Buys <sbproxy@icon.co.za>
* include/bits/stl_map.h: Tweak doxygen markup.
* include/bits/stl_multimap.h: Doxygenate and remove extra spaces.
* include/bits/stl_vector.h: Likewise.
From-SVN: r49602
2002-02-08 02:19:06 +00:00
Benjamin Kosnik
07814743cf
std_fstream.h (filebuf::__file_type): Change to __basic_file<char>.
...
2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/5286
libstdc++/3860
* include/std/std_fstream.h (filebuf::__file_type): Change to
__basic_file<char>.
(filebuf::_M_convert_to_external): Declare.
* include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
codecvt bits for wide streams.
(filebuf::_M_really_overflow): Use it.
(filebuf::underflow): Use codecvt.
* config/locale/codecvt_specializations_ieee_1003.1-200x.h:
(codecvt<__enc_traits>::do_out): Deal with partial.
(codecvt<__enc_traits>::do_encoding): Return something useful.
* src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
wchar_t.
* testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
Change expected encoding output.
(test02): Same.
* testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
(test02): Same.
From-SVN: r49601
2002-02-08 01:34:41 +00:00
Benjamin Kosnik
3ab57fab23
basic_ios.tcc (basic_ios::narrow): Add default value.
...
2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
* include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
(basic_ios::widen): Same.
Co-Authored-By: Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
From-SVN: r49590
2002-02-07 20:28:55 +00:00
Paolo Carlini
a092e4ebba
money_get_members_char.cc: Add comment, tidy up.
...
2002-02-07 Paolo Carlini <pcarlini@unitus.it>
* testsuite/22_locale/money_get_members_char.cc:
Add comment, tidy up.
(test01): more "en_HK" tests (without showbase).
* testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
From-SVN: r49587
2002-02-07 19:27:38 +00:00
GCC Administrator
19c881777c
Daily bump.
...
From-SVN: r49569
2002-02-07 08:17:30 +00:00
Loren J. Rittle
ef8259b757
c_locale_generic.cc: Do not trust _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as set by configure.
...
* config/locale/c_locale_generic.cc: Do not trust
_GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
set by configure.
From-SVN: r49558
2002-02-06 23:11:16 +00:00
Loren J. Rittle
99a4deb8a9
acinclude.m4: Add C++ linkage check for strtof.
...
* acinclude.m4: Add C++ linkage check for strtof.
* aclocal.m4: Rebuilt.
* config.h.in: Rebuilt.
* configure: Rebuilt.
* config/locale/c_locale_generic.cc: Conditionally include
<ieeefp.h>. Improve handling and error checking of float
and long double input for non-C99 configurations.
From-SVN: r49546
2002-02-06 17:31:43 +00:00
Paolo Carlini
6662d4c337
locale_facets.tcc (money_get::do_get(string)): In case money_base::symbol deal properly with multi-char sign for patterns...
...
2002-02-06 Paolo Carlini <pcarlini@unitus.it>
* include/bits/locale_facets.tcc (money_get::do_get(string)):
In case money_base::symbol deal properly with multi-char sign
for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
* testsuite/22_locale/money_get_members_char.cc: Add test07.
* testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
From-SVN: r49543
2002-02-06 12:13:00 +00:00
GCC Administrator
f5ee37f2ce
Daily bump.
...
From-SVN: r49540
2002-02-06 08:16:45 +00:00
Paolo Carlini
e07554eb17
locale_facets.tcc (money_get::do_get(string)): First construct a tentative returned string...
...
2002-02-05 Paolo Carlini <pcarlini@unitus.it>
* include/bits/locale_facets.tcc (money_get::do_get(string)):
First construct a tentative returned string, then, only if the
parsing succeeds, copy it into the string passed by reference.
* testsuite/22_locale/money_get_members_char.cc: Add test06.
* testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
From-SVN: r49523
2002-02-05 11:35:48 +00:00
GCC Administrator
ee67be75ad
Daily bump.
...
From-SVN: r49517
2002-02-05 08:18:42 +00:00
Phil Edwards
fd58f127a6
[multiple changes]
...
2002-02-04 Phil Edwards <pme@gcc.gnu.org>
* docs/doxygen/TODO: Impl-defined behavior now documented...
* docs/html/17_intro/howto.html: ...here.
* docs/doxygen/mainpage.doxy: Remove, rename...
* docs/doxygen/mainpage.html: ...to this. Tweak HTML, add license.
* docs/doxygen/style.css: Add small text.
* docs/doxygen/run_doxygen: Adjust for new mainpage.
* docs/doxygen/user.cfg.in: Likewise.
2002-02-04 Stephan Buys <s.buys@icon.co.za>
* include/bits/stl_map.h: Initial doxygen markup.
* include/std/std_fstream.h: Initial doxygen markup.
From-SVN: r49502
2002-02-05 00:14:37 +00:00
Paolo Carlini
53804e7c80
locale_facets.tcc (money_get::do_get(string)): Deal correctly with !(__io.flags() & ios_base::showbase) for case...
...
2002-02-04 Paolo Carlini <pcarlini@unitus.it>
libstdc++/5579
* include/bits/locale_facets.tcc (money_get::do_get(string)):
Deal correctly with !(__io.flags() & ios_base::showbase)
for case money_base::symbol.
* testsuite/22_locale/money_get_members_char.cc: Add test05.
* testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
From-SVN: r49489
2002-02-04 19:51:32 +00:00
Paolo Carlini
b6f642d59c
2002-02-02 Paolo Carlini <pcarlini@unitus.it>
...
* testsuite/22_locale/operators.cc
(gnu_collate::do_compare()): Add return statement to
suppress "no return statement" warning.
From-SVN: r49441
2002-02-02 13:46:47 +00:00
Paolo Carlini
866c9e660e
ostream_manip.cc: Enable test02.
...
2002-02-01 Paolo Carlini <pcarlini@unitus.it>
* testsuite/27_io/ostream_manip.cc: Enable test02.
From-SVN: r49440
2002-02-02 13:13:00 +00:00
GCC Administrator
8315fe3f4d
Daily bump.
...
From-SVN: r49436
2002-02-02 08:16:46 +00:00
Phil Edwards
00181da3af
documentation.html: Update for 3.0.96.
...
2002-02-01 Phil Edwards <pme@gcc.gnu.org>
* docs/html/documentation.html: Update for 3.0.96.
* docs/html/faq/index.html: Update for 3.0.96.
* docs/html/faq/index.txt: Regenerated.
* docs/doxygen/TODO: Update notes.
* docs/html/17_intro/howto.html: Initial impl-specific listing.
From-SVN: r49422
2002-02-02 00:18:24 +00:00
GCC Administrator
9b1856d6c8
Daily bump.
...
From-SVN: r49390
2002-02-01 08:17:03 +00:00
Benjamin Kosnik
6f48900c2b
codecvt_specializations_ieee_1003.1-200x.h: Initialize all data members in copy ctor.
...
2002-01-31 Benjamin Kosnik <bkoz@redhat.com>
* config/locale/codecvt_specializations_ieee_1003.1-200x.h:
Initialize all data members in copy ctor. Make ctors explicit.
(__enc_traits::__enc_traits()): Default ctor does nothing.
(__enc_traits::_M_init): Guard against multiple iconv_opens.
* include/std/std_sstream.h (basic_stringbuf): Make data members
protected.
* include/std/std_fstream.h (basic_filebuf): Same.
* include/std/std_streambuf.h: Tweak.
* include/bits/streambuf.tcc: Same.
* include/bits/sstream.tcc: Same.
* include/bits/fstream.tcc: Same.
From-SVN: r49387
2002-02-01 03:20:39 +00:00
Loren J. Rittle
4a78d8641c
codecvt_members_char_char.cc: Do not allow NULL argument to be passed to setenv().
...
* testsuite/22_locale/codecvt_members_char_char.cc: Do not
allow NULL argument to be passed to setenv().
* testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
* testsuite/22_locale/collate_members_char.cc: Likewise.
* testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
* testsuite/22_locale/ctype_members_char.cc: Likewise.
* testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
* testsuite/22_locale/messages_members_char.cc: Likewise.
* testsuite/22_locale/money_get_members_char.cc: Likewise.
* testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
* testsuite/22_locale/money_put_members_char.cc: Likewise.
* testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
* testsuite/22_locale/moneypunct_members_char.cc: Likewise.
* testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
* testsuite/22_locale/num_get_members_char.cc: Likewise.
* testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
* testsuite/22_locale/num_put_members_char.cc: Likewise.
* testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
* testsuite/22_locale/numpunct_members_char.cc: Likewise.
* testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
* testsuite/22_locale/time_get_members_char.cc: Likewise.
* testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
* testsuite/22_locale/time_put_members_char.cc: Likewise.
* testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
From-SVN: r49384
2002-02-01 00:24:12 +00:00
GCC Administrator
98367224a0
Daily bump.
...
From-SVN: r49368
2002-01-31 08:16:41 +00:00
Benjamin Kosnik
f5d09ce747
c_locale_gnu.cc: Same errno fixes as generic.
...
2002-01-30 Benjamin Kosnik <bkoz@redhat.com>
* config/locale/c_locale_gnu.cc: Same errno fixes as generic.
* ChangeLog-2001: Fix my spelling errors...
* docs/html/17_intro/RELEASE-NOTES: Update.
* docs/html/17_intro/TODO: Update.
* README (file): Update.
From-SVN: r49358
2002-01-31 02:05:17 +00:00
Benjamin Kosnik
2a4e640755
c_locale_gnu.cc: Same errno fixes as generic.
...
2002-01-30 Benjamin Kosnik <bkoz@redhat.com>
* config/locale/c_locale_gnu.cc: Same errno fixes as generic.
From-SVN: r49354
2002-01-31 01:21:08 +00:00
Loren J. Rittle
2083b5be4d
c_locale_generic.cc: Check errno for ERANGE instead of non-zero to aid portability.
...
* config/locale/c_locale_generic.cc: Check errno for ERANGE
instead of non-zero to aid portability.
From-SVN: r49350
2002-01-31 00:47:05 +00:00
Peter Schmid
c3a7de6ad8
messages.html: Fix example code.
...
2002-01-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
* docs/html/22_locale/messages.html: Fix example code.
From-SVN: r49349
2002-01-31 00:24:56 +00:00
Richard Henderson
2a4a2f1da2
ostream_inserter_arith.cc (test03_check): Break out from test03 and templatize.
...
* testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
out from test03 and templatize.
(test03): Use it.
From-SVN: r49348
2002-01-30 16:03:31 -08:00
Paolo Carlini
f2e7381d8e
2002-01-30 Paolo Carlini <pcarlini@unitus.it>
...
* config/locale/numpunct_members_gnu.cc
(numpunct<char, wchar_t>::_M_initialize_numpunct()):
Fix initialization of _M_grouping for locales which have
_M_thousands_sep == '\0'(L'\0', respectively).
* testsuite/22_locale/numpunct_byname.cc (test02): Add test.
From-SVN: r49343
2002-01-30 21:00:40 +00:00
Paolo Carlini
a852d50fb4
ostream_inserter_arith.cc (test03): Better fix for 32/64 bit architectures...
...
2002-01-30 Paolo Carlini <pcarlini@unitus.it>
* testsuite/27_io/ostream_inserter_arith.cc (test03):
Better fix for 32/64 bit architectures, avoiding the
implicit assumption that CHAR_BIT == 8.
From-SVN: r49342
2002-01-30 20:45:18 +00:00
GCC Administrator
6084253c7e
Daily bump.
...
From-SVN: r49338
2002-01-30 08:16:39 +00:00
GCC Administrator
aee25e2d8e
Daily bump.
...
From-SVN: r49311
2002-01-29 08:16:33 +00:00
Phil Edwards
8907b6e476
2002-01-28 Phil Edwards <pme@gcc.gnu.org>
...
ChangeLog rotation.
From-SVN: r49306
2002-01-29 02:57:55 +00:00
Phil Edwards
ffe94f8380
Makefile.am (doxygen, [...]): Tweak targets.
...
2002-01-28 Phil Edwards <pme@gcc.gnu.org>
* Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets.
* Makefile.in: Regenerate.
* docs/doxygen/run_doxygen: Update, mostly for man pages.
* docs/doxygen/Intro.3: Update.
* docs/doxygen/TODO: Update.
* docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx.
* docs/doxygen/mainpage.doxy: Update.
* docs/doxygen/user.cfg.in: Update for header rename. Also
regenerate comments and variables with 1.2.12.
* docs/doxygen/maint.cfg.in: Remove file.
* include/bits/stl_relops.h: Doxygenate.
* include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise.
* include/c_std/std_cassert.h, include/c_std/std_cctype.h,
include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
include/c_std/std_ciso646.h, include/c_std/std_climits.h,
include/c_std/std_clocale.h, include/c_std/std_cmath.h,
include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
include/c_std/std_cstring.h, include/c_std/std_ctime.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
include/ext/algorithm, include/ext/functional, include/ext/hash_map,
include/ext/hash_set, include/ext/iterator, include/ext/memory,
include/ext/numeric, include/ext/rb_tree, include/ext/rope,
include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
include/ext/stl_hashtable.h, include/ext/stl_rope.h,
include/std/std_algorithm.h, include/std/std_bitset.h,
include/std/std_complex.h, include/std/std_deque.h,
include/std/std_fstream.h, include/std/std_functional.h,
include/std/std_iomanip.h, include/std/std_ios.h,
include/std/std_iosfwd.h, include/std/std_iostream.h,
include/std/std_istream.h, include/std/std_iterator.h,
include/std/std_limits.h, include/std/std_list.h,
include/std/std_locale.h, include/std/std_map.h,
include/std/std_memory.h, include/std/std_numeric.h,
include/std/std_ostream.h, include/std/std_queue.h,
include/std/std_set.h, include/std/std_sstream.h,
include/std/std_stack.h, include/std/std_stdexcept.h,
include/std/std_streambuf.h, include/std/std_string.h,
include/std/std_utility.h, include/std/std_valarray.h,
include/std/std_vector.h: Add/correct @file doxygen hook.
* include/ext/memory: Doxygenate most of rest of file.
* libsupc++/exception: Doxygen output formatting.
* libsupc++/new: Say which header it is.
* testsuite/lib/libstdc++-v3-dg.exp: Fix spacing.
* docs/html/19_diagnostics/howto.html: Describe concept-checks switch.
* docs/html/23_containers/howto.html: Describe O(n) list::size().
* docs/html/27_io/howto.html: Also link to Langer and Kreft text.
From-SVN: r49300
2002-01-28 22:13:12 +00:00
Paolo Carlini
11e174221b
filebuf_members.cc (test_05): Add test.
...
2002-01-28 Paolo Carlini <pcarlini@unitus.it>
Charles Leggett <CGLeggett@lbl.gov>
* testsuite/27_io/filebuf_members.cc (test_05): Add test.
Co-Authored-By: Charles Leggett <CGLeggett@lbl.gov>
From-SVN: r49297
2002-01-28 20:07:57 +00:00
Paolo Carlini
4debe14deb
ostream_inserter_arith.cc (test03): Fix to deal correctly with both 32 bit and 64 bit architectures
...
2002-01-28 Paolo Carlini <pcarlini@unitus.it>
* testsuite/27_io/ostream_inserter_arith.cc (test03):
Fix to deal correctly with both 32 bit and 64 bit architectures
From-SVN: r49295
2002-01-28 20:06:15 +00:00
GCC Administrator
41e427e8b9
Daily bump.
...
From-SVN: r49277
2002-01-28 08:16:16 +00:00
GCC Administrator
eeb373f61c
Daily bump.
...
From-SVN: r49265
2002-01-27 08:16:20 +00:00
GCC Administrator
f478b973d6
Daily bump.
...
From-SVN: r49243
2002-01-26 08:16:14 +00:00
Loren J. Rittle
63b3a44f03
pthread1.cc: Use one condition variable per predicate instead of tricky use of one condition...
...
* testsuite/thread/pthread1.cc: Use one condition variable
per predicate instead of tricky use of one condition variable.
From-SVN: r49239
2002-01-26 03:26:14 +00:00
Benjamin Kosnik
e67051746f
fstream.tcc (filebuf::close()): Fix close for input streams.
...
2002-01-25 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/fstream.tcc (filebuf::close()): Fix close for input
streams.
(filebuf::_M_really_overflow): Match indeterminate and sync calls.
* testsuite/27_io/filebuf.cc: Compile only.
* testsuite/27_io/filebuf_members.cc: Move tests to here.
* testsuite/27_io/filebuf_virtuals.cc: And here.
Revert sungetc, sync changes for expected values.
* testsuite/27_io/filebuf-*: Move to...
* testsuite/27_io/filebuf_virtuals-*: ...here.
* testsuite/27_io/istream.cc: Compile only, activate.
* testsuite/27_io/ostream.cc: Same.
* testsuite/27_io/iostream.cc: New.
* testsuite/27_io/iostream_members.cc: New.
From-SVN: r49236
2002-01-26 01:55:09 +00:00
David Billinghurst
a68d024dfc
pthread1.cc: Enable on cygwin.
...
* testsuite/thread/pthread1.cc: Enable on cygwin.
* testsuite/thread/pthread2.cc: Likewise.
* testsuite/thread/pthread3.cc: Likewise.
* testsuite/thread/pthread4.cc: Likewise.
* testsuite/thread/pthread5.cc: Likewise.
* testsuite/thread/pthread6.cc: Likewise.
From-SVN: r49214
2002-01-25 16:05:48 +00:00
GCC Administrator
b5b59800c2
Daily bump.
...
From-SVN: r49210
2002-01-25 08:16:44 +00:00
Benjamin Kosnik
3a9ebf3ced
ostream_inserter_char.cc (test07): New.
...
2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/27_io/ostream_inserter_char.cc (test07): New.
2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
const, tweak.
(basic_ios::fill(char_type)): Use fill().
* include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
(basic_ios::narrow): Same.
(basic_ios::_M_cache_facets): Explicitly set cached facets to zero
if they are invalid.
(basic_ios::init): Comment.
* testsuite/27_io/ios_init.cc (test02): New.
From-SVN: r49205
2002-01-25 06:36:32 +00:00
Phil Edwards
6b20f9b59a
stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
...
2002-01-24 Phil Edwards <pme@gcc.gnu.org>
* include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
* include/bits/stl_algo.h: Include stl_tempbuf.h.
* include/ext/memory: Do not include stl_tempbuf.h.
(temporary_buffer): Add doxygen hook.
(__get_temporary_buffer, get_temporary_buffer,
return_temporary_buffer): Move back to std:: header...
* include/std/std_memory.h: ...here. Do not include stl_tempbuf.h.
* include/ext/rope: Do not include stl_tempbuf.h.
* include/ext/stl_hashtable.h: Likewise.
* include/std/std_algorithm.h: Likewise.
* testsuite/20_util/temporary_buffer.cc: New file.
From-SVN: r49199
2002-01-25 04:14:40 +00:00
Andrew Pollard
17325050c2
ios_base.h: Use _Atomic_word for reference counts.
...
libstdc++/5432
* include/bits/ios_base.h: Use _Atomic_word for reference counts.
* include/bits/localefwd.h: Likewise.
Also use for std::locale:🆔 :_S_highwater.
* src/ios.cc (ios_base::xalloc): Use _Atomic_word.
* src/locale.cc: Support new usage of _Atomic_word.
(std::locale::classic): Guard entire function against reentry.
* src/localename.cc: Support new usage of _Atomic_word.
From-SVN: r49195
2002-01-24 21:14:41 +00:00
Benjamin Kosnik
b6a95741e8
num_put_members_wchar_t.cc (test03): Use _GLIBCPP_HAVE_SETENV.
...
2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
_GLIBCPP_HAVE_SETENV.
* testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
* testsuite/22_locale/collate_members_char.cc (test02): Same.
* testsuite/22_locale/ctype_members_char.cc (test03): Same.
* testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
* testsuite/22_locale/messages_members_char.cc (test02): Same.
* testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
* testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
* testsuite/22_locale/money_put_members_char.cc (test04): Same.
* testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
* testsuite/22_locale/num_get_members_char.cc (test03): Same.
* testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
* testsuite/22_locale/numpunct_members_char.cc (test02): Same.
* testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
* testsuite/22_locale/time_get_members_char.cc (test07): Same.
* testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
* testsuite/22_locale/time_put_members_char.cc (test03): Same.
* testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
* testsuite/22_locale/num_put_members_char.cc (test03): Same.
* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* config.h.in: Regenerate.
From-SVN: r49191
2002-01-24 20:46:34 +00:00
GCC Administrator
9dcb193624
Daily bump.
...
From-SVN: r49175
2002-01-24 08:16:43 +00:00
Loren J. Rittle
ddd6960743
pthread1.cc: New test.
...
* testsuite/thread/pthread1.cc: New test.
* testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
* testsuite/thread/pthread3.cc: Likewise.
* testsuite/thread/pthread4.cc: New test adapted from
http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
* testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
* testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
From-SVN: r49173
2002-01-24 07:35:11 +00:00
Richard Henderson
acae253ec1
re PR libstdc++/5198 (3.0.3 linux x m68k build fail: invalid opcodes in c++locale.cc)
...
PR libstdc++/5198
* config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
CAS on the cpu variants that support it. Add versions that use
TAS and that disable interrupts.
(__atomic_add): Use __exchange_and_add to guarantee atomicity.
From-SVN: r49160
2002-01-23 17:31:13 -08:00
Benjamin Kosnik
aac0eb5d46
[multiple changes]
...
2002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
* include/bits/locale_facets.tcc: Remove old comments.
2002-01-23 Andreas Tobler <toa@pop.agri.ch>
* include/bits/locale_facets.tcc (__convert_to_v): Change template
parameter to _Tv.
(__convert_from_v): Same.
From-SVN: r49156
2002-01-23 23:35:18 +00:00
Benjamin Kosnik
5b1a76105b
locale_facets.h (num_get::_M_extract_int): Change prototype.
...
2002-01-23 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.h (num_get::_M_extract_int): Change
prototype.
* include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
__max_digits checks, adjust arguments.
(num_get::do_get(*)): Changeup.
From-SVN: r49154
2002-01-23 20:38:59 +00:00
Loren J. Rittle
d419f1cdf0
* config/locale/c_locale_generic.cc: Fix typename usage.
...
From-SVN: r49141
2002-01-23 16:20:46 +00:00
GCC Administrator
e80c875349
Daily bump.
...
From-SVN: r49127
2002-01-23 08:16:33 +00:00
Benjamin Kosnik
9b6e0e57a1
c_locale_generic.cc: Fix.
...
2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
* config/locale/c_locale_generic.cc: Fix.
From-SVN: r49125
2002-01-23 03:50:49 +00:00
Benjamin Kosnik
183490ecc1
messages.html: Remove angle brackets.
...
2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
* docs/html/22_locale/messages.html: Remove angle brackets.
* docs/html/17_intro/TODO: Add.
From-SVN: r49119
2002-01-23 02:02:21 +00:00
Paolo Carlini
b4ae79f745
ios_manip_basefield.cc: Enable test02.
...
2002-01-22 Paolo Carlini <pcarlini@unitus.it>
* testsuite/27_io/ios_manip_basefield.cc: Enable test02.
* testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
* testsuite/27_io/ostream_inserter_char.cc: Enable test01.
* testsuite/27_io/ostream_inserter_other.cc: Enable test04.
From-SVN: r49116
2002-01-23 01:12:10 +00:00
Benjamin Kosnik
4b9aaf6379
Audit for LANG independence.
...
2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
Audit for LANG independence.
* include/bits/localefwd.h: Tweaks.
* include/bits/locale_facets.tcc (money_get::do_get(long double)):
Use __convert_to_v.
(time_get::do_get_year): Same.
(__convert_from_v): Add.
(num_put::_M_convert_float): Use.
(num_put::_M_convert_int): Same.
(money_put::do_put): Same.
* src/locale-inst.cc: Add instantiations for __convert_from_v.
* config/locale/time_members_gnu.cc: Cleanup setlocale usage.
* config/locale/time_members_generic.cc:
* config/locale/messages_members_gnu.cc: Same.
* config/locale/messages_members_gnu.h: Same.
* testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
* testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
* testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
* testsuite/22_locale/collate_members_char.cc (test02): New.
* testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
* testsuite/22_locale/ctype_members_char.cc (test03): New.
* testsuite/22_locale/messages_members_char.cc (test02): New.
* testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
* testsuite/22_locale/moneypunct_members_char.cc (test02): New.
* testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
* testsuite/22_locale/money_get_members_char.cc (test04): New.
* testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
* testsuite/22_locale/money_put_members_char.cc (test04): New.
* testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
* testsuite/22_locale/numpunct_members_char.cc (test02): New.
* testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
* testsuite/22_locale/time_put_members_char.cc (test03): New.
* testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
* testsuite/22_locale/time_get_members_char.cc (test07): New.
* testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
* testsuite/22_locale/num_get_members_char.cc (test03): New.
* testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
* testsuite/22_locale/num_put_members_char.cc (test03): New.
* testsuite/22_locale/time_get_members_char.cc: Fixups for global
locale issues.
* testsuite/22_locale/time_get_members_char.cc: Same.
2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/5280
* include/bits/localefwd.h: Tweak comments.
* include/bits/locale_facets.h (__convert_to_v): Add.
* include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
(num_get::do_get(float)): Same.
(num_get::do_get(long double)): Same.
(num_get::do_get(bool)): Same.
(num_get::do_get(long)): Same.
(num_get::do_get(long long)): Same.
(num_get::do_get(unsigned int)): Same.
(num_get::do_get(unsigned short)): Same.
(num_get::do_get(unsigned long)): Same.
(num_get::do_get(unsigned long long)): Same.
* config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
* config/locale/c_locale_generic.cc: Same.
From-SVN: r49108
2002-01-22 23:09:04 +00:00
Loren J. Rittle
73249e331a
Makefile.am (c_base_builddir): Remove redundant slash.
...
* include/Makefile.am (c_base_builddir): Remove redundant slash.
(std_builddir): Likewise.
(std_headers_rename): Fix cut-n-paste typo.
(install-data-local): Concat path per element instead of once to
first element of list.
* include/Makefile.in: Rebuilt.
From-SVN: r49081
2002-01-22 17:35:37 +00:00
Benjamin Kosnik
a0e073b266
ctype_noninline.h: Fix formatting.
...
2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
* config/os/aix/bits/ctype_noninline.h: Fix formatting.
* config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
* config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
From-SVN: r49078
2002-01-22 16:09:25 +00:00
GCC Administrator
ffe154a990
Daily bump.
...
From-SVN: r49067
2002-01-22 08:16:44 +00:00
GCC Administrator
1bcdf4fe08
Daily bump.
...
From-SVN: r49036
2002-01-21 08:16:19 +00:00
Benjamin Kosnik
93dbe8d76d
[multiple changes]
...
2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.h (ctype<char>::classic_table):
Remove definition.
(ctype<char>::_S_ctable): Remove.
* config/os/gnu-linux/bits/ctype_noninline.h
(ctype<char>::_S_table): Remove definition.
(ctype<char>::classic_table): Define.
(ctype<char>::ctype): Replace _S_ctable with classic_table().
* config/os/aix/bits/ctype_noninline.h: Same.
* config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
* config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
* config/os/djgpp/bits/ctype_noninline.h: Same.
* config/os/generic/bits/ctype_noninline.h: Same.
* config/os/gnu-linux/bits/ctype_noninline.h: Same.
* config/os/hpux/bits/ctype_noninline.h: Same.
* config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
* config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
* config/os/mingw32/bits/ctype_noninline.h: Same.
* config/os/newlib/bits/ctype_noninline.h: Same.
* config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
* config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
* config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
* config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
of _pctype. Use to define _S_ctable. Add definition for alternate
ctor. Initialise _M_ctable to _S_ctable in ctors.
(do_toupper, do_tolower): Use inline code appropriate for C-locale
rather than ::toupper, ::tolower.
From-SVN: r49032
2002-01-21 04:08:54 +00:00
GCC Administrator
ba3a12b34f
Daily bump.
...
From-SVN: r49017
2002-01-20 08:16:10 +00:00
GCC Administrator
89769d19cc
Daily bump.
...
From-SVN: r49010
2002-01-19 08:17:41 +00:00
Loren J. Rittle
46827fdd40
numeric_limits.cc (test_extrema<long double>): Add specialization for FreeBSD systems only to avoid losing test only due to...
...
* testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
Add specialization for FreeBSD systems only to avoid losing test
only due to extra precision unmentioned in system headers.
From-SVN: r48997
2002-01-18 22:07:27 +00:00
GCC Administrator
e6dc5a9a20
Daily bump.
...
From-SVN: r48980
2002-01-18 08:16:20 +00:00
David Billinghurst
d428652688
ctype_noninline.h: Fix typo
...
2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
* config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
From-SVN: r48979
2002-01-18 04:29:28 +00:00
Nick Clifton
ccc643e212
oops - incorrect changelog for previous delta
...
From-SVN: r48974
2002-01-17 23:40:23 +00:00
Nick Clifton
c429752231
fix typo in comment
...
From-SVN: r48973
2002-01-17 23:37:43 +00:00
Peter Schmid
715e561616
ctor_copy_dtor.cc: Remove check.
...
2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
* testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
From-SVN: r48967
2002-01-17 22:29:44 +00:00
David Edelsohn
34e3a8d58c
* configure.target: Define OPT_LDFLAGS for AIX case.
...
From-SVN: r48958
2002-01-17 11:14:08 -05:00
David Edelsohn
c0abb59e6a
- acsectionLDflags fix omitted from previous commit.
...
From-SVN: r48957
2002-01-17 11:11:26 -05:00
Gabriel Dos Reis
2bcb0aa081
std_limits.h (__glibcpp_float_has_quiet_NaN, [...]): Correct mispelling.
...
* include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
__glibcpp_double_has_quiet_NaN): Correct mispelling.
From-SVN: r48955
2002-01-17 15:46:48 +00:00
Andreas Tobler
02c361a472
ctype_noninline.h: Fix.
...
2002-01-17 Andreas Tobler <toa@pop.agri.ch>
* config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
From-SVN: r48945
2002-01-17 09:56:42 +00:00
GCC Administrator
784dce6663
Daily bump.
...
From-SVN: r48943
2002-01-17 08:16:32 +00:00
David Edelsohn
654421eb8a
acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear SECTION_LDFLAGS and OPT_LDFLAGS.
...
2002-01-16 David Edelsohn <dje@watson.ibm.com>
* acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r48941
2002-01-17 07:33:29 +00:00
Benjamin Kosnik
c55357682b
Makefile.am (c_base_headers_rename): New.
...
2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
* include/Makefile.am (c_base_headers_rename): New.
(c_base_headers_extra): New.
(stamp-c_base): Modify.
(install-data-local): Use both.
* include/Makefile.in: Regenerate.
* include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
cstdio ctime cwctype]: Move to..
* include/c/std_*: Here.
* include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
cstdio ctime cwctype]: Move to..
* include/c_std/std_*: Here.
Alexandre Oliva <aoliva@redhat.com>
* include/Makefile.am (.PRECIOUS): Add rule.
* include/Makefile.in: Regenerate.
From-SVN: r48940
2002-01-17 07:18:33 +00:00
Benjamin Kosnik
8f7a401515
stl_iterator.h (reverse_iterator::_M_current): Deuglify, should be current.
...
2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
* include/bits/stl_iterator.h (reverse_iterator::_M_current):
Deuglify, should be current.
(back_insert_iterator::_M_container): Deuglify, should be container.
(front_insert_iterator::_M_container): Same.
(insert_iterator::_M_container): Same.
* testsuite/24_iterators/reverse_iterator.cc: Add check.
* testsuite/24_iterators/back_insert_iterator.cc: Add check.
* testsuite/24_iterators/front_insert_iterator.cc: Same.
* testsuite/24_iterators/insert_iterator.cc: Same.
2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.h (ctype<char>::classic_table): Make
static.
(ctype<char>::_M_ctable): Make static, change name to _S_ctable.
* config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
* config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
* config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
* config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
* config/os/newlib/bits/ctype_noninline.h: Same.
* config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
* config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
* config/os/hpux/bits/ctype_noninline.h: Same.
* config/os/djgpp/bits/ctype_noninline.h: Same.
* config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
* config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
* config/os/aix/bits/ctype_noninline.h: Same.
Testcase by Dietmar K�hl via Peter Schmid
* testsuite/22_locale/ctype_members_char.cc (char>): Add test for
classic_table().
Co-Authored-By: Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
From-SVN: r48938
2002-01-17 03:59:42 +00:00
Benjamin Kosnik
aefb3380dd
signbitl.c: Copyright years as list, not range.
...
2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
* libmath/signbitl.c: Copyright years as list, not range.
* libmath/Makefile.am: Same.
* libmath/Makefie.in: Regenerate.
* libmath/signbit.c: Same.
* libmath/nan.c: Same.
* libmath/copysignf.c: Same.
* libmath/signbitf.c: Same.
* testsuite/22_locale/money_get_members_char.cc: Same.
* testsuite/22_locale/money_get_members_wchar_t.cc: Same.
* testsuite/22_locale/money_put_members_char.cc: Same.
* testsuite/22_locale/money_put_members_wchar_t.cc: Same.
* testsuite/22_locale/time_get_members_char.cc: Same.
* testsuite/22_locale/time_get_members_wchar_t.cc: Same.
* testsuite/22_locale/time_put_members_char.cc: Same.
* testsuite/22_locale/time_put_members_wchar_t.cc: Same.
* testsuite/21_strings/nonmember.cc: Same.
* testsuite/21_strings/compare.cc: Same.
* testsuite/27_io/stringstream.cc: Same.
* testsuite/27_io/stringbuf.cc: Same.
* testsuite/27_io/filebuf.cc: Same.
* testsuite/27_io/ios_manip_basefield.cc: Same.
* testsuite/27_io/ios_manip_fmtflags.cc: Same.
* include/bits/cpp_type_traits.h: Same.
* include/bits/generic_shadow.h: Same.
* include/bits/gslice_array.h: Same.
* include/bits/gslice.h: Same.
* include/bits/indirect_array.h: Same.
* include/bits/slice_array.h: Same.
* include/bits/sstream.tcc: Same.
* include/bits/streambuf_iterator.h: Same.
* include/bits/valarray_array.tcc: Same.
* include/bits/valarray_meta.h: Same.
* include/bits/valarray_array.h: Same.
* config/os/mingw32/bits/ctype_noninline.h: Same.
* config/os/mingw32/bits/ctype_base.h: Same.
* config/os/hpux/bits/ctype_noninline.h: Same.
* config/os/hpux/bits/ctype_base.h: Same.
* config/os/gnu-linux/bits/ctype_noninline.h: Same.
* config/os/gnu-linux/bits/ctype_base.h: Same.
* config/os/generic/bits/ctype_noninline.h: Same.
* config/os/generic/bits/ctype_base.h: Same.
* libsupc++/tinfo.h: Tweaks.
From-SVN: r48922
2002-01-16 19:57:39 +00:00
GCC Administrator
4a8a99695b
Daily bump.
...
From-SVN: r48903
2002-01-16 08:16:13 +00:00