GCC Administrator
55fe27a207
Daily bump.
...
From-SVN: r87266
2004-09-10 00:16:15 +00:00
GCC Administrator
ae3e04b843
Daily bump.
...
From-SVN: r87211
2004-09-09 00:16:15 +00:00
GCC Administrator
a9e10feb68
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r87165.2
2004-09-08 00:16:23 +00:00
GCC Administrator
ce228c89a4
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r87136.2
2004-09-07 00:16:19 +00:00
GCC Administrator
76236c9c3e
Daily bump.
...
From-SVN: r87108
2004-09-06 00:16:30 +00:00
GCC Administrator
ecd466457c
Daily bump.
...
From-SVN: r87094
2004-09-05 00:16:38 +00:00
GCC Administrator
7b8c47ab60
Daily bump.
...
From-SVN: r87069
2004-09-04 00:16:18 +00:00
GCC Administrator
085b68226c
Daily bump.
...
From-SVN: r87005
2004-09-03 00:16:17 +00:00
Benjamin Kosnik
98599ff8ba
re PR libstdc++/16715 (std::basic_iostream is instantiated when used, even though instantiations are already contained in libstdc++)
...
2004-09-02 Benjamin Kosnik <bkoz@redhat.com>
Simon Richter <Simon.Richter@hogyros.de>
PR libstdc++/16715
* include/bits/istream.tcc: Add extern template for iostream
char and wchar_t instantiations.
Co-Authored-By: Simon Richter <Simon.Richter@hogyros.de>
From-SVN: r86980
2004-09-02 18:58:34 +00:00
GCC Administrator
a6615c08bf
Daily bump.
...
From-SVN: r86948
2004-09-02 00:16:12 +00:00
GCC Administrator
8f3649a48c
Daily bump.
...
From-SVN: r86856
2004-09-01 00:16:11 +00:00
GCC Administrator
389f67dcb3
Daily bump.
...
From-SVN: r86814
2004-08-31 00:16:44 +00:00
GCC Administrator
b9c5f011a1
Daily bump.
...
From-SVN: r86745
2004-08-30 00:16:27 +00:00
Paolo Carlini
b8d65dace7
locale_facets.tcc (time_get<>::_M_extract_via_format, case 'S'): Allow for at least one leap-second (as per C99...
...
2004-08-29 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (time_get<>::_M_extract_via_format,
case 'S'): Allow for at least one leap-second (as per C99, 7.23.1
and 7.23.3.5), two if !_GLIBCXX_USE_C99.
* testsuite/22_locale/time_get/get_time/char/4.cc: New.
* testsuite/22_locale/time_get/get_time/wchar_t/4.cc: Likewise.
From-SVN: r86712
2004-08-29 09:04:33 +00:00
GCC Administrator
11a834ef32
Daily bump.
...
From-SVN: r86706
2004-08-29 00:16:14 +00:00
GCC Administrator
5dc50f2714
Daily bump.
...
From-SVN: r86682
2004-08-28 00:16:17 +00:00
GCC Administrator
81d1fb0877
Daily bump.
...
From-SVN: r86647
2004-08-27 00:16:14 +00:00
GCC Administrator
9950712b1d
Daily bump.
...
From-SVN: r86591
2004-08-26 00:16:14 +00:00
Paolo Carlini
cb79308987
PR libstdc++/17038 (partial)
...
2004-08-25 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/17038 (partial)
* include/bits/locale_facets.tcc (time_put<>::do_put): Increase
__maxlen to 128.
* include/bits/locale_facets.h (class __timepunct): Add FIXME
comment about _M_put.
* config/locale/generic/time_members.cc (_M_put): Always null
terminate __s.
* config/locale/gnu/time_members.cc (_M_put): Likewise.
* testsuite/22_locale/time_put/put/char/17038.cc: New.
* testsuite/22_locale/time_put/put/wchar_t/17038.cc: New.
From-SVN: r86586
2004-08-25 23:38:29 +00:00
GCC Administrator
0d9f6a32e7
Daily bump.
...
From-SVN: r86530
2004-08-25 00:16:16 +00:00
GCC Administrator
a43b7e0fd7
Daily bump.
...
From-SVN: r86449
2004-08-24 00:16:21 +00:00
GCC Administrator
35e0e58c7a
Daily bump.
...
From-SVN: r86392
2004-08-23 00:16:21 +00:00
Paolo Carlini
44e91562ed
locale_facets.tcc (num_put<>::do_put(bool)): Cast to a signed type, long according to the resolution of DR 359.
...
2004-08-22 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (num_put<>::do_put(bool)): Cast
to a signed type, long according to the resolution of DR 359.
* testsuite/22_locale/num_put/put/char/9.cc: New.
* testsuite/22_locale/num_put/put/wchar_t/9.cc: New.
* include/bits/locale_facets.tcc (num_put<>::do_put(const void*)):
Simplify a bit: no need to clear showpos.
From-SVN: r86382
2004-08-22 17:55:51 +00:00
GCC Administrator
60e6c85216
Daily bump.
...
From-SVN: r86371
2004-08-22 00:16:17 +00:00
Paolo Carlini
6afe78f3ca
char_traits.h (struct _Char_traits_match): Remove, unused.
...
2004-08-21 Paolo Carlini <pcarlini@suse.de>
* include/bits/char_traits.h (struct _Char_traits_match): Remove,
unused.
From-SVN: r86364
2004-08-21 14:40:53 +00:00
Paolo Carlini
87c6c816a6
basic_ios.tcc (basic_ios<>::copyfmt): Don't deal with _M_word != _M_local_word two times, redundantly.
...
2004-08-21 Paolo Carlini <pcarlini@suse.de>
* include/bits/basic_ios.tcc (basic_ios<>::copyfmt): Don't deal
with _M_word != _M_local_word two times, redundantly.
From-SVN: r86359
2004-08-21 08:54:07 +00:00
GCC Administrator
596cfbb6c0
Daily bump.
...
From-SVN: r86349
2004-08-21 00:16:13 +00:00
Paolo Carlini
00218cb56a
PR libstdc++/7219 (continued)
...
2004-08-20 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/7219 (continued)
* include/bits/ios_base.h (class ios_base): Expose Annex D.6
typedefs by default.
* testsuite/27_io/types/1.cc: Remove #if _GLIBCXX_DEPRECATED.
* testsuite/27_io/ios_base/cons/assign_neg.cc: Tweak dg-error
line number.
* testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
From-SVN: r86340
2004-08-20 21:14:56 +00:00
GCC Administrator
56c9a6cdf9
Daily bump.
...
From-SVN: r86300
2004-08-20 00:16:19 +00:00
GCC Administrator
5b2005cc6e
Daily bump.
...
From-SVN: r86224
2004-08-19 00:16:18 +00:00
GCC Administrator
f2d16e4add
Daily bump.
...
From-SVN: r86163
2004-08-18 00:16:20 +00:00
GCC Administrator
9a9ff54903
Daily bump.
...
From-SVN: r86091
2004-08-17 00:16:21 +00:00
Paolo Carlini
82cb25749b
indirect_array.h: Trivial formatting fixes.
...
2004-08-16 Paolo Carlini <pcarlini@suse.de>
* include/bits/indirect_array.h: Trivial formatting fixes.
* include/bits/valarray_after.h: Likewise.
* include/bits/valarray_array.h: Likewise.
* src/valarray-inst.cc: Likewise.
From-SVN: r86056
2004-08-16 14:50:31 +00:00
GCC Administrator
ac41c41d46
Daily bump.
...
From-SVN: r86043
2004-08-16 00:16:13 +00:00
Paolo Carlini
ba43cf0b4f
2832.cc: Remove junk.
...
2004-08-15 Paolo Carlini <pcarlini@suse.de>
* testsuite/27_io/basic_stringstream/rdbuf/char/2832.cc: Remove junk.
* testsuite/27_io/basic_stringstream/str/char/1.cc: Likewise.
* testsuite/27_io/basic_stringstream/str/char/3.cc: Likewise.
* testsuite/27_io/basic_stringstream/rdbuf/wchar_t/2832.cc: New.
* testsuite/27_io/basic_stringstream/str/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_stringstream/str/wchar_t/2.cc: Likewise.
* testsuite/27_io/basic_stringstream/str/wchar_t/3.cc: Likewise.
* testsuite/27_io/basic_stringstream/str/wchar_t/4.cc: Likewise.
2004-08-15 Paolo Carlini <pcarlini@suse.de>
* include/bits/deque.tcc: Trivial formatting fixes.
From-SVN: r86040
2004-08-15 23:08:58 +00:00
Paolo Carlini
23d4fa49c6
deque.tcc: Trivial formatting fixes.
...
2004-08-15 Paolo Carlini <pcarlini@suse.de>
* include/bits/deque.tcc: Trivial formatting fixes.
* include/bits/locale_facets.tcc (num_get<>::do_get(&bool)):
Remove unneded typedef.
* include/bits/locale_facets.tcc: Very minor tweaks.
* testsuite/22_locale/time_put/put/wchar_t/1.cc: Use proper
type for the fill argument.
* testsuite/22_locale/time_put/put/wchar_t/10.cc: Likewise.
* testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
* testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
* testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
* testsuite/22_locale/time_put/put/wchar_t/5.cc: Likewise.
* testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise.
* testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise.
* testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise.
From-SVN: r86026
2004-08-15 19:03:44 +00:00
GCC Administrator
b9413dbc44
Daily bump.
...
From-SVN: r86014
2004-08-15 00:16:15 +00:00
GCC Administrator
77a30f085d
Daily bump.
...
From-SVN: r85979
2004-08-14 00:16:16 +00:00
GCC Administrator
06d9ed3cf5
Daily bump.
...
From-SVN: r85921
2004-08-13 00:16:17 +00:00
Paolo Carlini
0a162bde46
re PR libstdc++/16956 ([3.4 only] std::stringbuf::seekoff return wrong position value)
...
2004-08-12 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/16956
* include/bits/sstream.tcc (basic_stringbuf<>::seekoff): Add __off
to the returned value, reorganize a bit.
* testsuite/27_io/basic_stringbuf/seekoff/char/16956.cc: New.
* testsuite/27_io/basic_stringbuf/seekoff/wchar_t/16956.cc: New.
* testsuite/27_io/basic_stringbuf/seekoff/char/1.cc: Remove junk.
* testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_stringbuf/seekpos/char/1.cc: Likewise.
* testsuite/27_io/basic_stringbuf/seekpos/wchar_t/1.cc: Likewise.
From-SVN: r85910
2004-08-12 22:26:32 +00:00
GCC Administrator
eb3643d800
Daily bump.
...
From-SVN: r85836
2004-08-12 00:16:15 +00:00
GCC Administrator
688d37c4eb
Daily bump.
...
From-SVN: r85780
2004-08-11 00:16:27 +00:00
GCC Administrator
19bb9ed6f5
Daily bump.
...
From-SVN: r85733
2004-08-10 00:16:15 +00:00
Paolo Carlini
705debec1e
stl_bvector.h: Trivial formatting fixes.
...
2004-08-09 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_bvector.h: Trivial formatting fixes.
2004-08-09 Paolo Carlini <pcarlini@suse.de>
* src/ios.cc (ios_base::_M_grow_words): Uglify the names.
From-SVN: r85716
2004-08-09 13:51:33 +00:00
GCC Administrator
d1e8ac2202
Daily bump.
...
From-SVN: r85702
2004-08-09 00:16:13 +00:00
GCC Administrator
c30ff96bd5
Daily bump.
...
From-SVN: r85682
2004-08-08 00:16:11 +00:00
Paolo Carlini
49864a8255
c_locale.h (__convert_from_v): Don't use a default for __prec, assume __prec >= 0 and simplify.
...
2004-08-07 Paolo Carlini <pcarlini@suse.de>
* config/locale/generic/c_locale.h (__convert_from_v): Don't
use a default for __prec, assume __prec >= 0 and simplify.
* config/locale/gnu/c_locale.h (__convert_from_v): Likewise.
* include/bits/locale_facets.tcc (money_put<>::do_put(long double)):
Pass format "%.*Lf" + precision == 0, equivalent to "%.0Lf".
From-SVN: r85669
2004-08-07 13:48:31 +00:00
GCC Administrator
cbf8a6ab5d
Daily bump.
...
From-SVN: r85666
2004-08-07 00:16:19 +00:00
GCC Administrator
78701d2aad
Daily bump.
...
From-SVN: r85618
2004-08-06 00:16:23 +00:00
GCC Administrator
5a05b7c5da
Daily bump.
...
From-SVN: r85585
2004-08-05 00:16:14 +00:00
GCC Administrator
fff63b30a4
Daily bump.
...
From-SVN: r85534
2004-08-04 00:16:44 +00:00
Paolo Carlini
6e0a7f2bdb
list.tcc: Trivial formatting fixes.
...
2004-08-03 Paolo Carlini <pcarlini@suse.de>
* include/bits/list.tcc: Trivial formatting fixes.
From-SVN: r85470
2004-08-03 10:11:31 +00:00
GCC Administrator
faebe6c239
Daily bump.
...
From-SVN: r85458
2004-08-03 00:16:11 +00:00
Matt Austern
f1197ae160
re PR libstdc++/16844 (Explicit instantiation failing)
...
PR libstdc++/16844
* include/bits/stl_list.h (_M_create_node): Remove unused
zero-argument version.
* include/ext/slist (_M_create_node): Pass two arguments to
allocator's construct() member function.
* testsuite/23_containers/deque/explicit_instantiation.cc: New.
* testsuite/23_containers/list/explicit_instantiation.cc: New.
* testsuite/23_containers/vector/explicit_instantiation.cc: New.
* testsuite/23_containers/map/explicit_instantiation.cc: New.
* testsuite/23_containers/set/explicit_instantiation.cc: New.
* testsuite/23_containers/multimap/explicit_instantiation.cc: New.
* testsuite/23_containers/multiset/explicit_instantiation.cc: New.
* testsuite/ext/hash_set_explicit_instantiation.cc: New.
* testsuite/ext/slist_explicit_instantiation.cc: New.
From-SVN: r85428
2004-08-02 04:40:19 +00:00
GCC Administrator
6a3bc5b1d0
Daily bump.
...
From-SVN: r85416
2004-08-02 00:16:13 +00:00
GCC Administrator
c12ebfef94
Daily bump.
...
From-SVN: r85397
2004-08-01 00:16:14 +00:00
Paolo Carlini
2347da644d
locale_facets.tcc (num_get<>::_M_extract_float, [...]): In the main parsing loop delay the life of __q to the actual use point.
...
2004-07-30 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (num_get<>::_M_extract_float,
num_get<>::_M_extract_int): In the main parsing loop delay the
life of __q to the actual use point.
From-SVN: r85380
2004-07-31 09:00:09 +00:00
GCC Administrator
5571d77b5a
Daily bump.
...
From-SVN: r85369
2004-07-31 00:16:14 +00:00
GCC Administrator
e109f49acc
Daily bump.
...
From-SVN: r85321
2004-07-30 00:16:56 +00:00
Paolo Carlini
7c9b102ede
re PR libstdc++/14220 ([3.5] num_put::do_put() undesired float/double behavior)
...
2004-07-29 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/14220
* include/bits/locale_facets.tcc (num_put<>::_M_insert_float):
Don't clip the precision passed down to __convert_from_v:
22.2.2.2.2 nowhere says so.
* testsuite/22_locale/num_put/put/char/14220.cc: New.
* testsuite/22_locale/num_put/put/wchar_t/14220.c: Likewise.
From-SVN: r85315
2004-07-29 22:11:04 +00:00
GCC Administrator
0fa2c11ae8
Daily bump.
...
From-SVN: r85280
2004-07-29 00:16:13 +00:00
Matt Austern
1985f1cdaa
stl_construct.h (_Destroy): New three-argument overload that takes an allocator argument.
...
* include/bits/stl_construct.h (_Destroy): New three-argument
overload that takes an allocator argument. Another inline
three-argument overload that takes std::allocator and dispatches
to the two-argument version.
* include/bits/stl_uninitialized.h (__uninitialized_fill_n_aux):
Change return type to void to match uninitialized_fill_n.
(__uninitialized_copy_a_): New function. Like uninitialized_copy
except that it takes an allocator and uses it for construct and
destroy. If the allocator is std::allocator, dispatches to
uninitialized_copy.
(__uninitialized_fill_a): Likewise.
(__uninitialized_fill_n_a): Likewise.
(__uninitialized_copy_copy): Give it an allocator argument.
(__uninitialized_fill_copy): Likewise.
(__uninitialized_copy_fill): Likewise.
* include/bits/deque.tcc: Use new forms defined in stl_construct.h
and stl_uninitialized.h. Replace use of single-argument _Construct
and _Destroy with use of allocator's construct and destroy methods.
* include/bits/list.tcc: Likewise.
* include/bits/stl_deque.h: Likewise.
* include/bits/stl_list.h: Likewise.
* include/bits/stl_tree.h: Likewise.
* include/bits/stl_vector.h: Likewise.
* include/bits/vector.tcc: Likewise.
* include/ext/hashtable.h: Use rebind so that allocator_type
has correct type for a container's allocator. Replace use of
single-argument _Construct and _Destroy with use of allocator's
construct and destroy methods.
* include/ext/memory (__uninitialized_copy_n_a): New function.
Like uninitialized_copy_n except that it takes an extra parameter,
an allocator, and uses it for construct and destroy operations.
* include/ext/rope: Use new forms defined in stl_construct.h,
stl_uninitialized.h, and ext/memory. Replace use of single-argument
_Construct and _Destroy with allocator construct and destroy methods.
* include/ext/ropeimpl.h: Likewise.
* include/ext/slist.h: Likewise.
* testsuite/testsuite_allocator.h (check_construct_destroy): New.
* testsuite/testsuite_allocator.cc (check_construct_destroy): New.
* testsuite/23_containers/deque/check_construct_destroy.cc: New.
* testsuite/23_containers/list/check_construct_destroy.cc: New.
* testsuite/23_containers/set/check_construct_destroy.cc: New.
* testsuite/23_containers/vector/check_construct_destroy.cc: New.
* testsuite/ext/hash_check_construct_destroy.cc: New.
* testsuite/ext/slist_check_construct_destroy.cc: New.
From-SVN: r85265
2004-07-28 16:37:20 +00:00
GCC Administrator
66aeab7d97
Daily bump.
...
From-SVN: r85240
2004-07-28 00:16:17 +00:00
GCC Administrator
764c35da02
Daily bump.
...
From-SVN: r85212
2004-07-27 00:16:20 +00:00
GCC Administrator
7d07a70e45
Daily bump.
...
From-SVN: r85172
2004-07-26 00:16:19 +00:00
GCC Administrator
264c4bdccb
Daily bump.
...
From-SVN: r85131
2004-07-25 00:16:15 +00:00
GCC Administrator
368bf4a184
Daily bump.
...
From-SVN: r85106
2004-07-24 00:16:13 +00:00
Benjamin Kosnik
1f34d12191
re PR libstdc++/16678 (warning: suggest parentheses around assignment used as truth value)
...
2004-07-23 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/16678
* include/bits/locale_facets.tcc: Fix for -Werror.
From-SVN: r85103
2004-07-24 00:10:09 +00:00
GCC Administrator
ef453534c4
Daily bump.
...
From-SVN: r85067
2004-07-23 00:16:13 +00:00
GCC Administrator
7761cda3b4
Daily bump.
...
From-SVN: r85027
2004-07-22 00:16:15 +00:00
GCC Administrator
655ba9c71d
Daily bump.
...
From-SVN: r84987
2004-07-21 00:16:12 +00:00
GCC Administrator
a57c6d6b63
Daily bump.
...
From-SVN: r84939
2004-07-20 00:16:14 +00:00
GCC Administrator
11d6a97449
Daily bump.
...
From-SVN: r84906
2004-07-19 00:16:15 +00:00
GCC Administrator
b52cf5a743
Daily bump.
...
From-SVN: r84884
2004-07-18 00:16:11 +00:00
GCC Administrator
cd0408d8ff
Daily bump.
...
From-SVN: r84847
2004-07-17 00:16:21 +00:00
GCC Administrator
1373fd361f
Daily bump.
...
From-SVN: r84788
2004-07-16 00:16:13 +00:00
GCC Administrator
27f3c2ce8d
Daily bump.
...
From-SVN: r84725
2004-07-15 00:16:17 +00:00
Paolo Carlini
368b7a304e
re PR libstdc++/16505 ([3.4 only] std::uninitialized_fill_n() incorrect signature)
...
2004-07-14 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/16505
* include/bits/stl_uninitialized.h (uninitialized_fill_n): Fix
the signature to return void, as per 20.4.4.3.
* include/bits/stl_vector.h (vector::vector(size_type,
const value_type&, const allocator_type&), vector::vector(size_type),
vector::_M_initialize_dispatch): Adjust callers.
* include/bits/vector.tcc (vector<>::_M_fill_assign,
vector<>::_M_fill_insert): Likewise.
* testsuite/20_util/memory/16505.cc: New.
From-SVN: r84720
2004-07-14 23:57:34 +00:00
GCC Administrator
bd09f5b8f1
Daily bump.
...
From-SVN: r84660
2004-07-14 00:16:12 +00:00
GCC Administrator
d39a988094
Daily bump.
...
From-SVN: r84592
2004-07-13 00:16:13 +00:00
Benjamin Kosnik
81f80f5feb
abi.html: Remove non-public qualification.
...
2004-07-12 Benjamin Kosnik <bkoz@redhat.com>
* docs/html/abi.html: Remove non-public qualification.
* include/bits/concurrence.h: Tweak comments.
From-SVN: r84586
2004-07-12 23:40:49 +00:00
GCC Administrator
186af37b4d
Daily bump.
...
From-SVN: r84539
2004-07-12 00:16:13 +00:00
GCC Administrator
b2877863e1
Daily bump.
...
From-SVN: r84483
2004-07-11 00:16:12 +00:00
GCC Administrator
4c6a63ccbc
Daily bump.
...
From-SVN: r84425
2004-07-10 00:16:13 +00:00
GCC Administrator
3bc0b10f9d
Daily bump.
...
From-SVN: r84333
2004-07-09 00:16:13 +00:00
Paolo Carlini
b714a4192e
gslice.h: Trivial formatting fixes.
...
2004-07-08 Paolo Carlini <pcarlini@suse.de>
* include/bits/gslice.h: Trivial formatting fixes.
* include/bits/gslice_array.h: Likewise.
* include/bits/indirect_array.h: Likewise.
* include/bits/mask_array.h: Likewise.
* include/bits/slice_array.h: Likewise.
* include/bits/valarray_after.h: Likewise.
* include/bits/valarray_array.h: Likewise.
* include/bits/valarray_before.h: Likewise.
* include/std/std_valarray.h: Likewise.
From-SVN: r84312
2004-07-08 20:48:04 +00:00
Benjamin Kosnik
75f29cdded
re PR c++/16169 (-Weffc++ item 15 improvements)
...
2004-07-08 Benjamin Kosnik <bkoz@redhat.com>
PR c++/16169
* include/bits/basic_string.h (basic_string::operator=): Revert.
From-SVN: r84296
2004-07-08 15:56:21 +00:00
GCC Administrator
d1ae24b3f5
Daily bump.
...
From-SVN: r84248
2004-07-08 00:16:15 +00:00
Paolo Carlini
9f9000d177
re PR libstdc++/16401 (ostringstream in gcc 3.4.x very slow for big data)
...
2004-07-07 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/16401
* include/bits/sstream.tcc (overflow): When reallocating _M_string
use an exponential grow policy.
* testsuite/27_io/basic_stringbuf/overflow/char/1.cc: New.
* testsuite/performance/27_io/stringbuf_overflow.cc: New.
From-SVN: r84235
2004-07-07 21:48:01 +00:00
GCC Administrator
314fbb7be7
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r84183.2
2004-07-07 00:16:18 +00:00
GCC Administrator
aac1d259ac
Daily bump.
...
From-SVN: r84142
2004-07-06 00:16:10 +00:00
GCC Administrator
91a8b4596b
Daily bump.
...
From-SVN: r84102
2004-07-05 00:16:11 +00:00
Paolo Carlini
43da93a728
basic_string.h: Trivial formatting fixes and/or const-ification of some variables.
...
2004-07-04 Paolo Carlini <pcarlini@suse.de>
* include/bits/basic_string.h: Trivial formatting fixes and/or
const-ification of some variables.
* include/bits/deque.tcc: Likewise.
* include/bits/stl_algobase.h: Likewise.
* include/bits/stl_bvector.h: Likewise.
* include/bits/stl_construct.h: Likewise.
* include/bits/stl_deque.h: Likewise.
* include/bits/stl_pair.h: Likewise.
* include/bits/stl_vector.h: Likewise.
* include/bits/vector.tcc: Likewise.
From-SVN: r84090
2004-07-04 17:57:58 +00:00
GCC Administrator
61b35a3e46
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r84066.2
2004-07-04 00:16:13 +00:00
GCC Administrator
96683b8ffd
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r84039.2
2004-07-03 00:16:14 +00:00
Paolo Carlini
5e91e92ede
type_traits.h (_Is_normal_iterator): Move...
...
2004-07-02 Paolo Carlini <pcarlini@suse.de>
* include/bits/type_traits.h (_Is_normal_iterator): Move...
* include/bits/cpp_type_traits.h: ... here, renamed to
__is_normal_iterator and consistent with the other traits.
* include/bits/stl_algobase.h (__copy_ni1, __copy_ni2): Convert
to the struct __copy_normal and three specializations.
(__copy_backward_output_normal_iterator,
__copy_backward_input_normal_iterator): Likewise, convert to
the struct __copy_backward_normal and three specializations.
(copy, copy_backward): Use the latter.
(__copy_aux, __copy_backward_aux): Very minor tweaks.
From-SVN: r84019
2004-07-02 14:49:09 +00:00
GCC Administrator
f16ee2a09a
Daily bump.
...
From-SVN: r84006
2004-07-02 00:16:12 +00:00
Paolo Carlini
695e0fbfe0
stl_algobase.h (__copy_trivial): Remove.
...
2004-07-01 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_algobase.h (__copy_trivial): Remove.
(__copy_aux2): Rewrite as __copy_aux to use __is_pointer,
__is_trivially_copyable, __are_same and __copy::copy.
(__copy): Rewrite as a class template and two specializations.
(__copy_ni2): Simplify, just call __copy_aux.
* include/bits/stl_algobase.h (__copy_backward_aux): Add __are_same
check.
* testsuite/25_algorithms/copy/1.cc, 2.cc, 3.cc, 4.cc: Test also
for destination value type != source value type.
From-SVN: r83991
2004-07-01 17:53:21 +00:00
Benjamin Kosnik
f65d320115
Per Bothner <per@bothner.com > Mohan Embar <gnustuff@thisiscool.com>
...
2004-07-01 Benjamin Kosnik <bkoz@redhat.com>
Per Bothner <per@bothner.com >
Mohan Embar <gnustuff@thisiscool.com>
PR libstdc++/16248
* include/bits/concurrence.h (__glibcxx_mutex_type): New.
(__glibcxx_mutex): Encapsulate mutex init function into type for
threaded configurations without __GTHREAD_MUTEX_INIT.
(lock::lock): Make device member a reference.
(lock::~lock): Same.
* include/ext/pool_allocator.h (__pool_base::_M_get_mutex): Change
to mutex_type.
* src/allocator.cc: Same.
Co-Authored-By: Mohan Embar <gnustuff@thisiscool.com>
Co-Authored-By: Per Bothner <per@bothner.com>
From-SVN: r83985
2004-07-01 14:49:29 +00:00
GCC Administrator
1730c8f5a7
Daily bump.
...
From-SVN: r83944
2004-07-01 00:16:14 +00:00