Paolo Carlini
031e658e58
locale_facets.tcc (money_put<>::_M_insert): Prefer basic_string::append to operator+= and a temporary.
...
2004-02-24 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (money_put<>::_M_insert):
Prefer basic_string::append to operator+= and a temporary.
From-SVN: r78360
2004-02-24 09:37:52 +00:00
Benjamin Kosnik
6f94dea785
vterminate.cc (__gnu_cxx::__verbose_terminate_handler): Only use fputs, not write.
...
2004-02-23 Benjamin Kosnik <bkoz@redhat.com>
* libsupc++/vterminate.cc (__gnu_cxx::__verbose_terminate_handler):
Only use fputs, not write.
From-SVN: r78327
2004-02-23 19:17:06 +00:00
Benjamin Kosnik
20d0a40e83
malloc_allocator.h: Add operators ==, !=.
...
2004-02-23 Benjamin Kosnik <bkoz@redhat.com>
* include/ext/malloc_allocator.h: Add operators ==, !=.
* include/ext/new_allocator.h: Add operators ==, !=.
* include/ext/mt_allocator.h (__mt_alloc::tune): New.
(__mt_alloc::_S_get_options): New.
(__mt_alloc::_S_set_options): New.
(__mt_alloc::_S_thread_key_destr): To _S_destroy_thread_key.
(__mt_alloc::_S_no_of_bins): To _S_bin_size.
Move functions out of line, simplify, format.
* src/allocator.cc: Simplify explicit instantiations.
* include/bits/allocator.h: Tweak.
From-SVN: r78315
2004-02-23 15:42:28 +00:00
Benjamin Kosnik
f263b26e17
malloc_allocator.h: Add operators ==, !=.
...
2004-02-20 Benjamin Kosnik <bkoz@redhat.com>
* include/ext/malloc_allocator.h: Add operators ==, !=.
* include/ext/new_allocator.h: Add operators ==, !=.
* include/ext/mt_allocator.h (__mt_alloc::tune): New.
(__mt_alloc::_S_get_options): New.
(__mt_alloc::_S_set_options): New.
(__mt_alloc::_S_thread_key_destr): To _S_destroy_thread_key.
(__mt_alloc::_S_no_of_bins): To _S_bin_size.
Move functions out of line, simplify, format.
* src/allocator.cc: Simplify explicit instantiations.
* include/bits/allocator.h: Tweak.
From-SVN: r78314
2004-02-23 15:41:43 +00:00
Paolo Carlini
20da06efdc
locale_facets.tcc (money_put<>::_M_insert): Restructure formatting of value component...
...
2004-02-22 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (money_put<>::_M_insert):
Restructure formatting of value component, first dealing with
the non-decimal digits; use reserve.
2004-02-22 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.h (class money_get): Inherit
from money_base too; tweak declaration of _M_extract, now
parameterized on _Intl too.
* include/bits/locale_facets.tcc (money_get<>::_M_extract):
Update definition to use the cache; call reserve on __res to
avoid multiple reallocations; fix parsing of sign component
according to 22.2.6.1.2, p3.
(money_get<>::do_get(long double&),
money_get<>::do_get(string_type&)): Update calls of _M_extract.
* src/locale-inst.cc: Add instantiations of
money_get::_M_extract<false> and money_get::_M_extract<true>.
* testsuite/22_locale/money_get/get/char/14.cc: New.
* testsuite/22_locale/money_get/get/wchar_t/14.cc: Ditto.
From-SVN: r78253
2004-02-22 11:13:27 +00:00
Mark Mitchell
afc3bb58d5
* libsupc++/vterminate.cc
...
(__gnu_cxx::__verbose_terminate_handler): Guard against recursive
calls to terminate.
* src/demangle.cc (__cxa_demangle): Wrap in try-catch block.
From-SVN: r78235
2004-02-21 20:59:26 +00:00
Mark Mitchell
e1efc7a028
testsuite_hooks.cc (__gnu_test::set_memory_limits): Do not set RLIMIT_AS on HP-UX.
...
* testsuite/testsuite_hooks.cc (__gnu_test::set_memory_limits): Do
not set RLIMIT_AS on HP-UX.
From-SVN: r78233
2004-02-21 20:34:38 +00:00
Paolo Carlini
fe932e504b
locale_facets.h (class money_base): Add { _S_minus, _S_zero, _S_end } enum, _S_atoms.
...
2004-02-21 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.h (class money_base): Add { _S_minus,
_S_zero, _S_end } enum, _S_atoms.
(struct __moneypunct_cache<>): Parameterize on _Intl too; add
_M_grouping_size, _M_curr_symbol_size, _M_positive_sign_size,
_M_negative_sign_size, _M_atoms; tweak constructor consistently.
(__moneypunct_cache<>::~__moneypunct_cache): Update.
(__moneypunct_cache<>::_M_cache): Fill the cache.
(class moneypunct): Tweak __cache_type typedef.
(class money_put): Inherit from money_base too; tweak declaration
of _M_insert, now parameterized on _Intl.
* include/bits/locale_facets.tcc
(struct __use_cache<__moneypunct_cache<_CharT, _Intl> >): New.
(money_put<>::_M_insert): Update definition to use the cache;
call reserve on __res to avoid multiple reallocations.
(money_put<>::do_put(long double),
money_put<>::do_put(const string_type&): Update calls of _M_insert.
* config/locale/generic/monetary_members.cc
(moneypunct<char, true>::_M_initialize_moneypunct,
moneypunct<char, false>::_M_initialize_moneypunct,
moneypunct<wchar_t, true>::_M_initialize_moneypunct,
moneypunct<wchar_t, false>::_M_initialize_moneypunct): Update.
* config/locale/gnu/monetary_members.cc: Likewise.
* config/locale/gnu/monetary_members.cc
(moneypunct<wchar_t, true>::~moneypunct(),
moneypunct<wchar_t, false>::~moneypunct()): Likewise.
* src/globals_locale.cc: Tweak fake_money_cache_c.
* src/locale-inst.cc: Add instantiations for
money_put::_M_insert<false> and money_put::_M_insert<true> and
__moneypunct_cache<C, false>, __moneypunct_cache<C, true>.
* src/locale_facets.cc: Define money_base::_S_atoms.
* src/locale_init.cc: Update placement new of
__moneypunct_cache<char, false>, __moneypunct_cache<char, true>,
__moneypunct_cache<wchar_t, false>, __moneypunct_cache<wchar_T, true>.
* config/locale/generic/numeric_members.cc: Clean up.
* config/locale/gnu/numeric_members.cc: Likewise.
* testsuite/22_locale/money_put/put/char/1.cc: Likewise.
* testsuite/22_locale/money_put/put/char/2.cc: Likewise.
* testsuite/22_locale/money_put/put/char/3.cc: Likewise.
* testsuite/22_locale/money_put/put/wchar_t/1.cc: Likewise.
* testsuite/22_locale/money_put/put/wchar_t/2.cc: Likewise.
* testsuite/22_locale/money_put/put/wchar_t/3.cc: Likewise.
From-SVN: r78216
2004-02-21 09:26:35 +00:00
Mark Mitchell
f196bdc447
9533-1.cc: Open FIFO for writing with ios_base::in|ios_base::out.
...
* testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Open
FIFO for writing with ios_base::in|ios_base::out.
* testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
* testsuite/27_io/objects/char/7.cc: Likewise.
* testsuite/27_io/objects/char/9661-1.cc: Open FIFO for writing
with "r+".
From-SVN: r78195
2004-02-20 23:51:07 +00:00
David Edelsohn
2df93cf3c4
2.cc: Change input-charset from iso-8859-1 to ISO8859-1.
...
* 22_locale/collate/compare/wchar_t/2.cc: Change input-charset
from iso-8859-1 to ISO8859-1.
* 22_locale/collate/compare/wchar_t/wrapped_env.cc: Same.
* 22_locale/collate/compare/wchar_t/wrapped_locale.cc: Same.
* 22_locale/collate/hash/wchar_t/2.cc: Same.
* 22_locale/collate/hash/wchar_t/wrapped_env.cc: Same.
* 22_locale/collate/hash/wchar_t/wrapped_locale.cc: Same.
* 22_locale/collate/transform/wchar_t/2.cc: Same.
* 22_locale/collate/transform/wchar_t/wrapped_env.cc: Same.
* 22_locale/collate/transform/wchar_t/wrapped_locale.cc: Same.
From-SVN: r78124
2004-02-19 17:07:55 -05:00
Paolo Carlini
2ddf25f217
locale_facets.h (money_get<>::_M_extract): New, helper for do_get.
...
2004-02-18 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.h (money_get<>::_M_extract):
New, helper for do_get.
(money_put<>::_M_insert): Likewise, for do_put.
* include/bits/locale_facets.tcc (money_get<>::_M_extract,
money_put<>::_M_insert): Define.
(money_get<>::do_get(long double&), money_get<>::do_get(
string_type&), money_put::do_put(long double),
money_put::do_put(const string_type&)): Use the helpers.
From-SVN: r78037
2004-02-18 16:39:13 +00:00
Paolo Carlini
94b8de97c4
basic_file_stdio.cc (__gnu_internal::xwritev): Rewrite, avoiding recursion.
...
2004-02-18 Paolo Carlini <pcarlini@suse.de>
* config/io/basic_file_stdio.cc (__gnu_internal::xwritev):
Rewrite, avoiding recursion.
(__gnu_internal::xwrite): Minor tweaks.
From-SVN: r78015
2004-02-18 08:36:27 +00:00
Stefan Olsson
4d0bdcd6e1
mt_allocator.h: Removed the last pointer.
...
2004-02-17 Stefan Olsson <stefan@xapa.se>
* include/ext/mt_allocator.h: Removed the last
pointer. Deallocated blocks are now added to the front of
freelists as proposed by Felix Yen. This gives roughly 10%
performance boost and saves some memory.
* docs/html/ext/mt_allocator.html: Change due to that deallocated
blocks now are added to the front of freelists. The reason to this
approach is also explained.
From-SVN: r78009
2004-02-18 01:21:10 +00:00
Paolo Carlini
6d4925e368
locale_facets.tcc (num_get<>::_M_extract_float, [...]): Simplify grouping fidelity conditional.
...
2004-02-17 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (num_get<>::_M_extract_float,
num_get<>::_M_extract_int, money_get<>::do_get): Simplify
grouping fidelity conditional.
From-SVN: r77948
2004-02-17 11:19:25 +00:00
Paolo Carlini
3e9b6cf4e0
13858.cc: Qualify exception with std::.
...
2004-02-16 Paolo Carlini <pcarlini@suse.de>
* testsuite/27_io/basic_filebuf/overflow/char/13858.cc:
Qualify exception with std::.
* testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc: Ditto.
* testsuite/27_io/basic_filebuf/overflow/wchar_t/13858.cc: Ditto.
* testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc: Ditto.
* testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc: Ditto.
* testsuite/27_io/basic_filebuf/sync/char/9182-1.cc: Ditto.
From-SVN: r77913
2004-02-16 19:28:06 +00:00
Paolo Carlini
835abbf7f0
13189.cc: Don't check for now that the catch block is not reached.
...
2004-02-16 Paolo Carlini <pcarlini@suse.de>
* testsuite/ext/enc_filebuf/char/13189.cc: Don't check
for now that the catch block is not reached.
* testsuite/ext/enc_filebuf/wchar_t/13189.cc: Likewise.
From-SVN: r77906
2004-02-16 17:48:12 +00:00
Paolo Carlini
b7e64db2a4
locale_facets.tcc (money_get::do_get(string_type&)): Fix parsing of the remaining sign characters.
...
2004-02-16 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (money_get::do_get(string_type&)):
Fix parsing of the remaining sign characters.
* 22_locale/money_get/get/char/2.cc: Tweak: now, correctly,
the input is scanned 'til eof.
* 22_locale/money_get/get/char/4.cc: Likewise.
* 22_locale/money_get/get/wchar_t/2.cc: Likewise.
* 22_locale/money_get/get/wchar_t/4.cc: Likewise.
* 22_locale/money_get/get/char/8.cc: Tweak: override do_neg_format,
not do_pos_format: the former is the only one that matters during
input.
* 22_locale/money_get/get/wchar_t/8.cc: Likewise.
* 22_locale/money_get/get/char/6.cc: Minor tweak.
* 22_locale/money_get/get/wchar_t/6.cc: Likewise.
From-SVN: r77896
2004-02-16 16:46:26 +00:00
David Asher
230377dc69
re PR libstdc++/11352 (crash while internal padding numeric 0)
...
2004-02-15 David Asher <david.asher@cavium.com>
PR libstdc++/11352
* include/bits/locale_facets.tcc (__pad<>::_S_pad): Don't
access __olds beyond __oldlen.
From-SVN: r77858
2004-02-15 17:19:00 +00:00
Paolo Carlini
45cbe93c0e
9182-2.cc: Make sure the exception is actually thrown.
...
2004-02-14 Paolo Carlini <pcarlini@suse.de>
* testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc: Make
sure the exception is actually thrown.
* testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc: Ditto.
* testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc: Ditto.
* testsuite/27_io/basic_filebuf/sync/char/9182-1.cc: Ditto.
From-SVN: r77828
2004-02-14 20:46:14 +00:00
Paolo Carlini
ac3cadf042
re PR libstdc++/13858 (Bad error handling in basic_filebuf::imbue)
...
2004-02-14 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/13858
* include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external):
In case of conversion errors, throw ios_failure; simplify.
* testsuite/27_io/basic_filebuf/overflow/char/13858.cc: New.
* testsuite/27_io/basic_filebuf/overflow/wchar_t/13858.cc: Ditto.
* testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc: Tweak,
previously we didn't throw in case of conversion errors, instead
just returned eof().
* testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc: Ditto.
* testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc: Ditto.
* testsuite/27_io/basic_filebuf/sync/char/9182-1.cc: Ditto.
* include/bits/fstream.tcc (basic_filebuf<>::overflow):
Trivial simplification of a conditional.
From-SVN: r77812
2004-02-14 19:04:00 +00:00
Paolo Carlini
2e9a1f6b05
PR libstdc++/13731 (final part: writev)
...
2004-02-12 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/13731 (final part: writev)
* config/io/basic_file_stdio.cc (__gnu_internal::xwrite):
New, a wrapper around writev() handling partial writes.
(__basic_file<char>::xwrite): Move to __gnu_internal and make
static.
(__basic_file<char>::xsputn): Update call.
(__basic_file<char>::xsputn_2): Likewise.
* config/io/basic_file_stdio.h (__basic_file<char>::write):
Don't declare, now static.
From-SVN: r77717
2004-02-12 18:24:07 +00:00
Benjamin Kosnik
1c86f39d32
[multiple changes]
...
2004-02-11 Stefan Olsson <stefan@xapa.se>
* docs/html/ext/mt_allocator.html: New.
2004-02-11 Benjamin Kosnik <bkoz@redhat.com>
* docs/html/20_util/allocator.html: New file, consolidate
allocator information here. Revamp.
* docs/html/documentation.html: Change links.
* docs/html/20_util/howto.html: Same.
* docs/html/ext/howto.html: Same.
From-SVN: r77687
2004-02-12 01:11:48 +00:00
Paolo Carlini
98e9678463
PR libstdc++/13731 (first part: write)
...
2004-02-11 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/13731 (first part: write)
* config/io/basic_file_stdio.h (__basic_file<char>::xwrite):
New, declare.
* config/io/basic_file_stdio.cc (__basic_file<char>::xwrite):
Define it: a wrapper around write() handling partial write.
(__basic_file<char>::xsputn): Use it.
(__basic_file<char>::xsputn_2): Likewise.
From-SVN: r77680
2004-02-12 00:05:35 +00:00
Paolo Carlini
a2af66c186
re PR libstdc++/14078 (Manipulators are slow)
...
2004-02-10 Paolo Carlini <pcarlini@suse.de>
Petur Runolfsson <peturr02@ru.is>
PR libstdc++/14078
* include/std/std_istream.h (operator>>(__istream_type& (*)
(__istream_type&)), operator>>(__ios_type& (*)(__ios_type&)),
operator>>(ios_base& (*)(ios_base&))): Declare inline.
* include/std/std_ostream.h (operator<<(__ostream_type& (*)
(__ostream_type&)), operator<<(__ios_type& (*)(__ios_type&)),
operator<<(ios_base& (*) (ios_base&))): Likewise.
* testsuite/performance/27_io/fmtflags_manipulators.cc: New.
Co-Authored-By: Petur Runolfsson <peturr02@ru.is>
From-SVN: r77650
2004-02-11 12:08:23 +00:00
Loren J. Rittle
d318a8ba74
re PR libstdc++/14097 ([3.4 only] Severe disparity between stdio_filebuf and stdio_sync_filebuf.)
...
PR libstdc++/14097
* config/linker-map.gnu: Add typeinfo and typeinfo name for
__gnu_cxx::stdio_filebuf<char, std::char_traits<char> >.
From-SVN: r77636
2004-02-11 05:21:57 +00:00
Loren J. Rittle
64bd39ccc7
re PR libstdc++/14098 ([3.4 only] typeinfo issue with __gnu_cxx::stdio_sync_filebuf)
...
PR libstdc++/14098
* config/linker-map.gnu: Add typeinfo and typeinfo name for
__gnu_cxx::stdio_sync_filebuf<char, std::char_traits<char> >.
From-SVN: r77635
2004-02-11 05:03:13 +00:00
Loren J. Rittle
a39c16dd5b
* include/ext/pool_allocator.h: Include c++config.h.
...
From-SVN: r77577
2004-02-10 00:43:04 +00:00
Stefan Olsson
1ef0031284
mt_allocator.h: thread_id is unused in non threaded applications and now has a ifdef to remove...
...
2004-02-09 Stefan Olsson <stefan@xapa.se>
* include/ext/mt_allocator.h: thread_id is unused in non threaded
applications and now has a ifdef to remove it completely on
compilers without thread support. Include stdlib.h due to a
compiler warning on getenv().
From-SVN: r77576
2004-02-10 00:31:53 +00:00
Paul Brook
1b81e1b544
configure.host: Explicitly check for atomicity.h file.
...
2004-02-09 Paul Brook <paul@codesourcery.com>
* libstdc++-v3/configure.host: Explicitly check for atomicity.h file.
From-SVN: r77570
2004-02-09 23:51:02 +00:00
Paolo Carlini
cf0d2c4044
re PR libstdc++/14071 (locale::global doesn't always call setlocale)
...
2004-02-09 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/14071
* src/locale_init.cc (locale::global(const locale&)): Use
locale::name() in order to decide whether calling setlocale.
* testsuite/22_locale/locale/global_locale_objects/14071.cc: New.
* include/bits/locale_classes.h (locale::_Impl::_M_check_same_name()):
Avoid computing &= unnecessarily.
From-SVN: r77568
2004-02-09 23:10:47 +00:00
James E Wilson
664fc5df4a
re PR libstdc++/5625 ([mips] exception unwinding creates invalid pointer on mips)
...
PR libstdc++/5625
* libsuspc++/eh_personality.cc (PERSONALITY_FUNCTION): Use
__builtin_extend_pointer.
From-SVN: r77555
2004-02-09 13:20:33 -08:00
Paolo Carlini
86fd2b512a
re PR libstdc++/14072 (basic_ios::imbue leaves dangling pointers)
...
2004-02-09 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/14072
* include/bits/basic_ios.tcc (basic_ios<>::_M_cache_locale):
Don't leave dangling pointers.
* testsuite/27_io/basic_ios/imbue/14072.cc: New.
* testsuite/22_locale/numpunct/members/pod/2.cc: Tweak, the num_put
facet is needed in the final test.
From-SVN: r77526
2004-02-09 09:02:52 +00:00
Bernardo Innocenti
f19e9e4d16
crossconfig.m4: Don't enable _GLIBCXX_USE_LFS on *-uclinux*.
...
* crossconfig.m4: Don't enable _GLIBCXX_USE_LFS on *-uclinux*.
* configure: Regenerate.
From-SVN: r77523
2004-02-09 08:06:35 +01:00
Richard Henderson
c38628062d
re PR libstdc++/14026 (std::uncaught_exception is true although there are no uncaught exceptions (rethrow, ghost exception))
...
PR libstdc++/14026
* libsupc++/eh_catch.cc (__cxa_begin_catch): Don't adjust
uncaughtExceptions during nested catch rethrow.
* testsuite/18_support/14026.cc: New.
From-SVN: r77492
2004-02-08 10:01:23 -08:00
Paolo Carlini
fd95f498f3
basic_string.tcc (assign(const _CharT*, size_type)): When working in place remember to set the state to sharable (otherwise...
...
2004-02-08 Paolo Carlini <pcarlini@suse.de>
* include/bits/basic_string.tcc (assign(const _CharT*, size_type)):
When working in place remember to set the state to sharable
(otherwise, _M_mutate does it).
From-SVN: r77487
2004-02-08 17:11:07 +00:00
Bernardo Innocenti
ed6814f7b3
Remove trailing whitespace (see ChangeLog for longwinded description).
...
From-SVN: r77479
2004-02-08 05:46:42 +01:00
Paolo Carlini
eee54836b1
basic_string.h: Fix comment.
...
2004-02-06 Paolo Carlini <pcarlini@suse.de>
* include/bits/basic_string.h: Fix comment.
From-SVN: r77428
2004-02-06 23:02:45 +00:00
Paolo Carlini
15d7206087
stl_construct.h: Wrap overlong lines, reformat according to the coding standards.
...
2004-02-06 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_construct.h: Wrap overlong lines, reformat
according to the coding standards.
* include/bits/stl_pair.h: Likewise.
* include/bits/stl_raw_storage_iter.h: Likewise.
* include/bits/stl_stack.h: Likewise.
* include/bits/stl_uninitialized.h: Likewise.
* include/bits/stream_iterator.h: Likewise.
* include/bits/streambuf_iterator.h: Likewise.
* include/bits/type_traits.h: Likewise.
From-SVN: r77425
2004-02-06 21:32:48 +00:00
Loren J. Rittle
fbdf188d78
Add commit message included with files.
...
From-SVN: r77413
2004-02-06 19:20:30 +00:00
Paolo Carlini
c5dd98f3ec
9507.cc: Adjust timings.
...
2004-02-06 Paolo Carlini <pcarlini@suse.de>
* testsuite/27_io/basic_filebuf/open/char/9507.cc:
Adjust timings.
From-SVN: r77392
2004-02-06 11:45:23 +00:00
Loren J. Rittle
462f4a816b
* scripts/check_performance: Support PCH.
...
From-SVN: r77360
2004-02-06 00:51:34 +00:00
Geoffrey Keating
0314451df3
Index: libf2c/ChangeLog
...
Thu Feb 5 15:08:08 2004 Geoffrey Keating <geoffk@apple.com>
PR 12179
* aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Use 'gcc', not 'gcc-lib'.
Add comment about poorly-named variables.
* Makefile.in (libsubdir): Use 'gcc', not 'gcc-lib'.
* configure: Regenerate.
Index: libstdc++-v3/ChangeLog
2004-02-05 Geoffrey Keating <geoffk@apple.com>
PR 12179
* .cvsignore: New.
* acinclude.m4 (GLIBCXX_EXPORT_INSTALL_INFO): Use 'gcc', not
'gcc-lib'. Add comment about poorly-named variables.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r77351
2004-02-05 23:19:54 +00:00
Paolo Carlini
d9010fcacc
locale_facets.tcc (money_get::do_get(string_type&)): Thousands-sep are always optional...
...
2004-02-05 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (money_get::do_get(string_type&)):
Thousands-sep are always optional; thousands-sep are not allowed
after the decimal_point.
* testsuite/22_locale/money_get/get/char/12.cc: New.
* testsuite/22_locale/money_get/get/char/13.cc: New.
* testsuite/22_locale/money_get/get/wchar_t/12.cc: New.
* testsuite/22_locale/money_get/get/wchar_t/13.cc: New.
* testsuite/22_locale/money_get/get/char/1.cc: Clean-up.
* testsuite/22_locale/money_get/get/char/2.cc: Likewise.
* testsuite/22_locale/money_get/get/char/3.cc: Likewise.
* testsuite/22_locale/money_get/get/char/4.cc: Likewise.
* testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise.
* testsuite/22_locale/money_get/get/wchar_t/2.cc: Likewise.
* testsuite/22_locale/money_get/get/wchar_t/3.cc: Likewise.
* testsuite/22_locale/money_get/get/wchar_t/4.cc: Likewise.
* testsuite/22_locale/money_get/get/char/9.cc: Fix citation from
the standard.
* testsuite/22_locale/money_get/get/wchar_t/9.cc: Likewise.
From-SVN: r77339
2004-02-05 20:13:37 +00:00
Richard Sandiford
d232925f0b
os_defines.h (_GLIBCXX_FIONREAD_TAKES_OFF_T): Define.
...
* config/os/irix/irix6.5/os_defines.h (_GLIBCXX_FIONREAD_TAKES_OFF_T):
Define.
* config/io/basic_file_stdio.cc (__basic_file<char>::showmanyc): Use
it to decide whether FIONREAD should take an off_t or int argument.
From-SVN: r77336
2004-02-05 20:11:32 +00:00
Paolo Carlini
92ff3e4314
stl_function.h: Minor formatting changes.
...
2004-02-05 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_function.h: Minor formatting changes.
From-SVN: r77316
2004-02-05 15:39:16 +00:00
Zack Weinberg
9fe7e2b747
Revert previous change to config/abi/*/baseline_symbols.txt.
...
From-SVN: r77305
2004-02-05 07:25:58 +00:00
Benjamin Kosnik
6a734d618f
basic_file_stdio.cc (__gnu_internal::fopen_mode): New function.
...
2004-02-04 Benjamin Kosnik <bkoz@redhat.com>
Zack Weinberg <zack@codesourcery.com>
* config/io/basic_file_stdio.cc (__gnu_internal::fopen_mode):
New function.
(__basic_file<char>::sys_open, __basic_file<char>::open): Use it.
(__basic_file<char>::_M_open_mode): Delete.
* config/io/basic_file_stdio.cc: Delete declaration of _M_open_mode.
* testsuite/27_io/basic_filebuf/close/char/9964.cc
* testsuite/27_io/basic_filebuf/open/char/9507.cc:
Correct flags to filebuf::open calls.
* config/abi/alpha-freebsd5/baseline_symbols.txt
* config/abi/alpha-linux-gnu/baseline_symbols.txt
* config/abi/hppa-linux-gnu/baseline_symbols.txt
* config/abi/i386-freebsd4/baseline_symbols.txt
* config/abi/i386-freebsd5/baseline_symbols.txt
* config/abi/i486-linux-gnu/baseline_symbols.txt
* config/abi/ia64-linux-gnu/baseline_symbols.txt
* config/abi/mips-linux-gnu/baseline_symbols.txt
* config/abi/sparc-freebsd5/baseline_symbols.txt
* config/abi/sparc-linux-gnu/baseline_symbols.txt
* config/abi/x86_64-linux-gnu/baseline_symbols.txt:
Remove entry for __basic_file<char>::_M_open_mode.
From-SVN: r77298
2004-02-05 05:24:18 +00:00
Loren J. Rittle
f63fd68beb
* testsuite/performance/20_util/allocator/insert.cc (main): Tweak.
...
From-SVN: r77293
2004-02-05 03:52:41 +00:00
Benjamin Kosnik
de8a2f8702
[multiple changes]
...
2004-02-04 Felix Yen <fwy@alumni.brown.edu>
* testsuite/performance/20_util/producer_consumer.cc: New.
* testsuite/performance/20_util/allocator/insert_insert.cc: Two loops.
2004-02-04 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/performance/20_util/allocator.cc: Move to..
* testsuite/performance/20_util/allocator/insert.cc: ...here.
* testsuite/performance/20_util/allocator_thread.cc: Move to...
* testsuite/performance/20_util/allocator/insert_insert.cc: ...here.
* testsuite/performance/20_util/allocator_map_thread.cc: Move to...
* testsuite/performance/20_util/allocator/map_thread.cc: ...here.
From-SVN: r77285
2004-02-05 01:33:07 +00:00
Jonathan Wakely
772fec9a0e
index.html: Recommend using LD_LIBRARY_PATH.
...
2004-02-04 Jonathan Wakely <redi@gcc.gnu.org>
* docs/html/faq/index.html: Recommend using LD_LIBRARY_PATH.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r77258
2004-02-04 17:45:18 +00:00