Paolo Carlini
1ab3a0ade6
re PR libstdc++/16210 ([3.4 only] gratuitously omits "long long" I/O)
...
2004-06-26 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/16210
* acinclude.m4 (GLIBCXX_ENABLE_LONG_LONG): Do not check for the
availability of strto(u)ll, not used anymore in the iostreams.
* configure: Regenerate.
From-SVN: r83705
2004-06-26 08:42:38 +00:00
GCC Administrator
0e60562abe
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r83695.2
2004-06-26 00:17:34 +00:00
Benjamin Kosnik
795af1d735
re PR libstdc++/16182 (wctype.h not included by c++locale_internal.h)
...
2004-06-25 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/16182
* linkage.m4 (GLIBCXX_CHECK_BUILTIN_MATH_DEC): Revert to
AC_DEFINE_UNQUOTED.
* configure: Regenerate.
From-SVN: r83664
2004-06-25 17:45:42 +00:00
Paul Brook
4185ae5397
target-def.h (TARGET_CXX_GUARD_TYPE, [...]): Define.
...
gcc/
* target-def.h (TARGET_CXX_GUARD_TYPE, TARGET_CXX_GUARD_MASK_BIT,
TARGET_CXX): Define.
(TARGET_INITIALIZER): Use TARGET_CXX.
* target.h (struct gcc_target): Add struct cxx.
* targhooks.h (default_cxx_guard_type): Add prototype.
* targhooks.c (default_cxx_guard_type): New function.
* config/arm/arm.c (TARGET_CXX_GUARD_TYPE, TARGET_CXX_GUARD_MASK_BIT):
Define.
(arm_cxx_guard_type, arm_cxx_guard_mask_bit): New functions.
* doc/tm.texi: Document TARGET_CXX_GUARD_TYPE and
TARGET_CXX_GUARD_MASK_BIT.
gcc/cp/
* decl2.c (get_guard): Call targetm.cxx.guard_type.
(get_guard_bits, get_guard_cond): Call targetm.cxx.guard_mask_bit.
libstdc++/
* libsupc++/cxxabi.h: Define __ARM_EABI__
(__guard): Use it.
* libsupc++/guard.h (__cxa_guard_acquire, __cxa_guard_release): Ditto.
From-SVN: r83660
2004-06-25 17:15:46 +00:00
Paul Brook
29357d8b94
concurrence.h: Still create mutex object when single-threaded.
...
* include/bits/concurrence.h: Still create mutex object when
single-threaded.
From-SVN: r83657
2004-06-25 16:36:13 +00:00
Paolo Carlini
07e938fc86
stl_algobase.h (fill, fill_n): Revert last change...
...
2004-06-25 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_algobase.h (fill, fill_n): Revert last
change: actually we need to copy construct an object of type
_Tp, not of type iterator_traits<>::value_type, therefore the
code is ok.
From-SVN: r83652
2004-06-25 14:17:58 +00:00
Paolo Carlini
1a277d94fe
stl_algobase.h (fill, fill_n): Tighten the dispatch: use iterator_traits<>::value_type, not _Tp.
...
2004-06-25 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_algobase.h (fill, fill_n): Tighten the
dispatch: use iterator_traits<>::value_type, not _Tp.
From-SVN: r83648
2004-06-25 10:51:45 +00:00
Paolo Carlini
576df3214c
1.cc: Tweak instantiations.
...
2004-06-25 Paolo Carlini <pcarlini@suse.de>
* testsuite/25_algorithms/fill/1.cc: Tweak instantiations.
* testsuite/25_algorithms/fill/2.cc: Likewise.
From-SVN: r83646
2004-06-25 09:37:21 +00:00
Paolo Carlini
6e539e2396
[multiple changes]
...
2004-06-25 Dan Nicolaescu <dann@ics.uci.edu>
Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_algobase.h (__fill, __fill_n): New helpers
for fill and fill_n, respectively: when copying is cheap, use a
temporary to avoid a memory read in each iteration.
2004-06-25 Paolo Carlini <pcarlini@suse.de>
* testsuite/25_algorithms/fill/1.cc: New.
* testsuite/25_algorithms/fill/2.cc: Likewise.
From-SVN: r83645
2004-06-25 09:25:57 +00:00
Benjamin Kosnik
c19d6c9f9f
formatter.h (__gnu_debug::_Error_formatter): Remove copy constructor and assignment operator.
...
2004-06-25 Benjamin Kosnik <bkoz@redhat.com>
* include/debug/formatter.h (__gnu_debug::_Error_formatter):
Remove copy constructor and assignment operator.
From-SVN: r83641
2004-06-25 07:01:42 +00:00
Benjamin Kosnik
838d430929
concurrence.h (__gnu_cxx::lock): New.
...
2004-06-24 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/concurrence.h (__gnu_cxx::lock): New.
* include/ext/pool_allocator.h (__pool_base::_Lock::_S_lock): Remove.
(__pool_base::_M_get_mutex): New.
* include/bits/allocator.h: Tweak.
* src/allocator.cc (__pool_base::_M_get_free_list): Correct offset.
* config/linker-map.gnu: Remove __pool_base::_Lock::_S_lock.
* include/bits/stl_threads.h: Remove.
* include/Makefile.am: Also here.
* include/Makefile.in: Regenerate.
* src/locale_init.cc: Use __gnu_cxx::lock.
* src/allocator.cc: Move all instantiations...
* src/allocator-inst.cc: ...here.
From-SVN: r83638
2004-06-25 06:10:44 +00:00
GCC Administrator
3953b22e75
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r83623.2
2004-06-25 00:16:19 +00:00
Andrew Pinski
d42093a1db
darwin7.h (MATH_LIBRARY): Remove.
...
gcc/ChangeLog:
* config/darwin7.h (MATH_LIBRARY): Remove.
(LIB_SPEC): Define.
* config/darwin.h (MATH_LIBRARY): Define always to empty.
(LIB_SPEC): Only define if not already defined.
libstdc++/ChangeLog:
* linkage.m4: Remove check for libmx.
* configure: Regenerate.
libgfortran/ChangeLog:
* configure.ac: Remove check for libmx.
* configure: Regenerate.
From-SVN: r83603
2004-06-24 10:53:07 -07:00
GCC Administrator
44ee9aef7b
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r83572.2
2004-06-24 00:16:20 +00:00
Paolo Carlini
dcbbf6f31b
re PR libstdc++/16154 (input iterator concept too restrictive)
...
2004-06-23 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/16154
* include/bits/boost_concept_check.h (struct _TrivialIteratorConcept):
Don't require the _DefaultConstructibleConcept.
(struct _ForwardIteratorConcept): Require it here.
From-SVN: r83554
2004-06-23 16:03:52 +00:00
GCC Administrator
2f60699380
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r83529.2
2004-06-23 00:16:16 +00:00
Alexandre Oliva
fa94878458
istream.tcc (getline): Make sure arguments passed to min/max have the same type.
...
* include/bits/istream.tcc (getline): Make sure arguments passed
to min/max have the same type.
* include/bits/locale_facets.tcc (__verify_grouping): Likewise.
* include/bits/stl_deque.h (_Deque_base::_Deque_base): Likewise.
From-SVN: r83522
2004-06-22 22:22:14 +00:00
Benjamin Kosnik
3b56276ea5
abi.html: Update links.
...
2004-06-22 Benjamin Kosnik <bkoz@redhat.com>
* docs/html/abi.html: Update links.
From-SVN: r83498
2004-06-22 16:01:02 +00:00
Paolo Carlini
482c0c5d0f
complex_inserters_extractors.cc, [...]: Move to...
...
2004-06-22 Paolo Carlini <pcarlini@suse.de>
* testsuite/26_numerics/complex_inserters_extractors.cc,
complex_value.cc, buggy_complex.cc: Move to...
* testsuite/26_numerics/complex/: ... here.
* testsuite/26_numerics/c99_classification_macros_c++.cc,
c99_classification_macros_c.cc, c_math.cc, c_math_dynamic.cc,
fabs_inline.cc: Move to...
* testsuite/26_numerics/cmath/: ... here.
* testsuite/26_numerics/binary_closure.cc, slice.cc,
slice_array_assignment.cc, valarray.cc, valarray_const_bracket.cc,
valarray_name_lookup.cc, valarray_operators.cc,
valarray_subset_assignment.cc: Move to...
* testsuite/26_numerics/valarray/: ... here (new dir).
* testsuite/26_numerics/sum_diff.cc: Move to...
* testsuite/26_numerics/numeric/: ... here (new dir).
From-SVN: r83489
2004-06-22 10:52:14 +00:00
Paolo Carlini
80dddedcaf
std_istream.h (ignore(streamsize __n = 1, int_type __delim = traits_type::eof())): Split into...
...
2004-06-22 Paolo Carlini <pcarlini@suse.de>
* include/std/std_istream.h (ignore(streamsize __n = 1,
int_type __delim = traits_type::eof())): Split into...
(ignore(), ignore(streamsize __n), ignore(streamsize __n,
int_type __delim)): The first two can be much more simpler
and efficient than the fully general case; also, the last
two can take advantage of the same mechanism already used
for getline.
* include/bits/istream.tcc (ignore(streamsize __n = 1,
int_type __delim = traits_type::eof()): Remove.
(ignore(), ignore(streamsize __n), ignore(streamsize __n,
int_type __delim)): New.
From-SVN: r83486
2004-06-22 10:06:39 +00:00
Loren J. Rittle
88c499cce7
linker-map.gnu: Use wildcards for __basic_file::sys_open(FILE*, _Ios_Openmode).
...
* config/linker-map.gnu: Use wildcards for
__basic_file::sys_open(FILE*, _Ios_Openmode).
From-SVN: r83470
2004-06-22 00:24:52 +00:00
GCC Administrator
026a935f41
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r83467.2
2004-06-22 00:16:47 +00:00
GCC Administrator
6687b0fc2a
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r83423.2
2004-06-21 00:16:16 +00:00
Paolo Carlini
aa33d72501
3.cc: New.
...
2004-06-20 Paolo Carlini <pcarlini@suse.de>
* testsuite/27_io/basic_istream/ignore/char/3.cc: New.
From-SVN: r83408
2004-06-20 09:42:39 +00:00
GCC Administrator
2ec5cdadd4
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r83402.2
2004-06-20 00:16:17 +00:00
GCC Administrator
1c37e0b6e8
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r83377.2
2004-06-19 00:16:19 +00:00
Paolo Carlini
e2aa7005e7
mt_allocator (__mt_alloc<>::_Tune): Add _M_align, the alignment requested.
...
2004-06-18 Paolo Carlini <pcarlini@suse.de>
* include/ext/mt_allocator (__mt_alloc<>::_Tune): Add _M_align,
the alignment requested.
(__mt_alloc<>::_Tune::_Tune): Tweak consistently.
(__mt_alloc<>::allocate): Use it instead of sizeof(_Block_record).
(__mt_alloc<>::deallocate): Likewise.
From-SVN: r83372
2004-06-18 23:27:30 +00:00
Paolo Carlini
ab3d88bed1
re PR libstdc++/16020 (cannot copy __gnu_debug::bitset)
...
2004-06-18 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/16020
* include/debug/safe_base.h
(_Safe_sequence_base::_Safe_sequence_base(const _Safe_sequence_base&),
_Safe_sequence_base::operator=): Provide definitions.
* testsuite/23_containers/bitset/cons/16020.cc: New.
From-SVN: r83357
2004-06-18 17:13:35 +00:00
Benjamin Kosnik
2832d07bd1
pool_allocator.h: Qualify __throw_bad_alloc.
...
2004-06-18 Benjamin Kosnik <bkoz@redhat.com>
* include/ext/pool_allocator.h: Qualify __throw_bad_alloc.
(__pool_base): Remove unused template parameter. Add
protected. Move lock data into __pool_base::_Lock. Remove static
on member functions.
(__pool_base::_M_get_free_list): New.
(__pool_alloc): Move _S_force new here.
* src/allocator.cc: Move out of line __pool_base definitions here.
* config/linker-map.gnu: Export bits from __pool_base.
From-SVN: r83355
2004-06-18 16:52:42 +00:00
Paolo Carlini
a80e0e831f
2004-06-18 Paolo Carlini <pcarlini@suse.de>
...
* config/locale/gnu/numeric_members.cc
(numpunct<wchar_t>::_M_initialize_numpunct): Clean up
assignments of _M_decimal_point and _M_thousands_sep.
* config/locale/gnu/time_members.cc
(__timepunct<wchar_t>::_M_initialize_timepunct): Clean up
and reformat assignments of date and time fields.
From-SVN: r83346
2004-06-18 10:54:44 +00:00
R. Kelley Cook
9463204774
Fix incorrect year for some ChangeLog entries.
...
From-SVN: r83335
2004-06-18 02:24:43 +00:00
GCC Administrator
ed2e7facb5
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r83327.2
2004-06-18 00:16:16 +00:00
GCC Administrator
902fd62ceb
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r83278.2
2004-06-17 00:16:16 +00:00
Paolo Carlini
e751adc3b1
rope (rope(_CharT, const allocator_type&)): Fix to use _Data_allocate.
...
2004-06-16 Paolo Carlini <pcarlini@suse.de>
* include/ext/rope (rope(_CharT, const allocator_type&)): Fix
to use _Data_allocate.
* include/ext/ropeimpl.h (rope<>::_S_leaf_concat_char_iter): Likewise.
(rope<>::_S_substring): Likewise.
(rope<>::rope(size_t, _CharT, const allocator_type&)): Likewise.
(rope<>::c_str()): Likewise.
(rope<>::replace_with_c_str()): Likewise.
* include/ext/ropeimpl.h (_Rope_iterator_base<>::_S_setbuf):
Correctly qualify _S_leaf, _S_function, etc., with _Rope_constants::,
not _RopeRep.
(_Rope_iterator_base<>::_S_setcache): Likewise.
(_Rope_iterator_base<>::_S_setcache_for_incr): Likewise.
(rope<>::_S_substring): Likewise.
(rope<>::_S_dump): Likewise.
(rope<>::_S_fetch_ptr): Likewise.
(rope<>::_S_compare): Likewise.
(rope<>::replace_with_c_str()): Likewise.
* testsuite/ext/rope.cc: Rename to testsuite/ext/rope/1.cc.
* testsuite/ext/rope/2.cc: New.
2004-06-16 Paolo Carlini <pcarlini@suse.de>
Matt Austern <austern@apple.com>
* testsuite/ext/rope/3.cc: New.
Co-Authored-By: Matt Austern <austern@apple.com>
From-SVN: r83251
2004-06-16 17:29:16 +00:00
Andreas Schwab
58b9accaeb
Remove conflict marker.
...
From-SVN: r83234
2004-06-16 10:45:58 +00:00
GCC Administrator
aaab7bb6d7
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r83219.2
2004-06-16 00:16:15 +00:00
Paolo Bonzini
076e544330
configure.ac: New name of configure.in.
...
libmudflap/ChangeLog:
2005-06-15 Paolo Bonzini <bonzini@gnu.org>
* configure.ac: New name of configure.in. Update
AC_INIT, AC_CONFIG_SRCDIR, AC_CONFIG_HEADERS, AC_CONFIG_FILES,
AC_OUTPUT, AM_INIT_AUTOMAKE to the preferred style for
Autoconf 2.5x and Automake 1.7 or later.
* configure.in: Remove.
* configure: Regenerate.
* Makefile.am: Remove useless multilib rules.
* Makefile.in: Regenerate.
libstdc++-v3/ChangeLog:
2005-06-15 Paolo Bonzini <bonzini@gnu.org>
* acinclude.m4: Remove useless multilib configury.
* Makefile.am: Remove useless multilib rules.
* aclocal.m4: Regenerate.
* Makefile.in: Regenerate.
* configure.ac: Use AM_ENABLE_MULTILIB.
* configure: Regenerate.
zlib/ChangeLog.gcj:
2005-06-15 Paolo Bonzini <bonzini@gnu.org>
* Makefile.am: Remove useless multilib rules.
* configure.ac: Rewrite multilib support to use
features of recent automakes.
* aclocal.m4: Regenerate with Automake 1.8.5.
* Makefile.in: Regenerate with Automake 1.8.5.
* configure: Regenerate.
libffi/ChangeLog:
2005-06-15 Paolo Bonzini <bonzini@gnu.org>
* Makefile.am: Remove useless multilib rules.
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate with automake 1.8.5.
* configure.ac: Remove useless multilib configury.
* configure: Regenerate.
From-SVN: r83184
2004-06-15 14:47:55 +00:00
Paolo Carlini
659e82ad0f
hashtable.h: Trivial formatting fixes.
...
2004-06-15 Paolo Carlini <pcarlini@suse.de>
* include/ext/hashtable.h: Trivial formatting fixes.
* include/ext/rb_tree: Likewise.
From-SVN: r83183
2004-06-15 13:43:56 +00:00
GCC Administrator
6fb25ec080
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r83152.2
2004-06-15 00:16:23 +00:00
Paolo Carlini
d962e073a0
hash_map: Trivial formatting fixes.
...
2004-06-14 Paolo Carlini <pcarlini@suse.de>
* include/ext/hash_map: Trivial formatting fixes.
* include/ext/hash_set: Likewise.
* include/ext/memory: Likewise.
* include/ext/numeric: Likewise.
From-SVN: r83131
2004-06-14 19:40:45 +00:00
Benjamin Kosnik
2373de3a83
Makefile.in: Regenerate with automake 1.8.5.
...
2004-06-14 Benjamin Kosnik <bkoz@redhat.com>
* Makefile.in: Regenerate with automake 1.8.5.
* aclocal.m4: Same.
* include/Makefile.in: Same.
* libmath/Makefile.in: Same.
* libsupc++/Makefile.in: Same.
* po/Makefile.in: Same.
* src/Makefile.in: Same.
* testsuite/Makefile.in: Same.
From-SVN: r83123
2004-06-14 17:49:30 +00:00
Paolo Carlini
14ba6d00aa
slist: Trivial formatting fixes.
...
2004-06-14 Paolo Carlini <pcarlini@suse.de>
* include/ext/slist: Trivial formatting fixes.
From-SVN: r83098
2004-06-14 13:03:45 +00:00
Paolo Carlini
ce2a46a203
locale_facets.tcc (time_get<>::_M_extract_name): Don't use the 'magic number' 10 in the computation of __minlen...
...
2004-06-14 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (time_get<>::_M_extract_name):
Don't use the 'magic number' 10 in the computation of __minlen;
never access __name past __minlen; in the loop over __i3, don't
decrease __nmatches and increase __i3 at once, only either of
the two; tidy.
From-SVN: r83088
2004-06-14 10:49:36 +00:00
GCC Administrator
bd85b0cba6
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r83074.2
2004-06-14 00:16:16 +00:00
Paolo Carlini
fc6b41718d
locale_facets.tcc (time_get<>::do_get_time, [...]): Use only once _M_extract_via_format...
...
2004-06-13 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (time_get<>::do_get_time,
time_get<>::do_get_date): Use only once _M_extract_via_format,
instead of going through "%X"/"%x" and calling it two times
(+ using widen).
From-SVN: r83059
2004-06-13 09:52:14 +00:00
GCC Administrator
3e7ea383e6
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r83049.2
2004-06-13 00:16:53 +00:00
Paolo Carlini
4a787fa8bf
[multiple changes]
...
2004-06-12 Paolo Carlini <pcarlini@suse.de>
* include/ext/algorithm: Trivial formatting fixes.
* include/ext/functional: Likewise.
* include/ext/hash_fun.h: Likewise.
* include/ext/iterator: Likewise.
2004-06-12 Paolo Carlini <pcarlini@suse.de>
* include/bits/basic_string.tcc (find(const _CharT*, size_type,
size_type)): Reimplement using std::search.
* src/string-inst.cc: Instantiate std::search for char/wchar_t.
2004-06-12 Dhruv Matani <dhruvbird@gmx.net>
* testsuite/performance/21_strings/string_find.cc: New.
From-SVN: r83022
2004-06-12 08:10:24 +00:00
GCC Administrator
e4602cf33b
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r83008.2
2004-06-12 00:16:18 +00:00
GCC Administrator
57ab9ac22c
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r82953.2
2004-06-11 00:16:14 +00:00
Aaron W. LaFramboise
bdd2a210b8
istream.tcc (istream::ignore): Fix for -Wuninitialized.
...
2004-06-10 Aaron W. LaFramboise <aaronraolete36@aaronwl.com>
* include/bits/istream.tcc (istream::ignore): Fix for -Wuninitialized.
From-SVN: r82939
2004-06-10 19:54:59 +00:00
Jan van Dijk
9ef313e31c
std_complex.h (sin(const complex<_Tp>& __z)): Make this function return a value.
...
2004-06-10 Jan van Dijk <jan@etpmod.phys.tue.nl>
* include/std/std_complex.h (sin(const complex<_Tp>& __z)): Make
this function return a value.
From-SVN: r82928
2004-06-10 16:54:49 +00:00
GCC Administrator
ee18c9f169
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r82874.2
2004-06-10 00:16:17 +00:00
Paolo Carlini
7338fc64dd
re PR libstdc++/15775 (Allocator::pointer consistently ignored)
...
2004-06-09 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/15775
* include/bits/stl_deque.h: Consistently with stl_set.h, define
pointer as allocator's pointer, likewise for reference,
const_pointer, and const_reference.
* include/bits/stl_list.h: Likewise.
* include/bits/stl_map.h: Likewise.
* include/bits/stl_multimap.h: Likewise.
* include/bits/stl_vector.h: Likewise.
From-SVN: r82857
2004-06-09 21:37:46 +00:00
Benjamin Kosnik
92efec6ec5
crossconfig.m4: Remove signbit, signbitf, signbitl.
...
2004-06-09 Benjamin Kosnik <bkoz@redhat.com>
* crossconfig.m4: Remove signbit, signbitf, signbitl.
* linkage.m4: Comment LIBMATHOBJS, tweak others. AC_DEFINES for
builtin math functions instead of AC_DEFINE_UNQUOTED.
* configure: Regenerate.
From-SVN: r82815
2004-06-09 07:26:28 +00:00
Benjamin Kosnik
57ffad2ba3
filter.sed: Rename _GLIBCXX_STD to std.
...
2004-06-08 Benjamin Kosnik <bkoz@redhat.com>
* docs/doxygen/filter.sed: Rename _GLIBCXX_STD to std.
* docs/doxygen/mainpage.html: Remove links.
From-SVN: r82814
2004-06-09 06:09:17 +00:00
Jason Merrill
37f3105a58
linker-map.gnu: Use wildcards for __basic_file::{xsgetn,xsputn,seekoff,xsputn_2}.
...
* config/linker-map.gnu: Use wildcards for
__basic_file::{xsgetn,xsputn,seekoff,xsputn_2}.
From-SVN: r82813
2004-06-08 23:56:34 -04:00
GCC Administrator
03febbee84
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r82802.2
2004-06-09 00:16:16 +00:00
Paolo Carlini
5f1a5ede6c
pool_allocator.h: Convert to a global free-list, as per the original SGI/HP design...
...
2004-06-08 Paolo Carlini <pcarlini@suse.de>
* include/ext/pool_allocator.h: Convert to a global free-list,
as per the original SGI/HP design: move the implementation
details to struct __pool_base, from which __pool_alloc derives.
* src/allocator.cc: Instantiate __pool_base.
From-SVN: r82794
2004-06-08 22:19:18 +00:00
GCC Administrator
aa07e14d5d
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r82733.2
2004-06-08 00:16:25 +00:00
Dhruv Matani
345b912f50
2004-06-07 Dhruv Matani <dhruvbird@gmx.net>
...
Paolo Carlini <pcarlini@suse.de>
* testsuite/testsuite_performance.h
(resource_counter::allocated_memory): Make it return the right
number of bytes requested by the allocators/application. This is
the sbrk+mmaped memory.
Co-Authored-By: Paolo Carlini <pcarlini@suse.de>
From-SVN: r82725
2004-06-07 21:56:16 +00:00
GCC Administrator
00dd8ca593
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r82677.2
2004-06-07 00:16:15 +00:00
GCC Administrator
ad94c84603
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r82658.2
2004-06-06 00:16:15 +00:00
GCC Administrator
0fa96cea26
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r82640.2
2004-06-05 00:16:17 +00:00
GCC Administrator
1b6be71988
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r82616.2
2004-06-04 00:16:17 +00:00
GCC Administrator
85e933d8ed
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r82592.2
2004-06-03 00:16:16 +00:00
Gabriel Dos Reis
b53dcf3e5c
* include/std/std_complex.h (log): Tidy.
...
From-SVN: r82584
2004-06-02 21:04:07 +00:00
GCC Administrator
1e2a2bdc35
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r82566.2
2004-06-02 00:16:15 +00:00
GCC Administrator
017f7506b5
Daily bump.
...
From-SVN: r82525
2004-06-01 00:16:14 +00:00
Benjamin Kosnik
7c9fee34e5
linker-map.gnu (GLIBCXX_3.4.1): Add.
...
2004-05-31 Benjamin Kosnik <bkoz@redhat.com>
* config/linker-map.gnu (GLIBCXX_3.4.1): Add.
* testsuite/testsuite_abi.cc: Same.
* configure.ac (libtool_VERSION): Bump to 6:1:0.
* configure: Regenerate.
* aclocal.m4: Regenerate.
From-SVN: r82498
2004-05-31 21:19:52 +00:00
GCC Administrator
d1eea9c043
Daily bump.
...
From-SVN: r82472
2004-05-31 00:16:13 +00:00
Gabriel Dos Reis
a4ddde0dee
std_complex.h (complex<_Tp>): Properly indent to follow C++STYLE.
...
* include/std/std_complex.h (complex<_Tp>): Properly indent
to follow C++STYLE.
(complex<>::__rep): New.
(__complex_abs): New. Dispatch to built-ins.
(abs): Use them.
(__complex_arg): New. Dispatch to built-ins.
(arg): Use it.
(__complex_cos): New. Dispatch to built-ins.
(cos): Use it.
(__complex_cosh): New. Dispatch to built-ins.
(cosh): Use it.
(__complex_exp): New. Dispatch to built-ins.
(exp): Use it.
(__complex_log): New. Dispatch to built-ins.
(log): Use it.
(__complex_sin): New. Dispatch to built-ins.
(sin): Use it.
(__complex_sinh): New. Dispatch to built-ins.
(sinh): Use it.
(__complex_sqrt): New. Dispatch to built-ins.
(sqrt): Use it.
(__complex_tan): New. Dispatch to built-ins.
(tan): Use it.
(__complex_tanh): New. Dispatch to built-ins.
(tanh): Use it.
(__complex_pow): New. Dispatch to built-ins.
(pow): Use it.
From-SVN: r82453
2004-05-30 14:41:39 +00:00
GCC Administrator
666e5d7b94
Daily bump.
...
From-SVN: r82436
2004-05-30 00:16:13 +00:00
Richard B. Kreckel
803cb0b5c9
re PR libstdc++/14600 (__gnu_cxx::stdio_sync_filebuf should expose internal FILE*)
...
2004-05-29 Richard B. Kreckel <Richard.Kreckel@Framatome-ANP.com>
Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/14600
* include/ext/stdio_sync_filebuf.h (stdio_sync_filebuf::file): New.
* include/ext/stdio_filebuf.h (stdio_filebuf::file): New.
* config/io/basic_file_stdio.cc (__basic_file::file): New.
* config/io/basic_file_stdio.h: Define.
Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com>
From-SVN: r82419
2004-05-29 14:40:59 +00:00
GCC Administrator
b1243dd57b
Daily bump.
...
From-SVN: r82407
2004-05-29 00:16:16 +00:00
Benjamin Kosnik
e8a382b780
re PR libstdc++/15675 (Doxygen graph are invalid in the libstdc++-v3 online docs)
...
2004-05-27 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/15675
* docs/html/documentation.html: Update doxygen links for 3.4.0.
From-SVN: r82355
2004-05-28 04:25:18 +00:00
Jan Beulich
a9c70186f4
create_testsuite_files: Tweak.
...
2004-05-27 Jan Beulich <jbeulich@novell.com>
* scripts/create_testsuite_files: Tweak.
From-SVN: r82354
2004-05-28 04:21:50 +00:00
GCC Administrator
431b736152
Daily bump.
...
From-SVN: r82345
2004-05-28 00:16:14 +00:00
GCC Administrator
67d060c4ed
Daily bump.
...
From-SVN: r82305
2004-05-27 00:16:17 +00:00
GCC Administrator
de29c8bc56
Daily bump.
...
From-SVN: r82271
2004-05-26 00:16:43 +00:00
Benjamin Kosnik
9874adaf91
re PR libstdc++/15489 (testsuite_files determined incorrectly)
...
2004-05-25 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/15489
* scripts/create_testsuite_files: Revert xtype change, add non-GNU
bits to do the same thing.
From-SVN: r82250
2004-05-25 17:53:00 +00:00
GCC Administrator
42cc8f8919
Daily bump.
...
From-SVN: r82222
2004-05-25 00:16:18 +00:00
Paolo Carlini
b1c5b5a09b
istream.tcc (ignore): Correctly deal with n == numeric_limits<streamsize>::max().
...
2004-05-24 Paolo Carlini <pcarlini@suse.de>
* include/bits/istream.tcc (ignore): Correctly deal with
n == numeric_limits<streamsize>::max().
* testsuite/27_io/basic_istream/ignore/char/2.cc: New.
* include/bits/istream.tcc (basic_istream<>::getline): Prefer
'_M_gcount + 1 < __n' to '--__n; _M_gcount < __n', just in case
__n == numeric_limits<>::min().
* include/bits/istream.tcc: Minor tweaks.
* testsuite/21_strings/basic_string/inserters_extractors/char/10.cc:
Tighten.
* testsuite/21_strings/basic_string/inserters_extractors/char/11.cc:
Likewise.
* testsuite/21_strings/basic_string/inserters_extractors/wchar_t/10.cc:
Likewise.
* testsuite/21_strings/basic_string/inserters_extractors/wchar_t/11.cc:
Likewise.
* testsuite/27_io/basic_istream/getline/char/5.cc: Likewise.
From-SVN: r82198
2004-05-24 09:40:56 +00:00
GCC Administrator
8eeea0c1c7
Daily bump.
...
From-SVN: r82180
2004-05-24 00:16:32 +00:00
GCC Administrator
42159b8af9
Daily bump.
...
From-SVN: r82156
2004-05-23 00:16:18 +00:00
Benjamin Kosnik
26c691a88b
re PR libstdc++/12854 (libstdc++ vs. -Weffc++)
...
2004-05-22 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/12854
Fixups for -Weffc++.
* include/bits/basic_string.h (basic_string::operator=): Return
pointer to this instead of result of assign. Although redundant,
this doesn't impact resultant codegen.
* include/bits/locale_facets.h (__numpunct_cache): Declare
assignment opxserator and copy constructor private.
(__timepunct_cache): Same.
(__moneypunct_cache): Same.
(collate): Use member initialization list for _M_c_locale_collate.
* config/locale/gnu/messages_members.h: Same.
* config/locale/gnu/time_members.h (__timepunct): Same.
* src/codecvt.cc: Use member initialization list to initialize
_M_c_locale_codecvt.
* src/ctype.cc: Same, with _M_c_locale_ctype and _M_narrow_ok.
* config/os/gnu-linux/ctype_noninline.h: Same.
* src/locale.cc (_Impl): Same.
* src/locale_init.cc: Same.
* src/localename.cc: Same.
* include/bits/basic_ios.h (basic_ios): Complete member
initialization list.
* include/bits/istream.tcc (basic_istream::sentry): Same.
* include/bits/ostream.tcc (basic_ostream::sentry): Same.
* include/bits/fstream.tcc (basic_filebuf): Add _M_lock and
_M_pback to member initialization list.
* include/std/std_streambuf.h: Same.
* include/std/std_sstream.h: Same, for _M_mode.
* src/ios.cc (ios_base): Same.
* include/ext/rope: Make derived classes match exception
specifications. Add copy constructors and assignment operators.
* include/debug/safe_base.h (_Safe_sequence_base): Declare copy
constructor and assignment operator protected.
(_Safe_iterator_base): Same.
* include/debug/formatter.h (_Error_formatter): Define copy
constructor and assignment operator.
* include/backward/strstream: Declare assignment operator and copy
constructor private.
From-SVN: r82153
2004-05-22 23:46:34 +00:00
Benjamin Kosnik
f4a1faa55f
testsuite_hooks.h (func_callback): Declare copy constructor and assignment operator private.
...
2004-05-22 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/testsuite_hooks.h (func_callback): Declare copy
constructor and assignment operator private.
* testsuite/23_containers/deque/cons/clear_allocator.cc: Match
exception specifications of base class.
* testsuite/23_containers/list/cons/clear_allocator.cc: Same.
* testsuite/23_containers/vector/cons/clear_allocator.cc: Same.
* testsuite/23_containers/vector/bool/clear_allocator.cc: New.
From-SVN: r82150
2004-05-22 21:51:07 +00:00
Benjamin Kosnik
52ceb03971
cxxabi.h: Remove duplicated and useless public and private keywords in class declarations.
...
2004-05-22 Benjamin Kosnik <bkoz@redhat.com>
* libsupc++/cxxabi.h: Remove duplicated and useless public and
private keywords in class declarations. Format. Use
stddef.h. Expose declarations to "C" compilation.
* libsupc++/tinfo.cc (__upcast_result): Add copy constructor and
assignment operator.
(__dyncast_result): Same.
* libsupc++/vec.cc (uncatch_exception): Same, use member
initialization list.
From-SVN: r82147
2004-05-22 21:07:28 +00:00
Benjamin Kosnik
6ad70bf28a
abi_check.cc: Add unistd.h.
...
2004-05-22 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/abi_check.cc: Add unistd.h.
From-SVN: r82137
2004-05-22 17:08:02 +00:00
Paolo Carlini
fea6ecb746
re PR libstdc++/15565 ([3.4 only] SLES9: leading + sign for unsigned int with showpos)
...
2004-05-22 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/15565
* include/bits/locale_facets.tcc (__int_to_char(unsigned long),
__int_to_char(unsigned long long)): Showpos is not relevant
for unsigned types.
* testsuite/22_locale/num_put/put/char/15565.cc: New.
* testsuite/22_locale/num_put/put/wchar_t/15565.cc: New.
* testsuite/22_locale/num_put/put/wchar_t/1.cc: Use L for the fill
char.
* testsuite/22_locale/num_put/put/wchar_t/2.cc: Likewise.
* testsuite/22_locale/num_put/put/wchar_t/3.cc: Likewise.
* testsuite/22_locale/num_put/put/wchar_t/4.cc: Likewise.
* testsuite/22_locale/num_put/put/wchar_t/5.cc: Likewise.
* testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise.
* testsuite/22_locale/num_put/put/wchar_t/8.cc: Likewise.
From-SVN: r82128
2004-05-22 09:02:56 +00:00
Matthias Klose
2461ecbe6c
run_doxygen: Bump required version.
...
2004-05-21 Matthias Klose <doko@debian.org>
* docs/doxygen/run_doxygen: Bump required version.
From-SVN: r82125
2004-05-22 07:07:01 +00:00
Benjamin Kosnik
a3e14d3983
abi.html (libgcc_s): Additions suggested by Matthias Klose.
...
2004-05-21 Benjamin Kosnik <bkoz@redhat.com>
* docs/html/abi.html (libgcc_s): Additions suggested by Matthias Klose.
* docs/doxygen/Intro.3: Subtractions suggested by Phil Edwards.
From-SVN: r82122
2004-05-22 05:01:36 +00:00
GCC Administrator
c5042c5c8b
Daily bump.
...
From-SVN: r82118
2004-05-22 00:16:14 +00:00
Paolo Carlini
32da620821
istream.tcc (ignore): Remove redundant line.
...
2004-05-21 Paolo Carlini <pcarlini@suse.de>
* include/bits/istream.tcc (ignore): Remove redundant line.
(readsome): Tidy, closely following 27.6.1.3, p30.
From-SVN: r82103
2004-05-21 17:16:21 +00:00
GCC Administrator
8754a0f6a0
Daily bump.
...
From-SVN: r82081
2004-05-21 00:16:18 +00:00
Paolo Carlini
3adf6cadbb
istream.tcc (operator>>(basic_istream<>&, basic_string<>&)): Use a temporary buffer, thus avoiding reallocation for common case.
...
2004-05-20 Paolo Carlini <pcarlini@suse.de>
* include/bits/istream.tcc (operator>>(basic_istream<>&,
basic_string<>&)): Use a temporary buffer, thus avoiding
reallocation for common case.
* testsuite/21_strings/basic_string/inserters_extractors/char/11.cc:
New.
* testsuite/21_strings/basic_string/inserters_extractors/wchar_t/11.cc:
Likewise.
* include/bits/istream.tcc: Const-ification of a few variables.
* include/bits/ostream.tcc: Trivial formatting fixes and
const-ification of some variables.
From-SVN: r82070
2004-05-20 22:06:40 +00:00
Benjamin Kosnik
66fda8b2e6
re PR libstdc++/15123 (libstdc++-doc: Allocators.3 manpage is empty)
...
2004-05-20 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/15123
PR libstdc++/13928
* docs/doxygen/Intro.3: Remove Allocators.3.
Add new extension headers, extension namespace list.
* docs/doxygen/run_doxygen (problematic): Remove Allocators.3
Rename GLIBCXXSTD names to std::. Rename __gnu_debug to
__gnu_debug::. Remove __policy_ renames.
* docs/doxygen/guide.html: Add dot note.
* docs/doxygen/stdheader.cc: Edit, add files.
* docs/doxygen/user.cfg.in: Regenerate with Doxygen 1.3.7.
From-SVN: r82066
2004-05-20 18:52:09 +00:00
GCC Administrator
a43b9dbe90
Daily bump.
...
From-SVN: r82045
2004-05-20 00:16:12 +00:00
Jonathan Wakely
c6618c0336
re PR libstdc++/11691 (stdio_filebuf leaks FILE buffer when "no close" is requested)
...
2004-05-18 Jonathan Wakely <redi@gcc.gnu.org>
* include/ext/stdio_filebuf.h: Update comments to reflect PR 11691.
From-SVN: r82019
2004-05-19 09:31:07 +01:00
GCC Administrator
933520b9be
Daily bump.
...
From-SVN: r82012
2004-05-19 00:16:12 +00:00
Jan Beulich
b79634e3d8
re PR libstdc++/15489 (testsuite_files determined incorrectly)
...
2004-05-18 Jan Beulich <jbeulich@novell.com>
PR libstdc++/15489
* scripts/create_testsuite_files: Also find source files through
symbolic links.
2004-05-18 Jan Beulich <jbeulich@novell.com>
PR libstdc++/15488
* testsuite/lib/libstdc++.exp: Make test files writable.
From-SVN: r82002
2004-05-18 18:42:27 +00:00
Paolo Carlini
2ab20654a2
[multiple changes]
...
2004-05-18 Paolo Carlini <pcarlini@suse.de>
* include/ext/mt_allocator.h:(__mt_alloc::allocate): Minor
tweaks.
2004-05-18 Dhruv Matani <dhruvbird@gmx.net>
* include/ext/mt_allocator.h:(__mt_alloc::allocate): Re-write
allocation loop which removes blocks from the global free list
from O(N) to O(1) when the required blocks are <= the number
available.
From-SVN: r81992
2004-05-18 15:58:33 +00:00
Kaz Kojima
c779c42fc3
re PR bootstrap/15120 ([3.3 only] [libtool bug] hidden symbol `__sdivsi3_i4' is referenced by DSO)
...
PR bootstrap/15120
* libtool.m4 (lt_cv_deplibs_check_method): Use pass_all on sh*.
* */configure: Rebuilt.
From-SVN: r81980
2004-05-18 10:11:38 +00:00
Jonathan Wakely
319da9da6b
enc_filebuf.h: Move concept-check macro to class scope.
...
2004-05-18 Jonathan Wakely <redi@gcc.gnu.org>
* include/ext/enc_filebuf.h: Move concept-check macro to class scope.
From-SVN: r81978
2004-05-18 10:09:39 +01:00
Benjamin Kosnik
261e5b9e6a
[multiple changes]
...
2004-05-17 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/testsuite_hooks.h (__gnu_test::conversion): New class.
* testsuite/23_containers/deque/14340.cc: New.
* testsuite/23_containers/list/14340.cc: New.
* testsuite/23_containers/map/14340.cc: New.
* testsuite/23_containers/multimap/14340.cc: New.
* testsuite/23_containers/multiset/14340.cc: New.
* testsuite/23_containers/set/14340.cc: New.
* testsuite/23_containers/vector/14340.cc: New.
2004-05-17 Douglas Gregor <gregod@cs.rpi.edu>
PR libstdc++/14340
* include/debug/safe_iterator.h (_Safe_iterator converting
constructor): Only allow declaration to instantiate when the
incoming _Safe_iterator has exactly the right iterator type.
From-SVN: r81970
2004-05-18 03:27:57 +00:00
GCC Administrator
b7cefb87f0
Daily bump.
...
From-SVN: r81964
2004-05-18 00:16:13 +00:00
Jonathan Wakely
b2342b5484
boost_concept_check.h: Fix old attribute syntax.
...
2004-05-17 Jonathan Wakely <redi@gcc.gnu.org>
* include/bits/boost_concept_check.h: Fix old attribute syntax.
* testsuite/23_containers/map/modifiers/swap.cc: Define operator<
to pass concept-checks.
* testsuite/23_containers/multimap/modifiers/swap.cc: Same.
* testsuite/23_containers/set/modifiers/swap.cc: Same.
* testsuite/23_containers/multiset/modifiers/swap.cc: Same.
From-SVN: r81953
2004-05-17 22:56:18 +01:00
GCC Administrator
43d95aeec1
Daily bump.
...
From-SVN: r81930
2004-05-17 00:16:46 +00:00
Paolo Carlini
5a4db26d01
std_bitset.h: Minor formatting fixes.
...
2004-05-16 Paolo Carlini <pcarlini@suse.de>
* include/std/std_bitset.h: Minor formatting fixes.
From-SVN: r81917
2004-05-16 17:45:29 +00:00
Paolo Carlini
08f7c2eb78
mt_allocator.h (__mt_alloc<>::deallocate): Consistently update __bin._M_free[0].
...
2004-05-16 Paolo Carlini <pcarlini@suse.de>
* include/ext/mt_allocator.h (__mt_alloc<>::deallocate):
Consistently update __bin._M_free[0].
(__mt_alloc<>::allocate): When __bin._M_first[0] != NULL use
__bin._M_free[0] to simplify the while loop (i.e., the number
of iterations becomes known at the outset).
From-SVN: r81916
2004-05-16 17:01:40 +00:00
GCC Administrator
861464a0fb
Daily bump.
...
From-SVN: r81910
2004-05-16 00:16:11 +00:00
Paolo Carlini
5c33bb6218
std_bitset.h: Trivial formatting fixes.
...
2004-05-15 Paolo Carlini <pcarlini@suse.de>
* include/std/std_bitset.h: Trivial formatting fixes.
From-SVN: r81878
2004-05-15 11:43:03 +00:00
GCC Administrator
5c3be6fdb0
Daily bump.
...
From-SVN: r81869
2004-05-15 00:16:13 +00:00
Paolo Carlini
394ef95eaf
re PR libstdc++/15361 (bitset<>::_Find_next fails)
...
2004-05-14 Paolo Carlini <pcarlini@suse.de>
Ivan Godard <igodard@pacbell.net>
PR libstdc++/15361
* include/std/std_bitset.h (_Base_bitset<_Nw>::_M_do_find_next): Fix.
* testsuite/23_containers/bitset/ext/15361.cc: New.
Co-Authored-By: Ivan Godard <igodard@pacbell.net>
From-SVN: r81852
2004-05-14 17:01:49 +00:00
GCC Administrator
919fb66ee1
Daily bump.
...
From-SVN: r81822
2004-05-14 00:16:12 +00:00
Benjamin Kosnik
7549d7f202
re PR libstdc++/15046 (Math functions misdetected by cross configuration)
...
2004-05-13 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/15046
* crossconfig.m4: Add C99 math bits for linux crosses.
* configure: Regenerate.
From-SVN: r81797
2004-05-13 17:49:42 +00:00
Simon Marshall
95b147fe4a
re PR libstdc++/15090 (-fno-for-scope vs. libstdc++)
...
2004-05-13 Simon Marshall <simon.marshall@misys.com>
Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/15090
* include/bits/locale_facets.h: Fix for -fno-for-scope.
* include/debug/safe_sequence.h: Same.
* include/debug/safe_iterator.tcc: Same.
* src/debug.cc: Same.
* src/locale.cc: Same.
* src/locale_init.cc: Same.
* src/localename.cc: Same.
* config/locale/gnu/ctype_members.cc: Same.
* config/locale/gnu/numeric_members.cc: Same.
* testsuite/testsuite_abi.cc: Same.
* testsuite/testsuite_hooks.cc: Same.
Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com>
From-SVN: r81795
2004-05-13 16:29:39 +00:00
Jonathan Wakely
d7f3083354
abi.html: Document effect of -fabi-version on value of __GXX_ABI_VERSION...
...
2004-05-13 Jonathan Wakely <redi@gcc.gnu.org>
* docs/html/abi.html: Document effect of -fabi-version on value
of __GXX_ABI_VERSION, and that it's defined in c-cppbuiltin.c.
Fix markup.
From-SVN: r81794
2004-05-13 16:50:02 +01:00
Benjamin Kosnik
4b351c6ee8
re PR libstdc++/15074 (g++ -lsupc++ still links against libstdc++)
...
2004-05-13 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/15074
* docs/html/faq/index.html: Update docs for libsupc++ usage.
From-SVN: r81786
2004-05-13 15:14:07 +00:00
Benjamin Kosnik
5c61a86377
re PR libstdc++/15412 (_GLIBCXX_ symbols symbols defined and used in different namespaces)
...
2004-05-13 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/15412
* include/bits/stl_threads.h (_GLIBCXX_mutex): Move to namespace
__gnu_internal.
(_GLIBCXX_mutex_address): Same.
(_GLIBCXX_once): Same.
(_GLIBCXX_mutex_init): Same.
(_GLIBCXX_mutex_address_init): Same.
From-SVN: r81785
2004-05-13 14:54:24 +00:00
Benjamin Kosnik
4b260c2013
abi.html: New.
...
2004-05-13 Benjamin Kosnik <bkoz@redhat.com>
* docs/html/abi.html: New.
* docs/html/abi.txt: Remove.
* docs/html/documentation.html: Add link.
* testsuite/Makefile.am: Add files.
* testsuite/Makefile.in: Regenerated.
* testsuite/abi_check.cc: Move and modify code into...
* testsuite/testsuite_abi.cc: Add.
* testsuite/testsuite_abi.h: Add.
* docs/html/17_intro/TODO: Update.
* include/bits/stl_pair.h: Format.
From-SVN: r81781
2004-05-13 12:50:53 +00:00
GCC Administrator
ac1a20aec5
Daily bump.
...
From-SVN: r81758
2004-05-13 00:16:12 +00:00
GCC Administrator
d0fb39b330
Daily bump.
...
From-SVN: r81729
2004-05-12 00:16:13 +00:00
GCC Administrator
3dc85d39ff
Daily bump.
...
From-SVN: r81689
2004-05-11 00:16:13 +00:00
GCC Administrator
10f4ab75ce
Daily bump.
...
From-SVN: r81662
2004-05-10 00:16:11 +00:00
GCC Administrator
6fe76f1d7e
Daily bump.
...
From-SVN: r81638
2004-05-08 00:16:11 +00:00
GCC Administrator
087392033b
Daily bump.
...
From-SVN: r81593
2004-05-07 00:16:10 +00:00
Matthias Klose
ce120bb2c4
iterator.h: Add GPL copyright info, with exception clause.
...
2004-05-06 Matthias Klose <doko@debian.org>
* include/backward/iterator.h: Add GPL copyright info,
with exception clause.
* include/bits/boost_concept_check.h: Likewise.
* include
* libsupc++/tinfo.h: Likewise.
* po/string_literals.cc: Likewise.
From-SVN: r81581
2004-05-06 22:02:05 +00:00
GCC Administrator
d23cdf6e36
Daily bump.
...
From-SVN: r81550
2004-05-06 00:16:42 +00:00
GCC Administrator
07b232667e
Daily bump.
...
From-SVN: r81498
2004-05-05 00:16:42 +00:00
GCC Administrator
3ccd700fff
Daily bump.
...
From-SVN: r81461
2004-05-04 00:16:12 +00:00
Andreas Tobler
dc7c62aea4
acinclude.m4: Replace -W with more speaking -Wextra.
...
2004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
* acinclude.m4: Replace -W with more speaking -Wextra.
* configure: Rebuilt.
From-SVN: r81444
2004-05-03 21:07:49 +02:00
Paolo Carlini
4df9c41de5
Optimize locale::_M_impl->_M_names for the most common cases...
...
2004-05-03 Paolo Carlini <pcarlini@suse.de>
Optimize locale::_M_impl->_M_names for the most common cases:
!_M_names[0] means unnamed; !_M_names[1] means all the categories
the same name (_M_names[0] && _M_names[1] means that the full set
of _M_names must be processed, the general case).
* include/bits/locale_classes.h (locale::_Impl::_M_check_same_name):
Tweak, saving work when !_M_names[1].
(locale::locale(const locale&, _Facet*): Simplify: now just setting
_M_names[0] = 0 means unnamed.
* src/locale.cc (locale::operator==): Deal first with the common,
easy cases, otherwise fall back to locale::name().
(locale::name()): Tweak, if !_M_names[0] just return "*".
(locale::_Impl::_Impl(const _Impl&, size_t): Tweak, early stop
copying __imp._M_names if !__imp._M_names[0] or !__imp._M_names[1].
* src/locale_init.cc (locale::_Impl::_Impl(size_t)): Tweak.
* src/localename.cc (locale::_Impl::_Impl(const char*, size_t):
Simplify when !std::strchr, just updating _M_names[0]; clean up.
(locale::_Impl::_M_replace_categories): When !_M_names[1] prepare
for the general case (full set of names), then do the usual work;
clean up.
* src/locale.cc (locale::name()): Reserve space in __ret.
* src/locale_init.cc (locale::global(const locale&)): Save
the name in a temporary.
* src/localename.cc (locale::locale(const char*)): Reserve space
in __str.
From-SVN: r81430
2004-05-03 12:14:07 +00:00
GCC Administrator
8905a17985
Daily bump.
...
From-SVN: r81420
2004-05-03 00:16:11 +00:00
GCC Administrator
3c2d679772
Daily bump.
...
From-SVN: r81400
2004-05-02 00:16:10 +00:00
GCC Administrator
21ccb11310
Daily bump.
...
From-SVN: r81376
2004-05-01 00:16:12 +00:00
GCC Administrator
9f08a7559e
Daily bump.
...
From-SVN: r81313
2004-04-30 00:16:14 +00:00
Paolo Carlini
5963910694
locale.cc (locale::operator==): Always avoid constructing locale::name(), directly compare pairs of _M_names.
...
2004-04-29 Paolo Carlini <pcarlini@suse.de>
* src/locale.cc (locale::operator==): Always avoid constructing
locale::name(), directly compare pairs of _M_names.
From-SVN: r81309
2004-04-29 22:07:13 +00:00
GCC Administrator
b5bfe58403
Daily bump.
...
From-SVN: r81266
2004-04-29 00:16:12 +00:00
GCC Administrator
7989b0e40b
Daily bump.
...
From-SVN: r81237
2004-04-28 00:16:15 +00:00
GCC Administrator
95d68a9f60
Daily bump.
...
From-SVN: r81206
2004-04-27 00:16:14 +00:00
Paolo Carlini
479864fe80
istream.tcc: Fix comment.
...
2004-04-26 Paolo Carlini <pcarlini@suse.de>
* include/bits/istream.tcc: Fix comment.
From-SVN: r81193
2004-04-26 15:26:18 +00:00
Paolo Carlini
874e7baa4c
stl_vector.h: Trivial formatting fixes.
...
2004-04-26 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_vector.h: Trivial formatting fixes.
* include/bits/vector.tcc: Likewise.
From-SVN: r81178
2004-04-26 09:02:43 +00:00
GCC Administrator
a978e17e31
Daily bump.
...
From-SVN: r81173
2004-04-26 00:16:11 +00:00
Paolo Carlini
247791f5d1
PR libstdc++/15002 (continued again)
...
2004-04-25 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/15002 (continued again)
* include/bits/istream.tcc (getline(basic_istream<>&,
basic_string<>&, _CharT)): Use a temporary buffer, thus
avoiding reallocation for common case.
* include/bits/basic_string.tcc (_S_construct(_InIterator,
_InIterator, const _Alloc&, input_iterator_tag)): Tweak size
of temporary buffer to a power of two.
* testsuite/27_io/basic_istream/getline/char/4.cc: Add comment.
From-SVN: r81163
2004-04-25 15:45:13 +00:00
Paolo Carlini
c26fa757dc
10.cc: New.
...
2004-04-25 Paolo Carlini <pcarlini@suse.de>
* testsuite/21_strings/basic_string/inserters_extractors/char/10.cc:
New.
* testsuite/21_strings/basic_string/inserters_extractors/wchar_t/10.cc:
Likewise.
* testsuite/27_io/basic_istream/getline/char/5.cc: Likewise.
From-SVN: r81159
2004-04-25 12:56:41 +00:00
GCC Administrator
6eb91cc093
Daily bump.
...
From-SVN: r81152
2004-04-25 00:16:12 +00:00
Paolo Carlini
062bf89593
PR libstdc++/15002 (continued)
...
2004-04-24 Paolo Carlini <pcarlini@suse.de>
Petur Runolfsson <peturr02@ru.is>
PR libstdc++/15002 (continued)
* include/bits/istream.tcc (basic_istream<>::getline(char_type*,
streamsize, char_type)): Use traits::find/copy in a loop to speed
up greatly the function in the common case (I/O buffer size >> 1).
2004-04-24 Paolo Carlini <pcarlini@suse.de>
* testsuite/27_io/basic_istream/getline/char/4.cc: New.
* include/bits/istream.tcc (getline(basic_istream<>&,
basic_string<>&, _CharT)): Change to use sgetc()/snextc() instead
of sbumpc(), consistently with the other functions, thus also
dealing correctly with the case of exceeded string::max_size().
Co-Authored-By: Petur Runolfsson <peturr02@ru.is>
From-SVN: r81146
2004-04-24 22:20:31 +00:00
GCC Administrator
b456ce4232
Daily bump.
...
From-SVN: r81121
2004-04-24 00:16:12 +00:00
Matthias Klose
adabbcf475
Jonathan Wakely <cow@compsoc.man.ac.uk>
...
2004-04-24 Matthias Klose <doko@debian.org>
Jonathan Wakely <cow@compsoc.man.ac.uk>
* docs/html/configopts.html: Fix reference to allocator config option.
From-SVN: r81114
2004-04-23 22:06:51 +00:00
Andrew Pinski
fc2ae4313b
linkage.m4 (GLIBCXX_CHECK_MATH_SUPPORT): Check for libmx also.
...
2004-04-23 Andrew Pinski <pinskia@physics.uc.edu>
* linkage.m4 (GLIBCXX_CHECK_MATH_SUPPORT): Check for libmx also.
* configure: Regenerate.
From-SVN: r81103
2004-04-23 13:06:56 -07:00
Daniel Jacobowitz
d8fe7b2985
PR libstdc++/15047, libstdc++/11610
...
PR libstdc++/15047, libstdc++/11610
* testsuite/lib/libstdc++.exp (v3-copy-files): Use remote_download.
(libstdc++_init): Don't pass outdir to v3-copy-files.
From-SVN: r81094
2004-04-23 14:33:36 +00:00
GCC Administrator
08a21bfd0a
Daily bump.
...
From-SVN: r81063
2004-04-23 00:16:12 +00:00
GCC Administrator
83ce8c30ff
Daily bump.
...
From-SVN: r80992
2004-04-22 00:16:43 +00:00
Paolo Carlini
0d8c9baf81
deque.tcc: Trivial formatting fixes.
...
2004-04-21 Paolo Carlini <pcarlini@suse.de>
* include/bits/deque.tcc: Trivial formatting fixes.
* include/bits/stl_deque.h: Likewise.
* include/bits/stl_list.h: Likewise.
* include/bits/stl_tree.h: Likewise.
From-SVN: r80960
2004-04-21 14:06:00 +00:00
Paolo Carlini
0a7460199f
basic_string.tcc (_M_mutate): Don't compute __src unnecessarily.
...
2004-04-21 Paolo Carlini <pcarlini@suse.de>
Andrew Pinski <pinskia@physics.uc.edu>
* include/bits/basic_string.tcc (_M_mutate): Don't compute
__src unnecessarily.
Co-Authored-By: Andrew Pinski <pinskia@physics.uc.edu>
From-SVN: r80952
2004-04-21 09:23:36 +00:00
GCC Administrator
e3ab7ec73d
Daily bump.
...
From-SVN: r80937
2004-04-21 00:16:14 +00:00
GCC Administrator
712faa50dd
Daily bump.
...
From-SVN: r80872
2004-04-20 00:16:10 +00:00
Benjamin Kosnik
3dd50c745b
9555-ic.cc: Clarify assertion, set test variable to false before assert.
...
2004-04-19 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc:
Clarify assertion, set test variable to false before assert.
* testsuite/27_io/basic_istringstream/str/char/1.cc: Same.
* testsuite/27_io/basic_stringstream/str/char/1.cc: Same.
* testsuite/27_io/ios_base/storage/2.cc: Same.
* testsuite/27_io/basic_filebuf/imbue/char/13171-4.cc: Fix
function returns.
* testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Same.
* testsuite/27_io/fpos/14320-3.cc: Same.
* testsuite/27_io/basic_filebuf/2.cc: Instantiate in namespace std.
* testsuite/27_io/fpos/1.cc: Same.
* testsuite/27_io/basic_stringstream/2.cc: Same.
* testsuite/27_io/basic_stringbuf/4.cc: Same.
* testsuite/27_io/basic_stringbuf/1.cc: Same.
* testsuite/27_io/basic_stringbuf/2.cc: Same.
* testsuite/27_io/basic_streambuf/2.cc: Same.
* testsuite/27_io/basic_ostringstream/2.cc: Same.
* testsuite/27_io/basic_ostream/2.cc: Same.
* testsuite/27_io/basic_ofstream/2.cc: Same.
* testsuite/27_io/basic_istringstream/2.cc: Same.
* testsuite/27_io/basic_istream/2.cc: Same.
* testsuite/27_io/basic_iostream/2.cc: Same.
* testsuite/27_io/basic_ios/2.cc: Same.
* testsuite/27_io/basic_ifstream/2.cc: Same.
* testsuite/27_io/basic_fstream/2.cc: Same.
* testsuite/ext/stdio_filebuf/char/1.cc: Same, in namespace __gnu_cxx.
* testsuite/21_strings/basic_string/capacity/1.cc: Don't compare
unsigned against zero.
* testsuite/21_strings/basic_string/capacity/wchar_t/1.cc: Same.
* testsuite/21_strings/basic_string/capacity/char/1.cc: Same.
* testsuite/18_support/new_delete_placement.cc: Initialize
variables before first use.
* testsuite/21_strings/char_traits/requirements/wchar_t/1.cc: Same.
* testsuite/21_strings/char_traits/requirements/char/1.cc: Same.
* testsuite/21_strings/char_traits/requirements/short/1.cc: Same.
* testsuite/27_io/basic_istream/seekg/char/exceptions_badbit_throw.cc:
Same.
* testsuite/27_io/basic_ostream/inserters_arithmetic/char/exceptions_badbit_throw.cc: Same.
* testsuite/27_io/basic_ostream/seekp/char/exceptions_badbit_throw.cc:
Same.
* testsuite/27_io/basic_ostream/inserters_arithmetic/char/exceptions_failbit_throw.cc: Same.
* testsuite/27_io/types/2.cc: Same.
* testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Fix temporary
file name.
* testsuite/27_io/fpos/14775.cc: Same.
From-SVN: r80861
2004-04-19 19:00:09 +00:00
Paolo Carlini
41b8e86c9a
PR libstdc++/15002 (partial)
...
2004-04-19 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/15002 (partial)
* include/bits/basic_string.h (_M_replace_aux, _M_replace_safe):
Special case __n2 == 1, not calling traits_type::assign/copy.
From-SVN: r80847
2004-04-19 11:30:20 +00:00
GCC Administrator
d6ce65ee19
Daily bump.
...
From-SVN: r80836
2004-04-19 00:16:10 +00:00
Benjamin Kosnik
f178c2d695
stl_bvector.h: Use _M_impl._M_start.
...
2004-04-17 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/stl_bvector.h: Use _M_impl._M_start.
From-SVN: r80811
2004-04-18 05:04:58 +00:00
GCC Administrator
7dc57c7cc0
Daily bump.
...
From-SVN: r80805
2004-04-18 00:16:10 +00:00
GCC Administrator
4a4d66e8ed
Daily bump.
...
From-SVN: r80780
2004-04-17 00:16:12 +00:00
Benjamin Kosnik
390e4c0dbe
c++config (_GLIBCXX_STD): New.
...
2004-04-16 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/c++config (_GLIBCXX_STD): New.
* src/list.cc: Use it.
* include/std/std_bitset.h: Same.
* include/bits/vector.tcc: Same.
* include/bits/stl_set.h: Same.
* include/bits/stl_multiset.h: Same.
* include/bits/stl_multimap.h: Same.
* include/bits/stl_map.h: Same.
* include/bits/stl_list.h: Same.
* include/bits/stl_vector.h: Same.
* include/bits/stl_bvector.h: Same.
* include/bits/stl_deque.h: Same.
* include/bits/deque.tcc: Same.
* include/bits/list.tcc: Same.
* include/debug/vector: Same.
* include/debug/set.h: Same.
* include/debug/multiset.h: Same.
* include/debug/multimap.h: Same.
* include/debug/map.h: Same.
* include/debug/list: Same.
* include/debug/deque: Same.
* include/debug/bitset: Same.
* include/debug/formatter.h (__gnu_debug): Remove using directive.
Add using declaration for std::type_info.
* include/debug/safe_iterator.h: Add using declaration for
std::iterator_traits and std::pair.
* src/debug_list.cc: New.
* src/Makefile.am: Add debug_list.cc.
* src/Makefile.in: Regenerate.
* config/linker-map.gnu: Add _List_node_base exports for std and
__gnu_norm.
* include/bits/stl_bvector.h (_Bvector_base): Use _Bvector_impl
idiom that other containers use.
* testsuite/23_containers/vector/bool/clear_allocator.cc: New.
From-SVN: r80763
2004-04-16 19:04:07 +00:00
Paolo Carlini
2f228199b9
re PR libstdc++/14975 ([3.4 only] Segfault on low-level write error during imbue)
...
2004-04-16 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/14975
* include/bits/fstream.tcc (basic_filebuf::imbue): Zero _M_codecvt
in case of error.
* testsuite/27_io/basic_filebuf/imbue/char/14975-1.cc: New.
* testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: New.
From-SVN: r80753
2004-04-16 16:06:21 +00:00
Paolo Carlini
af55af57e1
acconfig.h: Remove _GLIBCXX_USE_LONG_DOUBLE entry, not used anymore.
...
2004-04-16 Paolo Carlini <pcarlini@suse.de>
* acconfig.h: Remove _GLIBCXX_USE_LONG_DOUBLE entry, not
used anymore.
* config.h.in: Regenerate.
2004-04-16 Paolo Carlini <pcarlini@suse.de>
* config/locale/generic/monetary_members.cc
(moneypunct<wchar_t>::_M_initialize_moneypunct): Avoid calling
btowc unnecessarily, just cast to wchar_t (the concerned chars
all belong to the basic character set).
* config/locale/generic/numeric_members.cc
(numpunct<wchar_t>::_M_initialize_numpunct): Likewise.
* config/locale/gnu/monetary_members.cc
(moneypunct<wchar_t>::_M_initialize_moneypunct): Likewise.
* config/locale/gnu/numeric_members.cc
(numpunct<wchar_t>::_M_initialize_numpunct): Likewise.
From-SVN: r80746
2004-04-16 09:23:05 +00:00
GCC Administrator
d43e3e280e
Daily bump.
...
From-SVN: r80737
2004-04-16 00:16:12 +00:00
Paolo Carlini
d7ed521ba9
locale.cc (locale::operator==): When _M_impl == __rhs._M_impl avoid constructing unnecessarily this->name().
...
2004-04-15 Paolo Carlini <pcarlini@suse.de>
* src/locale.cc (locale::operator==): When _M_impl == __rhs._M_impl
avoid constructing unnecessarily this->name().
From-SVN: r80714
2004-04-15 08:27:29 +00:00
GCC Administrator
b65e599374
Daily bump.
...
From-SVN: r80701
2004-04-15 00:16:13 +00:00
Zack Weinberg
76e9802c68
Makefile.am: Add definition of AM_CXXFLAGS.
...
* testsuite/Makefile.am: Add definition of AM_CXXFLAGS.
Change definition of CXX to use $(shell) instead of backticks.
* testsuite/Makefile.in: Regenerate.
From-SVN: r80693
2004-04-14 21:10:52 +00:00
GCC Administrator
6ef79dcb4e
Daily bump.
...
From-SVN: r80673
2004-04-14 00:16:10 +00:00
GCC Administrator
b103f4218e
Daily bump.
...
From-SVN: r80635
2004-04-13 00:16:45 +00:00
Dhruv Matani
e0fb1c5c37
list_sort_search.cc: Minor formatting fixes.
...
2004-04-12 Dhruv Matani <dhruvbird@gmx.net>
* testsuite/performance/20_util/allocator/list_sort_search.cc:
Minor formatting fixes.
* testsuite/performance/20_util/allocator/map_mt_find.cc:
Likewise.
From-SVN: r80624
2004-04-12 16:11:21 +00:00
Paolo Carlini
92861ad4a0
2004-04-12 Paolo Carlini <pcarlini@suse.de>
...
* config/locale/gnu/numeric_members.cc
(numpunct<wchar_t>::_M_initialize_numpunct): No need to wrap
in __uselocale, since btowc is called for chars belonging to
the basic character set.
From-SVN: r80618
2004-04-12 08:36:23 +00:00
GCC Administrator
034776f6f6
Daily bump.
...
From-SVN: r80614
2004-04-12 00:16:09 +00:00
GCC Administrator
0333e091f7
Daily bump.
...
From-SVN: r80590
2004-04-11 00:16:11 +00:00
GCC Administrator
274dda78f4
Daily bump.
...
From-SVN: r80577
2004-04-10 00:16:41 +00:00
Paolo Carlini
895510be6f
1.cc: Remove junk.
...
2004-04-09 Paolo Carlini <pcarlini@suse.de>
* testsuite/22_locale/messages/members/char/1.cc: Remove junk.
* testsuite/22_locale/messages/members/char/2.cc: Ditto.
* testsuite/22_locale/messages/members/char/3.cc: Ditto.
* testsuite/22_locale/num_get/get/char/1.cc: Ditto.
* testsuite/22_locale/num_get/get/char/2.cc: Ditto.
* testsuite/22_locale/num_get/get/char/3.cc: Ditto.
* testsuite/22_locale/num_get/get/wchar_t/1.cc: Ditto.
* testsuite/22_locale/num_get/get/wchar_t/2.cc: Ditto.
* testsuite/22_locale/num_get/get/wchar_t/3.cc: Ditto.
* testsuite/22_locale/num_put/put/char/1.cc: Ditto.
* testsuite/22_locale/num_put/put/char/2.cc: Ditto.
* testsuite/22_locale/num_put/put/char/3.cc: Ditto.
* testsuite/22_locale/num_put/put/wchar_t/1.cc: Ditto.
* testsuite/22_locale/num_put/put/wchar_t/2.cc: Ditto.
* testsuite/22_locale/num_put/put/wchar_t/3.cc: Ditto.
* testsuite/22_locale/numpunct/members/char/1.cc: Ditto.
* testsuite/22_locale/numpunct/members/wchar_t/1.cc: Ditto.
From-SVN: r80545
2004-04-09 10:18:33 +00:00
GCC Administrator
f701326e71
Daily bump.
...
From-SVN: r80534
2004-04-09 00:16:10 +00:00
GCC Administrator
acc18e7a48
Daily bump.
...
From-SVN: r80496
2004-04-08 00:16:34 +00:00
Paolo Carlini
ba98a8d81a
time_members.cc (__timepunct<char>::_M_initialize_timepunct, [...]): the correct _M_amonth07 in the "C" locale is "Jul" and L"Jul", respectively.
...
2004-04-07 Paolo Carlini <pcarlini@suse.de>
* config/locale/generic/time_members.cc
(__timepunct<char>::_M_initialize_timepunct,
__timepunct<wchar_t>::_M_initialize_timepunct): the correct
_M_amonth07 in the "C" locale is "Jul" and L"Jul", respectively.
* config/locale/gnu/time_members.cc
(__timepunct<char>::_M_initialize_timepunct,
__timepunct<wchar_t>::_M_initialize_timepunct): Ditto.
* testsuite/22_locale/time_get/get_monthname/char/4.cc: New.
* testsuite/22_locale/time_get/get_monthname/wchar_t/4.cc: New.
* testsuite/22_locale/time_get/date_order/char/1.cc: Remove junk.
* testsuite/22_locale/time_get/date_order/wchar_t/1.cc: Ditto.
* testsuite/22_locale/time_get/get_date/char/1.cc: Ditto.
* testsuite/22_locale/time_get/get_date/char/2.cc: Ditto.
* testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Ditto.
* testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Ditto.
* testsuite/22_locale/time_get/get_monthname/char/1.cc: Ditto.
* testsuite/22_locale/time_get/get_monthname/char/2.cc: Ditto.
* testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Ditto.
* testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Ditto.
* testsuite/22_locale/time_get/get_time/char/1.cc: Ditto.
* testsuite/22_locale/time_get/get_time/char/2.cc: Ditto.
* testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Ditto.
* testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Ditto.
* testsuite/22_locale/time_get/get_weekday/char/1.cc: Ditto.
* testsuite/22_locale/time_get/get_weekday/char/2.cc: Ditto.
* testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Ditto.
* testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Ditto.
* testsuite/22_locale/time_get/get_year/char/1.cc: Ditto.
* testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Ditto.
* testsuite/22_locale/time_put/put/char/1.cc: Ditto.
* testsuite/22_locale/time_put/put/char/2.cc: Ditto.
* testsuite/22_locale/time_put/put/char/3.cc: Ditto.
* testsuite/22_locale/time_put/put/char/4.cc: Ditto.
* testsuite/22_locale/time_put/put/char/5.cc: Ditto.
* testsuite/22_locale/time_put/put/char/6.cc: Ditto.
* testsuite/22_locale/time_put/put/char/7.cc: Ditto.
* testsuite/22_locale/time_put/put/char/8.cc: Ditto.
* testsuite/22_locale/time_put/put/wchar_t/1.cc: Ditto.
* testsuite/22_locale/time_put/put/wchar_t/2.cc: Ditto.
* testsuite/22_locale/time_put/put/wchar_t/3.cc: Ditto.
* testsuite/22_locale/time_put/put/wchar_t/4.cc: Ditto.
* testsuite/22_locale/time_put/put/wchar_t/5.cc: Ditto.
* testsuite/22_locale/time_put/put/wchar_t/6.cc: Ditto.
* testsuite/22_locale/time_put/put/wchar_t/7.cc: Ditto.
* testsuite/22_locale/time_put/put/wchar_t/8.cc: Ditto.
* testsuite/22_locale/time_put/put/char/9780-1.cc: Fix typos.
From-SVN: r80493
2004-04-07 23:14:08 +00:00
Paolo Carlini
f332a090b2
2004-04-07 Paolo Carlini <pcarlini@suse.de>
...
* config/locale/gnu/monetary_members.cc
(moneypunct<wchar_t>::_M_initialize_moneypunct): Prefer
_NL_MONETARY_DECIMAL_POINT_WC, _NL_MONETARY_THOUSANDS_SEP_WC,
and __MON_GROUPING to _NL_NUMERIC_DECIMAL_POINT_WC,
_NL_NUMERIC_THOUSANDS_SEP_WC, and GROUPING.
* config/locale/gnu/numeric_members.cc
(numpunct<char>::_M_initialize_numpunct): Prefer DECIMAL_POINT
and THOUSANDS_SEP to the deprecated RADIXCHAR and THOUSEP.
From-SVN: r80477
2004-04-07 14:32:47 +00:00
Benjamin Kosnik
563ae04fec
Fixups for EDG front end.
...
2004-04-06 Benjamin Kosnik <bkoz@redhat.com>
Fixups for EDG front end.
* include/ext/rope: Instead of non-existent function
_Data_allocate, use allocator's allocate. Use this.
(namespace _Rope_constants): Move _S_max_rope_depth, and _Tag
enumerations from _Rope_RopeRep here.
* include/ext/ropeimpl.h: Same.
* src/ext-inst.cc (_S_min_len): Fix up definition.
* config/locale/gnu/ctype_members.cc: Qualify base class members
with this.
* config/locale/generic/ctype_members.cc: Same.
* config/locale/gnu/messages_members.h: Same.
* config/locale/generic/messages_members.h: Same.
* src/ctype.cc: Same.
* include/bits/codecvt.h: Same.
* include/bits/boost_concept_check.h: Declare.
(__error_type_must_be_an_unsigned_integer_type): Remove this.
(__error_type_must_be_an_integer_type): Remove this.
(__error_type_must_be_a_signed_integer_type): Remove this.
* config/io/basic_file_stdio.cc (__basic_file::sys_open): Remove cast.
* libsupc++/eh_alloc.cc (__cxa_free_exception): Add exception
specification to definition.
(__cxa_allocate_exception): Same.
* libsupc++/eh_catch.cc (__cxa_begin_catch): Same.
* libsupc++/eh_globals.cc (__cxa_get_globals_fast): Same.
(__cxa_get_globals): Same.
* libsupc++/del_op.cc: Add comment about freestanding.
From-SVN: r80475
2004-04-07 03:33:36 +00:00
GCC Administrator
d9a91b5545
Daily bump.
...
From-SVN: r80469
2004-04-07 00:17:07 +00:00
GCC Administrator
cb07f7bbd4
Daily bump.
...
From-SVN: r80444
2004-04-06 00:16:32 +00:00
Paolo Carlini
268d3b1832
mt_allocator.h (__mt_alloc<>::deallocate): The critical section is actually very small, only two assignments.
...
2004-04-05 Paolo Carlini <pcarlini@suse.de>
* include/ext/mt_allocator.h (__mt_alloc<>::deallocate):
The critical section is actually very small, only two assignments.
From-SVN: r80439
2004-04-05 22:46:04 +00:00
GCC Administrator
e1c6f28deb
Daily bump.
...
From-SVN: r80415
2004-04-05 00:16:16 +00:00
Paolo Carlini
9f35e4aab5
filebuf_sputn_unbuf.cc: New, adapted from libstdc++/11378.
...
2004-04-04 Paolo Carlini <pcarlini@suse.de>
Petur Runolfsson <peturr02@ru.is>
* testsuite/performance/27_io/filebuf_sputn_unbuf.cc: New,
adapted from libstdc++/11378.
Co-Authored-By: Petur Runolfsson <peturr02@ru.is>
From-SVN: r80398
2004-04-04 18:18:29 +00:00
GCC Administrator
6060368e54
Daily bump.
...
From-SVN: r80385
2004-04-04 00:16:14 +00:00
Paolo Carlini
c8333c0fd5
mt_allocator.h (__mt_alloc<>::allocate): Factor out some duplicated code.
...
2004-04-03 Paolo Carlini <pcarlini@suse.de>
* include/ext/mt_allocator.h (__mt_alloc<>::allocate): Factor out
some duplicated code.
(__mt_alloc<>::_Bin_record): Spare the space of _M_free and _M_used
in the single threaded case.
* testsuite/performance/20_util/allocator/list_sort_search.cc:
Reorder and renumber the tests consistently with the other testfiles.
* 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: r80375
2004-04-03 13:39:16 +00:00
GCC Administrator
a0eabb87e1
Daily bump.
...
From-SVN: r80366
2004-04-03 00:16:22 +00:00
Paolo Carlini
ab40b100d3
mt_allocator.h (__mt_alloc<>::deallocate): Rearrange arithmetic to avoid computing two divisions at each deallocation.
...
2004-04-02 Paolo Carlini <pcarlini@suse.de>
* include/ext/mt_allocator.h (__mt_alloc<>::deallocate):
Rearrange arithmetic to avoid computing two divisions at
each deallocation.
From-SVN: r80356
2004-04-02 19:51:21 +00:00
GCC Administrator
9b754eac89
Daily bump.
...
From-SVN: r80342
2004-04-02 00:17:18 +00:00
Paolo Carlini
354d4c68c6
mt_allocator.h (__mt_alloc<>::_S_initialize): Streamline the second half...
...
2004-04-01 Paolo Carlini <pcarlini@suse.de>
* include/ext/mt_allocator.h (__mt_alloc<>::_S_initialize):
Streamline the second half, wrapping it in a single
'#ifdef __GTHREADS if (__gthread_active_p())' and avoiding
conditionals inside loops.
From-SVN: r80323
2004-04-01 21:47:59 +00:00
Paolo Carlini
2ae6e9823a
re PR libstdc++/14775 ([3.4 only] LFS tests missing)
...
2004-04-01 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/14775
* acconfig.h: Rename _GLIBCXX_MEM_LIMITS to _GLIBCXX_RES_LIMITS.
* acinclude.m4 (GLIBCXX_CHECK_SETRLIMIT): Call
GLIBCXX_CHECK_SETRLIMIT_ancilliary for FSIZE too, adjust define
to _GLIBCXX_RES_LIMITS.
(GLIBCXX_CHECK_SETRLIMIT_ancilliary): Rename HAVE_MEMLIMIT_* to
HAVE_LIMIT_*.
* testsuite/testsuite_hooks.h: Declare set_file_limit.
* testsuite/testsuite_hooks.cc: Define it, using getrlimit
and setrlimit(RLIMIT_FSIZE).
* testsuite/27_io/fpos/14775.cc: New.
* config.h.in: Regenerate.
* configure: Likewise.
From-SVN: r80289
2004-04-01 09:16:36 +00:00
GCC Administrator
10414f2acd
Daily bump.
...
From-SVN: r80262
2004-04-01 00:16:15 +00:00
Paolo Carlini
e004c3313e
c_locale.cc (__convert_to_v(long double&)): In v3 uses of sscanf...
...
2004-03-31 Paolo Carlini <pcarlini@suse.de>
* config/locale/generic/c_locale.cc (__convert_to_v(long double&)):
In v3 uses of sscanf, the special floating-point numbers INF,
INFINITY, etc., cannot occur in input, therefore, if the latter
is too large, ERANGE is always stored in errno, no need of finitel.
From-SVN: r80247
2004-03-31 09:13:10 +00:00
GCC Administrator
8cfa1c3e37
Daily bump.
...
From-SVN: r80104
2004-03-31 00:16:11 +00:00
Benjamin Kosnik
06ce772609
re PR libstdc++/14783 (Warning in std::set constructor at bits/stl_tree.h:403)
...
2004-03-30 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/14783
* include/bits/stl_tree.h: Adjust initialization list order.
From-SVN: r80095
2004-03-30 21:04:19 +00:00
GCC Administrator
285df6bfe5
Daily bump.
...
From-SVN: r80070
2004-03-30 00:16:50 +00:00
Loren J. Rittle
7be1c3fba9
Update comment to reflect test.
...
From-SVN: r80067
2004-03-29 23:42:05 +00:00
Paolo Carlini
63041e68a4
pthread7-rope.cc: Fix...
...
2004-03-29 Paolo Carlini <pcarlini@suse.de>
* testsuite/thread/pthread7-rope.cc: Fix, unpredictably, depending
on allocator behavior, the memory pointed by data2 may well be not
trashed.
From-SVN: r80051
2004-03-29 09:54:15 +00:00
GCC Administrator
0e32714724
Daily bump.
...
From-SVN: r80047
2004-03-29 00:16:12 +00:00
Chavdar Botev
f26e5597f0
re PR libstdc++/14245 ([3.4 only] problem with user-defined allocators in std::basic_string)
...
2004-03-28 Chavdar Botev <cbotev@yahoo.com>
PR libstdc++/14245
* include/bits/basic_string.tcc
(basic_string::basic_string(const basic_string&)): Pass to
_Rep::_M_grab the actual allocator of the string being constructed
not the default constructed one.
From-SVN: r80041
2004-03-28 16:27:27 +00:00
GCC Administrator
4c24abdce4
Daily bump.
...
From-SVN: r80034
2004-03-28 00:16:10 +00:00
Benjamin Kosnik
a5f105b590
[multiple changes]
...
2004-03-27 Benjamin Kosnik <bkoz@redhat.com>
libstdc++ PR/13598
* config/locale/ieee_1003.1-2001/codecvt_specializations.h
(__enc_traits::_M_destroy): New.
(__enc_traits::~__enc_traits): Use it.
(__enc_traits::operator=): Use _M_destroy, _M_init.
(__enc_traits::__enc_traits): Same.
2004-03-27 Petur Runolfsson <peturr02@ru.is>
* testsuite/ext/enc_filebuf/char/13598.cc: New.
From-SVN: r80027
2004-03-27 16:21:21 +00:00
Paolo Carlini
6f52a889fd
[multiple changes]
...
2004-03-27 Paolo Carlini <pcarlini@suse.de>
* include/ext/mt_allocator.h: Uglify consistently names of
variables, members and classes; tidy.
2004-03-27 Dhruv Matani <dhruvbird@gmx.net>
* include/ext/mt_allocator.h (__mt_alloc<>::deallocate):
Deallocation loop rewrote.
From-SVN: r80012
2004-03-27 10:15:49 +00:00
GCC Administrator
8c7555a5b6
Daily bump.
...
From-SVN: r80006
2004-03-27 00:16:18 +00:00
Paolo Carlini
dd95381f8a
mt_allocator.h (__mt_alloc<>::allocate, [...]): Protect two instances of block->thread_id with __GTHREADS.
...
2004-03-26 Paolo Carlini <pcarlini@suse.de>
* include/ext/mt_allocator.h (__mt_alloc<>::allocate,
__mt_alloc<>::deallocate): Protect two instances of
block->thread_id with __GTHREADS.
From-SVN: r79986
2004-03-26 16:56:09 +00:00
Benjamin Kosnik
8bd22a3ceb
[multiple changes]
...
2004-03-25 Gawain Bolton <gp.bolton@computer.org>
* include/bits/stl_tree.h (_Rb_tree_impl): Add _Node_allocator
default argument in constructors.
(_Rb_tree::_M_empty_initialize): Remove.
2004-03-25 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/23_containers/map/operators/1_neg.cc: Adjust line numbers.
* testsuite/23_containers/set/operators/1_neg.cc: Same.
2004-03-25 Dhruv Matani <dhruvbird@gmx.net>
* include/bits/cpp_type_traits.h: Changed __is_pod
completely. Now, it does not use any of the previous type_traits
to detect the pod types, and it also detects function pointers as
POD types.
* include/bits/stl_tree.h: Introduced a new class _Rb_tree_impl,
which encapsulates the internal implementation of an rb_tree. Made
the allocator a base class of this class instead of the rb_tree,
which was not conforming. This _Rb_tree_impl class is also
specialized on whether the _Compare parameter is a POD type or
not. If so, then it maintains the comparison function as a data
member, otherwise it makes the _Compare parameter a base class of
itself. Also, _M_key_compare is now a function instead of a data
member, so that the above trick can work properly. Delegated the
initialization of the other data members to this newly created
class. Also, now other member functions of rb_tree must refer to
_M_key_compare as _M_impl._M_key_compare(). The other data members
(*) can be referenced to as _M_impl.(*), where
(*) includes _M_header, and _M_node_count.
From-SVN: r79977
2004-03-26 00:38:57 +00:00
GCC Administrator
53d98cdbc2
Daily bump.
...
From-SVN: r79972
2004-03-26 00:16:14 +00:00
Paolo Carlini
90ceccd46e
mt_allocator.h (__mt_alloc<>::tune): Add _M_min_bin, the size in bytes of the smallest bin.
...
2004-03-25 Paolo Carlini <pcarlini@suse.de>
* include/ext/mt_allocator.h (__mt_alloc<>::tune):
Add _M_min_bin, the size in bytes of the smallest bin.
(__mt_alloc<>::tune()): Tweak accordingly.
(__mt_alloc<>::tune(size_t, ...)): Likewise.
(__mt_alloc<>::block_record): Change to a union: members next
and thread_id are never used at the same time.
(__mt_alloc<>::allocate): Update consistently.
(__mt_alloc<>::deallocate): Likewise.
(__mt_alloc<>::_S_initialize): Update setups of _S_binmap and
_S_bin_size for the configurable _M_min_size.
From-SVN: r79962
2004-03-25 18:23:40 +00:00
Dhruv Matani
03f9ea4437
stl_list.h: Created a _List_impl class and made it derive from the allocator...
...
2004-03-25 Dhruv Matani <dhruvbird@gmx.net>
* include/bits/stl_list.h: Created a _List_impl class and made it
derive from the allocator, instead of the list deriving from the
allocator class, which was not conformant. Changed all references
from this->_M_node to this->_M_impl._M_node * bits/list.tcc: Same
as above (changed all references to the concerned variables).
2004-03-25 Dhruv Matani <dhruvbird@gmx.net>
* include/bits/stl_deque.h: Created a _Deque_impl class and made
it derive from the allocator, instead of the deque deriving from
the allocator class, which was not conformant. Changed all
references to the _M_start, _M_finish, _M_map, and _M_map_size to
_M_impl.*.
(_Deque_base<_Tp,_Alloc>::~_Deque_base()): Added this->
qualification in 2 places where it was missing.
(_Deque_base<_Tp,_Alloc>::_M_initialize_map(size_t)): Same as
above.
* include/bits/deque.tcc: Same as above (changed all references to
the concerned variables).
2004-03-25 Dhruv Matani <dhruvbird@gmx.net>
* include/bits/stl_vector.h: Created a _Vector_impl class and made
it derive from the allocator, instead of the _Vector_base class,
deriving from the allocator which was not conformant. Changed all
references to the _M_start, _M_finish, and _M_end_of_storage to
_M_impl.*.
* include/bits/vector.tcc: Same as above (changed all references
to the concerned variables).
2004-03-25 Dhruv Matani <dhruvbird@gmx.net>
* testsuite/23_containers/deque/cons/clear_allocator.cc: New.
* testsuite/23_containers/list/cons/clear_allocator.cc: New.
* testsuite/23_containers/vector/cons/clear_allocator.cc: New.
From-SVN: r79957
2004-03-25 17:12:16 +00:00
GCC Administrator
bbcb76f264
Daily bump.
...
From-SVN: r79941
2004-03-25 00:16:17 +00:00
Dhruv Matani
58c959212f
malloc_allocator.h: Fixed the construct function to call global placement new instead of assignment.
...
2004-03-24 Dhruv Matani <dhruvbird@gmx.net>
* ext/malloc_allocator.h: Fixed the construct function to call
global placement new instead of assignment. Added a check after
the return from malloc to check whether returned pointer is NULL,
and if so, throw std::bad_alloc().
* ext/debug_allocator.h: Added a check in the deallocate function
to check whether the user has passed a NULL pointer or not.
From-SVN: r79934
2004-03-24 21:40:01 +00:00
Benjamin Kosnik
8367b9c1e9
allocator.html: Add bitmap_allocator links.
...
2004-03-24 Benjamin Kosnik <bkoz@redhat.com>
* docs/html/20_util/allocator.html: Add bitmap_allocator links.
From-SVN: r79933
2004-03-24 21:30:26 +00:00
Andreas Schwab
d62c1a1f98
prune.exp (prune_gcc_output): Ignore errata warning from IA64 assembler.
...
gcc/testsuite/:
* lib/prune.exp (prune_gcc_output): Ignore errata warning from
IA64 assembler.
libstdc++-v3/:
* testsuite/lib/prune.exp (prune_g++_output): Ignore errata
warning from IA64 assembler.
From-SVN: r79929
2004-03-24 19:54:26 +00:00
Dhruv Matani
71f9a9d15e
bitmap_allocator.h: (_Bit_scan_forward) -> Made this function call __builtin_ctz instead of the...
...
2004-03-24 Dhruv Matani <dhruvbird@gmx.net>
* include/ext/bitmap_allocator.h: (_Bit_scan_forward) -> Made this
function call __builtin_ctz instead of the while loop.
(allocate) -> If condition has __builtin_expect.
(deallocate) -> Ditto.
Renamed a few left-over variables and typedefs according to the
C++STYLE mentioned in the documentation.
Protected calls to __gthread* by __gthread_active_p(), whose value
is cached in the local variable __threads_active.
From-SVN: r79924
2004-03-24 18:27:43 +00:00
Felix Yen
b4a76c01db
producer_consumer.cc: Use linear algorithm for producer.
...
2004-03-24 Felix Yen <fwy@alumni.brown.edu>
* testsuite/performance/20_util/allocator/producer_consumer.cc:
Use linear algorithm for producer.
From-SVN: r79920
2004-03-24 17:16:07 +00:00
Paolo Carlini
affb18b2fa
mt_allocator.h (__mt_alloc<>::allocate, [...]): Avoid redundant conditionals.
...
2004-03-24 Paolo Carlini <pcarlini@suse.de>
* include/ext/mt_allocator.h (__mt_alloc<>::allocate,
__mt_alloc<>::deallocate): Avoid redundant conditionals.
From-SVN: r79917
2004-03-24 15:25:37 +00:00
Benjamin Kosnik
586b5f2013
locale_facets.h: Tweaks for 80 column.
...
2004-03-23 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.h: Tweaks for 80 column.
(__numpunct_cache::_M_cache): Move to locale_facets.tcc.
(__moneypunct_cache::_M_cache): Same.
(num_get): Don't inherit from __num_base.
(num_put): Same.
(money_get): Don't inherit from money_base.
(money_put): Same.
(__timepunct::_M_am_pm_format): New.
(time_get::_M_extract_num): Return iterator, use ios_base as argument.
(time_get::_M_extract_name): Same.
(time_get::_M_extract_via_format): Same.
* include/bits/locale_facets.tcc: Tweaks for 80 column.
Use _M_getloc instead of getloc.
* testsuite/22_locale/money_put/put/char/9780-3.cc: New.
* testsuite/22_locale/num_put/put/char/9780-2.cc: New.
* testsuite/22_locale/time_put/put/char/9780-1.cc: New.
From-SVN: r79902
2004-03-24 06:41:07 +00:00
GCC Administrator
cba4497d92
Daily bump.
...
From-SVN: r79888
2004-03-24 00:16:14 +00:00
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