GCC Administrator
fe50034d9c
Daily bump.
...
From-SVN: r60988
2003-01-07 08:17:26 +00:00
Benjamin Kosnik
1c26d8fd84
locale_facets.h (messages): Move ctor, dtor definitions to..
...
2003-01-06 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.h (messages): Move ctor, dtor
definitions to..
(__timepunct): Same.
* config/locale/gnu/messages_members.h (messages): Add dtor, ctor
definitions. Conditionalize for GNU systems.
* config/locale/generic/messages_members.h (messages): Add dtor, ctor
definitions.
* config/locale/gnu/time_members.h (messages): New. Add dtor, ctor
definitions. Conditionalize for GNU systems.
* config/locale/generic/time_members.h (messages): New. Add dtor, ctor
definitions.
* include/bits/localefwd.h (locale::facet::_S_c_name): Add.
* src/locale.cc: Define.
* src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool):
Use it.
* config/locale/gnu/time_members.h: Use it.
* config/locale/gnu/messages_members.h: Use it.
* config/linker-map.gnu: Add locale::facets details.
* include/Makefile.am (target_headers_extra): Add time_members.h.
* include/Makefile.in: Regenerate.
* acinclude.m4: Export CTIME_H.
* aclocal.m4: Regenerate.
* configure: Regnerate.
From-SVN: r60952
2003-01-06 21:23:00 +00:00
Paolo Carlini
87117aa2f3
re PR libstdc++/9151 (std::setprecision limited to 16 digits when outputting a double to a stream)
...
2003-01-06 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/9151
* include/bits/locale_facets.cc (num_put::_M_convert_float):
Limit __prec to digits10 + 2, not digits10 + 1, taking into
account the possibility of %{g,G} conversion specifiers
inside _S_format_float.
* testsuite/27_io/ostream_inserter_arith.cc (test06): Add.
From-SVN: r60939
2003-01-06 15:32:16 +00:00
GCC Administrator
c4fe1427a6
Daily bump.
...
From-SVN: r60931
2003-01-06 08:19:57 +00:00
GCC Administrator
5c2465500a
Daily bump.
...
From-SVN: r60909
2003-01-05 08:17:19 +00:00
GCC Administrator
0bfde48763
Daily bump.
...
From-SVN: r60877
2003-01-04 08:17:20 +00:00
GCC Administrator
d82f74dca1
Daily bump.
...
From-SVN: r60825
2003-01-03 08:19:49 +00:00
GCC Administrator
3006ff7f46
Daily bump.
...
From-SVN: r60779
2003-01-02 08:17:22 +00:00
GCC Administrator
81f61566b2
Daily bump.
...
From-SVN: r60737
2003-01-01 08:17:19 +00:00
GCC Administrator
81ea8a5d3b
Daily bump.
...
From-SVN: r60682
2002-12-31 08:17:44 +00:00
GCC Administrator
8b5d67e116
Daily bump.
...
From-SVN: r60626
2002-12-30 08:17:30 +00:00
Phil Edwards
70e12fb914
std_bitset.h: Better comments.
...
2002-12-29 Phil Edwards <pme@gcc.gnu.org>
* include/std/std_bitset.h: Better comments.
From-SVN: r60614
2002-12-30 03:58:46 +00:00
GCC Administrator
b63d28bf68
Daily bump.
...
From-SVN: r60597
2002-12-29 08:18:43 +00:00
GCC Administrator
1dd0faf394
Daily bump.
...
From-SVN: r60567
2002-12-28 08:17:42 +00:00
Mark Mitchell
43be7fe7d7
* config/locale/gnu/ctype_members.cc
...
(ctype<wchar_t>::_M_convert_to_wmask): Remove stray semicolon.
* config/locale/gnu/monetary_members.cc
(moneypunct<wchar_t, true>::_M_initialize_moneypunct): Avoid
defining classes in static_cast.
(moneypunct<wchar_t, false>::_M_initialize_moneypunct): Likewise.
* config/locale/gnu/numeric_members.cc
(numpunct<wchar_t, false>::_M_initialize_numpunct): Likewise.
* include/bits/stl_deque.h (operator-): Insert typename where
required.
* include/bits/stl_multiset.h (multiset): Remove stray semicolon.
* include/bits/stl_set.h (set): Likewise.
* include/bits/valarray_meta.h (bits/slice_array.h): Include it.
* include/std/std_fstream.h (basic_fstream::open): Use this-> to
avoid Koenig lookup.
(basic_fstream::close): Likewise.
* libsupc++/new (operator delete): Remove stray semicolon.
* libsupc++/new (operator delete[]): Likewise.
* libsupc++/tinfo.cc: Likewise.
* src/stdexcept.c (logic_error::~logic_error): Likewise.
(runtime_error::~runtime_error): Likewise.
From-SVN: r60547
2002-12-27 23:03:03 +00:00
GCC Administrator
5eeacaf296
Daily bump.
...
From-SVN: r60543
2002-12-27 08:17:28 +00:00
Phil Edwards
3bbfb3d91d
std_bitset.h (_Base_bitset::_M_do_left_shift, [...]): Expect a non-zero shift.
...
2002-12-26 Phil Edwards <pme@gcc.gnu.org>
* include/std/std_bitset.h (_Base_bitset::_M_do_left_shift,
_Base_bitset::_M_do_right_shift): Expect a non-zero shift.
(bitset::operator<<=, bitset::operator>>=): When shifting more bits
than are in the bitset, zero memory rather than segfault.
(operator>>(basic_istream,bitset): Only call setstate once, after
all work has been done.
* testsuite/23_containers/bitset_members.cc (test03): New test.
* testsuite/23_containers/bitset_shift.cc (test02): New test.
From-SVN: r60533
2002-12-27 00:03:17 +00:00
GCC Administrator
223231230e
Daily bump.
...
From-SVN: r60513
2002-12-26 08:17:39 +00:00
GCC Administrator
b07af07e75
Daily bump.
...
From-SVN: r60499
2002-12-25 08:18:10 +00:00
GCC Administrator
02aef83470
Daily bump.
...
From-SVN: r60472
2002-12-24 08:17:40 +00:00
Sylvain Pion
9536ca346b
stl_deque.h: Fix typo.
...
2002-12-20 Sylvain Pion <Sylvain.Pion@mpi-sb.mpg.de>
* include/bits/stl_deque.h: Fix typo.
* include/bits/stl_list.h: Same.
* include/bits/stl_map.h: Same.
* include/bits/stl_multimap.h: Same.
* include/bits/stl_queue.h: Same.
* include/bits/stl_stack.h: Same.
* include/bits/stl_vector.h: Same.
From-SVN: r60442
2002-12-23 17:36:24 +00:00
GCC Administrator
1df7e439e1
Daily bump.
...
From-SVN: r60430
2002-12-23 08:17:42 +00:00
GCC Administrator
c498ccffc7
Daily bump.
...
From-SVN: r60404
2002-12-22 08:18:02 +00:00
GCC Administrator
b06daadc88
Daily bump.
...
From-SVN: r60386
2002-12-21 08:17:25 +00:00
GCC Administrator
0c58a6399d
Daily bump.
...
From-SVN: r60363
2002-12-20 08:18:11 +00:00
GCC Administrator
c034372c80
Daily bump.
...
From-SVN: r60301
2002-12-19 08:18:11 +00:00
GCC Administrator
7552fc4305
Daily bump.
...
From-SVN: r60244
2002-12-18 08:17:54 +00:00
GCC Administrator
3ac036b50b
Daily bump.
...
From-SVN: r60205
2002-12-17 08:17:34 +00:00
Paolo Carlini
77bd447bb4
re PR libstdc++/8949 (numeric_limits<>::denorm_min() and is_iec559 problems.)
...
2002-12-16 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/8949
* include/std/std_limits.h
(struct numeric_limits<short>,
struct numeric_limits<unsigned short>,
struct numeric_limits<int>,
struct numeric_limits<unsigned int>,
struct numeric_limits<long>,
struct numeric_limits<unsigned long>,
struct numeric_limits<long long>,
struct numeric_limits<unsigned long long>): According
to 18.2.1.2,53 and 18.2.1.5,1 is_iec559 shall be false.
* testsuite/18_support/numeric_limits.cc: Add test04.
From-SVN: r60181
2002-12-16 19:52:37 +00:00
Benjamin Kosnik
6aa43d99a3
configure.in (GLIBCPP_ENABLE_DEBUG): Default to none.
...
2002-12-16 Benjamin Kosnik <bkoz@redhat.com>
* configure.in (GLIBCPP_ENABLE_DEBUG): Default to none.
Call GLIBCPP_ENABLE_DEBUG_FLAGS.
* acinclude.m4 (GLIBCPP_ENABLE_DEBUG): GLIBCPP_BUILD_DEBUG, new
conditional if --enable-debug is yes. Rework.
(GLIBCPP_ENABLE_DEBUG_FLAGS): New.
* aclocal.m4: Regenerate.
* libio/Makefile.am: Remove DEBUG_FLAGS.
* libio/Makefile.in: Regenerate.
* libsupc++/Makefile.am: Remove DEBUG_FLAGS.
* libsupc++/Makefile.in: Regenerate.
* docs/html/configopts.html: Add docs for --enable-debug,
--enable-debug-flags.
2002-12-16 Benjamin Kosnik <bkoz@redhat.com>
Correct dependency tracking, build warts.
* configure.in: Correct repeated AC_OUTPUT thrashing by
config-ml.in
* configure: Regenerate.
* include/Makefile.am (stamp-target): Stamp in top_builddir.
* include/Makefile.in: Regenerate.
* src/Makefile.am (codecvt_members.cc): New rule.
(collate_members.cc): Same.
(ctype_members.cc): Same.
(messages_members.cc): Same.
(monetary_members.cc): Same.
(numeric_members.cc): Same.
(time_members.cc): Same.
(c++locale.cc): Same.
(basic_file.cc): Same.
* src/Makefile.in: Regenerate.
* acinclude.m4 (CCTYPE_CHAR_CC): Remove.
(CCCODECVT_CC): Don't link, AC_SUBST.
(CCOLLATE_CC): Same.
(CCTYPE_CC): Same.
(CMESSAGES_CC): Same.
(CMONEY_CC): Same.
(CNUMERIC_CC): Same.
(CTIME_CC): Same.
(CLOCALE_CC): Same.
* aclocal.m4: Regenerate.
* src/Makefile.am (libstdc___la_LIBADD): Use top_builddir
for convenience libraries.
(version_arg): Rename linker.map to libstdc++.ver.
(libstdc___la_DEPENDENCIES): Remove linker.map, add
libstdc++-symbol.ver as a dependency.
(libstdc++-symbol.ver): Add rule.
* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Change LINKER_MAP to
SYMVER_MAP. Don't link, AC_SUBST.
* include/Makefile.am (target_headers_noinst): New.
(stamp-target): Add CLOCALE_INTERNAL_H.
* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't link
CLOCALE_INTERNAL_H, AC_SUBST.
* config/locale/gnu/c_locale.cc: Modify c++locale_internal.h
include.
* config/locale/gnu/time_members.cc: Same.
* config/locale/gnu/numeric_members.cc: Same.
* config/locale/gnu/monetary_members.cc: Same.
* config/locale/gnu/messages_members.cc: Same.
* config/locale/gnu/ctype_members.cc: Same.
* config/locale/gnu/collate_members.cc: Same.
* config/locale/gnu/codecvt_members.cc: Same.
* config/locale/generic/codecvt_members.cc: Remove.
From-SVN: r60177
2002-12-16 19:02:01 +00:00
Zack Weinberg
4977bab6ed
Merge basic-improvements-branch to trunk
...
From-SVN: r60174
2002-12-16 18:23:00 +00:00
GCC Administrator
c82fec369b
Daily bump.
...
From-SVN: r60172
2002-12-16 08:17:31 +00:00
GCC Administrator
7bd4393548
Daily bump.
...
From-SVN: r60154
2002-12-15 08:17:26 +00:00
GCC Administrator
2545fbad4e
Daily bump.
...
From-SVN: r60125
2002-12-14 08:17:21 +00:00
GCC Administrator
9d051273bd
Daily bump.
...
From-SVN: r60096
2002-12-13 08:17:16 +00:00
GCC Administrator
e588dc171f
Daily bump.
...
From-SVN: r60066
2002-12-12 08:17:18 +00:00
GCC Administrator
3cc661ed29
Daily bump.
...
From-SVN: r60030
2002-12-11 08:17:16 +00:00
GCC Administrator
db8a1d4a56
Daily bump.
...
From-SVN: r59990
2002-12-10 08:17:19 +00:00
Gabriel Dos Reis
eee9d6bb44
* include/bits/slice_array.h (slice_array<>::operator=): Fix typo.
...
From-SVN: r59983
2002-12-10 07:32:04 +00:00
GCC Administrator
e46af8eda8
Daily bump.
...
From-SVN: r59961
2002-12-09 08:17:22 +00:00
GCC Administrator
e598cc3141
Daily bump.
...
From-SVN: r59935
2002-12-08 08:17:08 +00:00
GCC Administrator
f71d0a9529
Daily bump.
...
From-SVN: r59910
2002-12-07 08:17:27 +00:00
GCC Administrator
cdb8f3ebe7
Daily bump.
...
From-SVN: r59887
2002-12-06 08:17:26 +00:00
GCC Administrator
9148659d58
Daily bump.
...
From-SVN: r59854
2002-12-05 08:17:18 +00:00
GCC Administrator
33602aec45
Daily bump.
...
From-SVN: r59807
2002-12-04 08:17:32 +00:00
GCC Administrator
67f05dcb2c
Daily bump.
...
From-SVN: r59766
2002-12-03 08:17:12 +00:00
Paolo Carlini
61b8da3733
basic_string.h (compare(const basic_string&)): Fully qualify min() with std::.
...
2002-12-02 Paolo Carlini <pcarlini@unitus.it>
* include/bits/basic_string.h (compare(const basic_string&)):
Fully qualify min() with std::.
From-SVN: r59745
2002-12-02 22:15:54 +00:00
Paolo Carlini
aa863dca8b
basic_string.tcc (basic_string::append(const basic_string&, size_type, size_type), [...]): Fully qualify min() with std::.
...
2002-12-02 Paolo Carlini <pcarlini@unitus.it>
* include/bits/basic_string.tcc
(basic_string::append(const basic_string&, size_type,
size_type), basic_string::compare(size_type, size_type,
const basic_string&), basic_string::compare(size_type,
size_type, const basic_string&, size_type, size_type),
basic_string::compare(const _CharT*), basic_string::
compare(size_type, size_type, const _CharT*),
basic_string::compare(size_type, size_type, const _CharT*,
size_type), _S_string_copy(const basic_string&, _CharT*,
typename _Alloc::size_type)): Fully qualify min() with std::.
2002-12-02 Paolo Carlini <pcarlini@unitus.it>
* include/bits/basic_string.tcc
(basic_string::_S_construct(_InIter, _InIter, const _Alloc&,
forward_iterator_tag)): Delay the declaration of __dnew,
fully qualify distance() with std::.
(basic_string::_M_replace_safe): Fully qualify distance()
with std::.
From-SVN: r59726
2002-12-02 18:53:41 +00:00
GCC Administrator
54806c1855
Daily bump.
...
From-SVN: r59712
2002-12-02 08:17:22 +00:00
GCC Administrator
a46ad9b0fb
Daily bump.
...
From-SVN: r59679
2002-12-01 08:17:11 +00:00