GCC Administrator
d20a1e02ac
Daily bump.
...
From-SVN: r72007
2003-10-02 00:16:06 +00:00
Rainer Orth
222a5b1d67
linkage.m4 (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_0): Define.
...
* linkage.m4 (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_0): Define.
(GLIBCXX_CHECK_STDLIB_SUPPORT): Use it to test for lrand48
instead of drand48.
* acconfig.h (HAVE_DRAND48): Renamed to HAVE_LRAND48.
* crossconfig.m4 (*-freebsd*): Define HAVE_LRAND48 instead of
HAVE_DRAND48.
* config.h.in, configure: Regenerate.
* include/bits/stl_algo.h: Use _GLIBCXX_HAVE_LRAND48 to guard
lrand48 use.
From-SVN: r71990
2003-10-01 20:45:59 +00:00
Nathan Myers
e39dd1ce52
locale_facets.tcc (time_put::put): Avoid expensive *__s++, in favor of *__s, ++__s.
...
2003-10-01 Nathan Myers <ncm@cantrip.org>
* include/bits/locale_facets.tcc (time_put::put): Avoid
expensive *__s++, in favor of *__s, ++__s.
From-SVN: r71980
2003-10-01 16:58:38 +00:00
Paolo Carlini
530ce5517c
locale_facets.tcc (time_put::put): Minor tweak to the previous commit.
...
2003-10-01 Paolo Carlini <pcarlini@unitus.it>
* include/bits/locale_facets.tcc (time_put::put): Minor
tweak to the previous commit.
From-SVN: r71977
2003-10-01 15:43:07 +00:00
Paolo Carlini
52a16d0815
re PR libstdc++/12439 (Problems in time_put::put)
...
2003-10-01 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/12439
* include/bits/locale_facets.tcc (time_put::put): Deal
with the three issues pointed out by the PR.
* testsuite/22_locale/time_put/put/char/12439_1.cc: New.
* testsuite/22_locale/time_put/put/char/12439_3.cc: New.
* testsuite/22_locale/time_put/put/wchar_t/12439_1.cc: New.
* testsuite/22_locale/time_put/put/wchar_t/12439_2.cc: New.
* testsuite/22_locale/time_put/put/wchar_t/12439_3.cc: New.
From-SVN: r71976
2003-10-01 14:32:05 +00:00
GCC Administrator
6ab7003d15
Daily bump.
...
From-SVN: r71963
2003-10-01 00:16:08 +00:00
Paolo Carlini
ae7c3ba55f
stl_algo.h: Minor cosmetic reformattings.
...
2003-09-30 Paolo Carlini <pcarlini@unitus.it>
* include/bits/stl_algo.h: Minor cosmetic reformattings.
From-SVN: r71950
2003-09-30 20:16:28 +00:00
Paolo Carlini
cbc6c296e6
stl_algo.h (search_n): Tweak, to spare the first --__n.
...
2003-09-30 Paolo Carlini <pcarlini@unitus.it>
* include/bits/stl_algo.h (search_n): Tweak, to spare the
first --__n.
From-SVN: r71946
2003-09-30 17:03:52 +00:00
Paolo Carlini
2ea247d376
12352.cc: Explicitly qualify exception name.
...
2003-09-30 Paolo Carlini <pcarlini@unitus.it>
* testsuite/22_locale/locale/cons/12352.cc: Explicitly
qualify exception name.
From-SVN: r71945
2003-09-30 15:19:33 +00:00
Paolo Carlini
155f6fbb62
re PR libstdc++/12438 (Memory leak in locale::combine())
...
2003-09-30 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/12438
* include/bits/locale_facets.tcc (locale::combine): Don't
leak memory if _M_replace_facet throws.
* testsuite/22_locale/locale/cons/12438.cc: New, from the PR.
* include/bits/locale_classes.h (locale::locale(const locale&,
_Facet*)): Tweak, use consistently _M_remove_reference.
From-SVN: r71943
2003-09-30 13:44:59 +00:00
Paolo Carlini
70863cbd39
PR libstdc++/12352 (cont)
...
2003-09-30 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/12352 (cont)
* src/localename.cc (locale::_Impl::_Impl(const char*, size_t)):
Don't leak __cloc; don't leak if any of the _M_init_facet(...)
calls fail.
(locale::_Impl::_Impl(const _Impl&, size_t)): Tweak.
(locale::_Impl::~_Impl): Don't do anything if !_M_facets,
!_M_caches, !_M_names.
From-SVN: r71936
2003-09-30 07:28:51 +00:00
GCC Administrator
3c44a3c4b7
Daily bump.
...
From-SVN: r71929
2003-09-30 00:16:07 +00:00
Rainer Orth
51ac684e52
configure.in: Remove wildcard from Solaris 8-9/Intel and Solaris 2.3/SPARC...
...
boehm-gc:
* configure.in: Remove wildcard from Solaris 8-9/Intel and Solaris
2.3/SPARC, there are no micro versions.
Treat Solaris 10 and up alike.
* configure: Regenerate.
gcc:
* config.gcc (sparc-*-solaris2*): Handle Solaris 10 and up like
Solaris 7-9.
* fixinc/inclhack.def (solaris_widec): Replace solaris2.[0-5]* by
wildcards which explicitly match micro versions.
* fixinc/fixincl.x: Regenerate.
libstdc++-v3:
* configure.host: Handle Solaris 2.5 micro releases explicitly.
Remove wildcards from Solaris 2.6, 7-9: there were no
micro releases.
Treat Solaris 10 and up like 7-9.
From-SVN: r71914
2003-09-29 20:02:08 +00:00
Paolo Carlini
6821a40b74
stl_algo.h (search_n): Improve the previous fix as suggested by Martin.
...
2003-09-29 Paolo Carlini <pcarlini@unitus.it>
* include/bits/stl_algo.h (search_n): Improve the previous
fix as suggested by Martin.
From-SVN: r71913
2003-09-29 19:43:04 +00:00
Paolo Carlini
e5012ba5ec
[multiple changes]
...
2003-09-29 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/12296
* include/bits/istream.tcc (peek): Set eofbit if sgetc
returns eof.
* testsuite/27_io/basic_istream/peek/char/12296.cc:
New, from the PR.
2003-09-29 Nathan Myers <ncm@cantrip.org>
Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/11400
* include/bits/stl_algo.h (search_n):
Use iterator_traits<>::difference_type for __n.
* testsuite/25_algorithms/search_n/11400.cc: New, from the PR.
From-SVN: r71911
2003-09-29 17:36:18 +00:00
Paolo Carlini
6cd6aed790
12352.cc: Use __attribute__((unused)) for test.
...
2003-09-29 Paolo Carlini <pcarlini@unitus.it>
* testsuite/22_locale/locale/cons/12352.cc:
Use __attribute__((unused)) for test.
From-SVN: r71896
2003-09-29 08:25:17 +00:00
GCC Administrator
e8cadb6970
Daily bump.
...
From-SVN: r71888
2003-09-29 00:16:07 +00:00
GCC Administrator
5a36731a8d
Daily bump.
...
From-SVN: r71868
2003-09-28 00:16:09 +00:00
Ulrich Weigand
33b1669031
2.cc (test_02): Allow either "Son" or "So" as abbreviated name for Sunday in de_DE locale.
...
* testsuite/22_locale/time_put/put/char/2.cc (test_02): Allow either
"Son" or "So" as abbreviated name for Sunday in de_DE locale.
* testsuite/22_locale/time_put/put/wchar_t/2.cc (test_02): Likewise.
From-SVN: r71849
2003-09-27 03:28:15 +00:00
GCC Administrator
07a6b250e7
Daily bump.
...
From-SVN: r71846
2003-09-27 00:16:06 +00:00
Brad Spencer
2d07c3f562
10132-1.cc: Explicitly qualify exceptions.
...
2003-09-26 Brad Spencer <spencer@infointeractive.com>
* testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc:
Explicitly qualify exceptions.
* testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Same.
* testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same.
* testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
* testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same.
From-SVN: r71832
2003-09-26 20:20:55 +00:00
Paolo Carlini
91675f9d25
re PR libstdc++/12352 (Exception safety problems in src/localename.cc)
...
2003-09-25 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/12352
* src/localename.cc (locale::_Impl::_Impl(const _Impl&,
size_t)): Don't leak if memory allocations for _M_facets,
_M_caches, and _M_names fail.
(locale::_Impl::_Impl(const char*, size_t)): Ditto.
(locale::_Impl::_M_replace_categories(const _Impl*,
category)): Ditto.
(locale::_Impl::_M_install_facet(const locale::id*,
const facet*)): Ditto.
* include/bits/locale_classes.h (locale::locale(const locale&,
_Facet*)): Don't leak memory.
* testsuite/22_locale/locale/cons/12352.cc: New, from the PR.
* src/localename.cc (locale::_Impl::_Impl(facet**, size_t,
bool)): Qualify with std:: strcpy, tweak.
* include/bits/locale_classes.h
(locale::_Impl::_M_check_same_name): Qualify strcmp.
From-SVN: r71808
2003-09-26 00:22:01 +00:00
GCC Administrator
81a1dd1872
Daily bump.
...
From-SVN: r71806
2003-09-26 00:16:06 +00:00
Benjamin Kosnik
775ee48ed2
[multiple changes]
...
2003-09-25 Brad Spencer <spencer@infointeractive.com>
PR libstdc++/6072
* acinclude.m4: Split out checks for vfwscanf, vswscanf, vwscanf,
wcstof, iswblank.
* aclocal.m4: Regenerate.
* config.h.in: Regenerate.
* configure: Regenerate.
* crossconfig.m4: Add in wchar_t bits for solaris crosses.
* config/io/basic_file_stdio.cc: Guard unistd.h.
* include/c_compatibility/wchar.h: Guard extra wchar_t functionality.
* include/c_std/std_cwchar.h: Same.
* include/c_std/std_cwctype.h: Same.
2003-09-25 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/11065
* config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is): Fix.
* config/locale/generic/ctype_members.cc: Same.
* testsuite/22_locale/ctype/is/char/1.cc: Initialize mask.
* testsuite/22_locale/ctype/is/wchar_t/1.cc: Same.
* config/os/generic/ctype_inline.h: Update.
From-SVN: r71798
2003-09-25 21:32:14 +00:00
Brad Spencer
2b1be54b96
re PR c++/6072 (3.2 g++ testsuite breakage on cygwin)
...
2003-09-25 Brad Spencer <spencer@infointeractive.com>
PR libstdc++/6072
* acinclude.m4:
* aclocal.m4: Regenerate.
* config.h.in: Regenerate.
* configure: Regenerate.
* crossconfig.m4: Add in wchar_t bits for solaris crosses.
* config/io/basic_file_stdio.cc: Guard unistd.h.
* include/c_compatibility/wchar.h: Guard extra wchar_t functionality.
* include/c_std/std_cwchar.h: Same.
* include/c_std/std_cwctype.h: Same.
From-SVN: r71795
2003-09-25 20:30:20 +00:00
Benjamin Kosnik
465ad0c712
ctype_members.cc (ctype<wchar_t>::do_is): Fix.
...
2003-09-25 Benjamin Kosnik <bkoz@redhat.com>
* config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is): Fix.
* config/locale/generic/ctype_members.cc: Same.
* testsuite/22_locale/ctype/is/char/1.cc: Initialize mask.
* testsuite/22_locale/ctype/is/wchar_t/1.cc: Same.
* config/os/generic/ctype_inline.h: Update.
From-SVN: r71780
2003-09-25 16:37:24 +00:00
Ulrich Weigand
7b865c3637
Makefile.am (version_dep): New variable.
...
* src/Makefile.am (version_dep): New variable.
(libstdc___la_DEPENDENCIES): Use it to add dependency on
libstdc++-symbol.ver only when using symbol versioning.
* src/Makefile.in: Regenerate.
From-SVN: r71772
2003-09-25 12:56:10 +00:00
GCC Administrator
3b6fdb2fa0
Daily bump.
...
From-SVN: r71746
2003-09-25 00:16:06 +00:00
GCC Administrator
3eaf1216b9
Daily bump.
...
From-SVN: r71706
2003-09-24 00:16:08 +00:00
Benjamin Kosnik
11f10e6b1f
locale_facets.tcc: Tweak to avoid warnings.
...
2003-09-23 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.tcc: Tweak to avoid warnings.
* testsuite/testsuite_hooks.h: Same.
* testsuite/*/*.cc: Same.
From-SVN: r71693
2003-09-23 20:03:30 +00:00
GCC Administrator
2f2846abe7
Daily bump.
...
From-SVN: r71671
2003-09-23 00:16:07 +00:00
Petur Runolfsson
89ec0c4ba6
istream.tcc (basic_istream::read, [...]): Avoid redundant setstate(failbit) calls when sentry::operator bool() returns false.
...
2003-09-22 Petur Runolfsson <peturr02@ru.is>
* include/bits/istream.tcc (basic_istream::read,
basic_istream::readsome, basic_istream::putback,
basic_istream::unget, operator>>(basic_istream, CharT)):
Avoid redundant setstate(failbit) calls when sentry::operator bool()
returns false.
From-SVN: r71662
2003-09-22 18:29:56 +00:00
Carlo Wood
dc25fbc79b
re PR libstdc++/12365 (include/g++/bits/demangle.h:155: warning: unused parameter 'cv_qualifier')
...
2003-09-22 Carlo Wood <carlo@alinoe.com>
PR libstdc++/12365
* include/bits/demangle.h (qualifier(int, cv_qualifier_nt,
char const*, int, int)): Remove unused identifier
cv_qualifier for overloaded constructor.
From-SVN: r71653
2003-09-22 14:39:16 +00:00
GCC Administrator
0f7fcd6a40
Daily bump.
...
From-SVN: r71638
2003-09-22 00:16:08 +00:00
GCC Administrator
5f0ccd0b63
Daily bump.
...
From-SVN: r71615
2003-09-21 00:16:07 +00:00
GCC Administrator
f55f60a5ea
Daily bump.
...
From-SVN: r71595
2003-09-20 00:16:06 +00:00
GCC Administrator
7f7de61bde
Daily bump.
...
From-SVN: r71552
2003-09-19 00:16:07 +00:00
Benjamin Kosnik
b2bc33399b
re PR libstdc++/11504 (-Wcast-qual vs. stl_tree)
...
2003-09-18 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/11504
* acinclude.m4 (GLIBCXX_EXPORT_FLAGS): Add -Wcast-qual to
WARN_FLAGS, remove -Wno-format.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r71523
2003-09-18 14:27:19 +00:00
Petur Runolfsson
0b5ce4f15c
basic_file_stdio.cc (sys_getc, sys_ungetc): Delete.
...
2003-09-18 Petur Runolfsson <peturr02@ru.is>
* config/io/basic_file_stdio.cc (sys_getc, sys_ungetc): Delete.
* config/io/basic_file_stdio.h: Same.
* include/std/std_fstream.h (__ctype_type): Delete.
* include/std/std_streambuf.h (__ctype_type, __state_type): Delete.
From-SVN: r71520
2003-09-18 14:02:46 +00:00
GCC Administrator
3b51279d9e
Daily bump.
...
From-SVN: r71493
2003-09-18 00:16:06 +00:00
Benjamin Kosnik
43892f8cea
re PR libstdc++/12239 (Compile Failure)
...
2003-09-17 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/12239
* configure.host (abi_baseline_pair): Error out on solaris2
configurations without a minor version number.
From-SVN: r71476
2003-09-17 20:28:07 +00:00
GCC Administrator
2339fbfdca
Daily bump.
...
From-SVN: r71448
2003-09-17 00:16:08 +00:00
GCC Administrator
02dcfdcc6d
Daily bump.
...
From-SVN: r71418
2003-09-16 00:16:06 +00:00
GCC Administrator
bd12da498d
Daily bump.
...
From-SVN: r71390
2003-09-15 00:16:06 +00:00
GCC Administrator
3428576c06
Daily bump.
...
From-SVN: r71366
2003-09-14 00:16:09 +00:00
Phil Edwards
4bc8ae2387
run_doxygen: Clear GENERATE_TAGFILE entirely if man pages are on.
...
2003-09-13 Phil Edwards <phil@codesourcery.com>
* docs/doxygen/run_doxygen: Clear GENERATE_TAGFILE entirely
if man pages are on.
* docs/doxygen/user.cfg.in: And here.
From-SVN: r71363
2003-09-13 20:58:27 +00:00
GCC Administrator
185c3caab1
Daily bump.
...
From-SVN: r71349
2003-09-13 00:16:08 +00:00
GCC Administrator
e4bee82f89
Daily bump.
...
From-SVN: r71325
2003-09-12 00:16:07 +00:00
Daniel Jacobowitz
dbc66058f0
re PR libstdc++/12189 (abi_check fails to build)
...
PR libstdc++/12189
* acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Don't build
abi_check if cross compiling.
* aclocal.m4: Regenerated.
* configure: Regenerated.
Co-Authored-By: Andreas Jaeger <aj@suse.de>
From-SVN: r71291
2003-09-11 03:11:31 +00:00
GCC Administrator
6b657b2e09
Daily bump.
...
From-SVN: r71287
2003-09-11 00:16:07 +00:00