GCC Administrator
c7861585d3
Daily bump.
...
From-SVN: r95639
2005-02-28 00:16:23 +00:00
GCC Administrator
a129cdff3a
Daily bump.
...
From-SVN: r95601
2005-02-27 00:16:40 +00:00
Earl Chew
7320b491ec
stl_tree.h (_Rb_tree<>::_M_insert): Don't leak memory if _M_key_compare throws.
...
2005-02-26 Earl Chew <earl_chew@agilent.com>
Christopher Jefferson <chris@bubblescope.net>
* include/bits/stl_tree.h (_Rb_tree<>::_M_insert): Don't leak
memory if _M_key_compare throws.
Co-Authored-By: Chris Jefferson <chris@bubblescope.net>
From-SVN: r95597
2005-02-26 23:34:36 +00:00
GCC Administrator
ae7a02719c
Daily bump.
...
From-SVN: r95566
2005-02-26 00:16:41 +00:00
GCC Administrator
3b47d0f472
Daily bump.
...
From-SVN: r95524
2005-02-25 00:16:23 +00:00
GCC Administrator
8005da9977
Daily bump.
...
From-SVN: r95481
2005-02-24 00:16:34 +00:00
GCC Administrator
732272ca15
Daily bump.
...
From-SVN: r95426
2005-02-23 00:16:30 +00:00
GCC Administrator
80ad2e579c
Daily bump.
...
From-SVN: r95364
2005-02-22 00:16:15 +00:00
Paolo Carlini
52a8962603
basic_string.tcc (_Rep::_M_destroy): Don't check for this == &_S_empty_rep, it's always false, here.
...
2005-02-21 Paolo Carlini <pcarlini@suse.de>
* include/bits/basic_string.tcc (_Rep::_M_destroy): Don't
check for this == &_S_empty_rep, it's always false, here.
From-SVN: r95358
2005-02-21 23:25:08 +00:00
GCC Administrator
f1cc922096
Daily bump.
...
From-SVN: r95315
2005-02-21 00:16:24 +00:00
GCC Administrator
d1e982cdd9
Daily bump.
...
From-SVN: r95296
2005-02-20 00:16:19 +00:00
GCC Administrator
e8f61f71a7
Daily bump.
...
From-SVN: r95253
2005-02-19 00:16:22 +00:00
GCC Administrator
1eb9a6e57a
Daily bump.
...
From-SVN: r95211
2005-02-18 00:16:37 +00:00
GCC Administrator
d983bb5192
Daily bump.
...
From-SVN: r95130
2005-02-17 00:18:49 +00:00
GCC Administrator
66da8a21ab
Daily bump.
...
From-SVN: r95086
2005-02-16 00:16:57 +00:00
Paolo Carlini
82ce2a94d9
re PR libstdc++/19955 (Second std::ctype<char>::narrow() does not call std::ctype<char>::do_narrow())
...
2005-02-15 Paolo Carlini <pcarlini@suse.de>
Jon Grimm <jgrimm2@us.ibm.com>
PR libstdc++/19955
* include/bits/locale_facets.h (ctype<char>::_M_narrow_init()):
Fix the logic setting _M_narrow_ok: first check whether the
transformation is trivial with a dflt == 0, then deal with the
special case of zero.
* testsuite/22_locale/ctype/narrow/char/19955.cc: New.
* include/bits/locale_facets.h (ctype<char>::_M_widen_init()):
Tweak consistently to use memcmp; minor formatting fixes.
Co-Authored-By: Jon Grimm <jgrimm2@us.ibm.com>
From-SVN: r95082
2005-02-15 23:29:52 +00:00
GCC Administrator
6434513e2c
Daily bump.
...
From-SVN: r95055
2005-02-15 00:16:22 +00:00
GCC Administrator
d9099901ad
Daily bump.
...
From-SVN: r94999
2005-02-14 00:16:51 +00:00
GCC Administrator
1da0802999
Daily bump.
...
From-SVN: r94949
2005-02-13 00:16:15 +00:00
GCC Administrator
17e1f1a36f
Daily bump.
...
From-SVN: r94907
2005-02-12 00:16:59 +00:00
GCC Administrator
a94e27ddc1
Daily bump.
...
From-SVN: r94863
2005-02-11 00:18:19 +00:00
GCC Administrator
af97771992
Daily bump.
...
From-SVN: r94783
2005-02-10 00:17:28 +00:00
GCC Administrator
e472ddb0c3
Daily bump.
...
From-SVN: r94752
2005-02-09 00:16:18 +00:00
GCC Administrator
6a8c830d8d
Daily bump.
...
From-SVN: r94725
2005-02-08 00:16:16 +00:00
GCC Administrator
d47fc2487f
Daily bump.
...
From-SVN: r94639
2005-02-03 00:16:28 +00:00
GCC Administrator
fa4c37aab9
Daily bump.
...
From-SVN: r94573
2005-02-02 00:16:55 +00:00
Paolo Carlini
4d73fac958
cpp_type_traits.h: Rename _M_type fields to __value...
...
2005-02-01 Paolo Carlini <pcarlini@suse.de>
* include/bits/cpp_type_traits.h: Rename _M_type fields to
__value, except for __enable_if, _M_type -> __type, consistently
with the other traits.
* include/bits/stl_algobase.h: Tweak consistently.
* include/bits/stl_tree.h: Likewise.
* include/bits/valarray_array.h: Likewise.
* include/c_std/std_cmath.h: Likewise.
* include/debug/safe_iterator.h: Likewise.
* include/std/std_complex.h: Likewise.
From-SVN: r94538
2005-02-01 13:30:34 +00:00
GCC Administrator
74276db1df
Daily bump.
...
From-SVN: r94509
2005-02-01 00:16:23 +00:00
Paolo Carlini
c0736a9ddb
cpp_type_traits.h: Add types to the structs thus making type_traits.h redundant...
...
2005-01-31 Paolo Carlini <pcarlini@suse.de>
Gabriel Dos Reis <gdr@integrable-solutions.net>
* include/bits/cpp_type_traits.h: Add types to the structs thus
making type_traits.h redundant; exploit new __truth_type and
__traitor helpers.
* include/bits/type_traits.h: Remove.
* include/Makefile.am: Update.
* include/Makefile.in: Regenerate.
* include/backward/tempbuf.h: Include cpp_type_traits.h instead.
* include/bits/basic_string.h (replace(iterator, iterator,
_InputIterator, _InputIterator), _S_construct(_InIterator,
_InIterator, const _Alloc&)): Use __is_integer instead.
* include/bits/stl_bvector.h (vector(_InputIterator,
_InputIterator, const allocator_type&), assign(_InputIterator,
_InputIterator), insert(iterator, _InputIterator, _InputIterator)):
Likewise.
* include/bits/stl_construct.h (_Destroy(_ForwardIterator,
_ForwardIterator)): Use __is_scalar.
* include/bits/stl_deque.h (deque(_InputIterator, _InputIterator,
const allocator_type&), assign(_InputIterator, _InputIterator),
insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
* include/bits/stl_list.h (assign(_InputIterator, _InputIterator),
insert(iterator, _InputIterator, _InputIterator)): Likewise.
* include/bits/stl_tempbuf.h (_Temporary_buffer(_ForwardIterator,
_ForwardIterator)): Use __is_scalar.
* include/bits/stl_uninitialized.h (uninitialized_copy(_InputIterator,
_InputIterator, _ForwardIterator), uninitialized_fill(_ForwardIterator,
_ForwardIterator, const _Tp&), uninitialized_fill_n(_ForwardIterator,
_Size, const _Tp&)): Likewise.
* include/bits/stl_vector.h (vector(_InputIterator, _InputIterator,
const allocator_type&), assign(_InputIterator, _InputIterator),
insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
* include/debug/debug.h (__valid_range(const _InputIterator&,
const _InputIterator&)): Use __is_integer.
* include/ext/slist (assign(_InputIterator, _InputIterator)): Likewise.
* include/std/std_string.h: Include cpp_type_traits.h instead.
Co-Authored-By: Gabriel Dos Reis <gdr@integrable-solutions.net>
From-SVN: r94484
2005-01-31 16:22:01 +00:00
GCC Administrator
ef3f522837
Daily bump.
...
From-SVN: r94457
2005-01-31 00:16:26 +00:00
GCC Administrator
c2542a824e
Daily bump.
...
From-SVN: r94417
2005-01-30 00:16:18 +00:00
GCC Administrator
73095ebc07
Daily bump.
...
From-SVN: r94399
2005-01-29 00:16:44 +00:00
GCC Administrator
378d4011e6
Daily bump.
...
From-SVN: r94354
2005-01-28 00:16:26 +00:00
GCC Administrator
2f0a3aa2db
Daily bump.
...
From-SVN: r94297
2005-01-27 00:16:39 +00:00
GCC Administrator
4c064e89d9
Daily bump.
...
From-SVN: r94241
2005-01-26 00:16:15 +00:00
GCC Administrator
83c8f106f9
Daily bump.
...
From-SVN: r94192
2005-01-25 00:20:16 +00:00
GCC Administrator
29105d2509
Daily bump.
...
From-SVN: r94137
2005-01-24 00:16:52 +00:00
Paolo Carlini
0554d39aed
re PR libstdc++/19343 (New warnings in libstdc++-v3 since 2004-01-05)
...
2005-01-23 Paolo Carlini <pcarlini@suse.de>
Andreas Jaeger <aj@suse.de>
PR libstdc++/19343
* include/bits/functexcept.h: Mark the helpers as 'noreturn'.
Co-Authored-By: Andreas Jaeger <aj@suse.de>
From-SVN: r94106
2005-01-23 10:45:01 +00:00
GCC Administrator
c2d8571d91
Daily bump.
...
From-SVN: r94093
2005-01-23 00:16:24 +00:00
GCC Administrator
41bd881c9a
Daily bump.
...
From-SVN: r94052
2005-01-22 00:17:34 +00:00
Volker Reichelt
a7a4444157
re PR libstdc++/19510 ([3.3 only] Uninitialized pointers in iterators)
...
PR libstdc++/19510
* include/bits/stl_list.h (_List_iterator): Initialize _M_node
in constructor.
(_List_const_iterator): Likewise.
* include/bits/stl_tree.h (_Rb_tree_iterator): Likewise.
(_Rb_tree_const_iterator): Likewise.
* testsuite/23_containers/map/operators/1_neg.cc: Adjust line numbers.
* testsuite/23_containers/set/operators/1_neg.cc: Likewise.
From-SVN: r94002
2005-01-21 01:23:28 +00:00
GCC Administrator
75c97b449c
Daily bump.
...
From-SVN: r94000
2005-01-21 00:19:27 +00:00
GCC Administrator
29de1f673f
Daily bump.
...
From-SVN: r93930
2005-01-20 00:16:20 +00:00
GCC Administrator
feee824616
Daily bump.
...
From-SVN: r93876
2005-01-19 00:16:36 +00:00
GCC Administrator
e5cd332117
Daily bump.
...
From-SVN: r93801
2005-01-18 00:16:59 +00:00
Paolo Carlini
ac317859d4
re PR libstdc++/19433 (set, multiset, map, multimap misuse hint on insert)
...
2005-01-17 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/19433
* include/bits/stl_tree.h (_Rb_tree<>::insert_unique(iterator,
const _Val&), _Rb_tree<>::insert_equal(iterator, const _Val&)):
Obtain amortized constant complexity if t is inserted right after
p - not before p - as per Table 69.
* testsuite/performance/23_containers/set_insert_from_sorted.cc: New.
* testsuite/23_containers/multiset/insert/2.cc: New.
* testsuite/23_containers/set/insert/1.cc: Likewise.
* testsuite/performance/23_containers/set_create_from_sorted.cc:
Simplify.
* include/bits/stl_tree.h: Add a few missing std:: qualifications.
From-SVN: r93761
2005-01-17 14:14:26 +00:00
GCC Administrator
15ce652006
Daily bump.
...
From-SVN: r93747
2005-01-17 00:16:17 +00:00
GCC Administrator
c3bcec128a
Daily bump.
...
From-SVN: r93719
2005-01-16 00:16:16 +00:00
GCC Administrator
6c80f42e95
Daily bump.
...
From-SVN: r93677
2005-01-15 00:18:06 +00:00
Paolo Carlini
21c332dc93
re PR libstdc++/19422 (assoc. containers: ctor taking range is O(n log n) even if the range is sorted)
...
2005-01-14 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/19422
* include/bits/stl_tree.h (_Rb_tree<>::insert_equal(_II, _II),
_Rb_tree<>::insert_unique(_II, _II)): Use insert_equal (insert_unique,
respectively) with hint (end()).
* testsuite/performance/23_containers/set_create_from_sorted.cc: New.
From-SVN: r93663
2005-01-14 21:09:38 +00:00