GCC Administrator
db16cbb9a4
Daily bump.
...
From-SVN: r55008
2002-06-26 07:17:54 +00:00
Benjamin Kosnik
72ea9226fb
stl_alloc.h: Additional formatting.
...
2002-06-25 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/stl_alloc.h: Additional formatting.
From-SVN: r54990
2002-06-25 16:45:01 +00:00
GCC Administrator
69f43fb54a
Daily bump.
...
From-SVN: r54983
2002-06-25 07:17:55 +00:00
Phil Edwards
2c35c7be14
stl_alloc.h: Reformat as per C++STYLE.
...
2002-06-24 Phil Edwards <pme@gcc.gnu.org>
* include/bits/stl_alloc.h: Reformat as per C++STYLE.
From-SVN: r54949
2002-06-24 08:07:05 +00:00
GCC Administrator
6f68de5b29
Daily bump.
...
From-SVN: r54948
2002-06-24 07:23:01 +00:00
GCC Administrator
3bfb9a0be1
Daily bump.
...
From-SVN: r54923
2002-06-23 07:23:40 +00:00
GCC Administrator
45c64f4fef
Daily bump.
...
From-SVN: r54905
2002-06-22 07:18:21 +00:00
Phil Edwards
224a45d026
stl_map.h, [...]: Reformat and complete doxygenation.
...
2002-06-21 Phil Edwards <pme@gcc.gnu.org>
* include/bits/stl_map.h, include/bits/stl_multimap.h,
include/bits/stl_queue.h, include/bits/stl_stack.h: Reformat and
complete doxygenation.
* include/bits/boost_concept_check.h: Minor comment.
From-SVN: r54897
2002-06-22 03:03:56 +00:00
Benjamin Kosnik
8081da07e5
c_compatibility: New.
...
2002-06-21 Benjamin Kosnik <bkoz@redhat.com>
* include/c_compatibility: New.
* include/c_compatibility/assert.h: New.
* include/c_compatibility/ctype.h: New.
* include/c_compatibility/errno.h: New.
* include/c_compatibility/float.h: New.
* include/c_compatibility/iso646.h: New.
* include/c_compatibility/limits.h: New.
* include/c_compatibility/locale.h: New.
* include/c_compatibility/math.h: New.
* include/c_compatibility/setjmp.h: New.
* include/c_compatibility/signal.h: New.
* include/c_compatibility/stdarg.h: New.
* include/c_compatibility/stddef.h: New.
* include/c_compatibility/stdio.h: New.
* include/c_compatibility/stdlib.h: New.
* include/c_compatibility/string.h: New.
* include/c_compatibility/time.h: New.
* include/c_compatibility/wchar.h: New.
* include/c_compatibility/wctype.h: New.
* include/c/std_cerrno.h: Get out of the way... define errno.
* include/c/std_cmath.h: Add abs, modf overloads.
Undefine C99 isms. Still not sure how to deal with this sanely.
* include/c/std_csetjmp.h: Tweak.
* include/c/std_cwchar.h: Include cstddef for size_t.
* include/c_std/std_cmath.h: Remove extra function.
Pendantic std usage in testsuites.
* testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t
with std.
* testsuite/17_intro/header_cwchar.cc: Tweak.
* testsuite/22_locale/codecvt_members_char_char.cc (test03): Use
std::setlocale.
* testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same.
* testsuite/22_locale/ctype_to_char.cc (test05): Same.
* testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same.
* testsuite/22_locale/ctype_is_char.cc (test05): Same.
* testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same.
* testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same.
* testsuite/22_locale/time_get_members_char.cc (test08): Same.
* testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same.
* testsuite/22_locale/time_put_members_char.cc (test04): Same.
* testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same.
* testsuite/22_locale/num_put_members_char.cc (test04): Same.
* testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same.
* testsuite/22_locale/numpunct_members_char.cc (test03): Same.
* testsuite/22_locale/num_get_members_wchar_t.cc: Same.
* testsuite/22_locale/num_get_members_char.cc: Same.
* testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same.
* testsuite/22_locale/money_put_members_char.cc (test07): Same.
* testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same.
* testsuite/22_locale/moneypunct_members_char.cc (test03): Same.
* testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same.
* testsuite/22_locale/money_get_members_char.cc (test08): Same.
* testsuite/22_locale/messages_members_char.cc (test03): Same.
* testsuite/22_locale/collate_members_wchar_t.cc (test04): Same.
* testsuite/22_locale/collate_members_char.cc (test04): Same.
* testsuite/26_numerics/fabs_inline.cc: Use std::printf.
* testsuite/27_io/istream_seeks.cc (test02): Qualify abort.
* testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol.
From-SVN: r54891
2002-06-21 20:21:03 +00:00
GCC Administrator
0eda5d3a1b
Daily bump.
...
From-SVN: r54877
2002-06-21 07:40:10 +00:00
Benjamin Kosnik
e01c9849c9
Makefile.am: Add rules.
...
2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
* include/Makefile.am: Add rules.
* include/Makefile.in: Regenerate.
* acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* configure.target (c_model, c_compatibility): Add.
* libsupc++/Makefile.am (c_sources): New.
(libsupc___la_SOURCES): Add c_sources.
(LTCOMPILE): Remove INCLUDES.
(GCC_INCLUDES): New.
(C_COMPILE): New, like COMPILE but without INCLUDES.
(cxa_demangle.o): Use C_COMPILE.
(dyn-string.o): Use C_COMPILE.
* include/c/std_cstdarg.h: Define __need___va_list.
* include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t,
need_NULL, need_offsetof.
From-SVN: r54849
2002-06-20 19:08:42 +00:00
GCC Administrator
3b4008995c
Daily bump.
...
From-SVN: r54820
2002-06-20 07:27:58 +00:00
Benjamin Kosnik
93b855862a
std_cwchar.h: Guard.
...
2002-06-18 Benjamin Kosnik <bkoz@redhat.com>
* include/c/std_cwchar.h: Guard. Add mbstate_t bits.
* include/c/std_cwctype.h: Guard.
* libsupc++/eh_alloc.cc: Tweak include order.
* libsupc++/pure.cc: Use cstdio.
* libsupc++/new_op.cc: Remove malloc forward declaration, as
cstdlib brings it in. Use std::malloc.
* src/Makefile.am (sources): Remove cmath.cc.
* src/Makefile.in: Regenerate.
* src/cmath.cc: Remove.
From-SVN: r54782
2002-06-19 15:19:53 +00:00
GCC Administrator
00cc20a549
Daily bump.
...
From-SVN: r54776
2002-06-19 07:19:42 +00:00
GCC Administrator
d3beaf0a30
Daily bump.
...
From-SVN: r54737
2002-06-18 07:37:39 +00:00
GCC Administrator
9d5feb9bc9
Daily bump.
...
From-SVN: r54700
2002-06-17 07:37:18 +00:00
Phil Edwards
4df6abc6b3
TODO: Update.
...
2002-06-16 Phil Edwards <pme@gcc.gnu.org>
* docs/doxygen/TODO: Update.
* docs/doxygen/tables.html: Uncomment magical middle column.
* docs/doxygen/user.cfg.in: Kludge to ignore function-like macros.
* include/bits/stl_queue.h: Doxygenate and reformat.
* include/bits/ios_base.h, include/std/std_streambuf.h: Add comment
for deprecated names required by the standard.
From-SVN: r54666
2002-06-16 11:29:53 +00:00
GCC Administrator
77bb9994b8
Daily bump.
...
From-SVN: r54664
2002-06-16 07:33:33 +00:00
GCC Administrator
2313d59405
Daily bump.
...
From-SVN: r54642
2002-06-15 07:17:26 +00:00
GCC Administrator
c413fdc4d2
Daily bump.
...
From-SVN: r54610
2002-06-14 07:17:41 +00:00
GCC Administrator
e4c3fb49fd
Daily bump.
...
From-SVN: r54578
2002-06-13 07:17:30 +00:00
Phil Edwards
83144cfcfa
Makefile.am: Add new files.
...
2002-06-12 Phil Edwards <pme@gcc.gnu.org>
* include/Makefile.am: Add new files.
* include/Makefile.in: Regenerate.
* include/bits/stl_deque.h, include/bits/stl_list.h,
include/bits/stl_vector.h: Clean up, reformat. Move definitions...
* include/bits/deque.tcc, include/bits/list.tcc,
include/bits/vector.tcc: ...to here. New files.
* include/ext/stl_hashtable.h: Inclide correct full headers.
* include/std/std_deque.h: Include .tcc files for now.
* include/std/std_list.h: Likewise.
* include/std/std_vector.h: Likewise.
From-SVN: r54562
2002-06-12 22:07:53 +00:00
GCC Administrator
0774918c95
Daily bump.
...
From-SVN: r54550
2002-06-12 07:18:32 +00:00
GCC Administrator
f5f35f6a37
Daily bump.
...
From-SVN: r54492
2002-06-11 07:17:57 +00:00
GCC Administrator
1e4b0830e2
Daily bump.
...
From-SVN: r54438
2002-06-10 07:23:14 +00:00
GCC Administrator
739dd3dd83
Daily bump.
...
From-SVN: r54404
2002-06-09 07:20:22 +00:00
Benjamin Kosnik
497e42fdf4
[multiple changes]
...
2002-06-08 Paolo Carlini <pcarlini@unitus.it>
* testsuite/backwards/strstream_members.cc: New.
2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
* include/backwards/strstream: Format.
* src/strstream.cc: Format.
2002-06-08 Andreas Schwab <schwab@suse.de>
* src/strstream.cc (strstreambuf::overflow): Set _M_buf,
_M_buf_size and _M_buf_size_opt to the new buffer and size.
From-SVN: r54375
2002-06-08 15:14:56 +00:00
GCC Administrator
2275e1a80b
Daily bump.
...
From-SVN: r54367
2002-06-08 07:17:41 +00:00
Steve Ellcey
3522a91b80
locale-inst.cc (__codecvt_abstract_base): Put inside _GLIBCPP_USE_WCHAR_T ifdef.
...
* src/locale-inst.cc (__codecvt_abstract_base):
Put inside _GLIBCPP_USE_WCHAR_T ifdef.
* include/bits/istream.tcc (basic_istream): Ditto.
(ws) Ditto.
(operator>>) Ditto.
* include/bits/ostream.tcc (basic_ostream): Ditto.
(endl): Ditto.
(ends): Ditto.
(flush): Ditto.
(operator<<): Ditto.
From-SVN: r54351
2002-06-07 22:06:38 +00:00
GCC Administrator
255d3c7028
Daily bump.
...
From-SVN: r54336
2002-06-07 07:17:30 +00:00
Loren J. Rittle
32e7bd5b88
Update last commit.
...
From-SVN: r54311
2002-06-06 07:43:09 +00:00
Loren J. Rittle
8b5fd4691d
Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.
...
* src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.
* include/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
* testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
* src/Makefile.in: Regenerate (explicitly with --cygnus option).
* testsuite/Makefile.in: Likewise.
From-SVN: r54310
2002-06-06 07:32:57 +00:00
GCC Administrator
fcde6cbfe2
Daily bump.
...
From-SVN: r54309
2002-06-06 07:21:30 +00:00
GCC Administrator
c30bb47bd7
Daily bump.
...
From-SVN: r54278
2002-06-05 07:25:55 +00:00
Paolo Carlini
05261e700c
2002-06-04 Paolo Carlini <pcarlini@unitus.it>
...
Gaby Dos Reis <gdr@codesourcery.com>
* include/bits/basic_string.tcc
(basic_string::_S_construct(forward_iterator_tag):
Fix typo in null pointer check.
* testsuite/21_strings/ctor_copy_dtor.cc: Add test04.
Co-Authored-By: Gabriel Dos Reis <gdr@codesourcery.com>
From-SVN: r54255
2002-06-04 18:20:38 +00:00
GCC Administrator
8884cbb2c8
Daily bump.
...
From-SVN: r54237
2002-06-04 07:18:23 +00:00
GCC Administrator
6d38783a93
Daily bump.
...
From-SVN: r54211
2002-06-03 07:17:48 +00:00
Phil Edwards
c619473bdf
stl_bvector.h (swap(_Bit_reference,_Bit_reference)): Move/rename...
...
2002-06-03 Phil Edwards <pme@gcc.gnu.org>
* include/bits/stl_bvector.h (swap(_Bit_reference,_Bit_reference)):
Move/rename...
(vector<bool>::swap(reference,reference)): ...to this.
From-SVN: r54201
2002-06-03 05:03:50 +00:00
Phil Edwards
7f2e0dffc6
TODO: Update.
...
2002-06-03 Phil Edwards <pme@gcc.gnu.org>
* docs/doxygen/TODO: Update.
* docs/doxygen/user.cfg.in (SORT_MEMBER_DOCS): Set to off, now that
some class members are in 14882 order.
* docs/html/ext/howto.html: 3.1 is in the past now, not the future.
* include/std/std_bitset.h: Update comment.
* src/bitset.cc: Update comments, clean up spacing.
* src/Makefile.am (sources): Alphabetize for convenience.
* src/Makefile.in: Regenerate.
From-SVN: r54200
2002-06-03 04:45:03 +00:00
Phil Edwards
5cb6369de1
stl_deque.h, [...]: Reformat to (mostly) match C++STYLE.
...
2002-06-03 Phil Edwards <pme@gcc.gnu.org>
* include/bits/stl_deque.h, include/bits/stl_list.h,
include/bits/stl_vector.h: Reformat to (mostly) match C++STYLE.
Reorder to match 14882. Doxygen blocks for all public members.
From-SVN: r54198
2002-06-03 04:34:19 +00:00
GCC Administrator
1197e11f3c
Daily bump.
...
From-SVN: r54162
2002-06-02 07:26:40 +00:00
GCC Administrator
d6ee5ebf93
Daily bump.
...
From-SVN: r54141
2002-06-01 07:17:00 +00:00
Marcus Meissner
6c8ce02fcd
stl_bvector.h: Use UL suffix for unsigned longs.
...
2002-05-31 Marcus Meissner <meissner@suse.de>
* include/bits/stl_bvector.h: Use UL suffix for unsigned longs.
* testsuite/23_containers/vector_bool.cc (test02): New test.
From-SVN: r54128
2002-06-01 00:48:21 +00:00
GCC Administrator
dbc032c5cd
Daily bump.
...
From-SVN: r54095
2002-05-31 07:18:14 +00:00
GCC Administrator
128977c9d0
Daily bump.
...
From-SVN: r54047
2002-05-30 07:18:19 +00:00
GCC Administrator
9a214a66ab
Daily bump.
...
From-SVN: r53986
2002-05-29 07:19:24 +00:00
GCC Administrator
62b1429209
Daily bump.
...
From-SVN: r53951
2002-05-28 07:21:59 +00:00
Benjamin Kosnik
248a9163e1
misc-inst.cc: Define unnecessary algorithm instantiations.
...
c
2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
* src/misc-inst.cc: Define unnecessary algorithm
instantiations. Break apart instantiations into groupings below.
* src/fstream-inst.cc: New.
* src/io-inst.cc: New.
* src/istream-inst.cc: New.
* src/ostream-inst.cc: New.
* src/streambuf-inst.cc: New.
* src/sstream-inst.cc: New.
* src/Makefile.am (sources): Add files.
* src/Makefile.in: Regenerate.
* acinclude.m4: Work around automake 1.4-p5 bug, change
AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
From-SVN: r53930
2002-05-27 14:55:57 +00:00
GCC Administrator
f34d240e3d
Daily bump.
...
From-SVN: r53917
2002-05-27 07:18:02 +00:00
GCC Administrator
cc48aa3f93
Daily bump.
...
From-SVN: r53890
2002-05-26 07:17:49 +00:00
GCC Administrator
5e56e70a02
Daily bump.
...
From-SVN: r53868
2002-05-25 07:17:13 +00:00
Phil Edwards
bb12c8093d
std_bitset.h (_Base_biteset<0>): New specialization.
...
2002-05-24 Phil Edwards <pme@gcc.gnu.org>
libstdc++/6282
* include/std/std_bitset.h (_Base_biteset<0>): New specialization.
(operator>>): If nothing was extracted, don't fail in the
zero-length case.
* testsuite/23_containers/bitset_ctor.cc (test02): New test.
From-SVN: r53844
2002-05-24 18:16:00 +00:00
Benjamin Kosnik
52f02d949e
re PR libstdc++/6750 (ofstream incorrectly sets failbit (severe regression))
...
2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/6750
* include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
for empty string literal.
(ostream::operator<<(const _CharT*)): Same.
(ostream<char>::operator<<(const char*)): Same.
(ostream<char>::operator<<(streambuf*)): Same.
* testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
* testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
From-SVN: r53839
2002-05-24 15:50:51 +00:00
GCC Administrator
09cc7e1fa6
Daily bump.
...
From-SVN: r53826
2002-05-24 07:17:51 +00:00
GCC Administrator
ba081f92de
Daily bump.
...
From-SVN: r53771
2002-05-23 07:18:39 +00:00
GCC Administrator
3396b5c88e
Daily bump.
...
From-SVN: r53730
2002-05-22 07:19:32 +00:00
Phil Edwards
d476dcad7f
stl_pair.h: Tweak comment markup.
...
2002-05-21 Phil Edwards <pme@gcc.gnu.org>
* include/bits/stl_pair.h: Tweak comment markup.
From-SVN: r53700
2002-05-21 21:09:11 +00:00
Phil Edwards
844f9ba6ad
stdio_filebuf.h: Add header guards.
...
2002-05-21 Phil Edwards <pme@gcc.gnu.org>
* include/ext/stdio_filebuf.h: Add header guards. Doxygenate.
From-SVN: r53699
2002-05-21 20:53:36 +00:00
Phil Edwards
e4c62b265d
stl_vector.h: Reformat to follow C++STYLE.
...
2002-05-21 Phil Edwards <pme@gcc.gnu.org>
* include/bits/stl_vector.h: Reformat to follow C++STYLE.
Doxygenate all public members. Reorder to follow 14882.
(vector::push_back(void)): Remove previously-deprecated fn.
(vector::insert(iterator), vector::_M_insert_aux(iterator)):
Deprecate for removal in 3.3.
From-SVN: r53696
2002-05-21 20:41:06 +00:00
GCC Administrator
74e5c1f4ec
Daily bump.
...
From-SVN: r53683
2002-05-21 07:21:41 +00:00
GCC Administrator
8b46e4a5d4
Daily bump.
...
From-SVN: r53653
2002-05-20 07:17:25 +00:00
GCC Administrator
ae6ac996cc
Daily bump.
...
From-SVN: r53614
2002-05-19 07:21:50 +00:00
Paolo Carlini
770dc0c5b9
re PR libstdc++/6503 ((Deque) Iterators are not typesafe)
...
2002-05-18 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/6503
* include/bits/stl_deque.h (_Deque_iterator::operator==,
operator!=, operator<, operator>, operator>=, operator<=):
Make non-member functions, to allow comparing const and
non-const iterators in any order.
* testsuite/23_containers/deque_operators.cc: New testfile.
From-SVN: r53590
2002-05-18 15:10:24 +00:00
GCC Administrator
c810846eb0
Daily bump.
...
From-SVN: r53581
2002-05-18 07:16:50 +00:00
GCC Administrator
1b8a680f76
Daily bump.
...
From-SVN: r53548
2002-05-17 07:19:45 +00:00
GCC Administrator
2605d809d9
Daily bump.
...
From-SVN: r53514
2002-05-16 07:18:07 +00:00
Loren J. Rittle
6c784d9959
c++config (__USE_MALLOC): Report case where the user improperly defined it on the command line.
...
libstdc++/6641
* include/bits/c++config (__USE_MALLOC): Report case where
the user improperly defined it on the command line.
From-SVN: r53494
2002-05-15 22:32:25 +00:00
Benjamin Kosnik
7bd9b6d491
re PR libstdc++/6518 (???)
...
2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/6518
* include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
for null case.
(ostream::operator<<(const _CharT*)): Same.
(ostream<char>::operator<<(const char*)): Same.
* testsuite/27_io/ostream_inserter_char.cc (test07): Add test.
From-SVN: r53489
2002-05-15 14:38:30 +00:00
Paolo Carlini
bf6f276b01
re PR libstdc++/6648 (Problems with cin.getline (interactive))
...
2002-05-15 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/6648
* include/bits/istream.tcc (istream::getline, ignore):
Upon __idelim (__delim) call sbumpc() not snextc().
* testsuite/27_io/narrow_stream_objects.cc:
Add test08 and test09.
From-SVN: r53481
2002-05-15 10:27:29 +00:00
GCC Administrator
6e47edcefe
Daily bump.
...
From-SVN: r53476
2002-05-15 07:18:42 +00:00
GCC Administrator
3b7dcffac9
Daily bump.
...
From-SVN: r53447
2002-05-14 07:17:42 +00:00
Benjamin Kosnik
540f5c9b2d
2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
...
* include/bits/fstream.tcc
(basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
try/catch blocks.
* src/localename.cc (locale::_Impl::_M_install_facet): Same.
* docs/html/install.html: Tweak, add bits about required locales
for the 22_locale tests when using the gnu model.
* testsuite/27_io/istream_sentry.cc: Tweak.
From-SVN: r53423
2002-05-13 13:58:00 +00:00
GCC Administrator
a1cb2d640d
Daily bump.
...
From-SVN: r53415
2002-05-13 07:16:56 +00:00
GCC Administrator
f0d61a79be
Daily bump.
...
From-SVN: r53396
2002-05-12 07:17:34 +00:00
GCC Administrator
c9c2cb7c99
Daily bump.
...
From-SVN: r53379
2002-05-11 07:16:43 +00:00
GCC Administrator
fbdb9fcec9
Daily bump.
...
From-SVN: r53358
2002-05-10 07:17:05 +00:00
GCC Administrator
dccfe3d644
Daily bump.
...
From-SVN: r53320
2002-05-09 07:16:43 +00:00
GCC Administrator
744015dc2f
Daily bump.
...
From-SVN: r53283
2002-05-08 07:17:04 +00:00
GCC Administrator
ac8c66f3ce
Daily bump.
...
From-SVN: r53253
2002-05-07 07:17:44 +00:00
GCC Administrator
aab0ae9150
Daily bump.
...
From-SVN: r53208
2002-05-06 07:16:59 +00:00
GCC Administrator
7750f79061
Daily bump.
...
From-SVN: r53175
2002-05-05 07:17:09 +00:00
Paolo Carlini
6d030676cc
[multiple changes]
...
2002-05-04 Benjamin Kosnik <bkoz@redhat.com>
Paolo Carlini <pcarlini@unitus.it>
* testsuite/22_locale/num_put_members_char.cc: Add test04(),
testing for the locale_facets.tcc entry of the previous commit.
* testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
2002-05-04 Takeshi Kobayakawa <tskoba@mte.biglobe.ne.jp>
* config/locale/generic/c_locale.cc
(__convert_to_v(float, double, long double)):
Fix the temporary switch to the "C" locale, saving and
restoring in the proper way the current locale.
* config/locale/generic/time_members.cc
(__timepunct<char, wchar_t>::_M_put): Likewise.
* config/locale/gnu/messages_members.cc
(messages<char>::do_get): Likewise.
* config/locale/gnu/messages_members.h
(messages<_CharT>::do_get): Likewise.
* config/locale/gnu/time_members.cc
(__timepunct<char, wchar_t>::_M_put): Likewise.
* include/bits/locale_facets.tcc (__convert_from_v): Likewise.
From-SVN: r53167
2002-05-04 21:33:19 +00:00
GCC Administrator
ac5ec76848
Daily bump.
...
From-SVN: r53151
2002-05-04 07:18:20 +00:00
Benjamin Kosnik
2fd819efe5
re PR libstdc++/6549 (std::getline(std::cin,s) work wrong at FreeBSD 4.5)
...
2002-05-03 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/6549.
* include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
* testsuite/27_io/narrow_stream_objects.cc (test07): Add.
From-SVN: r53107
2002-05-03 18:22:58 +00:00
GCC Administrator
e2f31fa203
Daily bump.
...
From-SVN: r53081
2002-05-03 07:17:19 +00:00
GCC Administrator
fd8ec1d8b9
Daily bump.
...
From-SVN: r53038
2002-05-02 07:17:16 +00:00
Phil Edwards
e92a4045ac
std_bitset.h: Fix doxygen comments.
...
2002-05-01 Phil Edwards <pme@gcc.gnu.org>
* include/std/std_bitset.h: Fix doxygen comments.
* docs/html/documentation.html: Minor tweaks for 3.1.
* docs/html/27_io/howto.html: Likewise.
* docs/html/ext/howto.html: Likewise, mention stdio_filebuf.
* docs/html/faq/index.html: Likewise.
* docs/html/faq/index.txt: Regenerated.
From-SVN: r53025
2002-05-01 22:57:59 +00:00
Benjamin Kosnik
9875ea057d
re PR libstdc++/6533 (libstdc++ broken on unsigned char platforms)
...
2002-05-01 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/6533
* include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
(istreambuf_iterator::equal): Use it.
(istreambuf_iterator::operator*): Use it.
From-SVN: r53024
2002-05-01 22:40:27 +00:00
GCC Administrator
0fa489890f
Daily bump.
...
From-SVN: r52992
2002-05-01 07:17:15 +00:00
Paolo Carlini
072a15d99b
re PR libstdc++/6513 (sigfaults on trivial code)
...
2002-05-01 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/6513
* include/bits/stl_uninitialized.h
(uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
Fix typo in 2001-07-17 commit: typedef _ValueType to
iterator_traits<_ForwardIter> not <_InputIter>.
* testsuite/23_containers/vector_ctor.cc: Add test04.
From-SVN: r52985
2002-05-01 02:17:35 +00:00
John David Anglin
888d5eaa62
re PR libstdc++/6501 (ctype_noninline.h:45: `__SB_masks' undeclared)
...
PR libstdc++/6501
* include/c_std/std_cctype.h: Include bits/c++config.h.
* config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
From-SVN: r52970
2002-04-30 19:50:29 +00:00
Benjamin Kosnik
5cdd50a591
stdio_filebuf.h: New file.
...
2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
* include/ext/stdio_filebuf.h: New file.
* include/ext/enc_filebuf.h: New file.
* config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
* config/io/basic_file_stdio.cc: Same.
* include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
Remove _M_unbuf hacks.
(filebuf::_M_destroy_internal_buffer): Same.
(filebuf::filebuf(cfile, openmode, int_type): Remove definition.
(filebuf::fd): Remove.
* include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
(filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
(filebuf::fd): Remove.
* src/ios.cc (ios_base::_S_ios_create): Change to use specialized
filebufs.
(ios_base::_S_ios_destroy): Same.
* src/misc-inst.cc (file_filebuf<char>): Add instantiation.
* include/Makefile.am (ext_headers): Add ext_filebuf.h,
stdio_filebuf.h. * include/Makefile.in: Regenerate.
From-SVN: r52961
2002-04-30 19:04:43 +00:00
Benjamin Kosnik
5c352a47a6
re PR libstdc++/5280 (Problems with named locales and iostreams (gnulocale))
...
2002-04-29 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/5280
* include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
Check for eof.
* include/bits/streambuf_iterator.h: Match stream_iterator.h.
(istreambuf_iterator::operator++): Invalidate on eof.
(istreambuf_iterator::operator++(int)): Same.
(istreambuf_iterator::operator*): Same.
From-SVN: r52933
2002-04-30 07:22:11 +00:00
GCC Administrator
775450350b
Daily bump.
...
From-SVN: r52932
2002-04-30 07:17:34 +00:00
GCC Administrator
103d1bf175
Daily bump.
...
From-SVN: r52883
2002-04-29 07:17:01 +00:00
Benjamin Kosnik
d02475fdae
re PR libstdc++/5280 (Problems with named locales and iostreams (gnulocale))
...
2002-04-28 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/5280
* config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
(__basic_file::sys_ungetc): Take int.
* config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
* include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
Use sys_getc for unbuffered input.
* testsuite/27_io/narrow_stream_objects.cc (test06): New.
* src/ios.cc (_M_grow_words): Adjust error checking.
* testsuite/27_io/ios_base_storage.cc: Same.
From-SVN: r52879
2002-04-29 07:00:50 +00:00
Paolo Carlini
32c8d10081
[multiple changes]
...
2002-04-28 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
* include/ext/stl_hashtable.h: Import __iterator_category
2002-04-28 Paolo Carlini <pcarlini@unitus.it>
Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
* testsuite/ext/hash_set.cc: New testfile.
From-SVN: r52843
2002-04-28 16:21:32 +00:00
GCC Administrator
ba29591d2f
Daily bump.
...
From-SVN: r52842
2002-04-28 07:17:18 +00:00
GCC Administrator
c3a6afe78d
Daily bump.
...
From-SVN: r52831
2002-04-27 07:17:23 +00:00
Paolo Carlini
adf2e3e668
basic_string.h (replace(__pos, __n1, __s, __n2): Fix and tighten __throw_length_error check.
...
2002-04-26 Paolo Carlini <pcarlini@unitus.it>
* include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
Fix and tighten __throw_length_error check.
* testsuite/21_strings/replace.cc (test05): New.
* testsuite/21_strings/replace.cc (test02, test03, test04): Tweak.
From-SVN: r52797
2002-04-26 18:21:32 +00:00