GCC Administrator
1d44058799
Daily bump.
...
From-SVN: r79846
2004-03-23 00:16:15 +00:00
Paolo Carlini
29d4adf460
acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): Add pool_allocator.
...
2004-03-22 Paolo Carlini <pcarlini@suse.de>
* acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): Add pool_allocator.
* configure: Regenerate.
* config/allocator/pool_allocator_base.h: New.
* include/ext/pool_allocator.h: Convert to a standard-conforming
allocator.
* src/allocator.cc: Tweak instantiations.
* testsuite/performance/20_util/allocator/insert.cc: Add __pool_alloc.
* testsuite/performance/20_util/allocator/insert_insert.cc: Ditto.
* testsuite/performance/20_util/allocator/list_sort_search.cc: Ditto.
* testsuite/performance/20_util/allocator/map_mt_find.cc: Ditto.
* testsuite/performance/20_util/allocator/map_thread.cc: Ditto.
* testsuite/performance/20_util/allocator/producer_consumer.cc: Ditto.
From-SVN: r79824
2004-03-22 13:07:13 +00:00
Hans-Peter Nilsson
fea41ef911
atomicity.h (__atomic_add): Remove "static inline" and attribute-unused.
...
* config/cpu/cris/atomicity.h (__atomic_add): Remove "static
inline" and attribute-unused. Qualify parameter __mem with
"volatile".
(__exchange_and_add): Ditto. Add back memory clobber to asm.
From-SVN: r79804
2004-03-22 01:37:04 +00:00
GCC Administrator
9175d40929
Daily bump.
...
From-SVN: r79799
2004-03-22 00:16:10 +00:00
GCC Administrator
d52666c3f3
Daily bump.
...
From-SVN: r79767
2004-03-21 00:16:13 +00:00
Paolo Carlini
9c024d9c08
2.cc: Remove junk.
...
2004-03-20 Paolo Carlini <pcarlini@suse.de>
* testsuite/27_io/basic_istream/extractors_arithmetic/char/2.cc:
Remove junk.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/3.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/6.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/7.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/8.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/9.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/11.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/13.cc:
Likewise.
From-SVN: r79742
2004-03-20 12:54:35 +00:00
Paolo Carlini
2787b59a7f
std_valarray.h: Document DR389 [Ready].
...
2004-03-20 Paolo Carlini <pcarlini@suse.de>
* include/std/std_valarray.h: Document DR389 [Ready].
* docs/html/ext/howto.html: Add an entry for DR389.
From-SVN: r79733
2004-03-20 10:05:48 +00:00
GCC Administrator
b40bc279e7
Daily bump.
...
From-SVN: r79719
2004-03-20 00:16:13 +00:00
Michael Eager
1b1a632b4d
atomicity.h: Prevent reg loads between LL and SC instructions.
...
2004-03-19 Michael Eager <eager@mvista.com>
* config/cpu/mips/atomicity.h: Prevent reg loads between LL and
SC instructions.
From-SVN: r79711
2004-03-19 23:12:10 +00:00
Paolo Carlini
28f2a26519
11.cc: Remove redundant static_cast-s.
...
2004-03-19 Paolo Carlini <pcarlini@suse.de>
* testsuite/22_locale/num_get/get/char/11.cc: Remove redundant
static_cast-s.
* testsuite/22_locale/num_get/get/char/12.cc: Likewise.
* testsuite/22_locale/num_get/get/char/13.cc: Likewise.
* testsuite/22_locale/num_get/get/char/14.cc: Likewise.
* testsuite/22_locale/num_get/get/char/15.cc: Likewise.
* testsuite/22_locale/num_get/get/wchar_t/11.cc: Likewise.
* testsuite/22_locale/num_get/get/wchar_t/12.cc: Likewise.
* testsuite/22_locale/num_get/get/wchar_t/13.cc: Likewise.
* testsuite/22_locale/num_get/get/wchar_t/14.cc: Likewise.
* testsuite/22_locale/num_get/get/wchar_t/15.cc: Likewise.
From-SVN: r79698
2004-03-19 20:07:55 +00:00
Paolo Carlini
8268bba6f8
re PR libstdc++/12077 ([3.4 only] wcin.rdbuf()->in_avail() return value too high)
...
2004-03-19 Paolo Carlini <pcarlini@suse.de>
Petur Runolfsson <peturr02@ru.is>
PR libstdc++/12077
* include/ext/stdio_sync_filebuf.h (showmanyc): Remove, there's
no way to find out the conversion used by the underlying FILE*.
* testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: New.
* testsuite/27_io/objects/char/9.cc: Tweak.
Co-Authored-By: Petur Runolfsson <peturr02@ru.is>
From-SVN: r79695
2004-03-19 19:31:38 +00:00
Paolo Carlini
59d3567214
re PR libstdc++/14648 (rope is broken (regression))
...
2004-03-19 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/14648
* include/ext/ropeimpl.h (rope<>::_S_apply_to_pieces): Fix
memory allocation/deallocation calls.
* testsuite/ext/14648.cc: New.
From-SVN: r79687
2004-03-19 16:08:15 +00:00
Peter Schmid
ab7ac2227a
re PR libstdc++/14647 (bit_vectors are broken (regression))
...
2004-03-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
PR libstdc++/14647
* include/backward/bvector.h (bit_vector): Allocator is in std
namespace.
From-SVN: r79685
2004-03-19 06:54:40 -08:00
Phil Edwards
d54bc1d870
acinclude.m4 (GLIBCXX_CHECK_WCHAR_T_SUPPORT): Set LIBICONV, not libiconv.
...
2004-03-19 Phil Edwards <phil@codesourcery.com>
* acinclude.m4 (GLIBCXX_CHECK_WCHAR_T_SUPPORT): Set LIBICONV,
not libiconv. SUBST this variable as well.
* testsuite/Makefile.am (site.exp): New target, based on that
created by automake. Also set libiconv.
* configure, Makefile.in, include/Makefile.in, libmath/Makefile.in,
libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
testsuite/Makefile.in: Regenerate.
From-SVN: r79678
2004-03-19 11:34:47 +00:00
GCC Administrator
8b37de20f5
Daily bump.
...
From-SVN: r79653
2004-03-19 00:16:12 +00:00
GCC Administrator
d241443846
Daily bump.
...
From-SVN: r79612
2004-03-18 00:16:13 +00:00
Benjamin Kosnik
87599abdc5
acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): Default setting is new_allocator for all hosts.
...
2004-03-16 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): Default setting is
new_allocator for all hosts.
* configure: Regenerate.
From-SVN: r79582
2004-03-17 08:50:32 +00:00
Paolo Carlini
e20036e26c
4.cc: Fix for 64-bit pointers.
...
2004-03-16 Paolo Carlini <pcarlini@suse.de>
* testsuite/22_locale/num_put/put/char/4.cc: Fix for 64-bit pointers.
* testsuite/22_locale/num_put/put/wchar_t/4.cc: Likewise.
From-SVN: r79580
2004-03-17 08:22:38 +00:00
GCC Administrator
990ab4b403
Daily bump.
...
From-SVN: r79561
2004-03-17 00:16:12 +00:00
GCC Administrator
199f5c2b84
Daily bump.
...
From-SVN: r79518
2004-03-16 00:16:11 +00:00
Paolo Carlini
33674f003a
locale_facets.tcc (money_get<>::_M_extract): Adjust the logic underlying the parsing of symbol to deal correctly with an...
...
2004-03-15 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (money_get<>::_M_extract):
Adjust the logic underlying the parsing of symbol to deal
correctly with an optional sign component (i.e., when either
negative_sign or positive_sign is empty)
* testsuite/22_locale/money_get/get/char/19.cc: New.
* testsuite/22_locale/money_get/get/wchar_t/19.cc: New.
2004-03-15 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (money_get<>::_M_extract):
Do not accept an incomplete currency symbol.
* testsuite/22_locale/money_get/get/char/18.cc: New.
* testsuite/22_locale/money_get/get/wchar_t/18.cc: New.
From-SVN: r79491
2004-03-15 09:02:30 +00:00
GCC Administrator
d08418fa77
Daily bump.
...
From-SVN: r79488
2004-03-15 00:16:13 +00:00
GCC Administrator
db4397e7c5
Daily bump.
...
From-SVN: r79465
2004-03-14 00:16:14 +00:00
Benjamin Kosnik
8b0d605196
allocator: New.
...
2004-03-13 Benjamin Kosnik <bkoz@redhat.com>
* config/allocator: New.
* config/allocator/bitmap_allocator_base.h: New.
* config/allocator/malloc_allocator_base.h: New.
* config/allocator/mt_allocator_base.h: New.
* config/allocator/new_allocator_base.h: New.
* include/bits/allocator.h: Include c++allocator.h.
* acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): New.
* aclocal.m4: Regenerate.
* configure.ac: Use GLIBCXX_ENABLE_ALLOCATOR.
* configure: Regenerate.
* include/Makefile.am (host_headers_extra): Add c++allocator.h.
* include/Makefile.in: Regenerate.
* docs/html/configopts.html: Add enable-libstdcxx-allocator.
From-SVN: r79435
2004-03-13 06:54:25 +00:00
GCC Administrator
ba6e856b2d
Daily bump.
...
From-SVN: r79417
2004-03-13 00:16:13 +00:00
Benjamin Kosnik
eef56029ed
allocator.h: Revert.
...
2004-03-12 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/allocator.h: Revert.
From-SVN: r79413
2004-03-12 23:52:08 +00:00
Paolo Carlini
d4cd08dda5
howto.html: Add entry for DR 253 [Ready].
...
2004-03-12 Paolo Carlini <pcarlini@suse.de>
* docs/html/ext/howto.html: Add entry for DR 253 [Ready].
* include/bits/gslice_array.h: Add comment about DR 253.
* include/bits/indirect_array.h: Likewise.
* include/bits/mask_array.h: Likewise.
* include/bits/slice_array.h: Likewise.
From-SVN: r79412
2004-03-12 23:32:03 +00:00
Benjamin Kosnik
ce7df2fd97
14176.cc: New.
...
2004-03-12 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/20_util/allocator/14176.cc: New.
* include/ext/mt_allocator.h: Formatting fixes.
From-SVN: r79407
2004-03-12 21:11:51 +00:00
Paolo Carlini
e362800142
2004-03-12 Paolo Carlini <pcarlini@suse.de>
...
* Fix address in Steven's Changelog entry.
From-SVN: r79381
2004-03-12 12:19:28 +00:00
Dhruv Matani
009368dba6
ballocator_doc.txt: New file.
...
2004-03-11 Dhruv Matani <dhruvbird@HotPOP.com>
* docs/html/ext/ballocator_doc.txt: New file.
* include/Makefile.am (ext_headers): Add
${ext_srcdir}/bitmap_allocator.h .
* include/Makefile.in: Regenerate (by hand, since I didn't have
automake de jure on hand).
* include/ext/bitmap_allocator.h: New file.
* testsuite/performance/20_util/allocator/list_sort_search.cc: New test.
* testsuite/performance/20_util/allocator/map_mt_find.cc: Likewise.
* testsuite/performance/20_util/allocator/producer_consumer.cc: Add
test for the bitmap_allocator<>.
* testsuite/performance/20_util/allocator/insert.cc: Likewise.
* testsuite/performance/20_util/allocator/insert_insert.cc: Likewise.
* testsuite/performance/20_util/allocator/map_thread.cc: Likewise.
From-SVN: r79366
2004-03-12 03:28:12 +00:00
GCC Administrator
a8dad789a5
Daily bump.
...
From-SVN: r79357
2004-03-12 00:16:13 +00:00
Paolo Carlini
c6feb69790
std_complex.h (pow(const complex&, const _Tp&), [...]): Fully qualify with std:: a few calls.
...
2004-03-11 Paolo Carlini <pcarlini@suse.de>
* include/std/std_complex.h (pow(const complex&, const _Tp&),
pow(const _Tp&, const complex&), pow(const complex&,
const complex&)): Fully qualify with std:: a few calls.
* testsuite/26_numerics/complex/13450.cc: Minor tweak.
From-SVN: r79338
2004-03-11 19:05:19 +00:00
Steven Bosscher
b7c34954fe
re PR libstdc++/11706 (std::pow(T, int) implementation pessimizes code)
...
2004-03-11 Steven Bosscher <s.bosscher@student.tudelft.nl>
PR libstdc++/11706
* include/c_std/cmath.tcc (__cmath_power): Define inline.
From-SVN: r79316
2004-03-11 10:42:26 +00:00
Kelley Cook
8ab705be38
configure.ac: Bump AC_PREREQ to 2.59.
...
boehm-gc/
2004-03-10 Kelley Cook <kcook@gcc.gnu.org>
* configure.ac: Bump AC_PREREQ to 2.59.
* configure: Regenerate.
* config.in: Regenerate.
fastjar/
2004-03-10 Kelley Cook <kcook@gcc.gnu.org>
* configure.ac: Bump AC_PREREQ to 2.59.
* configure: Regenerate.
intl/
2004-03-10 Kelley Cook <kcook@gcc.gnu.org>
* configure.ac: Bump AC_PREREQ to 2.59.
* configure: Regenerate.
* config.h.in: Regenerate.
gcc/
2004-03-10 Kelley Cook <kcook@gcc.gnu.org>
* configure.ac: Bump AC_PREREQ to 2.59.
* configure: Regenerate.
libada/
2004-03-10 Kelley Cook <kcook@gcc.gnu.org>
* configure.in: Rename file to ...
* configure.ac: .. to this. Bump AC_PREREQ to 2.59.
* configure: Regenerate.
libjava/libltdl/
2004-03-10 Kelley Cook <kcook@gcc.gnu.org>
* configure.ac: Bump AC_PREREQ to 2.59.
* configure: Regenerate.
* config-h.in: Regenerate.
libstdc++-v3/
2004-03-10 Kelley Cook <kcook@gcc.gnu.org>
* configure.ac: Bump AC_PREREQ to 2.59.
contrib/
2004-03-10 Kelley Cook <kcook@gcc.gnu.org>
* gcc_update (files_and_dependencies): Insert libada/configure.
From-SVN: r79285
2004-03-11 00:27:41 +00:00
GCC Administrator
6790e4db7b
Daily bump.
...
From-SVN: r79282
2004-03-11 00:16:48 +00:00
Paolo Carlini
e9264dac56
2004-03-10 Paolo Carlini <pcarlini@suse.de>
...
Add include/bits/valarray_array.tcc changes missing from
Jerry's commit to mainline.
From-SVN: r79260
2004-03-10 17:08:32 +00:00
Paolo Carlini
f69535d2b7
valarray_subset_assignment.cc: Fix typos.
...
2004-03-10 Paolo Carlini <pcarlini@suse.de>
* testsuite/26_numerics/valarray_subset_assignment.cc: Fix typos.
From-SVN: r79253
2004-03-10 13:40:17 +00:00
Paul Kienzle
52ddaf41bf
re PR libstdc++/13450 (std::pow(std::complex<double>(-1.,0.),0.5) yields (NaN,0))
...
2004-03-10 Paul Kienzle <pkienzle@nist.gov>
Paolo Carlini <pcarlini@suse.de>
PR libstdc++/13450
* include/std/std_complex.h (pow(const complex&, const _Tp&),
pow(const _Tp&, const complex&)): Use cmath pow only when safe.
* testsuite/26_numerics/complex/13450.cc: New.
* testsuite/26_numerics/cmath/overloads.C: Rename to overloads.cc.
* testsuite/26_numerics/complex/pow.C: Rename to pow.cc and fix.
From-SVN: r79227
2004-03-10 09:16:12 +00:00
Jerry Quinn
ecc7568da6
re PR libstdc++/3247 (valarray private member)
...
2004-03-10 Jerry Quinn <jlquinn@optonline.net>
PR 3247
* include/bits/gslice_array.h (gslice_array()): Make public.
(operator=(gslice_array)): Make public. Implement.
* include/bits/indirect_array.h (indirect_array()): Make public.
* include/bits/mask_array.h (mask_array()): Make public.
(operator=(mask_array)): Make public. Implement.
* include/bits/valarray_array.tcc (__valarray_copy):
Comment. Add versions for gslice_array and mask_array.
* testsuite/26_numerics/valarray_subset_assignment.cc: New test.
From-SVN: r79226
2004-03-10 06:50:13 +00:00
Benjamin Kosnik
6dde938c11
swap.cc: Add in bits for non-weak systems.
...
2004-03-09 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/23_containers/deque/modifiers/swap.cc: Add in bits for
non-weak systems.
* testsuite/23_containers/vector/modifiers/swap.cc: Same.
* testsuite/23_containers/set/modifiers/swap.cc: Same.
* testsuite/23_containers/multiset/modifiers/swap.cc: Same.
* testsuite/23_containers/multimap/modifiers/swap.cc: Same.
* testsuite/23_containers/map/modifiers/swap.cc: Same.
* testsuite/23_containers/list/modifiers/swap.cc: Same.
* testsuite/22_locale/locale/cons/12658_thread.cc: Catch exceptions.
From-SVN: r79224
2004-03-10 06:31:50 +00:00
GCC Administrator
b86f05b692
Daily bump.
...
From-SVN: r79213
2004-03-10 00:16:12 +00:00
Benjamin Kosnik
f1c4ca32d0
re PR c++/13658 ([testcase] namespace association vs. templates part one)
...
2004-03-08 Benjamin Kosnik <bkoz@redhat.com>
PR c++/13658
* testsuite/23_containers/deque/modifiers/swap.cc: New.
* testsuite/23_containers/list/modifiers/swap.cc: New.
* testsuite/23_containers/map/modifiers/swap.cc: New.
* testsuite/23_containers/multimap/modifiers/swap.cc: New.
* testsuite/23_containers/multiset/modifiers/swap.cc: New.
* testsuite/23_containers/set/modifiers/swap.cc: New.
* testsuite/23_containers/vector/modifiers/swap.cc: New.
From-SVN: r79151
2004-03-09 06:01:39 +00:00
GCC Administrator
6ec731401a
Daily bump.
...
From-SVN: r79137
2004-03-09 00:16:12 +00:00
Petur Runolfsson
5a66cfb2f1
re PR libstdc++/12658 (Thread safety problems in locale::global() and locale::locale())
...
2004-03-08 Petur Runolfsson <peturr02@ru.is>
PR libstdc++/12658
* testsuite/22_locale/locale/cons/12658_thread.cc: New.
From-SVN: r79128
2004-03-08 22:11:47 +00:00
Paolo Carlini
1d4eb925b9
howto.html: Add entry for DR 103 [WP].
...
2004-03-08 Paolo Carlini <pcarlini@suse.de>
* docs/html/ext/howto.html: Add entry for DR 103 [WP].
* include/bits/stl_multiset.h: Add comment about DR 103.
* include/bits/stl_set.h: Likewise.
From-SVN: r79114
2004-03-08 15:04:11 +00:00
Paolo Carlini
f1c89270e5
locale_facets.tcc (money_get<>::_M_extract): The value _space_ indicates that at least one space is required at that position.
...
2004-03-08 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (money_get<>::_M_extract):
The value _space_ indicates that at least one space is required
at that position.
* testsuite/22_locale/money_get/get/char/17.cc: New.
* testsuite/22_locale/money_get/get/wchar_t/17.cc: New.
* testsuite/22_locale/money_get/get/char/7.cc: Minor tweaks.
* testsuite/22_locale/money_get/get/wchar_t/7.cc: Likewise.
* include/bits/locale_facets.tcc (money_get<>::do_get(long_double&)):
Remove redundant conditional on __str.size().
From-SVN: r79111
2004-03-08 10:51:30 +00:00
Benjamin Kosnik
f5fb3886b2
allocator.h: Switch defaults to mt_alloc.
...
2004-03-08 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/allocator.h: Switch defaults to mt_alloc.
From-SVN: r79084
2004-03-08 00:27:37 +00:00
GCC Administrator
3bf92dad69
Daily bump.
...
From-SVN: r79081
2004-03-08 00:16:11 +00:00
Benjamin Kosnik
c0bec71b82
mt_allocator.h (_S_initialize): If !__GTHREAD_MUTEX_INIT, then initialize _S_thread_freelist_mutex.
...
2004-03-06 Benjamin Kosnik <bkoz@redhat.com>
* include/ext/mt_allocator.h (_S_initialize): If
!__GTHREAD_MUTEX_INIT, then initialize _S_thread_freelist_mutex.
From-SVN: r79044
2004-03-07 02:17:19 +00:00
Benjamin Kosnik
f83295bafc
re PR libstdc++/12658 (Thread safety problems in locale::global() and locale::locale())
...
2004-03-06 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/12658
* src/locale_init.cc (locale::locale): Lock critical regions with
external mutexes.
(locale::global): Same.
* include/bits/concurrence.h (__glibcxx_mutex_define_initialized):
Add in once bits for cases without __GTHREAD_MUTEX_INIT.
(__glibcxx_mutex_lock): Same.
* config/cpu/generic/atomicity.h: Remove
_GLIBCXX_NEED_GENERIC_MUTEX, use concurrence.h.
* src/misc-inst.cc: Move all locking bits out of this file.
* config/os/hpux/os_defines.h: Remove _GLIBCXX_INST_ATOMICITY_LOCK.
* src/misc-inst.cc: Same.
* config/cpu/hppa/atomicity.h: Same.
* config/linker-map.gnu: Remove types in the signature of atomic
exports, as they may vary.
From-SVN: r79043
2004-03-07 01:32:43 +00:00