* bb-reorder.c (partition_hot_cold_basic_blocks): Make it
[official-gcc.git] / libstdc++-v3 / ChangeLog
blob285e04524aca392c66b76ec4f3132527712890fa
1 2006-01-15  Paolo Carlini  <pcarlini@suse.de>
2             Gabriel Dos Reis  <gdr@integrable-solutions.net>
4         PR libstdc++/25626
5         * include/std/std_valarray.h (valarray(const slice_array<>&),
6         valarray(const gslice_array<>&), valarray(const mask_array<>&),
7         valarray(const indirect_array<>&), valarray(const _Expr<>&)):
8         Forward to __valarray_copy_construct, not __valarray_copy.
9         * include/bits/valarray_array.h
10         (__valarray_copy_construct(_Array<>, _Array<>, _Array<>, size_t),
11         __valarray_copy_construct(_Array<>, size_t, size_t, _Array<>)):
12         New.
14 2006-01-15  Paolo Carlini  <pcarlini@suse.de>
16         * testsuite/tr1/8_c_compatibility/complex/overloads_int.cc:
17         Fix norm test, use casts everywhere.
19 2006-01-14  Paolo Carlini  <pcarlini@suse.de>
21         * testsuite/testsuite_tr1.h: Add missing include; use std::__are_same.
23 2006-01-14  Paolo Carlini  <pcarlini@suse.de>
25         * testsuite/tr1/8_c_compatibility/complex/overloads_int.cc:
26         Fix wrong test (don't pick by mistake the (const complex<>&, int)
27         overload); add some.
29 2006-01-13  Paolo Carlini  <pcarlini@suse.de>
30             Howard Hinnant  <hhinnant@apple.com>
32         * include/tr1/complex (arg, conj, imag, norm, polar, pow, real):
33         Add, implementing TR1, 8.1.9.
34         (__promote_2): New.
35         * include/tr1/common.h: New, provides __promote, __promote_2.
36         * include/Makefile.am: Add.
37         * include/Makefile.in: Regenerate.
38         * testsuite/testsuite_tr1.h (check_ret_type): New.
39         * testsuite/tr1/8_c_compatibility/complex/overloads_int.cc: New.
40         * testsuite/tr1/8_c_compatibility/complex/overloads_float.cc: New.
42 2006-01-12  Benjamin Kosnik  <bkoz@redhat.com>
44         * acinclude.m4(GLIBCXX_CHECK_LINKER_FEATURES): Enable
45         --gc-sections in more cases.    
46         * configure: Regenerate.
47         * scripts/testsuite_flags.in: Remove SECTION_LDFLAGS.
48         * scripts/testsuite_flags.in (cxxldflags): New.
49         * testsuite/lib/libstdc++.exp (v3_target_compile): Add cxxldflags.
50         (libstdc++_init ): Same.
51                 
52 2006-01-12  Jan Beulich  <jbeulich@novell.com>
54         * crossconfig.m4: Add AC_DEFINE-s for HAVE_HYPOT, HAVE_ISINF, and
55         HAVE_ISNAN for *-*-netware*.
56         * configure: Refresh.
58 2006-01-11  Benjamin Kosnik  <bkoz@redhat.com>
60         * acinclude.m4(GLIBCXX_CHECK_LINKER_FEATURES): Use -Wl,-z,relro if
61         possible.  
62         * configure: Regenerate.
64 2006-01-10  Paolo Carlini  <pcarlini@suse.de>
66         * include/tr1/complex: New file, hosts the additions to header
67         <complex> described in TR1, Chapter 8 [tr.c99].
68         * include/Makefile.am: Add.
69         * include/Makefile.in: Regenerate.
70         * testsuite/tr1/8_c_compatibility/complex/functions.cc: New.
72 2006-01-09  Paolo Carlini  <pcarlini@suse.de>
74         PR libstdc++/25658
75         * testsuite/23_containers/deque/cons/assign/1.cc: Divide
76         sizes by 10.
78 2006-01-08  Paolo Carlini  <pcarlini@suse.de>
80         PR libstdc++/22102 (insert as close to hint as possible)
81         * include/bits/stl_tree.h (_Rb_tree<>::_M_insert_lower,
82         _M_insert_equal_lower): New.
83         (_M_insert_equal(iterator, const _Val&),
84         _M_insert_equal(const_iterator, const _Val&)): Use the above.
85         * docs/html/ext/howto.html: Add an entry for DR 233.
86         * testsuite/23_containers/multiset/modifiers/insert/22102.cc: New.
87         * testsuite/23_containers/multimap/modifiers/insert/22102.cc: New.
89         * testsuite/23_containers/set/insert/: Move...
90         * testsuite/23_containers/set/modifiers/insert/: ...here.
91         * testsuite/23_containers/map/insert/: Move...
92         * testsuite/23_containers/map/modifiers/insert/: ...here.
93         * testsuite/23_containers/multiset/insert/: Move...
94         * testsuite/23_containers/multiset/modifiers/insert/: ...here.
96 2006-01-06  Paolo Carlini  <pcarlini@suse.de>
98         * include/bits/stl_tree.h (_Rb_tree<>::insert_unique): Rename
99         to _M_insert_unique.
100         (_Rb_tree<>::insert_equal): Rename to _M_insert_equal.
101         * include/bits/stl_map.h (class map<>): Update callers.
102         * include/bits/stl_set.h (class set<>): Likewise.
103         * include/bits/stl_multimap.h (class multimap<>): Likewise.
104         * include/bits/stl_multiset.h (class multiset<>): Likewise.
106 2006-01-06  Paolo Carlini  <pcarlini@suse.de>
108         * include/bits/stl_bvector.h (vector<bool>::erase(iterator,
109         iterator)): Just use _M_erase_at_end.
111 2006-01-06  Paolo Carlini  <pcarlini@suse.de>
113         * include/bits/stl_bvector.h (class vector<bool>): Move all the
114         helpers under protected access mode, consistently with the primary
115         vector template.
116         (vector<bool>::_M_erase_at_end): Add.
117         (erase(iterator, iterator), clear, resize, _M_fill_assign,
118         _M_assign_aux): Use it.
119         * testsuite/23_containers/vector/bool/modifiers/erase/1.cc: New.
121 2006-01-06  Paolo Carlini  <pcarlini@suse.de>
123         Implement Option 3 of DR 431 for vector<bool>.
124         * include/bits/stl_bvector.h (class _Bvector_base): Change to
125         a struct, consistently with the primary vector template.
126         (class vector<bool>): Adjust to protected inheritance, tidy
127         typedefs.
128         (_Bvector_base<>::_M_get_Bit_allocator): Add.
129         (vector<bool>::vector(const vector&)): Use it.
130         (_Bvector_base<>::get_allocator): Tidy.
131         (vector<bool>::swap): Use __alloc_swap.
132         * testsuite/23_containers/vector/bool/modifiers/swap/1.cc: New.
133         * testsuite/23_containers/vector/bool/modifiers/swap/2.cc: New.
135 2006-01-05  Paolo Carlini  <pcarlini@suse.de>
136         
137         * testsuite/testsuite_hooks.h (test_tm(unsigned)): Change to
138         take all the tm members.
139         * testsuite/testsuite_hooks.cc (test_tm): Adjust.
140         * testsuite/22_locale/time_put/put/wchar_t/10.cc: Update.
141         * testsuite/22_locale/time_put/put/wchar_t/1.cc: Likewise.
142         * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
143         * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
144         * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
145         * testsuite/22_locale/time_put/put/wchar_t/5.cc: Likewise.
146         * testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise.
147         * testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise.
148         * testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise.
149         * testsuite/22_locale/time_put/put/wchar_t/9.cc: Likewise.
150         * testsuite/22_locale/time_put/put/wchar_t/17038.cc: Likewise.
151         * testsuite/22_locale/time_put/put/char/10.cc: Likewise.
152         * testsuite/22_locale/time_put/put/char/1.cc: Likewise.
153         * testsuite/22_locale/time_put/put/char/2.cc: Likewise.
154         * testsuite/22_locale/time_put/put/char/3.cc: Likewise.
155         * testsuite/22_locale/time_put/put/char/4.cc: Likewise.
156         * testsuite/22_locale/time_put/put/char/5.cc: Likewise.
157         * testsuite/22_locale/time_put/put/char/6.cc: Likewise.
158         * testsuite/22_locale/time_put/put/char/7.cc: Likewise.
159         * testsuite/22_locale/time_put/put/char/8.cc: Likewise.
160         * testsuite/22_locale/time_put/put/char/9.cc: Likewise.
161         * testsuite/22_locale/time_put/put/char/17038.cc: Likewise.
162         * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Likewise.
163         * testsuite/22_locale/time_get/get_year/wchar_t/3.cc: Likewise.
164         * testsuite/22_locale/time_get/get_year/char/1.cc: Likewise.
165         * testsuite/22_locale/time_get/get_year/char/3.cc: Likewise.
166         * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Likewise.
167         * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Likewise.
168         * testsuite/22_locale/time_get/get_monthname/char/1.cc: Likewise.
169         * testsuite/22_locale/time_get/get_monthname/char/2.cc: Likewise.
170         * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Likewise.
171         * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Likewise.
172         * testsuite/22_locale/time_get/get_weekday/wchar_t/3.cc: Likewise.
173         * testsuite/22_locale/time_get/get_weekday/char/1.cc: Likewise.
174         * testsuite/22_locale/time_get/get_weekday/char/2.cc: Likewise.
175         * testsuite/22_locale/time_get/get_weekday/char/3.cc: Likewise.
176         * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Likewise.
177         * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Likewise.
178         * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Likewise.
179         * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Likewise.
180         * testsuite/22_locale/time_get/get_date/wchar_t/3.cc: Likewise.
181         * testsuite/22_locale/time_get/get_date/char/12750.cc: Likewise.
182         * testsuite/22_locale/time_get/get_date/char/12750.cc: Likewise.
183         * testsuite/22_locale/time_get/get_date/char/1.cc: Likewise.
184         * testsuite/22_locale/time_get/get_date/char/2.cc: Likewise.
185         * testsuite/22_locale/time_get/get_date/char/3.cc: Likewise.
186         * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Likewise.
187         * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Likewise.
188         * testsuite/22_locale/time_get/get_time/wchar_t/3.cc: Likewise.
189         * testsuite/22_locale/time_get/get_time/wchar_t/4.cc: Likewise.
190         * testsuite/22_locale/time_get/get_time/char/1.cc: Likewise.
191         * testsuite/22_locale/time_get/get_time/char/2.cc: Likewise.
192         * testsuite/22_locale/time_get/get_time/char/3.cc: Likewise.
193         * testsuite/22_locale/time_get/get_time/char/4.cc: Likewise.
195 2006-01-05  Paolo Carlini  <pcarlini@suse.de>
196         
197         * testsuite/testsuite_hooks.h (test_tm(unsigned)): New.
198         * testsuite/testsuite_hooks.cc (test_tm(unsigned)): Define.
199         * testsuite/22_locale/time_put/put/wchar_t/10.cc: Use it.
200         * testsuite/22_locale/time_put/put/wchar_t/1.cc: Likewise.
201         * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
202         * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
203         * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
204         * testsuite/22_locale/time_put/put/wchar_t/5.cc: Likewise.
205         * testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise.
206         * testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise.
207         * testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise.
208         * testsuite/22_locale/time_put/put/wchar_t/9.cc: Likewise.
209         * testsuite/22_locale/time_put/put/wchar_t/17038.cc: Likewise.
210         * testsuite/22_locale/time_put/put/char/10.cc: Likewise.
211         * testsuite/22_locale/time_put/put/char/1.cc: Likewise.
212         * testsuite/22_locale/time_put/put/char/2.cc: Likewise.
213         * testsuite/22_locale/time_put/put/char/3.cc: Likewise.
214         * testsuite/22_locale/time_put/put/char/4.cc: Likewise.
215         * testsuite/22_locale/time_put/put/char/5.cc: Likewise.
216         * testsuite/22_locale/time_put/put/char/6.cc: Likewise.
217         * testsuite/22_locale/time_put/put/char/7.cc: Likewise.
218         * testsuite/22_locale/time_put/put/char/8.cc: Likewise.
219         * testsuite/22_locale/time_put/put/char/9.cc: Likewise.
220         * testsuite/22_locale/time_put/put/char/17038.cc: Likewise.
221         * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Likewise.
222         * testsuite/22_locale/time_get/get_year/wchar_t/3.cc: Likewise.
223         * testsuite/22_locale/time_get/get_year/char/1.cc: Likewise.
224         * testsuite/22_locale/time_get/get_year/char/3.cc: Likewise.
225         * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Likewise.
226         * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Likewise.
227         * testsuite/22_locale/time_get/get_monthname/char/1.cc: Likewise.
228         * testsuite/22_locale/time_get/get_monthname/char/2.cc: Likewise.
229         * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Likewise.
230         * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Likewise.
231         * testsuite/22_locale/time_get/get_weekday/wchar_t/3.cc: Likewise.
232         * testsuite/22_locale/time_get/get_weekday/char/1.cc: Likewise.
233         * testsuite/22_locale/time_get/get_weekday/char/2.cc: Likewise.
234         * testsuite/22_locale/time_get/get_weekday/char/3.cc: Likewise.
235         * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Likewise.
236         * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Likewise.
237         * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Likewise.
238         * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Likewise.
239         * testsuite/22_locale/time_get/get_date/wchar_t/3.cc: Likewise.
240         * testsuite/22_locale/time_get/get_date/char/12750.cc: Likewise.
241         * testsuite/22_locale/time_get/get_date/char/12750.cc: Likewise.
242         * testsuite/22_locale/time_get/get_date/char/1.cc: Likewise.
243         * testsuite/22_locale/time_get/get_date/char/2.cc: Likewise.
244         * testsuite/22_locale/time_get/get_date/char/3.cc: Likewise.
245         * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Likewise.
246         * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Likewise.
247         * testsuite/22_locale/time_get/get_time/wchar_t/3.cc: Likewise.
248         * testsuite/22_locale/time_get/get_time/wchar_t/4.cc: Likewise.
249         * testsuite/22_locale/time_get/get_time/char/1.cc: Likewise.
250         * testsuite/22_locale/time_get/get_time/char/2.cc: Likewise.
251         * testsuite/22_locale/time_get/get_time/char/3.cc: Likewise.
252         * testsuite/22_locale/time_get/get_time/char/4.cc: Likewise.
254 2006-01-04  Paolo Carlini  <pcarlini@suse.de>
256         * include/ext/sso_string_base.h (__sso_string_base<>::_M_dataplus):
257         Use _CharT_alloc_type as base class.
258         (_M_get_allocator, _M_swap, _M_create, _M_destroy): Adjust.
259         * include/ext/vstring.h (get_allocator): Tidy.
261 2006-01-04  Paolo Carlini  <pcarlini@suse.de>
263         Implement Option 3 of DR 431 for all the containers.
264         * include/bits/allocator.h (struct __alloc_swap): Add, swaps
265         allocators, optimized to nothing in case they are empty.
266         * include/bits/stl_deque.h (deque<>::swap): Use it.
267         * include/bits/stl_list.h (list<>::swap): Likewise.
268         * include/bits/stl_tree.h (_Rb_tree<>::swap): Likewise.
269         * include/bits/stl_vector.h (vector<>::swap): Likewise.
270         * include/tr1/hashtable (hashtable<>::swap): Likewise.
271         * include/ext/rc_string_base.h (__rc_string_base<>::_M_swap):
272         Likewise.
273         * include/ext/sso_string_base.h (__sso_string_base<>::_M_swap):
274         Likewise.
275         * include/ext/vstring_util.h (__vstring_utility<>::_Alloc_hider):
276         Clean-up (now vstring uses the generic __alloc_swap facility).
277         * include/tr1/unordered_map: Adjust includes.
278         * include/tr1/unordered_set: Likewise.
279         * docs/html/ext/howto.html: Add an entry for DR 431.
280         * testsuite/23_containers/deque/modifiers/swap.cc: Move to...
281         * testsuite/23_containers/deque/modifiers/swap/1.cc: ... here.          
282         * testsuite/23_containers/deque/modifiers/swap/2.cc: New.
283         * testsuite/23_containers/deque/modifiers/swap/3.cc: New.
284         * testsuite/23_containers/list/modifiers/swap.cc: Move to...
285         * testsuite/23_containers/list/modifiers/swap/1.cc: ... here.           
286         * testsuite/23_containers/list/modifiers/swap/2.cc: New.
287         * testsuite/23_containers/list/modifiers/swap/3.cc: New.
288         * testsuite/23_containers/vector/modifiers/swap.cc: Move to...
289         * testsuite/23_containers/vector/modifiers/swap/1.cc: ... here.         
290         * testsuite/23_containers/vector/modifiers/swap/2.cc: New.
291         * testsuite/23_containers/vector/modifiers/swap/3.cc: New.
292         * testsuite/23_containers/set/modifiers/swap.cc: Move to...
293         * testsuite/23_containers/set/modifiers/swap/1.cc: ... here.            
294         * testsuite/23_containers/set/modifiers/swap/2.cc: New.
295         * testsuite/23_containers/set/modifiers/swap/3.cc: New.
296         * testsuite/23_containers/map/modifiers/swap.cc: Move to...
297         * testsuite/23_containers/map/modifiers/swap/1.cc: ... here.            
298         * testsuite/23_containers/map/modifiers/swap/2.cc: New.
299         * testsuite/23_containers/map/modifiers/swap/3.cc: New.
300         * testsuite/23_containers/multiset/modifiers/swap.cc: Move to...
301         * testsuite/23_containers/multiset/modifiers/swap/1.cc: ... here.               
302         * testsuite/23_containers/multiset/modifiers/swap/2.cc: New.
303         * testsuite/23_containers/multiset/modifiers/swap/3.cc: New.
304         * testsuite/23_containers/multimap/modifiers/swap.cc: Move to...
305         * testsuite/23_containers/multimap/modifiers/swap/1.cc: ... here.               
306         * testsuite/23_containers/multimap/modifiers/swap/2.cc: New.
307         * testsuite/23_containers/multimap/modifiers/swap/3.cc: New.
308         * testsuite/tr1/6_containers/unordered/swap/unordered_set/1.cc: New.    
309         * testsuite/tr1/6_containers/unordered/swap/unordered_set/2.cc: New.
310         * testsuite/tr1/6_containers/unordered/swap/unordered_map/1.cc: New.    
311         * testsuite/tr1/6_containers/unordered/swap/unordered_map/2.cc: New.
312         * testsuite/tr1/6_containers/unordered/swap/unordered_multiset/1.cc: New.       
313         * testsuite/tr1/6_containers/unordered/swap/unordered_multiset/2.cc: New.
314         * testsuite/tr1/6_containers/unordered/swap/unordered_multimap/1.cc: New.       
315         * testsuite/tr1/6_containers/unordered/swap/unordered_multimap/2.cc: New.
317 2006-01-03  Paolo Carlini  <pcarlini@suse.de>
319         * include/bits/stl_list.h (_List_base<>::_M_get_Node_allocator): Add.
320         (_M_get_Tp_allocator, get_allocator): Tidy.
321         (list<>::list(const list&), insert(iterator, size_type, const
322         value_type&), insert(iterator, _InputIterator, _InputIterator)):
323         Use _M_get_Node_allocator.
324         * include/bits/stl_tree.h (_Rb_tree<>::_M_get_Node_allocator()): Add.
325         (_Rb_tree(const _Rb_tree<>&): Use it.
326         * include/bits/stl_deque.h (_Deque_base<>::_M_get_map_allocator,
327         get_allocator): Tidy.
328         * include/bits/stl_vector.h (_Vector_base<>::get_allocator): Tidy.
329         * testsuite/23_containers/map/operators/1_neg.cc: Adjust dg-error
330         line numbers.
331         * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
332         
333         * testsuite/testsuite_allocator.h (uneq_allocator<>::swap): Fix.
335         * testsuite/testsuite_allocator.h (class uneq_allocator): A simple
336         non-empty testing allocator which can be endowed of a "personality"
337         at construction time.
339 2006-01-03  Paolo Carlini  <pcarlini@suse.de>
341         * testsuite/27_io/basic_stringstream/str/char/1.cc: Initialize vars.
342         * testsuite/27_io/basic_stringstream/str/wchar_t/1.cc: Likewise.
343         * testsuite/27_io/basic_istringstream/str/char/1.cc: Likewise, tidy.
344         * testsuite/27_io/basic_istringstream/str/wchar_t/1.cc: Likewise.
346 2006-01-02  Mark Mitchell  <mark@codesourcery.com>
348         * src/Makefile.am (LTLDFLAGS): New variable. 
349         (CXXLINK): Use LTLDFLAGS.
350         * src/Makefile.in: Regenerated.
351         * libsupc++/Makefile.am (LTLDFLAGS): New variable. 
352         (CXXLINK): Use LTLDFLAGS.
353         * libsupc++/Makefile.in: Regenerated.
355 2006-01-02  Paolo Carlini  <pcarlini@suse.de>
357         PR libstdc++/24645
358         * include/std/std_istream.h (basic_istream<>::_M_extract): New.
359         (operator>>(bool&), operator>>(short&), operator>>(unsigned short&),
360         operator>>(int&), operator>>(unsigned int&), operator>>(long&),
361         operator>>(unsigned long&), operator>>(long long&), operator>>
362         (unsigned long long&), operator>>(float&), operator>>(double&),
363         operator>>(long double&), operator>>(void*&)): Use it.
364         * include/bits/istream.tcc (basic_istream<>::_M_extract): Define.
365         * include/std/std_ostream.h (basic_ostream<>::_M_insert): New.
366         (operator<<(long), operator<<(unsigned long), operator<<(bool),
367         operator<<(short), operator<<(unsigned short), operator<<(int),
368         operator<<(unsigned int), operator<<(long long), operator<<
369         (unsigned long long), operator<<(double), operator<<(float),
370         operator<<(long double), operator<<(const void*): Use it.
371         * include/bits/ostream.tcc (basic_ostream<>::_M_insert): Define.
372         * src/istream-inst.cc: Add _M_extract instantiations.
373         * src/ostream-inst.cc: Add _M_insert instantiations.
374         * config/abi/pre/gnu.ver: Export the new symbols @GLIBCXX_3.4.7;
375         detail existing @GLIBCXX_3.4 exports of basic_ostream, num_put,
376         money_put, etc., symbols to avoid exporting _M_insert symbols
377         @GLIBCXX_3.4.
379 2005-12-28  Paolo Carlini  <pcarlini@suse.de>
381         * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 40.
383 2005-12-28  Chris Jefferson  <chris@bubblescope.net>
385         * testsuite/testsuite_allocator.h (check_deallocate_null): Return true.
387 2005-12-28  Paolo Carlini  <pcarlini@suse.de>
389         * include/std/std_bitset.h (bitset<>::_M_copy_from_string,
390         bitset<>::_M_copy_to_string, bitset<>::operator>>): Reverse loop.
392         * testsuite/25_algorithms/heap/heap.cc (test01): Always enable
393         complexity checks.
394         * testsuite/18_support/numeric_limits/specialization.cc: Avoid
395         unused parameter warning.
396         * testsuite/18_support/numeric_limits/traps.cc: Acoid unused variable
397         warning.
398         * testsuite/ext/malloc_allocator/deallocate_global.cc: Fix format
399         string.
400         * testsuite/ext/malloc_allocator/deallocate_local.cc: Likewise.
401         * testsuite/ext/array_allocator/2.cc: Remove unused variable.
402         * testsuite/tr1/3_function_objects/mem_fn.cc: Avoid unused variable
403         warnings.
404         * testsuite/tr1/6_containers/unordered/instantiate/set.cc: Just
405         instantiate.
406         * testsuite/tr1/6_containers/unordered/instantiate/map.cc: Likewise.
407         * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: Likewise.
408         * testsuite/tr1/6_containers/unordered/instantiate/multiset.cc:
409         Likewise.
410         * testsuite/tr1/6_containers/unordered/instantiate/multimap.cc:
411         Likewise.
412         * testsuite/tr1/6_containers/array/cons/aggregate_initialization.cc:
413         Avoid unused variable warnings.
414         * testsuite/tr1/6_containers/array/requirements/zero_sized_arrays.cc:
415         Likewise.
416         * testsuite/thread/18185.cc: Likewise.
417         * testsuite/27_io/ios_base/storage/11584.cc: Likewise; avoid comparison
418         between signed and unsigned warning.
419         * testsuite/27_io/types/1.cc: Avoid unused variable warnings.
420         * testsuite/testsuite_allocator.h (check_new): Likewise.
421         (check_deallocate_null): Adjust return type.
422         * testsuite/testsuite_hooks.h (bitmask_operators): Avoid unused
423         variable warnings.
424         * testsuite/21_strings/c_strings/wchar_t/24559.cc: Avoid unused
425         variable warning.
427 2005-12-28  Chris Jefferson  <chris@bubblescope.net>
429         * include/std/std_bitset.h (bitset<0>::set, bitset<0>::reset,
430         bitset<0>::flip, bitset<0>::test): Add inline specializations for
431         bitset<0>.
433         * testsuite/tr1/6_containers/unordered/insert/multiset_range.cc
434         (test01): Add static cast.
435         * testsuite/tr1/6_containers/unordered/insert/set_range.cc
436         (test01): Likewise.
437         * testsuite/testsuite_hooks.h (operator==(NonDefaultConstructible,
438         NonDefaultConstructible), operator<(NonDefaultConstructible,
439         NonDefaultConstrictible)): Avoid unused parameter warning.
441 2005-12-26  Chris Jefferson  <chris@bubblescope.net>
443         * include/ext/mt_allocator.h (__mt_alloc::__mt_alloc): Remove
444         name of unused parameter.
445         * include/bits/stream_iterator.h (istream_iterator::istream_iterator):
446         Construct _M_value.
447         * include/debug/functions.h (__check_valid_range): Add
448         __attribute__((unused)).
449         * include/tr1/hashtable (hashtable::end): Remove name of unused
450         parameter.
451         * include/tr1/tuple_iterate.h (tuple::tuple): Likewise.
452         (tuple::operator=): Add __attribute__((unused)).
453         * include/tr1/functional (Fnv_hash<4>::hash): Add static_cast.
454         (Fnv_hash<8>::hash): Likewise.
456         * testsuite/25_algorithms/iter_swap/20577.cc (swap): Remove name of
457         unused parameter.
458         * testsuite/25_algorithms/unique_copy/check_type.cc (S2::S2,X2::X2):
459         Likewise.
460         * testsuite/22_locale/ctype/narrow/char/19955.cc (do_narrow): Likewise.
461         * testsuite/22_locale/ctype/is/char/9858.cc (Derived::do_is, 
462         Derived::do_scan_is, Derived::do_scan_not, Derived2::do_is,
463         Derived2::do_scan_is, Derived2::do_scan_not): Likewise.
464         * testsuite/22_locale/time_put/put/wchar_t/12439_1.cc (TP::do_put):
465         Likewise.
466         * testsuite/22_locale/time_put/put/wchar_t/12439_3.cc (TP::do_put):
467         Likewise.
468         * testsuite/22_locale/time_put/put/char/12439_1.cc (TP::do_put):
469         Likewise.
470         * testsuite/22_locale/time_put/put/char/12439_3.cc (TP::do_put):
471         Likewise.
472         * testsuite/testsuite_io.h (fail_num_get::do_get, fail_num_put::do_put):
473         Likewise.
474         * testsuite/25_algorithms/find/17441.cc (find): Likewise.
475         * testsuite/23_containers/vector/cons/clear_allocator.cc
476         (clear_alloc::clear_alloc): Likewise.
477         * testsuite/23_containers/vector/bool/clear_allocator.cc
478         (clear_alloc::clear_alloc): Likewise.
479         * testsuite/23_containers/list/cons/clear_allocator.cc
480         (clear_alloc::clear_alloc): Likewise.
481         * testsuite/23_containers/set/modifiers/16728.cc (test_container):
482         Likewise.
483         * testsuite/27_io/basic_ios/cons/char/3.cc (char_traits::to_char_type,
484         to_int_type): Likewise.
485         * testsuite/27_io/basic_filebuf/imbue/12206.cc (codecvt::do_out, do_in,
486         do_unshift, do_length): Likewise.
487         * testsuite/21_strings/basic_string/capacity/1.cc 
488         (operator==(A<T>,A<T>), operator<(A<T>,A<T>),
489         char_traits::to_char_type, char_traits::to_int_type): Likewise
490         * testsuite/testsuite_character.h (ctype::do_is, ctype::do_scan_is,
491         ctype::do_scan_not, do_toupper, do_tolower): Likewise.
492         * testsuite/25_algorithms/replace_copy/check_type.cc (Z::operator=):
493         Add missing return statement.
494         * testsuite/25_algorithms/replace_copy_if/check_type.cc (Z::operator=):
495         Likewise.
496         * testsuite/testsuite_iterators.h (output_iterator_wrapper::operator=,
497         random_access_iterator_wrapper::operator==): Likewise.
498         * testsuite/20_util/functional/binders/1.cc (s::f_int_int_const,
499         s::f_int_int, s::f_int_void_const, s::f_int_void): Likewise.
500         * testsuite/27_io/types/1.cc (test01): Likewise.
501         * testsuite/27_io/basic_ostream/write/wchar_t/1.cc (test01): Likewise.
502         * testsuite/27_io/basic_ostream/write/char/1.cc (test01): Likewise.
503         * testsuite/21_strings/c_strings/wchar_t/24559.cc (main): Likewise.
504         * testsuite/27_io/basic_istream/ignore/wchar_t/2.cc (check): Add static
505         cast.
506         * testsuite/27_io/basic_istream/ignore/char/2.cc (check): Likewise.
507         * testsuite/27_io/basic_istream/getline/wchar_t/5.cc (check): Likewise.
508         * testsuite/27_io/basic_istream/getline/char/5.cc (check): Likewise.
509         * testsuite/testsuite_allocator.h (check_new): Likewise.
510         (check_deallocate_null): Add missing return value.
511         * testsuite/ext/pool_allocator/allocate_chunk.cc (test01):
512         Make variable unsigned.
513         * testsuite/23_containers/vector/modifiers/erase/1.cc (N,N1,N2,N3,N4,
514         N5,test01): Likewise.
515         * testsuite/26_numerics/valarray/valarray_subset_assignment.cc
516         (check_array): Likewise.
517         (main): Removed unused variable.
518         * testsuite/27_io/basic_streambuf/in_avail/wchar_t/1.cc (test05):
519         Removed unused variable.
520         * testsuite/27_io/basic_ostream/flush/wchar_t/1.cc (test01): Likewise.
521         * testsuite/27_io/basic_ostream/flush/char/1.cc (test01): Likewise.
522         * testsuite/27_io/basic_ostream/endl/wchar_t/1.cc (test01): Likewise.
523         * testsuite/27_io/basic_ostream/endl/char/1.cc (test01): Likewise.
524         * testsuite/27_io/basic_ostream/ends/wchar_t/1.cc (test01): Likewise.
525         * testsuite/27_io/basic_ostream/ends/char/1.cc (test01): Likewise.
526         * testsuite/tr1/2_general_utilities/memory/shared_ptr/
527         assign/shared_ptr.cc (test01): Correct return type.     
528         * testsuite/27_io/basic_filebuf/close/char/2.cc (test_02):
529         Add default value to close_num.
531 2005-12-24  Paolo Carlini  <pcarlini@suse.de>
533         * include/bits/stl_algobase.h (fill(const _Deque_iterator&,
534         const _Deque_iterator&, const _Tp&)): Deal, correctly, only
535         with iterators (leave const_iterators alone).
537 2005-12-24  Paolo Carlini  <pcarlini@suse.de>
539         * include/bits/stl_algobase.h (fill(const _Deque_iterator<>&,
540         const _Deque_iterator<>&, const _Tp&)): Add.
542         * testsuite/23_containers/deque/cons/assign/1.cc: New.
544 2005-12-19  Paolo Carlini  <pcarlini@suse.de>
546         * include/bits/stl_deque.h (deque<>::resize, _M_fill_assign):
547         Avoid troubles with ADL, user defined operators and _Deque_iterator.
548         (operator-(const _Deque_iterator<>&, const _Deque_iterator<>&):
549         Add overload for left and right iterators of the same type.
550         * include/bits/deque.tcc (erase(iterator)): Avoid troubles with ADL,
551         user defined operators and _Deque_iterator.
552         * testsuite/23_containers/deque/types/1.cc: Add.
553         
554         * include/bits/deque.tcc (_M_insert_aux(iterator, size_type,
555         const value_type&)): Qualify with std:: fill call.
557 2005-12-18  Benjamin Kosnik  <bkoz@redhat.com>
558         
559         * include/bits/c++config: Add in revised namespace associations.
560         _GLIBCXX_BEGIN_NAMESPACE: New macro.
561         _GLIBCXX_END_NAMESPACE: Same.
562         _GLIBCXX_BEGIN_NESTED_NAMESPACE: Same.
563         _GLIBCXX_END_NESTED_NAMESPACE: Same.
564         * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS]): Add gnu-versioned-namespace.
565         * configure: Regenerated.
566         * config.h.in: Same.
567         * config/abi/pre/gnu-versioned-namespace.ver: New.
568         * config/abi/pre/gnu.ver (GLIBCXX_3.4.7): Add exports for nested
569         debug mode items. 
570         * include/Makefile.am (${host_builddir}/c++config.h): Fill in
571         values for __GLIBCXX__ and _GLIBCXX_NAMESPACE_ASSOCIATION_VERSION.
572         * include/Makefile.in: Regnerate.
573         * src/compatibility.cc: Alias new, nested definitions to exported
574         symbols from non-nested __gnu_debug.
575         * src/Makefile.am:  Add in ENABLE_SYMVERS_GNU_NAMESPACE.
576         * src/Makefile.in: Regenerate.
577         
578         * docs/html/debug_mode.html: Revise for nested design.
579         * docs/html/debug.html: Use debug qualifications instead of
580         __gnu_debug.
581         * docs/html/configopts.html: Revise documentation for
582         --enable-symvers.
583         
584         * include/debug/formatter: Simplify namespace qualifications for
585         current, nested-only reality. Add top-level namespace alias,
586         namespace debug, for debug-mode containers.
587         * include/debug/safe_iterator.h: Same.  
588         * include/debug/set.h: Same.
589         * include/debug/hash_multimap.h: Same.
590         * include/debug/hash_set.h: Same.
591         * include/debug/bitset
592         * include/debug/safe_sequence.h: Same.
593         * include/debug/multiset.h: Same.
594         * include/debug/safe_base.h: Same.
595         * include/debug/functions.h: Same.
596         * include/debug/safe_iterator.tcc
597         * include/debug/hash_multiset.h: Same.
598         * include/debug/vector
599         * include/debug/map.h: Same.
600         * include/debug/deque
601         * include/debug/hash_map.h: Same.
602         * include/debug/string
603         * include/debug/macros.h: Same.
604         * include/debug/list
605         * include/debug/debug.h: Same.
606         * include/debug/multimap.h: Same.       
607         * src/debug.cc: Same.
608         * testsuite/23_containers/vector/invalidation/1.cc: Cleanups.
609         * testsuite/23_containers/vector/invalidation/2.cc: Same.
610         * testsuite/23_containers/vector/invalidation/3.cc: Same.
611         * testsuite/23_containers/vector/invalidation/4.cc: Same.
612         * testsuite/23_containers/deque/invalidation/1.cc: Same.
613         * testsuite/23_containers/deque/invalidation/2.cc: Same.
614         * testsuite/23_containers/deque/invalidation/3.cc: Same.
615         * testsuite/23_containers/deque/invalidation/4.cc: Same.
616         * testsuite/23_containers/multiset/invalidation/1.cc: Same.
617         * testsuite/23_containers/multiset/invalidation/2.cc: Same.
618         * testsuite/23_containers/multimap/invalidation/1.cc: Same.
619         * testsuite/23_containers/multimap/invalidation/2.cc: Same.
620         * testsuite/23_containers/bitset/invalidation/1.cc: Same.
621         * testsuite/23_containers/bitset/cons/16020.cc: Same.
622         * testsuite/23_containers/bitset/operations/13838.cc: Same.
623         * testsuite/23_containers/list/invalidation/1.cc: Same.
624         * testsuite/23_containers/list/invalidation/2.cc: Same.
625         * testsuite/23_containers/list/invalidation/3.cc: Same.
626         * testsuite/23_containers/list/invalidation/4.cc: Same.
627         * testsuite/23_containers/set/invalidation/1.cc: Same.
628         * testsuite/23_containers/set/invalidation/2.cc: Same.
629         * testsuite/23_containers/map/invalidation/1.cc: Same.
630         * testsuite/23_containers/map/invalidation/2.cc: Same.
631         * testsuite/23_containers/map/insert/16813.cc: Same.
632         
633         * include/bits/basic_ios.h: Use _GLIBCXX_BEGIN_NAMESPACE(std) and
634         friends.        
635         * include/bits/stl_list.h: Same.
636         * include/bits/stl_map.h: Same.
637         * include/bits/stl_algobase.h: Same.
638         * include/bits/localefwd.h: Same.
639         * include/bits/valarray_array.tcc: Same.
640         * include/bits/valarray_after.h: Same.
641         * include/bits/gslice_array.h: Same.
642         * include/bits/stl_queue.h: Same.
643         * include/bits/gslice.h: Same.
644         * include/bits/locale_facets.tcc: Same.
645         * include/bits/locale_classes.h: Same.
646         * include/bits/stl_set.h: Same.
647         * include/bits/locale_facets.h: Same.
648         * include/bits/stl_stack.h: Same.
649         * include/bits/stl_iterator_base_types.h: Same.
650         * include/bits/stl_heap.h: Same.
651         * include/bits/indirect_array.h: Same.
652         * include/bits/atomicity.h: Same.
653         * include/bits/stream_iterator.h: Same.
654         * include/bits/concurrence.h: Same.
655         * include/bits/basic_string.h: Same.
656         * include/bits/stl_multimap.h: Same.
657         * include/bits/stl_pair.h: Same.
658         * include/bits/basic_ios.tcc: Same.
659         * include/bits/stl_raw_storage_iter.h: Same.
660         * include/bits/stl_vector.h: Same.
661         * include/bits/stl_numeric.h: Same.
662         * include/bits/ios_base.h: Same.
663         * include/bits/stl_deque.h: Same.
664         * include/bits/istream.tcc: Same.
665         * include/bits/postypes.h: Same.
666         * include/bits/stl_multiset.h: Same.
667         * include/bits/mask_array.h: Same.
668         * include/bits/stl_uninitialized.h: Same.
669         * include/bits/ostream.tcc: Same.
670         * include/bits/slice_array.h: Same.
671         * include/bits/boost_concept_check.h: Same.
672         * include/bits/sstream.tcc: Same.
673         * include/bits/stl_iterator_base_funcs.h: Same.
674         * include/bits/char_traits.h: Same.
675         * include/bits/stl_algo.h: Same.
676         * include/bits/stringfwd.h: Same.
677         * include/bits/c++config
678         * include/bits/stl_iterator.h: Same.
679         * include/bits/valarray_array.h: Same.
680         * include/bits/stl_tempbuf.h: Same.
681         * include/bits/vector.tcc: Same.
682         * include/bits/deque.tcc: Same.
683         * include/bits/stl_bvector.h: Same.
684         * include/bits/basic_string.tcc: Same.
685         * include/bits/list.tcc: Same.
686         * include/bits/streambuf_iterator.h: Same.
687         * include/bits/valarray_before.h: Same.
688         * include/bits/stl_construct.h: Same.
689         * include/bits/stl_function.h: Same.
690         * include/bits/cpp_type_traits.h: Same.
691         * include/bits/streambuf.tcc: Same.
692         * include/bits/allocator.h: Same.
693         * include/bits/stl_tree.h: Same.
694         * include/bits/fstream.tcc: Same.
695         * include/bits/stl_relops.h: Same.
696         * include/bits/functexcept.h: Same.
697         * include/std/std_valarray.h: Same.
698         * include/std/std_iostream.h: Same.
699         * include/std/std_streambuf.h: Same.
700         * include/std/std_bitset.h: Same.
701         * include/std/std_iosfwd.h: Same.
702         * include/std/std_iomanip.h: Same.
703         * include/std/std_fstream.h: Same.
704         * include/std/std_limits.h: Same.
705         * include/std/std_stdexcept.h: Same.
706         * include/std/std_istream.h: Same.
707         * include/std/std_complex.h: Same.
708         * include/std/std_memory.h: Same.
709         * include/std/std_ostream.h: Same.
710         * include/std/std_sstream.h: Same.
711         * include/c_std/std_csignal.h: Same.
712         * include/c_std/std_cstdlib.h: Same.
713         * include/c_std/std_cstdio.h: Same.
714         * include/c_std/std_cstdarg.h: Same.
715         * include/c_std/std_cctype.h: Same.
716         * include/c_std/std_cmath.h: Same.
717         * include/c_std/std_ctime.h: Same.
718         * include/c_std/std_clocale.h: Same.
719         * include/c_std/std_csetjmp.h: Same.
720         * include/c_std/std_cwchar.h: Same.
721         * include/c_std/std_cstring.h: Same.
722         * include/c_std/std_cstddef.h: Same.
723         * include/c_std/std_cwctype.h: Same.
724         * include/backward/iterator.h: Same.
725         * include/backward/set.h: Same.
726         * include/backward/hashtable.h: Same.
727         * include/backward/fstream.h: Same.
728         * include/backward/tempbuf.h: Same.
729         * include/backward/istream.h: Same.
730         * include/backward/bvector.h: Same.
731         * include/backward/stack.h: Same.
732         * include/backward/rope.h: Same.
733         * include/backward/complex.h: Same.
734         * include/backward/ostream.h: Same.
735         * include/backward/heap.h: Same.
736         * include/backward/iostream.h: Same.
737         * include/backward/function.h: Same.
738         * include/backward/multimap.h: Same.
739         * include/backward/pair.h: Same.
740         * include/backward/stream.h: Same.
741         * include/backward/iomanip.h: Same.
742         * include/backward/strstream
743         * include/backward/slist.h: Same.
744         * include/backward/tree.h: Same.
745         * include/backward/vector.h: Same.
746         * include/backward/deque.h: Same.
747         * include/backward/multiset.h: Same.
748         * include/backward/list.h: Same.
749         * include/backward/map.h: Same.
750         * include/backward/algobase.h: Same.
751         * include/backward/hash_map.h: Same.
752         * include/backward/algo.h: Same.
753         * include/backward/queue.h: Same.
754         * include/backward/streambuf.h: Same.
755         * src/allocator-inst.cc: Same.
756         * src/complex_io.cc: Same.
757         * src/localename.cc: Same.
758         * src/limits.cc: Same.
759         * src/ios_failure.cc: Same.
760         * src/locale-misc-inst.cc: Same.
761         * src/streambuf-inst.cc: Same.
762         * src/misc-inst.cc: Same.
763         * src/concept-inst.cc: Same.
764         * src/ios_locale.cc: Same.
765         * src/pool_allocator.cc: Same.
766         * src/fstream-inst.cc: Same.
767         * src/istream-inst.cc: Same.
768         * src/string-inst.cc: Same.
769         * src/locale_init.cc: Same.
770         * src/ctype.cc: Same.
771         * src/strstream.cc: Same.
772         * src/ostream-inst.cc: Same.
773         * src/functexcept.cc: Same.
774         * src/streambuf.cc: Same.
775         * src/sstream-inst.cc: Same.
776         * src/ios.cc: Same.
777         * src/valarray-inst.cc: Same.
778         * src/locale.cc: Same.
779         * src/tree.cc: Same.
780         * src/stdexcept.cc: Same.
781         * src/istream.cc: Same.
782         * src/compatibility.cc: Same.
783         * src/locale-inst.cc: Same.
784         * src/globals_io.cc: Same.
785         * src/list.cc: Same.
786         * src/ios_init.cc: Same.
787         * src/locale_facets.cc: Same.
788         * src/codecvt.cc: Same.
790         * include/tr1/unordered_map: Use _GLIBCXX_BEGIN_NAMESPACE(tr1).
791         * include/tr1/boost_shared_ptr.h: Same.
792         * include/tr1/tuple
793         * include/tr1/hashtable
794         * include/tr1/type_traits_fwd.h: Same.
795         * include/tr1/unordered_set
796         * include/tr1/functional
797         * include/tr1/ref_fwd.h: Same.
798         * include/tr1/utility
799         * include/tr1/type_traits
800         * include/tr1/array
802         * include/ext/hashtable.h: Use _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx).
803         * include/ext/typelist.h: Same.
804         * include/ext/hash_map: Same.
805         * include/ext/rc_string_base.h: Same.
806         * include/ext/pool_allocator.h: Same.
807         * include/ext/iterator: Same.
808         * include/ext/rb_tree: Same.
809         * include/ext/numeric: Same.
810         * include/ext/vstring.tcc: Same.
811         * include/ext/sso_string_base.h: Same.
812         * include/ext/stdio_filebuf.h: Same.
813         * include/ext/algorithm: Same.
814         * include/ext/codecvt_specializations.h: Same.
815         * include/ext/new_allocator.h: Same.
816         * include/ext/array_allocator.h: Same.
817         * include/ext/vstring_util.h: Same.
818         * include/ext/vstring_fwd.h: Same.
819         * include/ext/mt_allocator.h: Same.
820         * include/ext/debug_allocator.h: Same.
821         * include/ext/slist: Same.
822         * include/ext/stdio_sync_filebuf.h: Same.
823         * include/ext/hash_fun.h: Same.
824         * include/ext/malloc_allocator.h: Same.
825         * include/ext/functional: Same.
826         * include/ext/bitmap_allocator.h: Same.
827         * include/ext/pod_char_traits.h: Same.
828         * include/ext/vstring.h: Same.
829         * include/ext/ropeimpl.h: Same.
830         * include/ext/hash_set: Same.
831         * include/ext/memory: Same.
832         * include/ext/rope: Same.
833         * include/bits/boost_concept_check.h: Same.
834         * include/bits/stl_iterator.h: Same.
835         * include/bits/char_traits.h: Same.
836         * include/bits/cpp_type_traits.h: Same.
837         * include/bits/concurrence.h: Same.
838         * include/bits/atomicity.h: Same.
839         * config/locale/gnu/numeric_members.cc: Same.
840         * config/locale/gnu/collate_members.cc: Same.
841         * config/locale/gnu/ctype_members.cc: Same.
842         * config/locale/gnu/c_locale.cc: Same.
843         * config/locale/gnu/codecvt_members.cc: Same.
844         * config/locale/gnu/messages_members.cc: Same.
845         * config/locale/gnu/c_locale.h: Same.
846         * config/locale/gnu/monetary_members.cc: Same.
847         * config/locale/gnu/time_members.cc: Same.
848         * config/locale/ieee_1003.1-2001/c_locale.h: Same.
849         * config/locale/generic/numeric_members.cc: Same.
850         * config/locale/generic/collate_members.cc: Same.
851         * config/locale/generic/ctype_members.cc: Same.
852         * config/locale/generic/c_locale.cc: Same.
853         * config/locale/generic/codecvt_members.cc: Same.
854         * config/locale/generic/messages_members.cc: Same.
855         * config/locale/generic/c_locale.h: Same.
856         * config/locale/generic/monetary_members.cc: Same.
857         * config/locale/generic/time_members.cc: Same.
858         * config/os/aix/atomicity.h: Same.
859         * config/os/irix/atomicity.h: Same.
860         * config/cpu/powerpc/atomicity.h: Same.
861         * config/cpu/cris/atomicity.h: Same.
862         * config/cpu/ia64/atomicity.h: Same.
863         * config/cpu/alpha/atomicity.h: Same.
864         * config/cpu/m68k/atomicity.h: Same.
865         * config/cpu/hppa/atomicity.h: Same.
866         * config/cpu/mips/atomicity.h: Same.
867         * config/cpu/sparc/atomicity.h: Same.
868         * config/cpu/i386/atomicity.h: Same.
869         * config/cpu/i486/atomicity.h: Same.
870         * config/cpu/sh/atomicity.h: Same.
871         * config/cpu/generic/atomicity.h: Same.
872         * config/cpu/s390/atomicity.h: Same.
873         * config/io/c_io_stdio.h: Same.
874         * config/io/basic_file_stdio.cc: Same.
875         * config/io/basic_file_stdio.h: Same.   
876         * src/misc-inst.cc: Same.
877         * src/concept-inst.cc: Same.
878         * src/ext-inst.cc: Same.
879         * src/string-inst.cc: Same.
880         * src/pool_allocator.cc: Same.
881         * src/bitmap_allocator.cc: Same.
882         * src/mt_allocator.cc: Same.
883         * libsupc++/exception: Same.
884         * libsupc++/vterminate.cc: Same.
885         * testsuite/ext/hash_map/1.cc: Explicitly qualify __gnu_cxx::hash_map.
886         * testsuite/ext/hash_map/14648.cc: Same.        
888         * libsupc++/eh_alloc.cc: Correct comment line spacing.
889                 
890 2005-12-18  Paolo Carlini  <pcarlini@suse.de>
892         * include/bits/stl_algobase.h (__copy_normal::copy_n): Uglify
893         to __copy_n.
894         (__copy_backward::copy_b): Likewise to __copy_b.
895         (__copy_backward_normal::copy_b_n): Likewise to __copy_b_n.
896         (copy, __copy_backward_aux, copy_backward): Adjust.
898 2005-12-18  Paolo Carlini  <pcarlini@suse.de>
900         * include/bits/stl_algo.h (partial_sort_copy): Add
901         _BinaryPredicateConcept<_Compare, _InputValueType, _OutputValueType>
902         (merge, set_union, set_symmetric_difference): Add
903         _OutputIteratorConcept<_OutputIterator, _ValueType2>.
904         (binary_search): Remove redundant _BinaryPredicateConcept<_Compare,
905         _ValueType, _Tp>, taken care by lower_bound.
906         * include/bits/stl_algo.h: Cosmetic changes.
908 2005-12-18  Paolo Carlini  <pcarlini@suse.de>
909             Howard Hinnant  <hhinnant@apple.com>
911         * include/bits/stl_algo.h (merge, includes, set_union,
912         set_intersection, set_difference, set_symmetric_difference):
913         Fix concept checks.
915 2005-12-18  Paolo Carlini  <pcarlini@suse.de>
917         * include/bits/stl_algo.h (partial_sort_copy, lower_bound,
918         upper_bound, equal_range, binary_search): Fix concept checks.
920 2005-12-18  Benjamin Kosnik  <bkoz@redhat.com>
922         * config/abi/post: New.
923         * config/abi/*-linux-gnu: Move to..
924         * config/abi/post/*-linux-gnu: ... here.        
925         * config/abi/pre: New.
926         * config/linker-map.gnu: Move to ..
927         * config/abi/pre/gnu.ver: ... here.     
928         * config/linker-map.dummy: Move to..
929         * config/abi/pre/none.ver: ... here.
930         * src/Makefile.am: Use ENABLE_SYMVERS_GNU,
931         ENABLE_SYMVERS_DARWIN, ENABLE_SYMVERS_GNU_NAMESPACE.
932         Use libstdc++-symbols.ver instead of libstdc++-symbol.ver.
933         * src/Makefile.in: Regnerate.
934         * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Adjust paths for new
935         placement of abi baseline files.
936         (GLIBCXX_ENABLE_SYMVERS): Add ENABLE_SYMVERS, ENABLE_SYMVERS_GNU,
937         ENABLE_SYMVERS_DARWIN.  SYMVER_MAP to SYMVER_FILE.
938         * configure: Regnerate.
939         * config.h.in: Regnerate.
940         * src/compatibility.cc: Adjust macro usage.
941         
942 2005-12-17  Benjamin Kosnik  <bkoz@redhat.com>
944         * src/io-inst.cc: Separate instantiations into...
945         * src/ios-inst.cc: .. this.
946         * src/iostream-inst.cc: ... and this.
947         * src/Makefile.am (sources): Update.
948         * src/Makefile.in: Regenerate.  
950 2005-12-17  Benjamin Kosnik  <bkoz@redhat.com>
951         
952         PR libstdc++/25472
953         * include/c_std/std_cstdlib.h: Fix for freestanding.
955 2005-12-17  Benjamin Kosnik  <bkoz@redhat.com>
957         * testsuite/libstdc++-dg/normal.exp: Rename to..
958         * testsuite/libstdc++-dg/conformance.exp: ... this.
960 2005-12-17  Paolo Carlini  <pcarlini@suse.de>
962         * include/bits/stl_vector.h (vector(const vector&)): Use
963         _M_get_Tp_allocator.
964         * include/bits/stl_deque.h (deque(const deque&)): Likewise.
965         (_M_destroy_data): Adjust.
967 2005-12-17  Paolo Carlini  <pcarlini@suse.de>
969         * include/bits/stl_deque.h (deque<>::_M_erase_at_end,
970         _M_erase_at_begin, _M_destroy_data, _M_destroy_data_dispatch,
971         _M_destroy_data_aux): New, optimize erase at begin() / end() and
972         consistently use the "segmented iterator" optimization.
973         (deque<>::~deque(), resize, clear, _M_assign_aux, _M_fill_assign):
974         Use the above.
975         * include/bits/deque.tcc (deque<>::operator=, _M_assign_aux): Same.
976         (erase(iterator, iterator)): Likewise, clean-up.
977         (erase(iterator)): Tweak, don't call copy unnecessarily. 
978         (_M_destroy_data_aux): Define.
979         * testsuite/23_containers/deque/modifiers/erase/1.cc: New.
980         * testsuite/23_containers/deque/modifiers/erase/2.cc: Likewise.
982 2005-12-17  Gabriel Dos Reis  <gdr@integrable-solutions.net>
984         * include/bits/valarray_after.h (_Expr<>::operator[](slice)): 
985         Don't assume the closure implements general indexing, as a matter
986         of fact, most of them don't.
987         (_Expr<>::operator[](const gslice&)): Likewise.
988         (_Expr<>::operator[](const valarray<bool>&)): Likewise.
989         (_Expr<>::operator[](const valarray<size_t>&)): Likewise.
990         (_Expr<>::shift): Fix thinko.
991         (_Expr<>::cshift): Likewise.
992         (_Expr<>::apply): Likewise.
994 2005-12-16  Paolo Carlini  <pcarlini@suse.de>
996         * testsuite/tr1/4_metaprogramming/type_properties/is_empty/is_empty.cc:
997         Fix class NonEmptyClassTwo.
999 2005-12-15  Paolo Carlini  <pcarlini@suse.de>
1001         * include/bits/stl_vector.h (vector<>::_M_get_Tp_allocator): Change
1002         to return by ref and add non const version.
1003         * include/bits/stl_deque.h (deque<>::_M_get_Tp_allocator): Likewise.
1005 2005-12-15  Paolo Carlini  <pcarlini@suse.de>
1007         PR libstdc++/25421
1008         * config/locale/gnu/c_locale.cc (_S_destroy_c_locale): Check
1009         for null argument.
1010         * testsuite/22_locale/facet/25421.cc: New.
1012 2005-12-13  Carlos O'Donell <carlos@codesourcery.com>
1014         * include/std/std_limits.h (struct numeric_limits):
1015         Use __DBL_HAS_DENORM__, __FLT_HAS_DENORM__, __LDBL_HAS_DENORM__.
1017 2005-12-10  Paolo Carlini  <pcarlini@suse.de>
1019         * include/ext/sso_string_base.h (__sso_string_base<>::_M_compare):
1020         Add, specialized for char and wchar_t to immediately return true
1021         when a string is compared to itself.
1022         * include/ext/rc_string_base.h (__rc_string_base<>::_M_compare):
1023         Likewise, for the same _Rep.
1024         * include/ext/vstring.h (compare(const string&)): Use it.
1026         * include/ext/sso_string_base.h (__sso_string_base<>::_M_destroy):
1027         Deallocate passed size + 1.
1028         (_M_dispose, _M_reserve): Adjust.
1030 2005-12-09  Paolo Carlini  <pcarlini@suse.de>
1031             Howard Hinnant  <hhinnant@apple.com>
1033         PR libstdc++/25288
1034         * include/bits/stl_list.h (list<>::_M_insert_dispatch, _M_fill_insert):
1035         Remove.
1036         (_M_initialize_dispatch, _M_fill_initialize): Add.
1037         (list(size_type, const value_type&, const allocator_type&),
1038         list(const list&), list(_InputIterator, _InputIterator,
1039         const allocator_type&): Use the latter.
1040         (insert(iterator, size_type, const value_type&), insert(iterator,
1041         _InputIterator, _InputIterator)): Use construction & splice.
1042         * testsuite/23_containers/list/modifiers/insert/25288.cc: New.
1043         * testsuite/testsuite_allocator.h (class throw_allocator): Add.
1045         * include/bits/stl_list.h (list<>::insert, erase): Fix wrong comments.
1047 2005-12-08  Paolo Carlini  <pcarlini@suse.de>
1049         * include/bits/stl_vector.h (vector<>::size, resize, capacity,
1050         operator[]): Avoid troubles with ADL, user defined operators
1051         and __normal_iterator.
1052         (_M_erase_at_end): Fix to take a pointer.
1053         (clear): Adjust call.
1054         * include/bits/vector.tcc (vector<>::insert(iterator, const
1055         value_type&), erase(iterator, iterator), operator=(const
1056         vector<>&), _M_assign_aux(input_iterator_tag), _M_insert_aux,
1057         _M_fill_insert, _M_range_insert): Likewise.
1058         (_M_fill_assign, _M_assign_aux(forward_iterator_tag)): Adjust
1059         _M_erase_at_end call.
1060         * testsuite/23_containers/vector/types/1.cc: New.
1062 2005-12-08  Paolo Carlini  <pcarlini@suse.de>
1064         PR libstdc++/24617
1065         * include/bits/stl_vector.h (vector<>::_M_erase_at_end): New.
1066         (vector<>::clear, resize): Use it.
1067         * include/bits/vector.tcc (vector<>::erase(iterator, iterator),
1068         _M_fill_assign, _M_assign_aux): Likewise.
1070         * testsuite/23_containers/vector/modifiers/erase/1.cc: New.
1072 2005-12-07  Paolo Carlini  <pcarlini@suse.de>
1074         * docs/html/configopts.html ([--enable-libstdcxx-allocator]):
1075         Mention the SGI pooled allocator.
1077 2005-12-06  Paolo Carlini  <pcarlini@suse.de>
1079         * include/bits/basic_string.h (insert(iterator, _CharT),
1080         erase(iterator), erase(iterator, iterator)): Avoid troubles
1081         with ADL, user defined operators and __normal_iterator.
1082         * include/bits/stl_iterator.h (operator-(const __normal_iterator
1083         <_Iterator, _Container>&, const __normal_iterator<_Iterator,
1084         _Container>&)): Add overload for left and right iterators of
1085         the same type.
1086         * include/debug/safe_iterator.h (operator-(const _Safe_iterator
1087         <_Iterator, _Sequence>&, const _Safe_iterator<_Iterator,
1088         _Sequence>&)): Likewise.
1089         * testsuite/21_strings/basic_string/types/1.cc: New.
1091 2005-12-05  Paolo Carlini  <pcarlini@suse.de>
1093         * include/ext/sso_string_base.h (__sso_string_base<>::_M_assign):
1094         Simplify, avoid pointless reallocations.
1096 2005-12-04  Paolo Carlini  <pcarlini@suse.de>
1098         * include/ext/sso_string_base.h (__sso_string_base<>::_M_reserve):
1099         Simplify.
1101 2005-12-04  Paolo Carlini  <pcarlini@suse.de>
1103         * include/ext/vstring.h (__versa_string<>::operator+, all
1104         versions): Move out of line...
1105         * include/ext/vstring.tcc (__versa_string<>::operator+): ...
1106         here; consistently use reserve for the benefit of sso_string_base;
1107         prefer push_back to single-char append when appropriate.
1109         * include/ext/vstring.h (__versa_string<>::push_back): Don't
1110         call _M_reserve, _M_mutate instead.
1111         (reserve): Just forward to _M_reserve.
1112         * include/ext/vstring.tcc (__versa_string<>::_M_reserve): Remove.
1113         * include/ext/rc_string_base.h (__rc_string_base<>::_M_reserve): Also
1114         do the initial checks (first on length, in case __res == capacity).
1115         * include/ext/sso_string_base.h (__sso_string_base<>::_M_reserve:
1116         Likewise; don't call _M_set_length unnecessarily.
1118 2005-12-04  Paolo Carlini  <pcarlini@suse.de>
1120         * include/ext/vstring.h (__versa_string<>::_M_append): New.
1121         (append(const __versa_string&), append(const __versa_string&,
1122         size_type, size_type), append(const _CharT*, size_type),
1123         append(const _CharT*)): Use it.
1124         (append(size_type, _CharT)): Delegate to _M_replace_aux.
1125         (assign(const __versa_string&, size_type, size_type),
1126         assign(const _CharT*), replace(size_type, size_type,
1127         const _CharT*, size_type)): Forward to _M_replace.
1128         * include/ext/vstring.tcc (__versa_string<>::_M_append):
1129         Define, core append functionality.
1130         (_M_replace): Simplify, move __s == 0 case to _M_replace_aux.
1131         (_M_replace_aux): Reorganize, don't call _M_replace.
1133 2005-12-04  Paolo Carlini  <pcarlini@suse.de>
1135         * include/ext/vstring.tcc (__versa_string<>::_M_replace):
1136         Perform _M_check_length at the beginning and remove it from ...
1137         (replace, _M_replace_dispatch, _M_replace_aux, assign): ... here.
1138         (assign): Now move inline.
1139         (resize): Don't call _M_check_length redundantly, append does.
1141 2005-12-04  Paolo Carlini  <pcarlini@suse.de>
1143         * include/ext/sso_string_base.h (__sso_string_base<>::_M_get_allocator):
1144         Add non const version.
1145         * include/ext/rc_string_base.h (__rc_string_base<>::_M_get_allocator):
1146         Likewise.
1147         
1148         * include/ext/sso_string_base.h (__sso_string_base<>::_M_erase): Add.
1149         * include/ext/rc_string_base.h (__rc_string_base<>::_M_erase): Likewise.
1150         (_M_leak_hard): Use it.
1151         * include/ext/vstring.h (__versa_string<>::clear, erase, all
1152         versions): Use it.
1153         * include/ext/vstring.tcc (__versa_string<>::resize): Likewise.
1155         * include/ext/vstring.h (__versa_string<>::_M_replace_safe):
1156         Remove.
1157         * include/ext/vstring.h (__versa_string<>::_M_replace): New, does
1158         the in-place work or delegates to _M_mutate in case of reallocation.
1159         * include/ext/vstring.tcc (__versa_string<>::_M_replace_safe):
1160         Remove.
1161         * include/ext/vstring.tcc (__versa_string<>::_M_replace): Define.
1162         (assign, replace, _M_replace_dispatch, _M_replace_aux): Use it.
1163         * include/ext/sso_string_base.h (__sso_string_base<>::_M_mutate):
1164         Change to manage only reallocations.
1165         * include/ext/rc_string_base.h (__rc_string_base<>::_M_mutate):
1166         Likewise.
1168         * include/ext/vstring.h (__versa_string<>::insert(size_type,
1169         const __versa_string&), insert(size_type, const __versa_string&,
1170         size_type, size_type), insert(size_type, const _CharT*, size_type),
1171         insert(size_type, const _CharT*)): Delegate to replace.
1173         * include/ext/vstring.h (__versa_string<>::reserve): Move out of
1174         line.
1175         * include/ext/vstring.tcc (__versa_string<>::reserve): Do the
1176         checks and call _M_reserve.
1177         * include/ext/vstring.h (__versa_string<>::append): Call _M_reserve
1178         instead of reserve.
1179         * include/ext/vstring.tcc (__versa_string<>::append, all versions):
1180         Likewise.
1181         * include/ext/sso_string_base.h (__sso_string_base<>::_M_reserve):
1182         Adjust.
1183         * include/ext/rc_string_base.h (__rc_string_base<>::_M_reserve):
1184         Likewise.
1186 2005-12-02  David Billinghurst (David.Billinghurst@riotinto.com)
1188         PR testsuite/25193
1189         * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Catch
1190         error if file cannot be deleted.
1192 2005-11-23  Paolo Carlini  <pcarlini@suse.de>
1194         PR libstdc++/24975 (basic_string)
1195         * include/bits/basic_string.h (_Rep::_S_empty_rep): Avoid
1196         strict-aliasing warnings.
1198 2005-11-22  Paolo Carlini  <pcarlini@suse.de>
1200         PR libstdc++/24975
1201         * include/bits/stl_set.h (insert(iterator, const value_type&),
1202         erase(iterator), erase(iterator, iterator)): Don't break aliasing
1203         rules casting to _Rep_iterator&, forward to _Rb_tree facilities.
1204         * include/bits/stl_multiset.h (insert(iterator, const value_type&),
1205         erase(iterator), erase(iterator, iterator)): Likewise.
1206         * include/bits/stl_tree.h (_Rb_tree<>::_M_insert(_Const_Base_ptr,
1207         _Const_Base_ptr, const value_type&), insert_unique(const_iterator,
1208         const value_type&), insert_equal(const_iterator, const value_type&),
1209         erase(const_iterator), erase(const_iterator, const_iterator)): New,
1210         _Rb_tree<>::const_iterator counterparts of existing facilities.
1212 2005-11-21  Benjamin Kosnik  <bkoz@redhat.com>
1213             Ulrich Drepper  <drepper@redhat.com>
1215         PR libstdc++/23591
1216         * scripts/create_testsuite_files: Support for "C" test files.
1217         * testsuite/lib/libstdc++.exp: Same.
1218         * testsuite/libstdc++-dg/normal.exp: Same.
1219         * testsuite/ext/mt_allocator/22309_thread.cc: Update names.
1220         * testsuite/19_diagnostics/23591_thread-1.c: New.
1221         * testsuite/testsuite_shared.cc: Add tests, rename existing functions.
1222         * libsupc++/eh_globals.cc: Make global thread local if possible.
1223         * configure.ac: Use GCC_CHECK_TLS.
1224         * acinclude.m4: Include tls.m4.
1225         * configure: Regenerate.
1226         * config.h.in: Same.
1227         
1228 2005-11-21  Benjamin Kosnik  <bkoz@redhat.com>
1230         * libsupc++/del_op.cc: Include c++config.h first.
1231         * libsupc++/eh_alloc.cc: Same.
1232         * libsupc++/new_opv.cc: Same.
1233         * libsupc++/eh_throw.cc: Same.
1234         * libsupc++/new_op.cc: Same.
1235         * libsupc++/del_opv.cc: Same.
1236         * libsupc++/eh_catch.cc: Same.
1237         * libsupc++/guard.cc: Same.
1238         * libsupc++/del_opnt.cc: Same.
1239         * libsupc++/eh_exception.cc: Same.
1240         * libsupc++/new_opvnt.cc: Same.
1241         * libsupc++/eh_term_handler.cc: Same.
1242         * libsupc++/eh_personality.cc: Same.
1243         * libsupc++/eh_call.cc: Same.
1244         * libsupc++/new_opnt.cc: Same.
1245         * libsupc++/del_opvnt.cc: Same.
1247 2005-11-21  Benjamin Kosnik  <bkoz@redhat.com>
1249         * src/Makefile.am (LTCXXCOMPILE): CXXFLAGS last.
1250         * libsupc++/Makefile.am: Same.
1251         * src/Makefile.in: Regenerate.
1252         * libsupc++/Makefile.in: Same.
1254 2005-11-21  Paolo Carlini  <pcarlini@suse.de>
1256         * include/ext/sso_string_base.h: Minor formatting and stylistic fixes.
1257         (__sso_string_base<>::_M_get_allocator): Return by const ref.
1258         * include/ext/rc_string_base.h: Likewise.
1259         (__rc_string_base<>::_M_get_allocator): Return by const ref.
1260         (__rc_string_base<>::_M_dispose): Take void, use _M_get_allocator.
1261         (__rc_string_base<>::_M_grab): Take one alloc, use _M_get_allocator.
1262         (__rc_string_base<>::~__rc_string_base,
1263         __rc_string_base(const __rc_string_base&), _M_assign, _M_reserve,
1264         _M_mutate): Adjust.
1265         * include/ext/vstring_util.h: Minor stylistic fixes.
1267 2005-11-18  Paolo Carlini  <pcarlini@suse.de>
1269         * include/ext/rc_string_base.h (__rc_string_base<>::_Rep): Avoid the
1270         anonymous struct extension, adjust everywhere.
1272         * include/ext/rc_string_base.h (__rc_string_base<>::_S_empty_rep()):
1273         Just use a static member.
1274         (__rc_string_base<>::__rc_string_base(), _S_construct): Adjust.
1276         * include/ext/rc_string_base.h (__rc_string_base<>::_Rep): Use
1277         anonymous union together with _CharT to fix alignment issues,
1278         rebind to _Rep and rename _Raw_alloc to _Rep_alloc_type.        
1279         (__rc_string_base<>::_Rep::_S_create, _M_destroy): Adjust consistently.
1281         * include/ext/vstring_util.h (__is_null_p): Move inside struct
1282         __vstring_utility as static _S_is_null_pointer.
1283         * include/ext/sso_string.h
1284         (__sso_string_base<>::_M_construct(std::forward_iterator_tag): Adjust.
1285         * include/ext/rc_string_base.h
1286         (__rc_string_base<>::_S_construct(std::forward_iterator_tag): Likewise.
1288         Implement Option 3 of DR 431 for ext/vstring - both available bases.
1289         * include/bits/cpp_type_traits.h (struct __is_empty): Add.
1290         * include/ext/vstring.h (__versa_string<>::swap): Delegate to
1291         this->_M_swap.
1292         * include/ext/vstring.tcc (__versa_string<>::swap): Remove.
1293         * include/ext/vstring_util.h (struct __vstring_utility<>): Add struct
1294         _Alloc_hider<>, augmented of allocator swapping facility, specialized
1295         to nop for empty allocators.
1296         * include/ext/rc_string_base.h (__rc_string_base<>::_M_swap): Use it.
1297         (__rc_string_base<>::_M_is_leaked, _M_set_sharable): Change to private.
1298         * include/ext/sso_string_base.h (__sso_string_base<>::_M_swap):
1299         Likewise.
1300         (__sso_string_base<>::_M_is_leaked, _M_set_sharable): Remove, unused.
1301         * include/ext/rc_string_base.h (__rc_string_base<>::_M_data(_CharT*):
1302         Return void.
1303         * include/ext/sso_string_base.h (__sso_string_base<>::_M_data(_CharT*):
1304         Likewise.
1306 2005-11-17  Geoffrey Keating  <geoffk@apple.com>
1308         * config/os/bsd/darwin/ppc-extra.ver: New.
1309         * src/Makefile.am (libstdc++-symbol.ver): Move outside conditionals,
1310         and make dependent on port symbol files.
1311         (libstdc++-symbol.explist): Use the generated .ver file, not
1312         the template.
1313         * src/compatibility.cc [APPLE] (__eprintf): New.
1314         * src/Makefile.in: Regenerate.
1315         * configure.host (powerpc*-*-darwin*): Define
1316         port_specific_symbol_files.
1318 2005-11-16  Nathan Sidwell  <nathan@codesourcery.com>
1320         * libsupc++/eh_arm.cc (__cxa_begin_cleanup): Remember a
1321         foreign exception too.
1322         (__gnu_end_cleanup): Recover a foreign exception too.
1323         * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Cope
1324         with forced unwinding.
1325         * libsupc++/eh_throw.cc (__cxxabiv1::__cxa_rethrow): Use
1326         _Unwind_Resume_or_Rethrow for ARM EABI.
1328 2005-11-14  Geoffrey Keating  <geoffk@apple.com>
1330         * acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Don't check for
1331         shared libgcc for darwin exports.
1332         * configure: Regenerate.
1334 2005-11-13  Jonathan Wakely  <redi@gcc.gnu.org>
1336         * include/tr1/boost_shared_ptr.h (get_deleter):
1337         Declare before shared_ptr.
1338         (shared_ptr<>): Declare get_deleter as friend.
1339         (shared_ptr<>:_M_get_deleter): Private.
1341 2005-11-13  Douglas Gregor  <doug.gregor@gmail.com>
1343         PR libstdc++/24818
1344         * include/tr1/ref_wrap_iterate.h
1345         (reference_wrapper::operator()()): Don't dereferene the result of
1346         get() before calling it; it's already a reference.
1347         * testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc:
1348         Test nullary calls to reference_wrappers.
1350 2005-11-11  Paolo Carlini  <pcarlini@suse.de>
1352         PR libstdc++/24808
1353         * include/tr1/type_traits (__is_abstract_helper): Rename to __in_array
1354         (with complemented logic).
1355         (is_function): Use it, don't use __conv_helper.
1356         (is_abstract): Adjust.
1357         (__conv_helper): Rename to __is_convertible_simple.
1358         (is_convertible): Adjust.
1359         * testsuite/testsuite_tr1.h (class IncompleteClass): Add.
1360         * testsuite/tr1/4_metaprogramming/composite_type_traits/is_object/
1361         24808.cc: New.
1362         * testsuite/tr1/4_metaprogramming/primary_type_categories/is_enum/
1363         24808.cc: Likewise.
1364         * testsuite/tr1/4_metaprogramming/primary_type_categories/is_function/
1365         24808.cc: Likewise.
1367 2005-11-11  Paolo Carlini  <pcarlini@suse.de>
1369         PR libstdc++/24799
1370         * include/tr1/functional (hash): Inherit from std::unary_function.
1371         * testsuite/tr1/6_containers/unordered/hash/24799.cc: New.
1373         PR libstdc++/24805
1374         * include/tr1/boost_shared_ptr.h (swap(shared_ptr<>&, shared_ptr<>&),
1375         swap(weak_ptr<>&, weak_ptr<>&)): Move inside namespace tr1.
1376         * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
1377         24805.cc: New.
1379         PR libstdc++/24809
1380         * include/tr1/type_traits (__is_polymorhpic_helper): Adjust destructor.
1381         * testsuite/tr1/4_metaprogramming/type_properties/is_polymorphic/
1382         24809.cc: New.
1384 2005-11-10  Paolo Carlini  <pcarlini@suse.de>
1386         * testsuite/tr1/2_general_utilities/memory/
1387         enable_shared_from_this/not_shared.cc: Adjust, remove xfail.
1388         * testsuite/tr1/2_general_utilities/memory/
1389         enable_shared_from_this/not_shared2.cc: Likewise.
1390         * testsuite/tr1/2_general_utilities/memory/
1391         enable_shared_from_this/not_shared3.cc: Likewise.
1393 2005-11-10  Paolo Carlini  <pcarlini@suse.de>
1395         * include/tr1/boost_shared_ptr.h (_Sp_counted_base::release,
1396         weak_release): Protect barriers with __GTHREADS.
1398 2005-11-10  Paolo Carlini  <pcarlini@suse.de>
1399             Peter Dimov  <pdimov@mmltd.net>
1401         * include/tr1/boost_shared_ptr.h (_Sp_counted_base::release):
1402         Optimize by manually inlining weak_release.
1404         * include/tr1/boost_shared_ptr.h (_Sp_counted_base::release,
1405         weak_release): Use explicit memory barriers.
1407 2005-11-09  Benjamin Kosnik  <bkoz@redhat.com>
1408             Paolo Carlini  <pcarlini@suse.de>
1409             Gabriel Dos Reis  <gdr@integrable-solutions.net>
1411         PR libstdc++/22203
1412         * numeric_limits.cc: Split into...
1413         * numeric_limits/specialization.cc: ..this.
1414         * numeric_limits/is_iec559.cc: Same.
1415         * numeric_limits/sign.cc: Same.
1416         * numeric_limits/quiet_NaN.cc: Same.
1417         * numeric_limits/digits10.cc: Same.
1418         * numeric_limits/denorm_min.cc: Same.
1419         * numeric_limits/min_max.cc: Same.
1420         * numeric_limits/epsilon.cc: Same.
1421         * numeric_limits/infinity.cc: Same.
1422         * numeric_limits/traps.cc: New.
1424 2005-11-09  Paolo Carlini  <pcarlini@suse.de>
1426         * include/tr1/boost_shared_ptr.h: Trivial formatting fixes.
1428 2005-11-08  Benjamin Kosnik  <bkoz@redhat.com>
1430         * testsuite/lib/libstdc++.exp (check_v3_target_debug_mode): Use
1431         exe as the executable extension.
1433         * acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): Change gnu defaults to
1434         new.
1435         (GLIBCXX_ENABLE_PCH): Adjust message order.
1436         * configure: Regenerate.
1437         
1438         * scripts/testsuite_flags.in (query): Correct print_usagex typo.
1440         * include/bits/functexcept.h: Remove argument names.
1442         * src/mt_allocator.cc: Adjust comment.
1443         
1444 2005-11-06  Paolo Carlini  <pcarlini@suse.de>
1446         PR libstdc++/18174
1447         * include/bits/stl_queue.h (priority_queue): Tweak a bit the
1448         comment describing the container.
1450 2005-11-05  Paolo Carlini  <pcarlini@suse.de>
1452         * configure.host: Add | rs6000 to the cpu_defines_dir switch,
1453         consistently with the try_cpu one.
1455 2005-11-05  Paolo Carlini  <pcarlini@suse.de>
1457         PR libstdc++/22203
1458         * include/bits/c++config: Include cpu_defines.h.
1459         * include/Makefile.am: Add cpu_defines.h to host_headers.
1460         * configure.host: Add cpu_defines_dir.
1461         * configure.ac: Use it.
1462         * config/cpu/powerpc/cpu_defines.h: New.
1463         * config/cpu/generic/cpu_defines.h: Likewise.
1464         * configure: Regenerate.
1465         * Makefile.in: Likewise.
1466         * include/Makefile.in: Likewise.
1467         * libmath/Makefile.in: Likewise.
1468         * libsupc++/Makefile.in: Likewise.
1469         * po/Makefile.in: Likewise.
1470         * src/Makefile.in: Likewise.    
1471         * testsuite/Makefile.in: Likewise.
1473 2005-11-03  Paolo Carlini  <pcarlini@suse.de>
1475         * include/ext/sso_string_base.h (__sso_string_base<>::_M_swap):
1476         Change the various traits_type::copy call to always copy the
1477         entire local buffer; return early and don't do a full swap on
1478         the lengths for two common cases; change two _S_copy to plain
1479         traits_type::copy.
1481 2005-11-02  Thomas Kho  <tkho@ucla.edu>
1483         PR libstdc++/23425
1484         * include/bits/stl_vector.h (vector<>::clear): Open code
1485         in terms of _Destroy.
1487 2005-11-02  Paolo Carlini  <pcarlini@suse.de>
1489         * include/bits/vector.tcc (vector<>::_M_fill_assign): Qualify fill_n.
1491 2005-11-01  Paolo Carlini  <pcarlini@suse.de>
1493         PR libstdc++/24595
1494         * include/tr1/boost_shared_ptr.h (shared_ptr<>::get_deleter):
1495         Move out of shared_ptr.
1496         * testsuite/tr1/2_general_utilities/memory/shared_ptr/misc/24595.cc:
1497         New.
1499 2005-10-30  Paolo Carlini  <pcarlini@suse.de>
1501         PR libstdc++/20213
1502         * include/c_std/std_csignal.h: Adjust comment as per 17.4.1.2/4.
1503         * include/c_std/std_cstdlib.h: Likewise.
1504         * include/c_std/std_cstdio.h: Likewise.
1505         * include/c_std/std_cstdarg.h: Likewise.
1506         * include/c_std/std_cctype.h: Likewise.
1507         * include/c_std/std_cerrno.h: Likewise.
1508         * include/c_std/std_cmath.h: Likewise.
1509         * include/c_std/std_ciso646.h: Likewise.
1510         * include/c_std/std_ctime.h: Likewise.
1511         * include/c_std/std_clocale.h: Likewise.
1512         * include/c_std/std_climits.h: Likewise.
1513         * include/c_std/std_cassert.h: Likewise.
1514         * include/c_std/std_csetjmp.h: Likewise.
1515         * include/c_std/std_cwchar.h: Likewise.
1516         * include/c_std/std_cfloat.h: Likewise.
1517         * include/c_std/std_cstring.h: Likewise.
1518         * include/c_std/std_cstddef.h: Likewise.
1519         * include/c_std/std_cwctype.h: Likewise.
1521 2005-10-29  Carey Evans  <carey.evans@gmail.com>
1523         PR libstdc++/22087
1524         * config/os/djgpp/ctype_inline.h: Fix.
1525         * config/os/djgpp/ctype_noninline.h: Likewise.
1527 2005-10-28  Paolo Carlini  <pcarlini@suse.de>
1529         PR libstdc++/24559
1530         * include/c_std/std_cwchar.h (wcspbrk): Adjust signature.
1531         * testsuite/21_strings/c_strings/wchar_t/24559.cc: New.
1533 2005-10-25  Paolo Carlini  <pcarlini@suse.de>
1535         * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 39.
1536         * docs/html/ext/howto.html: Adjust.
1538 2005-10-21  Paolo Carlini  <pcarlini@suse.de>
1540         PR libstdc++/24450
1541         * config/locale/generic/time_members.h (__timepunct<>::
1542         __timepunct(__c_locale, const char*, size_t)): Avoid leaking
1543         memory if new throws inside _M_initialize_timepunct.
1544         * config/locale/gnu/time_members.h (__timepunct<>::
1545         __timepunct(__c_locale, const char*, size_t)): Likewise.
1546         * config/locale/gnu/message_members.h (messages<>::
1547         messages(__c_locale, const char*, size_t)): Rearrange to
1548         avoid memory leaks.
1550 2005-10-19  Paolo Carlini  <pcarlini@suse.de>
1552         * include/ext/sso_string_base.h (_M_swap): Rewrite.
1554 2005-10-19  Paolo Carlini  <pcarlini@suse.de>
1556         * include/ext/rc_string_base.h (_S_terminal): Remove.
1557         (_M_set_length): Adjust.
1558         (_S_max_size): Change to anonymous enum.
1559         (_M_max_size()): Add, returns the latter.
1560         * include/ext/sso_string_base.h: Likewise.
1561         * include/ext/vstring.h (max_size): Adjust.
1563 2005-10-17  Jonathan Wakely  <redi@gcc.gnu.org>
1565         PR libstdc++/24244
1566         * include/tr1/boost_shared_ptr.h
1567         (_Sp_counted_base::_Sp_counted_base()): When __GTHREAD_MUTEX_INIT
1568         is defined, initialize the mutex.
1570 2005-10-15  Paolo Carlini  <pcarlini@suse.de>
1572         * include/tr1/functional: Add missing #pragma GCC system_header.
1574 2005-10-14  Paolo Carlini  <pcarlini@suse.de>
1576         * include/tr1/hashtable (hashtable::m_erase): Rename to erase_node.
1577         (hashtable::erase(iterator), erase(const_iterator)): Adjust.
1579 2005-10-13  Richard Earnshaw  <richard.earnsahw@arm.com>
1581         PR libstdc++/23926
1582         * acinclude.m4 (port_specific_symbol_files): More symbol versioning
1583         fixes.
1584         * configure: Regenerate.
1586 2005-10-13  Hans-Peter Nilsson  <hp@axis.com>
1588         * testsuite/lib/libstdc++.exp (libstdc++_init): Require
1589         native testing before setting v3-sharedlib to 1.
1591 2005-10-12  Joe Buck  <Joe.Buck@synopsys.com>
1593         * docs/html/27_io/howto.html: Use reference to ifstream when
1594         including iosfwd.
1596 2005-10-11  Andrew Pinski  <pinskia@physics.uc.edu>
1598         PR libstdc++/23926
1599         * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Fix typo in check
1600         for GNU LD.
1601         * configure: Regenerate.
1603 2005-10-10  Benjamin Kosnik  <bkoz@redhat.com>
1605         * configure.ac (libtool_VERSION): To 6:7:0.
1606         * configure: Regenerate.
1607         * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.7.
1608         * config/linker-map.gnu: Export locale::_Impl::_M_install_cache.
1610 2005-10-10  Ian Lance Taylor  <ian@airs.com>
1612         PR libstdc++/13583
1613         * include/bits/locale_classes.h (locale::_Impl::_M_install_cache):
1614         Move out of line.
1615         * src/locale.cc: Define here, add mutex.
1617 2005-10-09  Paolo Carlini  <pcarlini@suse.de>
1619         PR libstdc++/24061 (issue 6.19)
1620         * include/tr1/hashtable (struct node_const_iterator, struct
1621         hashtable_const_iterator): New, add const variants to enable separate
1622         overloadings for iterator and const_iterator in unordered_set and
1623         unordered_multiset (as required by issue 6.19).
1624         (class hashtable): Change the mutable_iterators template parameter
1625         to constant_iterators and adjust throughout the logic.
1626         (hashtable::insert(iterator, const value_type&), erase(iterator)
1627         erase(iterator, iterator)): New, as per issue 6.19.
1628         (hashtable::m_erase(node*, node**)): New, called by erase(iterator)
1629         and erase(const_iterator).
1630         (hashtable::Insert_Conv_Type): New, used by insert(iterator,
1631         const value_type&) and insert(const_iterator, const value_type&)
1632         to delegate the work to insert(const value_type&).
1633         * include/tr1/unordered_map (class unordered_map, unordered_multimap):
1634         Adjust typedefs.
1635         * include/tr1/unordered_set (class unordered_set, unordered_multiset):
1636         Likewise.
1637         * testsuite/tr1/6_containers/unordered/erase/24061-map.cc: New.
1638         * testsuite/tr1/6_containers/unordered/erase/24061-multimap.cc: New.
1639         * testsuite/tr1/6_containers/unordered/erase/24061-multiset.cc: New.
1640         * testsuite/tr1/6_containers/unordered/erase/24061-set.cc: New.
1641         * testsuite/tr1/6_containers/unordered/insert/24061-map.cc: New.
1642         * testsuite/tr1/6_containers/unordered/insert/24061-multimap.cc: New.
1643         * testsuite/tr1/6_containers/unordered/insert/24061-multiset.cc: New.
1644         * testsuite/tr1/6_containers/unordered/insert/24061-set.cc: New.
1646 2005-10-08  Kazu Hirata  <kazu@codesourcery.com>
1648         Merge from csl-arm-branch:
1649         2004-12-15  Daniel Jacobowitz  <dan@codesourcery.com>
1650         * libstdc++-v3/config/linker-map.gnu: Add ARM EABI symbols.
1652 2005-10-07  Paolo Carlini  <pcarlini@suse.de>
1654         Fix libstdc++/24196 for ext/vstring/rc by returning to the behavior
1655         of basic_string pre-2003-06-13; remove fully-dynamic-string stuff.
1656         * include/ext/rc_string_base.h (_M_refcopy): Move inside the
1657         _Rep class and remove code in macro.
1658         (__rc_string_base()): Construct with _S_empty_rep()._M_refcopy().
1659         (_M_dispose, _M_leak_hard): Remove code in macro.
1660         (_S_construct): Return _S_empty_rep()._M_refcopy() for empty string.
1661         (_M_grab): Adjust.
1663         * include/ext/rc_string_base.h (_Rep::_M_refdata()): Minor tweak,
1664         mark throw().
1666 2005-10-07  Benjamin Kosnik  <bkoz@redhat.com>
1668         * docs/doxygen/user.cfg.in: Update to Doyxygen 1.4.4.
1670 2005-10-05  Paolo Carlini  <pcarlini@suse.de>
1672         * include/ext/sso_string_base.h (struct __sso_string_local):
1673         Remove, actually POD types cannot have user defined constructors
1674         (being aggregates) and therefore can always be members of unions.
1675         (class __sso_string_base): Adjust consistently.
1677 2005-10-05  Paolo Carlini  <pcarlini@suse.de>
1679         PR libstdc++/24198
1680         * testsuite/27_io/basic_filebuf/3.cc: Use __gnu_test::pod_ushort
1681         instead.
1682         * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: Likewise.
1683         * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: Likewise.
1684         * testsuite/27_io/basic_fstream/3.cc: Likewise; run the test.
1685         * testsuite/27_io/basic_ifstream/3.cc: Likewise; run the test.
1686         * testsuite/27_io/basic_ios/3.cc: Likewise.
1687         * testsuite/27_io/basic_iostream/3.cc: Likewise; run the test.
1688         * testsuite/27_io/basic_istream/3.cc: Likewise; run the test.
1689         * testsuite/27_io/basic_istringstream/3.cc: Likewise; run the test.
1690         * testsuite/27_io/basic_ofstream/3.cc: Likewise; run the test.
1691         * testsuite/27_io/basic_ostream/3.cc: Likewise; run the test.
1692         * testsuite/27_io/basic_ostringstream/3.cc: Likewise; run the test.
1693         * testsuite/27_io/basic_streambuf/3.cc: Likewise.
1694         * testsuite/27_io/basic_stringbuf/3.cc: Likewise.
1695         * testsuite/27_io/basic_stringstream/3.cc: Likewise; run the test.
1697 2005-10-05  Paolo Carlini  <pcarlini@suse.de>
1699         PR libstdc++/11729 (DR 280, [Ready])
1700         * include/bits/stl_iterator.h: Add reverse_iterator global
1701         functions with two template parameters (operator==, !=, <,
1702         >, <=, >=, -).
1703         * testsuite/24_iterators/reverse_iterator/11729.cc: New.
1704         * docs/html/ext/howto.html: Add an entry for issue 280.
1706 2005-10-03  Paolo Carlini  <pcarlini@suse.de>
1708         * include/tr1/hashtable
1709         (node_iterator::node_iterator(const node_iterator<,true,>&)): Fix to
1710         take a "false" (i.e., is_const == false) node_iterator.
1711         (hashtable_iterator::hashtable_iterator(const hashtable_iterator<,
1712         true,>&)): Likewise for hashtable_iterator.
1713         (hashtable::const_local_iterator): Fix typedef (is_const == true).
1714         (hashtable::const_iterator): Likewise.
1715         * testsuite/tr1/6_containers/unordered/types/map_iterator.cc: New.
1716         * testsuite/tr1/6_containers/unordered/types/multimap_iterator.cc: New.
1717         * testsuite/tr1/6_containers/unordered/types/set_iterator.cc: New.
1718         * testsuite/tr1/6_containers/unordered/types/multiset_iterator.cc: New.
1720 2005-10-02  Paolo Carlini  <pcarlini@suse.de>
1722         PR libstdc++/24054
1723         * include/tr1/hashtable (erase(const key_type&)): Return the
1724         number of elements erased.
1725         * testsuite/tr1/6_containers/unordered/hashtable/24054.cc: New.
1727 2005-10-01  Kenny Simpson  <theonetruekenny@yahoo.com>
1729         * include/tr1/tuple_iterate.h (tuple::operator=(const std::pair<>&)):
1730         Add missing return.
1732 2005-09-30  Paolo Carlini  <pcarlini@suse.de>
1734         PR libstdc++/24064
1735         * include/tr1/hashtable (hash_code_base<>::store_code): Add.
1736         (hashtable<>::insert(const value_type&)): Use it.
1737         * testsuite/tr1/6_containers/unordered/hashtable/24064.cc: New.
1739 2005-09-30  Paolo Carlini  <pcarlini@suse.de>
1741         PR libstdc++/23953
1742         * include/bits/locale_facets.tcc (__numpunct_cache<>::_M_cache,
1743         __moneypunct_cache<>::_M_cache): Check that grouping()[0] > 0.
1744         (__verify_grouping): Do the last check only if __grouping[__min] > 0.
1745         (__add_grouping<>): End recursion if *__gbeg <= 0.
1746         * testsuite/22_locale/num_get/get/char/23953.cc: New.
1747         * testsuite/22_locale/num_get/get/wchar_t/23953.cc: Likewise.
1748         * testsuite/22_locale/num_put/put/char/23953.cc: Likewise.
1749         * testsuite/22_locale/num_put/put/wchar_t/23953.cc: Likewise.
1751 2005-09-29  Chris Jefferson <chris@bubblescope.net>
1753         PR libstdc++/23978
1754         * include/tr1/tuple_iterate.h (tuple): Add operator=(std::pair).
1755         * testsuite/tr1/6_containers/tuple/creation_functions/23978.cc: New.
1756         
1757         * include/tr1/functional (ref, cref): Make inline.
1758         * include/tr1/tuple_iterate.h (tie): Correct formatting.
1759         (make_tuple): Make inline.
1761 2005-09-25  Benjamin Kosnik  <bkoz@redhat.com>
1762             Eric Botcazou  <ebotcazou@libertysurf.fr>
1764         * include/ext/mt_allocator.h
1765         (__per_type_pool<...true>::_S_initialize_once): Always call
1766         _M_initialize_once.
1767         (__common_pool<...true>::_S_initialize_once): Same.
1769 2005-09-23  Benjamin Kosnik  <bkoz@redhat.com>
1771         * testsuite/ext/mt_allocator/tune-1.cc: Clarify for single-thread.
1772         * testsuite/ext/mt_allocator/tune-2.cc: Same.
1773         * testsuite/ext/mt_allocator/tune-3.cc: Same.
1774         * testsuite/ext/mt_allocator/tune-4.cc: Same.
1776 2005-09-21  Guillaume Melquiond  <guillaume.melquiond@ens-lyon.fr>
1778         PR libstdc++/23956
1779         * include/ext/mt_allocator.h: Remove excess
1780         policy_type::_S_get_pool calls in constructors.
1781         
1782 2005-09-18  Paolo Carlini  <pcarlini@suse.de>
1784         PR libstdc++/23417 (cont)
1785         * include/bits/stl_tree.h (_Rb_tree_impl<true>): Use member
1786         initialization list for -Weffc++.
1788 2005-09-16  Janis Johnson  <janis187@us.ibm.com>
1790         * testsuite/27_io/basic_ostream/inserters_arithmetic/char/23871.cc:
1791         New.
1793 2005-09-15  Benjamin Kosnik  <bkoz@redhat.com>
1795         PR libstdc++/21674
1796         PR libstdc++/22205
1797         PR libstdc++/22222
1798         * include/bits/c++config: Set _GLIBCXX_STD regardless of __GXX_WEAK__.
1799         Add in check for __NO_INLINE__ for warning.
1800         * testsuite/lib/dg-options.exp (dg-require-debug-mode): New.
1801         * testsuite/lib/libstdc++.exp (check_v3_target_debug_mode): New.
1802         * testsuite/21_strings/basic_string/element_access/char/21674.cc:
1803         Use it.
1804         * testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc:
1805         Use it.
1807 2005-09-15  Paolo Carlini  <pcarlini@suse.de>
1809         PR libstdc++/23875
1810         * include/std/std_ostream.h (operator<<(short), operator<<(unsigned
1811         short), operator<<(int), operator<<(unsigned int), operator<<(float)):
1812         Don't call operator<<(long), operator<<(unsigned long), or
1813         operator<<(double), do the work mandated by the resolution of DR117...
1814         * include/bits/ostream.tcc (operator<<(short), operator<<(unsigned
1815         short), operator<<(int), operator<<(unsigned int), operator<<(float)):
1816         ... here.
1817         * testsuite/27_io/basic_ostream/inserters_arithmetic/pod/23875.cc: New.
1819 2005-09-15  Mark Mitchell  <mark@codesourcery.com>
1821         * testsuite/testsuite_character.h: Specialize character<>
1822         templates in __gnu_cxx, not in __gnu_test.
1824 2005-09-13  Jonathan Wakely  <cow@compsoc.man.ac.uk>
1825             Benjamin Kosnik  <bkoz@redhat.com>
1827         PR libstdc++/21674
1828         * testsuite/21_strings/basic_string/element_access/char/21674.cc: New.
1829         * testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc: 
1830         New.
1832 2005-09-12  David Edelsohn  <dje@gcc.gnu.org>
1834         PR libstdc++/22554
1835         PR libstdc++/23734
1836         * include/Makefile.am (stamp-assoc): Install each subgroup
1837         of headers separately.
1838         * include/Makefile.in: Regenerate.
1839         
1840 2005-09-12  Benjamin Kosnik  <bkoz@redhat.com>
1842         * testsuite/ext/mt_allocator/22309_thread.cc: Remove dg-do run.
1843         * testsuite/lib/libstdc++.exp ( proc libstdc++_init): Enable
1844         shared only for linux.
1845         
1846 2005-09-12  Benjamin Kosnik  <bkoz@redhat.com>
1847             David Edelsohn  <dje@gcc.gnu.org>
1849         PR libstdc++/22554
1850         PR libstdc++/23734
1851         * include/Makefile.am (assoc_headers): Break into five sub values.
1852         (install-headers): Use them.
1853         (stamp-assoc): Same.
1854         * include/Makefile.in: Regenerate.
1855         
1856 2005-09-12  Chris Jefferson  <chris@bubblescope.net>
1858         * include/bits/stl_algo.h (search_n): Delegate to specializations.
1859         (search_n(,,,,binary_predicate)): Likewise.
1860         (__search_n(forward_iterator_tag)): Original search_n, tweak to
1861         remove an unnecessary comparison.
1862         (__search_n(,,,,binary_predicate,forward_iterator_tag)): Likewise.
1864 2005-09-12  Jim Xochellis  <jimxoch@yahoo.gr>
1866         * include/bits/stl_algo.h
1867         (__search_n(std::random_access_iterator_tag)): Add specialization.
1868         (__search_n(,,,,binary_predicate,std::random_access_iterator_tag)):
1869         Likewise.
1871 2005-09-12  Benjamin Kosnik  <bkoz@redhat.com>
1873         PR libstdc++/23417
1874         * include/bits/stl_list.h (_List_impl): Use member initialization
1875         list for -Weffc++.
1876         * include/bits/stl_tree.h (_Rb_tree_impl): Same.
1878 2005-09-12  Paolo Carlini  <pcarlini@suse.de>
1880         PR libstdc++/23767
1881         * include/bits/stl_iterator.h (__normal_iterator::
1882         __normal_iterator<>(const __normal_iterator<_Iter, _Container>&)):
1883         Enable only when _Iter is equal to _Container::pointer.
1884         * testsuite/21_strings/basic_string/types/23767.cc: New.
1885         * testsuite/23_containers/vector/types/23767.cc: Likewise.
1886         * testsuite/ext/vstring/types/23767.cc: Likewise.
1888 2005-09-11  Benjamin Kosnik  <bkoz@redhat.com>
1890         PR libstdc++/19265
1891         PR libstdc++/22309
1892         * include/ext/mt_allocator.h
1893         (__gnu_cxx::__create_handler): Remove.
1894         (__pool<true>::_M_destroy_thread_key): Compatibility only.
1895         (__pool<true>::_M_initialize(__destroy): Same.
1896         (__pool<true>::_M_initialize): New.
1897         (__pool<true>::_M_initialize_once): Nothing fancy.
1898         (__pool<true>::_M_once): Remove.
1899         (__common_pool): New.
1900         (__common_pool_base): New.      
1901         (__per_type_pool): New.
1902         (__per_type_pool_base): New.
1903         * src/mt_allocator.cc: Same.
1904         * config/linker-map.gnu (__pool<true>::_M_initialize()): Add.
1905         
1906 2005-09-11  Jakub Jelinek  <jakub@redhat.com>
1908         PR libstdc++/19265
1909         PR libstdc++/22309
1910         * src/mt_allocator.cc (__gnu_internal::freelist_mutex): Make static.
1911         (__gnu_internal::__freelist): New type.
1912         (__gnu_internal::freelist): New variable.
1913         (__gnu_internal::_M_destroy_thread_key): New function.
1914         (__gnu_cxx::__pool<true>::_M_destroy): Don't delete
1915         _M_thread_freelist_initial.
1916         (__gnu_cxx::__pool<true>::_M_initialize): Make argument nameless.
1917         Don't use _M_thread_freelist and _M_thread_freelist_initial
1918         __pool<true> fields, instead use __gnu_internal::freelist fields, call
1919         gthread_key_create just once.  Use
1920         __gnu_internal::_M_destroy_thread_key as key destructor.        
1921         (__gnu_cxx::__pool<true>::_M_get_thread_id): Store size_t id
1922         rather than _Thread_record* in the thread specific value.  Don't
1923         use _M_thread_freelist __pool<true> field, instead use
1924         __gnu_internal::freelist fields.
1925         (__gnu_cxx::__pool<true>::_M_destroy_thread_key): Do nothing.
1927 2005-09-11  Benjamin Kosnik  <bkoz@redhat.com>
1928             Jakub Jelinek  <jakub@redhat.com>
1930         PR libstdc++/19265
1931         PR libstdc++/22309      
1932         * testsuite/testsuite_shared.cc: New.
1933         * testsuite/lib/dg-options.exp (dg-require-sharedlib): New.
1934         * testsuite/lib/libstdc++.exp (libstdc++_init): Look for shared
1935         library, and set v3-sharedlib based on this.
1936         (check_v3_target_sharedlib): New.
1937         (proc v3-build_support): Build shared objects.
1938         * testsuite/ext/mt_allocator/22309_thread.cc: New, use above.
1940 2005-09-11  Paolo Carlini  <pcarlini@suse.de>
1942         PR libstdc++/23781
1943         * include/bits/stl_list.h (_List_iterator<>::
1944         _List_iterator(_List_node_base*), _List_const_iterator<>::
1945         _List_const_iterator(const _List_node_base*)): Make explicit.
1946         (list<>::begin(), list<>::end(), list<>::pop_back()): Adjust
1947         consistently.
1948         * include/bits/list.tcc (list<>::insert, list<>::erase): Adjust
1949         consistently.
1950         * include/bits/stl_tree.h (_Rb_tree_iterator<>::
1951         _Rb_tree_iterator(_Link_type), _Rb_tree_const_iterator<>::
1952         _Rb_tree_const_iterator(_Link_type)): Make explicit.
1953         (_Rb_tree<>::begin(), _Rb_tree<>::end()): Adjust consistently.
1954         * include/ext/slist (_Slist_iterator<>::_Slist_iterator(_Node*)):
1955         Make explicit.
1956         (slist<>::erase(iterator), slist<>::erase(iterator, iterator)):
1957         Adjust consistently.
1958         * include/tr1/hashtable (hashtable_iterator<>::
1959         hashtable_iterator(hash_node<>**)): Make explicit.
1960         * testsuite/23_containers/list/23781.cc: New.
1961         * testsuite/23_containers/map/23781.cc: Likewise.
1962         * testsuite/23_containers/multimap/23781.cc: Likewise.
1963         * testsuite/23_containers/multiset/23781.cc: Likewise.
1964         * testsuite/23_containers/set/23781.cc: Likewise.
1965         * testsuite/ext/slist/23781.cc: Likewise.
1966         * testsuite/tr1/6_containers/unordered/23781.cc: Likewise.
1967         * testsuite/23_containers/map/operators/1_neg.cc: Adjust dg-error
1968         line numbers.
1969         * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
1971         * include/tr1/array (array<>::begin(), array<>::end()): Adjust
1972         stylistically for consistency with the other containers.
1974 2005-09-10  Joseph S. Myers  <joseph@codesourcery.com>
1976         * testsuite/26_numerics/cmath/c99_classification_macros_c.cc:
1977         XFAIL on *-*-linux*, not *-*-linux-gnu.
1979 2005-09-09  Benjamin Kosnik  <bkoz@redhat.com>
1980             Jakub Jelinek  <jakub@redhat.com>
1982         * src/debug.cc (iterator_base_mutex): Make static for internal
1983         linkage.
1984         * src/locale_init.cc (locale_mutex): Same.
1985         * src/mt_allocator.cc (freelist_mutex): Same.
1986         * src/pool_allocator.cc (palloc_init_mutex): Same.
1987         
1988 2005-09-02  Paolo Carlini  <pcarlini@suse.de>
1990         * testsuite/tr1/6_containers/unordered/hashtable/23465.cc:
1991         Reduce maximum size and lf.
1993 2005-09-01  Benjamin Kosnik  <bkoz@redhat.com>
1995         * include/c_std/std_cmath.h: Declare C99 functions and helper
1996         functions as inline.
1998 2005-09-01  Benjamin Kosnik  <bkoz@redhat.com>
1999             Paolo Carlini  <pcarlini@suse.de>
2000         
2001         * testsuite/lib/libstdc++.exp (check_v3_target_cxa_atexit): Fix
2002         comment.
2004 2005-09-01  Benjamin Kosnik  <bkoz@redhat.com>
2006         * testsuite/lib/libstdc++.exp (check_v3_target_cxa_atexit): New.
2007         * testsuite/lib/dg-options.exp (dg-require-cxa-atexit): New.
2008         * testsuite/ext/mt_allocator/deallocate_local-6.cc: New.
2009         * testsuite/ext/mt_allocator/deallocate_local-8.cc: New.
2010         * testsuite/ext/mt_allocator/deallocate_local_thread-5.cc: New.
2011         * testsuite/ext/mt_allocator/deallocate_local_thread-7.cc: New.
2012         * docs/html/ext/mt_allocator.html: Add link to examples.
2013         * testsuite/testsuite_allocator.h: Tweak.
2014         * testsuite/ext/mt_allocator/deallocate_global-2.cc: Same.
2015         * testsuite/ext/mt_allocator/deallocate_global-4.cc: Same.
2016         * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Same.
2017         * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Same.
2018         * testsuite/ext/mt_allocator/deallocate_local-2.cc: Same.
2019         * testsuite/ext/mt_allocator/deallocate_local-4.cc: Same.
2020         * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Same.
2021         * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Same.
2022         * testsuite/ext/new_allocator/deallocate_global.cc: Same.
2023         * testsuite/ext/new_allocator/deallocate_local.cc: Same.
2025 2005-08-31  Paolo Carlini  <pcarlini@suse.de>
2026             Kaspar Fischer <fischerk@inf.ethz.ch> 
2028         PR libstdc++/23632
2029         * include/bits/stl_bvector.h (_Bit_iterator::operator[],
2030         _Bit_const_iterator::operator[]): Const-ify.
2031         * testsuite/23_containers/vector/bool/23632.cc: New.
2033 2005-08-30  Paolo Carlini  <pcarlini@suse.de>
2035         PR libstdc++/23578 (cont)
2036         * include/bits/stl_bvector.h (class vector<bool>): Add
2037         a dummy data() to avoid problems in debug-mode.
2039 2005-08-30  Paolo Carlini  <pcarlini@suse.de>
2041         * testsuite/ext/hash_map/23528.cc: New.
2043 2005-08-29  Paolo Carlini  <pcarlini@suse.de>
2045         * include/bits/stl_map.h (class map): ... and a missing @a.
2047 2005-08-29  Paolo Carlini  <pcarlini@suse.de>
2049         * include/bits/stl_map.h (class map): Add missing % in comment.
2051 2005-08-29  Paolo Carlini  <pcarlini@suse.de>
2053         PR libstdc++/23578 (DR 464 [Ready])
2054         * include/bits/stl_map.h (class map): Add at(const key_type&)
2055         member functions.
2056         * include/bits/stl_vector.h (class vector): Add data() member
2057         functions.
2058         * include/debug/map.h (class map): Adjust consistently.
2059         * include/debug/vector (class vector): Likewise.
2060         * testsuite/23_containers/map/element_access/1.cc: New.
2061         * testsuite/23_containers/vector/data_access/1.cc: Likewise.
2062         * docs/html/ext/howto.html: Add an entry for DR 464.
2064 2005-08-26  Benjamin Kosnik  <bkoz@redhat.com>
2066         PR libstdc++/20534 (contd)
2067         * src/debug.cc (__gnu_debug): Remove __fancy_abort definition.
2068         Remove cstdio and cstdlib includes.
2069         * include/debug/debug.h: Define inline here. Remove
2070         _GLIBCXX_DEBUG_ABORT.
2071         * include/debug/macros.h: Remove __fancy_abort declaration,
2072         _GLIBXX_DEBUG_ABORT definition.
2073         * config/linker-map.gnu: Remove export.
2074         
2075 2005-08-26  Benjamin Kosnik  <bkoz@redhat.com>
2077         * scripts/check_compile (UNIQUE_ID): New. Use to name output files.
2079 2005-08-26  Paolo Carlini  <pcarlini@suse.de>
2081         PR libstdc++/23081
2082         * include/tr1/array: Implement members back(), front(), data(),
2083         and the tuple interface; tidy.
2084         * testsuite/tr1/6_containers/array/element_access/back.cc: New.
2085         * testsuite/tr1/6_containers/array/element_access/data.cc: Likewise.
2086         * testsuite/tr1/6_containers/array/element_access/front.cc: Likewise.
2087         * testsuite/tr1/6_containers/array/tuple_interface/get.cc: Likewise.
2088         * testsuite/tr1/6_containers/array/tuple_interface/tuple_element.cc:
2089         Likewise.
2090         * testsuite/tr1/6_containers/array/tuple_interface/tuple_size.cc:
2091         Likewise.
2093 2005-08-25  Paolo Carlini  <pcarlini@suse.de>
2095         * include/tr1/hashtable: Use __throw_exception_again,
2096         not naked throw, in the catch clauses.
2098 2005-08-24  Lawrence Lim  <llim@redhat.com>
2099             Jakub Jelinek  <jakub@redhat.com>
2100             Benjamin Kosnik  <bkoz@redhat.com>
2102         PR libstdc++/23550
2103         * testsuite/21_strings/char_traits/requirements/char/1.cc
2104         (test01): Simplify counting.
2105         * testsuite/21_strings/char_traits/requirements/wchar_t/1.cc
2106         (test02): Same.
2108 2005-08-24  Paolo Carlini  <pcarlini@suse.de>
2109             Chris Jefferson  <chris@bubblescope.net>
2111         PR libstdc++/23465
2112         * include/tr1/hashtable (hash_code_base::m_swap): Use
2113         std::swap.
2114         (hashtable<>::hashtable(const hashtable&)): Use copy_code;
2115         fix m_allocate_node call.
2116         * testsuite/tr1/6_containers/unordered/hashtable/23465.cc: New.
2118 2005-08-23  Kelley Cook  <kcook@gcc.gnu.org>
2120         PR libstdc++/23462
2121         * testsuite/data/sgetn.txt: Revert to previous FSF address.
2123 2005-08-23  Thomas Kho  <tkho@ucla.edu>
2125         PR libstdc++/23358
2126         * include/bits/stl_construct.h (_Destroy(_ForwardIterator,
2127         _ForwardIterator, allocator<_Tp>)): Removed unused template parameter.
2129 2005-08-22  Geoffrey Keating  <geoffk@apple.com>
2131         * testsuite/23_containers/vector/resize/1.cc: XFAIL on darwin8.
2132         * testsuite/27_io/ios_base/storage/2.cc: Likewise.
2134 2005-08-19  J"orn Rennecke <joern.rennecke@st.com>
2136         * config/cpu/sh/atomicity.h: Replace broken generic code with current
2137         copy of generic/atomicity.h .
2139 2005-08-17  Kelley Cook  <kcook@gcc.gnu.org>
2141         * All files: Update FSF address.
2143 2005-08-09  Andrew Pinski  <pinskia@physics.uc.edu>
2145         * testsuite/26_numerics/cmath/c99_classification_macros_c.cc:
2146         xfail on *-*-darwin*.
2148 2005-08-03  Geoffrey Keating  <geoffk@apple.com>
2150         * configure.ac: Don't use GCC_NO_EXECUTABLES or clear
2151         GLIBCXX_IS_NATIVE on Darwin crosses.
2152         * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Don't skip configuring
2153         the testsuite just because there's no symbol versioning.
2154         * configure: Regenerate.
2156         * acinclude.m4 (GLIBCXX_CHECK_SETRLIMIT_ancilliary): Print
2157         status messages.
2158         (GLIBCXX_CHECK_S_ISREG_OR_S_IFREG): Likewise.
2159         (GLIBCXX_CHECK_POLL): Likewise.
2160         (GLIBCXX_CHECK_WRITEV): Likewise.
2161         (GLIBCXX_CHECK_INT64_T): Likewise.
2162         (GLIBCXX_CHECK_LFS): Likewise.
2163         * configure: Regenerate.
2165 2005-07-30  Andrew Pinski  <pinskia@physics.uc.edu>
2167         * scripts/make_exports.pl: Pass --strip-underscores to c++filt.
2169 2005-07-29  H.J. Lu  <hongjiu.lu@intel.com>
2171         PR libstdc++/22284
2172         * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Revert
2173         the change to info.ttype_base.
2174         
2175 2005-07-28  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
2177         * include/std/std_valarray.h: Fix grammar in comments.
2179 2005-07-25  Geoffrey Keating  <geoffk@apple.com>
2181         * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Handle darwin-export,
2182         and make it the default for Darwin.
2183         * scripts/make-exports.pl: New.
2184         * src/Makefile.am: Update for changes to GLIBCXX_ENABLE_SYMVERS.
2185         Handle darwin-export.
2186         * configure: Regenerate.
2187         * include/Makefile.in: Regenerate.
2188         * libmath/Makefile.in: Regenerate.
2189         * libsupc++/Makefile.in: Regenerate.
2190         * po/Makefile.in: Regenerate.
2191         * src/Makefile.in: Regenerate.
2192         * testsuite/Makefile.in: Regenerate.
2194 2005-07-25  Dave Odell  <evilalias@hotmail.com>
2196         PR libstdc++/23053
2197         * include/tr1/hashtable (hashtable<>::find_node): Const-ify.
2198         * testsuite/tr1/6_containers/unordered/hashtable/23053.cc: New.
2200 2005-07-25  Paolo Carlini  <pcarlini@suse.de>
2202         PR libstdc++/22515
2203         * include/bits/basic_string.h: Declare the specialization
2204         operator>>(basic_istream<char>&, basic_string<char>&).
2205         * include/std/std_istream.h: Declate the specialization
2206         operator>>(basic_istream<char>&, char*).
2207         * include/std/std_streambuf.h (basic_streambuf): Add friend
2208         declarations for the above.
2209         * src/istream.cc: Define the above.
2210         * testsuite/27_io/basic_istream/extractors_character/char/4.cc: New.
2211         * testsuite/27_io/basic_istream/extractors_character/wchar_t/4.cc:
2212         Likewise.
2213         * testsuite/performance/27_io/ifstream_extract_chars.cc: Likewise.
2215 2005-07-20  Paolo Carlini  <pcarlini@suse.de>
2217         * include/bits/streambuf.tcc (xsgetn, xsputn): Use streamsize
2218         instead of size_t.
2219         * src/streambuf.cc (__copy_streambufs): Likewise.
2221 2005-07-18  Paolo Carlini  <pcarlini@suse.de>
2223         * config/locale/gnu/ctype_members.cc (do_is(mask, wchar_t)):
2224         Speed-up for the common case of mask == ctype_base::space;
2225         otherwise, exit the loop earlier if the mask is one of the
2226         elementary ones.
2228 2005-07-14  Paolo Carlini  <pcarlini@suse.de>
2230         PR libstdc++/21193 (float, double, long double)
2231         * include/tr1/functional (hash<float>, hash<double>):
2232         Reimplement exploiting the Fnv_hash<>::hash helper.
2233         (hash<long double>): Reimplement using frexp (in this
2234         case, due to random padding bits, the former approach
2235         is not generally viable).
2237 2005-07-13  Paolo Carlini  <pcarlini@suse.de>
2239         PR libstdc++/21193 (string & wstring)
2240         * include/tr1/functional (hash<string>, hash<wstring>):
2241         Reimplement using the FNV hash.
2243         * include/tr1/functional: Trivial formatting fixes.
2245 2005-07-11  Paolo Carlini  <pcarlini@suse.de>
2247         * include/bits/ostream.tcc (basic_ostream<>::operator<<(long),
2248         basic_ostream<>::operator<<(long long)): Don't deal with oct
2249         and hex and casts to unsigned here...
2250         * include/bits/locale_facets.tcc (__int_to_char(_CharT*, long,
2251         const _CharT*, ios_base::fmtflags), __int_to_char(_CharT*, long
2252         long, const _CharT*, ios_base::fmtflags)): ... do that here,
2253         instead, as per Table 57.
2254         (num_put<>::_M_insert_int): Tidy treatment of numeric base and
2255         sign.
2256         * include/std/std_ostream.h (operator<<(short), operator<<(int)):
2257         Adjust logic, as per the letter of the resolution of DR117 [WP].
2258         * testsuite/22_locale/num_put/put/char/10.cc: New.
2259         * testsuite/22_locale/num_put/put/wchar_t/10.cc: Likewise.
2260         * testsuite/27_io/basic_ostream/inserters_arithmetic/char/7.cc:
2261         Likewise.
2262         * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/7.cc:
2263         Likewise.
2265 2005-07-07  David Edelsohn  <edelsohn@gnu.org>
2267         * testsuite/ext/pb_assoc/example/tree_order_statistics_join.cc:
2268         Change map_t to map_type.
2270 2005-07-05  Paolo Carlini  <pcarlini@suse.de>
2272         Add class __versa_string, a versatile "basic_string-type" class:
2273         an additional, non-standard, template parameter allows to specify
2274         the preferred base class. Two are provided: __rc_string_base,
2275         which implements a behavior very similar to our standard string,
2276         and __sso_string_base, not reference-counted and optimized for
2277         short strings. 
2278         * include/ext/rc_string_base.h: New.
2279         * include/ext/sso_string_base.h: Likewise.
2280         * include/ext/vstring.h: Likewise.
2281         * include/ext/vstring.tcc: Likewise.
2282         * include/ext/vstring_fwd.h: Likewise.
2283         * include/ext/vstring_util.h: Likewise.
2284         * include/Makefile.am: Add.
2285         * include/Makefile.in: Regenerate.
2286         * testsuite/ext/vstring/explicit_instantiation/1.cc: New.
2287         * testsuite/ext/vstring/explicit_instantiation/2.cc: Likewise.
2288         * testsuite/ext/vstring/explicit_instantiation/char/1.cc: Likewise.
2289         * testsuite/ext/vstring/explicit_instantiation/wchar_t/1.cc: Likewise.
2291         * Makefile.in: Regenerate with autotools 1.9.3 (to date, the version
2292         officially used by v3).
2293         * aclocal.m4: Likewise.
2294         * libmath/Makefile.in: Likewise.
2295         * libsupc++/Makefile.in: Likewise.
2296         * po/Makefile.in: Likewise.
2297         * src/Makefile.in: Likewise.
2298         * testsuite/Makefile.in: Likewise.
2300 2005-07-01  Paolo Carlini  <pcarlini@suse.de>
2302         Port from libstdcxx_so_7-branch:
2303         2004-10-28  Chris Jefferson  <chris@bubblescope.net>
2305         PR libstdc++/17441
2306         * include/bit/stl_algo.h (find(,,,input_iterator_tag),
2307         find(,,,random_access_interator_tag),
2308         find_if(,,,input_iterator_tag),
2309         find_if(,,,random_access_iterator_tag)): Uglify function name.
2310         (find, find_if): Use new uglified specialisation names.
2311         * testsuite/25_algorithms/find/17441.cc: New.
2313 2005-06-30  Ulrich Weigand  <uweigand@de.ibm.com>
2315         * include/ext/pb_assoc/detail/hash_fn/mask_based_range_hashing.hpp
2316         (PB_ASSOC_CLASS_C_DEC::s_highest_bit_1): Cast constant 1 to target
2317         type before shifting.
2319 2005-06-29  Paolo Carlini  <pcarlini@suse.de>
2320             
2321         PR libstdc++/21244 (cont^2)
2322         * include/ext/bitmap_allocator.h: Convert everywhere
2323         bits_per_block to size_t.       
2325 2005-06-29  Jonathan Wakely  <redi@gcc.gnu.org>
2327         * include/bits/basic_string.h, include/bits/locale_facets.h: Fix
2328         Doxygen comments that use wrong parameter and function names.
2330 2005-06-29  Paolo Carlini  <pcarlini@suse.de>
2332         * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 37.
2333         * docs/html/ext/howto.html: Adjust.
2335 2005-06-29  Paolo Carlini  <pcarlini@suse.de>
2337         PR libstdc++/22131
2338         * include/bits/locale_facets.tcc (num_get<>::_M_extract_int,
2339         num_get<>::_M_extract_float, money_get<>::_M_extract):
2340         Adjust to assign the result also when digit grouping is
2341         wrong (but the grammar is correct), as per 22.2.2.1.2, p11-12
2342         (NB: consistently for money_get too).
2343         * config/locale/generic/c_locale.cc (__convert_to_v): Do
2344         not check ios_base::failbit at the outset.
2345         * config/locale/gnu/c_locale.cc: Likewise.
2346         * testsuite/22_locale/money_get/get/char/22131.cc: New.
2347         * testsuite/22_locale/money_get/get/wchar_t/22131.cc: Likewise.
2348         * testsuite/22_locale/num_get/get/char/22131.cc: Likewise.
2349         * testsuite/22_locale/num_get/get/wchar_t/22131.cc: Likewise.
2350         * testsuite/22_locale/num_get/get/char/12.cc: Adjust.
2351         * testsuite/22_locale/num_get/get/wchar_t/12.cc: Likewise.
2352         * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc:
2353         Likewise.
2354         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/07.cc:
2355         Likewise.
2357 2005-06-28  Paul Brook  <paul@codesourcery.com>
2359         * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Check for
2360         __cxa_end_cleanup.
2361         * libsupc++/Makefile.am (sources): Add eh_call.c and eh_arm.c.
2362         * libsupc++/eh_arm.cc: New file.
2363         * libsupc++/eh_call.cc: New file.
2364         * libsupc++/eh_catch.cc (__cxa_get_exception_ptr): Use
2365         __gxx_caught_object.
2366         (__cxa_begin_catch): Ditto. Use __is_gxx_exception_class. Call
2367         _Unwind_Complete when using the ARM EABI.
2368         (__cxa_end_catch): Use __is_gxx_exception_class.
2369         * libsupc++/eh_personality.cc: Define NO_SIZE_OF_ENCODED_VALUE when
2370         using the ARM EABI.
2371         (save_caught_exception, restore_caught_exception): New functions.
2372         (_throw_typet): New typedef.
2373         (get_ttype_entry, get_adjusted_ptr, check_exception_spec): Add ARM
2374         EABI implementations.
2375         (PERSONALITY_FUNCTION): Use new functions.  Addd support for ARM EABI
2376         unwinding libary.
2377         (__cxa_unexpected): Disable when using the ARM EABI.
2378         * libsupc++/eh_throw.cc (__cxa_throw): Use __GXX_INIT_EXCEPTION_CLASS.
2379         (__cxa_rethrow): Use __is_gxx_exception_class.  Call
2380         _Unwind_RaiseException when using the ARM EABI.
2381         * libsupc++/unwind-cxx.h (struct __cxa_exception): Add fields for ARM
2382         EABI semantics.
2383         (struct __cxa_eh_globals): Ditto.
2384         (__cxa_call_terminate): Add prototype.
2385         (__cxa_type_match, __cxa_begin_cleanup, __cxa_end_cleanup): Add
2386         prototypes.
2387         (__get_exception_header_from_obj, __get_exception_header_from_ue):
2388         Move earlier in file.
2389         (__is_gxx_exception_class, __GXX_INIT_EXCEPTION_CLASS,
2390         __gxx_caught_object): New functions.
2391         * aclocal.m4: Regenerate.
2392         * configure: Regenerate.
2393         * Makefile.in: Regenerate.
2394         * include/Makefile.in: Regenerate.
2395         * libmath/Makefile.in: Regenerate.
2396         * libsupc++/Makefile.in: Regenerate.
2397         * po/Makefile.in: Regenerate.
2398         * src/Makefie.in: Regenerate.
2399         * testsuite/makefile.in: Regenerate.
2401 2005-06-27  Paolo Carlini  <pcarlini@suse.de>
2403         PR libstdc++/22102
2404         * include/bits/stl_tree.h (insert_unique(iterator, const _Val&),
2405         insert_equal((iterator, const _Val&)): Reimplement to check both
2406         before and after, as per the algorithm "ignore hint if wrong" of
2407         ISO paper N1780.
2409 2005-06-27  Benjamin Kosnik  <bkoz@redhat.com>
2410             Ami Tavory  <pbassoc@gmail.com>
2411         
2412         * docs/html/documentation.html: Add link for policy based
2413         associative containers docs.
2414         * docs/html/ext/pb_assoc/Std_hash_set_impl.jpg: New.
2415         * docs/html/ext/pb_assoc/acks.html: New.
2416         * docs/html/ext/pb_assoc/balls_and_bins.jpg: New.
2417         * docs/html/ext/pb_assoc/basic_assoc_cntnr.html: New.
2418         * docs/html/ext/pb_assoc/basic_assoc_cntnr_compound_data.html: New.
2419         * docs/html/ext/pb_assoc/basic_assoc_cntnr_no_data.html: New.
2420         * docs/html/ext/pb_assoc/basic_ds_tag.html: New.
2421         * docs/html/ext/pb_assoc/basic_hash_assoc_cntnr.html: New.
2422         * docs/html/ext/pb_assoc/basic_hash_ds_tag.html: New.
2423         * docs/html/ext/pb_assoc/basic_invalidation_guarantee.html: New.
2424         * docs/html/ext/pb_assoc/basic_ms_tag.html: New.
2425         * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr.html: New.
2426         * docs/html/ext/pb_assoc/
2427           basic_tree_assoc_cntnr_const_node_iterator.html: New.
2428         * docs/html/ext/pb_assoc/
2429           basic_tree_assoc_cntnr_node_iterator.html: New.
2430         * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr_rev.html: New.
2431         * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr_rev_it.html: New.
2432         * docs/html/ext/pb_assoc/basic_tree_ds_tag.html: New.
2433         * docs/html/ext/pb_assoc/cc_hash_assoc_cntnr.html: New.
2434         * docs/html/ext/pb_assoc/cc_hash_ds_tag.html: New.
2435         * docs/html/ext/pb_assoc/
2436           cc_hash_max_collision_check_resize_trigger.html: New.
2437         * docs/html/ext/pb_assoc/cc_hash_policy_cd.jpg: New.
2438         * docs/html/ext/pb_assoc/cd.jpg: New.
2439         * docs/html/ext/pb_assoc/component_requirements.html: New.
2440         * docs/html/ext/pb_assoc/compound_data_enabled_ms_tag.html: New.
2441         * docs/html/ext/pb_assoc/compound_data_type.html: New.
2442         * docs/html/ext/pb_assoc/compound_ds_tag.html: New.
2443         * docs/html/ext/pb_assoc/concepts.html: New.
2444         * docs/html/ext/pb_assoc/contact.html: New.
2445         * docs/html/ext/pb_assoc/counter_update_metadata.html: New.
2446         * docs/html/ext/pb_assoc/counter_update_policy.html: New.
2447         * docs/html/ext/pb_assoc/data_enabled_ms_tag.html: New.
2448         * docs/html/ext/pb_assoc/design.html: New.
2449         * docs/html/ext/pb_assoc/different_underlying_dss.jpg: New.
2450         * docs/html/ext/pb_assoc/direct_mask_range_hashing.html: New.
2451         * docs/html/ext/pb_assoc/direct_mod_range_hashing.html: New.
2452         * docs/html/ext/pb_assoc/disclaimer.html: New.
2453         * docs/html/ext/pb_assoc/ds_gen.html: New.
2454         * docs/html/ext/pb_assoc/ds_tag_cd.jpg: New.
2455         * docs/html/ext/pb_assoc/ds_traits.html: New.
2456         * docs/html/ext/pb_assoc/embedded_lists_1.jpg: New.
2457         * docs/html/ext/pb_assoc/embedded_lists_2.jpg: New.
2458         * docs/html/ext/pb_assoc/examples.html: New.
2459         * docs/html/ext/pb_assoc/exception_guarantees_specifics.html: New.
2460         * docs/html/ext/pb_assoc/find_invalidation_guarantee.html: New.
2461         * docs/html/ext/pb_assoc/find_iterators_cd.jpg: New.
2462         * docs/html/ext/pb_assoc/find_iterators_range_ops_1.jpg: New.
2463         * docs/html/ext/pb_assoc/find_iterators_range_ops_2.jpg: New.
2464         * docs/html/ext/pb_assoc/generics.html: New.
2465         * docs/html/ext/pb_assoc/gp_hash_assoc_cntnr.html: New.
2466         * docs/html/ext/pb_assoc/gp_hash_ds_tag.html: New.
2467         * docs/html/ext/pb_assoc/gp_hash_policy_cd.jpg: New.
2468         * docs/html/ext/pb_assoc/hash_and_probe_general.html: New.
2469         * docs/html/ext/pb_assoc/hash_based_containers.html: New.
2470         * docs/html/ext/pb_assoc/hash_cd.jpg: New.
2471         * docs/html/ext/pb_assoc/hash_exponential_size_policy.html: New.
2472         * docs/html/ext/pb_assoc/hash_fn.html: New.
2473         * docs/html/ext/pb_assoc/hash_load_check_resize_trigger.html: New.
2474         * docs/html/ext/pb_assoc/hash_policies.html: New.
2475         * docs/html/ext/pb_assoc/hash_policy_cd.jpg: New.
2476         * docs/html/ext/pb_assoc/hash_prime_size_policy.html: New.
2477         * docs/html/ext/pb_assoc/hash_range_hashing_seq_diagram.jpg: New.
2478         * docs/html/ext/pb_assoc/hash_range_hashing_seq_diagram2.jpg: New.
2479         * docs/html/ext/pb_assoc/hash_ranged_hash_range_hashing_fns.jpg: New.
2480         * docs/html/ext/pb_assoc/hash_standard_resize_policy.html: New.
2481         * docs/html/ext/pb_assoc/home.html: New.
2482         * docs/html/ext/pb_assoc/index.html: New.
2483         * docs/html/ext/pb_assoc/insert_resize_sequence_diagram1.jpg: New.
2484         * docs/html/ext/pb_assoc/insert_resize_sequence_diagram2.jpg: New.
2485         * docs/html/ext/pb_assoc/insert_resize_sequence_diagram3.jpg: New.
2486         * docs/html/ext/pb_assoc/insert_type_methods.html: New.
2487         * docs/html/ext/pb_assoc/interface.html: New.
2488         * docs/html/ext/pb_assoc/interval_node_invariants.jpg: New.
2489         * docs/html/ext/pb_assoc/introduction.html: New.
2490         * docs/html/ext/pb_assoc/invalidation_guarantee_cd.jpg: New.
2491         * docs/html/ext/pb_assoc/invalidation_guarantee_erase.jpg: New.
2492         * docs/html/ext/pb_assoc/lib_download.html: New.
2493         * docs/html/ext/pb_assoc/linear_probe_fn.html: New.
2494         * docs/html/ext/pb_assoc/list_updates.html: New.
2495         * docs/html/ext/pb_assoc/lu_assoc_cntnr.html: New.
2496         * docs/html/ext/pb_assoc/lu_based_containers.html: New.
2497         * docs/html/ext/pb_assoc/lu_cd.jpg: New.
2498         * docs/html/ext/pb_assoc/lu_ds_tag.html: New.
2499         * docs/html/ext/pb_assoc/lu_ops.jpg: New.
2500         * docs/html/ext/pb_assoc/mmap_value_utils.html: New.
2501         * docs/html/ext/pb_assoc/motivation.html: New.
2502         * docs/html/ext/pb_assoc/move_to_front_update_metadata.html: New.
2503         * docs/html/ext/pb_assoc/move_to_front_update_policy.html: New.
2504         * docs/html/ext/pb_assoc/ms_cd.jpg: New.
2505         * docs/html/ext/pb_assoc/ms_gen.html: New.
2506         * docs/html/ext/pb_assoc/ms_tag_cd.jpg: New.
2507         * docs/html/ext/pb_assoc/ms_traits.html: New.
2508         * docs/html/ext/pb_assoc/node_invariant_invalidations.jpg: New.
2509         * docs/html/ext/pb_assoc/node_invariants.html: New.
2510         * docs/html/ext/pb_assoc/node_invariants.jpg: New.
2511         * docs/html/ext/pb_assoc/non_unique_mapping.html: New.
2512         * docs/html/ext/pb_assoc/non_unique_mapping_containers.jpg: New.
2513         * docs/html/ext/pb_assoc/null_data_type.html: New.
2514         * docs/html/ext/pb_assoc/null_hash_fn.html: New.
2515         * docs/html/ext/pb_assoc/null_probe_fn.html: New.
2516         * docs/html/ext/pb_assoc/order_by_key.html: New.
2517         * docs/html/ext/pb_assoc/order_statistics_key.html: New.
2518         * docs/html/ext/pb_assoc/order_statistics_key_cmp.html: New.
2519         * docs/html/ext/pb_assoc/order_statistics_node_updator.html: New.
2520         * docs/html/ext/pb_assoc/ov_tree_ds_tag.html: New.
2521         * docs/html/ext/pb_assoc/overview.html: New.
2522         * docs/html/ext/pb_assoc/pb_assoc_ex.html: New.
2523         * docs/html/ext/pb_assoc/portability.html: New.
2524         * docs/html/ext/pb_assoc/quadratic_probe_fn.html: New.
2525         * docs/html/ext/pb_assoc/range_invalidation_guarantee.html: New.
2526         * docs/html/ext/pb_assoc/rank_node_invariants.jpg: New.
2527         * docs/html/ext/pb_assoc/rationale_null_node_updator.jpg: New.
2528         * docs/html/ext/pb_assoc/rb_tree_ds_tag.html: New.
2529         * docs/html/ext/pb_assoc/reference_iterator.jpg: New.
2530         * docs/html/ext/pb_assoc/references.html: New.
2531         * docs/html/ext/pb_assoc/regression_tests.html: New.
2532         * docs/html/ext/pb_assoc/resize_general.html: New.
2533         * docs/html/ext/pb_assoc/resize_policies.html: New.
2534         * docs/html/ext/pb_assoc/resize_policy_cd.jpg: New.
2535         * docs/html/ext/pb_assoc/restoring_node_invariants.jpg: New.
2536         * docs/html/ext/pb_assoc/sample_node_updator.hpp: New.
2537         * docs/html/ext/pb_assoc/sample_probe_fn.hpp: New.
2538         * docs/html/ext/pb_assoc/sample_probe_fn.html: New.
2539         * docs/html/ext/pb_assoc/sample_range_hashing.hpp: New.
2540         * docs/html/ext/pb_assoc/sample_range_hashing.html: New.
2541         * docs/html/ext/pb_assoc/sample_ranged_hash_fn.hpp: New.
2542         * docs/html/ext/pb_assoc/sample_ranged_hash_fn.html: New.
2543         * docs/html/ext/pb_assoc/sample_ranged_probe_fn.hpp: New.
2544         * docs/html/ext/pb_assoc/sample_ranged_probe_fn.html: New.
2545         * docs/html/ext/pb_assoc/sample_resize_policy.hpp: New.
2546         * docs/html/ext/pb_assoc/sample_resize_policy.html: New.
2547         * docs/html/ext/pb_assoc/sample_resize_trigger.hpp: New.
2548         * docs/html/ext/pb_assoc/sample_size_policy.hpp: New.
2549         * docs/html/ext/pb_assoc/sample_update_policy.hpp: New.
2550         * docs/html/ext/pb_assoc/size_policies_general.html: New.
2551         * docs/html/ext/pb_assoc/splay_tree_ds_tag.html: New.
2552         * docs/html/ext/pb_assoc/timing_tests.html: New.
2553         * docs/html/ext/pb_assoc/toc.html: New.
2554         * docs/html/ext/pb_assoc/tree_assoc_cntnr.html: New.
2555         * docs/html/ext/pb_assoc/
2556           tree_assoc_cntnr_const_node_iterator.html: New.
2557         * docs/html/ext/pb_assoc/tree_assoc_cntnr_node_iterator.html: New.
2558         * docs/html/ext/pb_assoc/tree_based_containers.html: New.
2559         * docs/html/ext/pb_assoc/tree_cd.jpg: New.
2560         * docs/html/ext/pb_assoc/trigger_policies_general.html: New.
2561         * docs/html/ext/pb_assoc/tutorial.html: New.
2562         * docs/html/ext/pb_assoc/update_seq_diagram.jpg: New.
2563         * include/Makefile.am: Add assoc_srcdir, assoc_builddir, assoc_subdir,
2564         assoc_headers.
2565         * include/Makefile.in: Regenerate.
2566         * include/ext/typelist.h: New.
2567         * include/ext/pb_assoc/assoc_cntnr.hpp: New.
2568         * include/ext/pb_assoc/data_type.hpp: New.
2569         * include/ext/pb_assoc/ds_trait.hpp: New.
2570         * include/ext/pb_assoc/exception.hpp: New.
2571         * include/ext/pb_assoc/hash_policy.hpp: New.
2572         * include/ext/pb_assoc/lu_policy.hpp: New.
2573         * include/ext/pb_assoc/ms_trait.hpp: New.
2574         * include/ext/pb_assoc/tree_policy.hpp: New.
2575         * include/ext/pb_assoc/trivial_iterator_def.hpp: New.
2576         * include/ext/pb_assoc/detail/assoc_cntnr_base.hpp: New.
2577         * include/ext/pb_assoc/detail/cond_dealtor.hpp: New.
2578         * include/ext/pb_assoc/detail/constructors_destructor_fn_imps.hpp: New.
2579         * include/ext/pb_assoc/detail/ds_trait_imp.hpp: New.
2580         * include/ext/pb_assoc/detail/hash_types_traits.hpp: New.
2581         * include/ext/pb_assoc/detail/map_debug_base.hpp: New.
2582         * include/ext/pb_assoc/detail/mapping_level_imp.hpp: New.
2583         * include/ext/pb_assoc/detail/ms_category_imp.hpp: New.
2584         * include/ext/pb_assoc/detail/ms_trait_imp.hpp: New.
2585         * include/ext/pb_assoc/detail/order_statistics_imp.hpp: New.
2586         * include/ext/pb_assoc/detail/standard_policies.hpp: New.
2587         * include/ext/pb_assoc/detail/standard_sizes.hpp: New.
2588         * include/ext/pb_assoc/detail/type_utils.hpp: New.
2589         * include/ext/pb_assoc/detail/typelist.hpp: New.
2590         * include/ext/pb_assoc/detail/types_traits.hpp: New.
2591         * include/ext/pb_assoc/detail/basic_assoc_cntnr/
2592           constructor_destructor_fn_imps.hpp: New.
2593         * include/ext/pb_assoc/detail/basic_assoc_cntnr/
2594           constructors_destructor_fn_imps.hpp: New.
2595         * include/ext/pb_assoc/detail/basic_assoc_cntnr/d_extract_key.hpp: New.
2596         * include/ext/pb_assoc/detail/basic_assoc_cntnr/
2597           d_find_fn_imps.hpp: New.
2598         * include/ext/pb_assoc/detail/basic_assoc_cntnr/
2599           d_insert_fn_imps.hpp: New.
2600         * include/ext/pb_assoc/detail/basic_assoc_cntnr/erase_fn_imps.hpp: New.
2601         * include/ext/pb_assoc/detail/basic_assoc_cntnr/extract_key.hpp: New.
2602         * include/ext/pb_assoc/detail/basic_assoc_cntnr/info_fn_imps.hpp: New.
2603         * include/ext/pb_assoc/detail/basic_assoc_cntnr/
2604           insert_fn_imps.hpp: New.
2605         * include/ext/pb_assoc/detail/basic_assoc_cntnr/
2606           iterators_fn_imps.hpp: New.
2607         * include/ext/pb_assoc/detail/basic_hash_assoc_cntnr/
2608           constructor_destructor_fn_imps.hpp: New.
2609         * include/ext/pb_assoc/detail/basic_hash_assoc_cntnr/
2610           constructors_destructor_fn_imps.hpp: New.
2611         * include/ext/pb_assoc/detail/basic_hash_assoc_cntnr/
2612           resize_fn_imps.hpp: New.
2613         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2614           constructor_destructor_fn_imps.hpp: New.
2615         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2616           constructors_destructor_fn_imps.hpp: New.
2617         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2618           erase_fn_imps.hpp: New.
2619         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2620           node_iteration_fn_imps.hpp: New.
2621         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2622           policy_access_fn_imps.hpp: New.
2623         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2624           r_erase_fn_imps.hpp: New.
2625         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2626           r_range_iteration_fn_imps.hpp: New.
2627         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2628           range_iteration_fn_imps.hpp: New.     
2629         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2630           split_join_fn_imps.hpp: New.
2631         * include/ext/pb_assoc/detail/bin_search_tree_/
2632           bin_search_tree_.hpp: New.
2633         * include/ext/pb_assoc/detail/bin_search_tree_/
2634           cond_dtor_entry_dealtor.hpp: New.
2635         * include/ext/pb_assoc/detail/bin_search_tree_/
2636           cond_key_dtor_entry_dealtor.hpp: New.
2637         * include/ext/pb_assoc/detail/bin_search_tree_/
2638           constructors_destructor_fn_imps.hpp: New.
2639         * include/ext/pb_assoc/detail/bin_search_tree_/debug_fn_imps.hpp: New.
2640         * include/ext/pb_assoc/detail/bin_search_tree_/erase_fn_imps.hpp: New.
2641         * include/ext/pb_assoc/detail/bin_search_tree_/find_fn_imps.hpp: New.
2642         * include/ext/pb_assoc/detail/bin_search_tree_/find_iterators.hpp: New.
2643         * include/ext/pb_assoc/detail/bin_search_tree_/info_fn_imps.hpp: New.
2644         * include/ext/pb_assoc/detail/bin_search_tree_/insert_fn_imps.hpp: New.
2645         * include/ext/pb_assoc/detail/bin_search_tree_/
2646           iterators_fn_imps.hpp: New.
2647         * include/ext/pb_assoc/detail/bin_search_tree_/node_iterators.hpp: New.
2648         * include/ext/pb_assoc/detail/bin_search_tree_/
2649           r_erase_fn_imps.hpp: New.
2650         * include/ext/pb_assoc/detail/bin_search_tree_/rotate_fn_imps.hpp: New.
2651         * include/ext/pb_assoc/detail/bin_search_tree_/
2652           split_join_fn_imps.hpp: New.
2653         * include/ext/pb_assoc/detail/cc_hash_assoc_cntnr/
2654           constructor_destructor_fn_imps.hpp: New.
2655         * include/ext/pb_assoc/detail/cc_ht_map_/cc_ht_map_.hpp: New.
2656         * include/ext/pb_assoc/detail/cc_ht_map_/cmp_fn_imps.hpp: New.
2657         * include/ext/pb_assoc/detail/cc_ht_map_/
2658           cond_key_dtor_entry_dealtor.hpp: New.
2659         * include/ext/pb_assoc/detail/cc_ht_map_/
2660           constructor_destructor_fn_imps.hpp: New.
2661         * include/ext/pb_assoc/detail/cc_ht_map_/
2662           constructor_destructor_no_store_hash_fn_imps.hpp: New.
2663         * include/ext/pb_assoc/detail/cc_ht_map_/
2664           constructor_destructor_store_hash_fn_imps.hpp: New.
2665         * include/ext/pb_assoc/detail/cc_ht_map_/debug_fn_imps.hpp: New.
2666         * include/ext/pb_assoc/detail/cc_ht_map_/
2667           debug_no_store_hash_fn_imps.hpp: New.
2668         * include/ext/pb_assoc/detail/cc_ht_map_/
2669           debug_store_hash_fn_imps.hpp: New.
2670         * include/ext/pb_assoc/detail/cc_ht_map_/entry_list_fn_imps.hpp: New.
2671         * include/ext/pb_assoc/detail/cc_ht_map_/erase_fn_imps.hpp: New.
2672         * include/ext/pb_assoc/detail/cc_ht_map_/
2673           erase_no_store_hash_fn_imps.hpp: New.
2674         * include/ext/pb_assoc/detail/cc_ht_map_/
2675           erase_store_hash_fn_imps.hpp: New.
2676         * include/ext/pb_assoc/detail/cc_ht_map_/
2677           find_fn_imps.hpp: New.
2678         * include/ext/pb_assoc/detail/cc_ht_map_/
2679           find_no_store_hash_fn_imps.hpp: New.
2680         * include/ext/pb_assoc/detail/cc_ht_map_/
2681           find_store_hash_fn_imps.hpp: New.
2682         * include/ext/pb_assoc/detail/cc_ht_map_/info_fn_imps.hpp: New.
2683         * include/ext/pb_assoc/detail/cc_ht_map_/insert_fn_imps.hpp: New.
2684         * include/ext/pb_assoc/detail/cc_ht_map_/
2685           insert_no_store_hash_fn_imps.hpp: New.
2686         * include/ext/pb_assoc/detail/cc_ht_map_/
2687           insert_store_hash_fn_imps.hpp: New.
2688         * include/ext/pb_assoc/detail/cc_ht_map_/iterators_fn_imps.hpp: New.
2689         * include/ext/pb_assoc/detail/cc_ht_map_/
2690           policy_access_fn_imps.hpp: New.
2691         * include/ext/pb_assoc/detail/cc_ht_map_/resize_fn_imps.hpp: New.
2692         * include/ext/pb_assoc/detail/cc_ht_map_/
2693           resize_no_store_hash_fn_imps.hpp: New.
2694         * include/ext/pb_assoc/detail/cc_ht_map_/
2695           resize_store_hash_fn_imps.hpp: New.
2696         * include/ext/pb_assoc/detail/cc_ht_map_/size_fn_imps.hpp: New.
2697         * include/ext/pb_assoc/detail/cc_ht_map_/standard_policies.hpp: New.
2698         * include/ext/pb_assoc/detail/eq_fn/eq_by_less.hpp: New.
2699         * include/ext/pb_assoc/detail/eq_fn/hash_eq_fn.hpp: New.
2700         * include/ext/pb_assoc/detail/gp_hash_assoc_cntnr/
2701           constructor_destructor_fn_imps.hpp: New.
2702         * include/ext/pb_assoc/detail/gp_ht_map_/
2703           constructor_destructor_fn_imps.hpp: New.
2704         * include/ext/pb_assoc/detail/gp_ht_map_/
2705           constructor_destructor_no_store_hash_fn_imps.hpp: New.
2706         * include/ext/pb_assoc/detail/gp_ht_map_/
2707           constructor_destructor_store_hash_fn_imps.hpp: New.
2708         * include/ext/pb_assoc/detail/gp_ht_map_/debug_fn_imps.hpp: New.
2709         * include/ext/pb_assoc/detail/gp_ht_map_/
2710           debug_no_store_hash_fn_imps.hpp: New.
2711         * include/ext/pb_assoc/detail/gp_ht_map_/
2712           debug_store_hash_fn_imps.hpp: New.
2713         * include/ext/pb_assoc/detail/gp_ht_map_/erase_fn_imps.hpp: New.
2714         * include/ext/pb_assoc/detail/gp_ht_map_/
2715           erase_no_store_hash_fn_imps.hpp: New.
2716         * include/ext/pb_assoc/detail/gp_ht_map_/
2717           erase_store_hash_fn_imps.hpp: New.
2718         * include/ext/pb_assoc/detail/gp_ht_map_/find_fn_imps.hpp: New.
2719         * include/ext/pb_assoc/detail/gp_ht_map_/
2720           find_no_store_hash_fn_imps.hpp: New.
2721         * include/ext/pb_assoc/detail/gp_ht_map_/
2722           find_store_hash_fn_imps.hpp: New.
2723         * include/ext/pb_assoc/detail/gp_ht_map_/gp_ht_map_.hpp: New.
2724         * include/ext/pb_assoc/detail/gp_ht_map_/info_fn_imps.hpp: New.
2725         * include/ext/pb_assoc/detail/gp_ht_map_/insert_fn_imps.hpp: New.
2726         * include/ext/pb_assoc/detail/gp_ht_map_/
2727           insert_no_store_hash_fn_imps.hpp: New.
2728         * include/ext/pb_assoc/detail/gp_ht_map_/
2729           insert_store_hash_fn_imps.hpp: New.
2730         * include/ext/pb_assoc/detail/gp_ht_map_/iterator_fn_imps.hpp: New.
2731         * include/ext/pb_assoc/detail/gp_ht_map_/
2732           policy_access_fn_imps.hpp: New.
2733         * include/ext/pb_assoc/detail/gp_ht_map_/resize_fn_imps.hpp: New.
2734         * include/ext/pb_assoc/detail/gp_ht_map_/
2735           resize_no_store_hash_fn_imps.hpp: New.
2736         * include/ext/pb_assoc/detail/gp_ht_map_/
2737           resize_store_hash_fn_imps.hpp: New.
2738         * include/ext/pb_assoc/detail/hash_fn/
2739           direct_mask_range_hashing_imp.hpp: New.
2740         * include/ext/pb_assoc/detail/hash_fn/
2741           direct_mod_range_hashing_imp.hpp: New.
2742         * include/ext/pb_assoc/detail/hash_fn/linear_probe_fn_imp.hpp: New.
2743         * include/ext/pb_assoc/detail/hash_fn/
2744           mask_based_range_hashing.hpp: New.
2745         * include/ext/pb_assoc/detail/hash_fn/mod_based_range_hashing.hpp: New.
2746         * include/ext/pb_assoc/detail/hash_fn/probe_fn_base.hpp: New.
2747         * include/ext/pb_assoc/detail/hash_fn/quadratic_probe_fn_imp.hpp: New.
2748         * include/ext/pb_assoc/detail/hash_fn/ranged_hash_fn.hpp: New.
2749         * include/ext/pb_assoc/detail/hash_fn/ranged_probe_fn.hpp: New.
2750         * include/ext/pb_assoc/detail/lu_assoc_cntnr/
2751           constructor_destructor_fn_imps.hpp: New.
2752         * include/ext/pb_assoc/detail/lu_assoc_cntnr/
2753           policy_access_fn_imps.hpp: New.
2754         * include/ext/pb_assoc/detail/lu_map_/
2755           constructor_destructor_fn_imps.hpp: New.
2756         * include/ext/pb_assoc/detail/lu_map_/debug_fn_imps.hpp: New.
2757         * include/ext/pb_assoc/detail/lu_map_/erase_fn_imps.hpp: New.
2758         * include/ext/pb_assoc/detail/lu_map_/find_fn_imps.hpp: New.
2759         * include/ext/pb_assoc/detail/lu_map_/info_fn_imps.hpp: New.
2760         * include/ext/pb_assoc/detail/lu_map_/insert_fn_imps.hpp: New.
2761         * include/ext/pb_assoc/detail/lu_map_/iterators_fn_imps.hpp: New.
2762         * include/ext/pb_assoc/detail/lu_map_/lu_map_.hpp: New.
2763         * include/ext/pb_assoc/detail/lu_map_/policy_access_fn_imps.hpp: New.
2764         * include/ext/pb_assoc/detail/lu_policy/
2765           counter_lu_metadata_imp.hpp: New.
2766         * include/ext/pb_assoc/detail/lu_policy/counter_lu_policy_imp.hpp: New.
2767         * include/ext/pb_assoc/detail/lu_policy/mtf_lu_policy_imp.hpp: New.
2768         * include/ext/pb_assoc/detail/ov_tree_map_/cond_dtor.hpp: New.
2769         * include/ext/pb_assoc/detail/ov_tree_map_/
2770           constructors_destructor_fn_imps.hpp: New.
2771         * include/ext/pb_assoc/detail/ov_tree_map_/debug_fn_imps.hpp: New.
2772         * include/ext/pb_assoc/detail/ov_tree_map_/erase_fn_imps.hpp: New.
2773         * include/ext/pb_assoc/detail/ov_tree_map_/find_fn_imps.hpp: New.
2774         * include/ext/pb_assoc/detail/ov_tree_map_/info_fn_imps.hpp: New.
2775         * include/ext/pb_assoc/detail/ov_tree_map_/insert_fn_imps.hpp: New.
2776         * include/ext/pb_assoc/detail/ov_tree_map_/iterators_fn_imps.hpp: New.
2777         * include/ext/pb_assoc/detail/ov_tree_map_/node_iterators.hpp: New.
2778         * include/ext/pb_assoc/detail/ov_tree_map_/ov_tree_map_.hpp: New.
2779         * include/ext/pb_assoc/detail/ov_tree_map_/split_join_fn_imps.hpp: New.
2780         * include/ext/pb_assoc/detail/rb_tree_map_/
2781           constructors_destructor_fn_imps.hpp: New.
2782         * include/ext/pb_assoc/detail/rb_tree_map_/debug_fn_imps.hpp: New.
2783         * include/ext/pb_assoc/detail/rb_tree_map_/erase_fn_imps.hpp: New.
2784         * include/ext/pb_assoc/detail/rb_tree_map_/find_fn_imps.hpp: New.
2785         * include/ext/pb_assoc/detail/rb_tree_map_/info_fn_imps.hpp: New.
2786         * include/ext/pb_assoc/detail/rb_tree_map_/insert_fn_imps.hpp: New.
2787         * include/ext/pb_assoc/detail/rb_tree_map_/node.hpp: New.
2788         * include/ext/pb_assoc/detail/rb_tree_map_/rb_tree_.hpp: New.
2789         * include/ext/pb_assoc/detail/rb_tree_map_/split_join_fn_imps.hpp: New.
2790         * include/ext/pb_assoc/detail/resize_policy/
2791           cc_hash_max_collision_resize_trigger_imp.hpp: New.
2792         * include/ext/pb_assoc/detail/resize_policy/
2793           hash_exponential_size_policy_imp.hpp: New.
2794         * include/ext/pb_assoc/detail/resize_policy/
2795           hash_load_check_resize_trigger_imp.hpp: New.
2796         * include/ext/pb_assoc/detail/resize_policy/
2797           hash_prime_size_policy_imp.hpp: New.
2798         * include/ext/pb_assoc/detail/resize_policy/
2799           hash_standard_resize_policy_imp.hpp: New.
2800         * include/ext/pb_assoc/detail/resize_policy/
2801           ht_prime_size_policy_imp.hpp: New.
2802         * include/ext/pb_assoc/detail/resize_policy/size_base.hpp: New.
2803         * include/ext/pb_assoc/detail/splay_tree_/
2804           constructors_destructor_fn_imps.hpp: New.
2805         * include/ext/pb_assoc/detail/splay_tree_/debug_fn_imps.hpp: New.
2806         * include/ext/pb_assoc/detail/splay_tree_/erase_fn_imps.hpp: New.
2807         * include/ext/pb_assoc/detail/splay_tree_/find_fn_imps.hpp: New.
2808         * include/ext/pb_assoc/detail/splay_tree_/info_fn_imps.hpp: New.
2809         * include/ext/pb_assoc/detail/splay_tree_/insert_fn_imps.hpp: New.
2810         * include/ext/pb_assoc/detail/splay_tree_/node.hpp: New.
2811         * include/ext/pb_assoc/detail/splay_tree_/splay_fn_imps.hpp: New.
2812         * include/ext/pb_assoc/detail/splay_tree_/splay_tree_.hpp: New.
2813         * include/ext/pb_assoc/detail/splay_tree_/split_join_fn_imps.hpp: New.
2814         * include/ext/pb_assoc/detail/tree_assoc_cntnr/
2815           constructor_destructor_fn_imps.hpp: New.
2816         * include/ext/pb_assoc/detail/tree_policy/
2817           null_node_updator_imp.hpp: New.
2818         * include/ext/pb_assoc/detail/tree_policy/
2819           order_statistics_imp.hpp: New.
2820         * include/ext/pb_assoc/detail/typelist/typelist_append.hpp: New.
2821         * include/ext/pb_assoc/detail/typelist/typelist_apply.hpp: New.
2822         * include/ext/pb_assoc/detail/typelist/typelist_at_index.hpp: New.
2823         * include/ext/pb_assoc/detail/typelist/typelist_contains.hpp: New.
2824         * include/ext/pb_assoc/detail/typelist/typelist_filter.hpp: New.
2825         * include/ext/pb_assoc/detail/typelist/typelist_transform.hpp: New.
2826         * include/ext/pb_assoc/detail/typelist/
2827           typelist_typelist_append.hpp: New.
2828         * include/ext/pb_assoc/detail/unordered_iterator/
2829           const_find_iterator.hpp: New.
2830         * include/ext/pb_assoc/detail/unordered_iterator/
2831           const_iterator.hpp: New.
2832         * include/ext/pb_assoc/detail/unordered_iterator/
2833           find_iterator.hpp: New.
2834         * include/ext/pb_assoc/detail/unordered_iterator/iterator.hpp: New.
2835         * include/ext/pb_assoc/detail/value_type_adapter/
2836           constructor_destructor_and_related.hpp: New.
2837         * include/ext/pb_assoc/detail/value_type_adapter/
2838           erase_fn_imps.hpp: New.
2839         * include/ext/pb_assoc/detail/value_type_adapter/
2840           erase_if_pred.hpp: New.
2841         * include/ext/pb_assoc/detail/value_type_adapter/find_fn_imps.hpp: New.
2842         * include/ext/pb_assoc/detail/value_type_adapter/info_fn_imps.hpp: New.
2843         * include/ext/pb_assoc/detail/value_type_adapter/
2844         insert_fn_imps.hpp: New.
2845         * include/ext/pb_assoc/detail/value_type_adapter/
2846         invalidation_guarantee_selector.hpp: New.
2847         * include/ext/pb_assoc/detail/value_type_adapter/
2848         it_value_type_traits.hpp: New.
2849         * include/ext/pb_assoc/detail/value_type_adapter/iterator.hpp: New.
2850         * include/ext/pb_assoc/detail/value_type_adapter/
2851         iterator_fn_imps.hpp: New.
2852         * include/ext/pb_assoc/detail/value_type_adapter/ref_pair.hpp: New.
2853         * include/ext/pb_assoc/detail/value_type_adapter/
2854         value_type_adapter.hpp: New.
2855         * include/ext/pb_assoc/detail/value_type_adapter/
2856         value_type_traits.hpp: New.
2857         * testsuite/Makefile.am (CLEANFILES): Add .o, .dat, .cc.
2858         * testsuite/Makefile.in: Regenerate.
2859         * testsuite/testsuite_common_types.h: New.
2860         * testsuite/testsuite_visualization.h: New.
2861         * testsuite/ext/pb_assoc/example/basic_map.cc: New.
2862         * testsuite/ext/pb_assoc/example/basic_multimap.cc: New.
2863         * testsuite/ext/pb_assoc/example/basic_set.cc: New.
2864         * testsuite/ext/pb_assoc/example/ds_traits.cc: New.
2865         * testsuite/ext/pb_assoc/example/erase_if.cc: New.
2866         * testsuite/ext/pb_assoc/example/extract_key.cc: New.
2867         * testsuite/ext/pb_assoc/example/hash_find_neg.cc: New.
2868         * testsuite/ext/pb_assoc/example/hash_illegal_resize.cc: New.
2869         * testsuite/ext/pb_assoc/example/hash_initial_size.cc: New.
2870         * testsuite/ext/pb_assoc/example/hash_load_set_change.cc: New.
2871         * testsuite/ext/pb_assoc/example/hash_mod.cc: New.
2872         * testsuite/ext/pb_assoc/example/hash_resize.cc: New.
2873         * testsuite/ext/pb_assoc/example/hash_resize_neg.cc: New.
2874         * testsuite/ext/pb_assoc/example/hash_shift_mask.cc: New.
2875         * testsuite/ext/pb_assoc/example/mapping_level.cc: New.
2876         * testsuite/ext/pb_assoc/example/mapping_level_neg.cc: New.
2877         * testsuite/ext/pb_assoc/example/ms_traits.cc: New.
2878         * testsuite/ext/pb_assoc/example/ranged_hash.cc: New.
2879         * testsuite/ext/pb_assoc/example/store_hash.cc: New.
2880         * testsuite/ext/pb_assoc/example/tree_intervals.cc: New.
2881         * testsuite/ext/pb_assoc/example/tree_join.cc: New.
2882         * testsuite/ext/pb_assoc/example/tree_order_statistics.cc: New.
2883         * testsuite/ext/pb_assoc/example/tree_order_statistics_join.cc: New.
2884         * testsuite/ext/pb_assoc/example/tree_split.cc: New.
2885         * testsuite/performance/20_util/allocator/(insert.cc,
2886           insert_insert.cc, list_sort_search.cc, map_mt_find.cc, map_thread.cc,
2887           producer_consumer.cc): Recast to use typelists and move to...
2888         * testsuite/performance/23_containers/find/map.cc: New.
2889         * testsuite/performance/23_containers/index/map.cc: New.
2890         * testsuite/performance/23_containers/insert/associative.cc: New.
2891         * testsuite/performance/23_containers/insert/sequence.cc: New.
2892         * testsuite/performance/23_containers/insert_erase/associative.cc: New.
2893         * testsuite/performance/23_containers/producer_consumer/
2894         (associative.cc, sequence.cc): New.
2895         * testsuite/performance/23_containers/sort_search/list.cc: New.
2896         * testsuite/performance/23_containers/container_benchmark.cc: Remove.
2897         * testsuite/performance/23_containers/map_create_fill.cc: Move...
2898         * testsuite/performance/23_containers/create/map.cc: ...here.
2899         * testsuite/performance/23_containers/set_create_from_sorted.cc: Move.
2900         * testsuite/performance/23_containers/create_from_sorted/set.cc: here.
2901         * testsuite/performance/23_containers/list_create_fill_sort.cc: Move...
2902         * testsuite/performance/23_containers/create_sort/list.cc: ...here.
2903         * testsuite/performance/23_containers/set_insert_from_sorted.cc: Move.
2904         * testsuite/performance/23_containers/insert_from_sorted/set.cc: here.
2905         
2906 2005-06-23  Jakub Jelinek  <jakub@redhat.com>
2908         PR libstdc++/22109
2909         * src/compatibility.cc (_GLIBCXX_SYMVER_COMPATIBILITY): Remove.
2910         (istreambuf_iterator, basic_fstream, basic_ifstream, basic_ofstream,
2911         _M_copy, _M_move, _M_assign, _M_disjunct, _M_check_length,
2912         _M_set_length_and_sharable, ignore, eq): Define to XX suffixed
2913         variants.
2914         (ignore (streamsize)): Remove _W prefixed aliases.
2915         (_GLIBCXX_3_4_SYMVER_SPECIAL, _GLIBCXX_3_4_5_SYMVER_SPECIAL,
2916         _GLIBCXX_APPLY_SYMVER_SPECIAL): Remove.
2917         (_GLIBCXX_3_4_SYMVER, _GLIBCXX_3_4_5_SYMVER): Add XXname argument.
2918         Use #XXname instead of #name as the alias argument.
2919         * config/abi/compatibility.h: Replace uses of
2920         _GLIBCXX_APPLY_SYMVER_SPECIAL with _GLIBCXX_APPLY_SYMVER.  Always
2921         pass 2 arguments to the _GLIBCXX_APPLY_SYMVER macro.
2922         * include/bits/char_traits.h (char_traits::eq): Revert 2005-06-15
2923         change.
2924         * acinclude.m4: Decrease glibcxx_min_gnu_ld_version back to 21400.
2925         * configure: Rebuilt.
2927 2005-06-19  Benjamin Kosnik  <bkoz@redhat.com>
2929         PR libstdc++/22111
2930         * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Remove
2931         GLIBCXX_TEST_ABI. Remove duplicate _GLIBCXX_ASM_SYMVER define.
2932         Don't enable abi testing unless versioned.
2933         * configure: Regenerate.
2934         * testsuite/Makefile.am (check-abi): Remove conditional.
2935         * testsuite/Makefile.in: Regenerate.
2936         * testsuite/libstdc++-abi/abi.exp: Call build_support, then check
2937         v3-symver before proceeding.
2938         * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Set v3-symvers
2939         if _GLIBCXX_SYMVER.
2940         
2941 2005-06-17  Paolo Carlini  <pcarlini@suse.de>
2943         Port from libstdcxx_so_7-branch:
2944         2005-01-12  Christopher Jefferson <chris@bubblescope.net>
2946         * include/bits/stl_function.h (mem_fun_t, const_mem_fun_t,
2947         mem_fun_ref_t, const_mem_fun_ref_t, mem_fun1_t, const_mem_fun1_t,
2948         mem_fun1_ref_t, const_mem_fun1_ref_t): Remove overloads for void
2949         return type, just an old HP/SGI workaround.
2950         * testsuite/20_util/functional/binders.cc: Move to...
2951         * testsuite/20_util/functional/binders/3113.cc: ...here.
2952         * testsuite/20_util/functional/binders/1.cc: New.
2954 2005-06-17  Jonathan Wakely  <redi@gcc.gnu.org>
2956         * docs/html/21_strings/gotw29a.txt: Update code to corrected version.
2958 2005-06-17  Jakub Jelinek  <jakub@redhat.com>
2959             Benjamin Kosnik  <bkoz@redhat.com>
2961         * config/abi/alpha-linux-gnu/baseline_symbols.txt: Update.
2962         * config/abi/hppa-linux-gnu/baseline_symbols.txt: Same.
2963         * config/abi/mips-linux-gnu/baseline_symbols.txt: Same.
2964         * config/abi/sparc-linux-gnu/baseline_symbols.txt: Same.
2966         * config/abi/alpha-freebsd5/baseline_symbols.txt: Remove.
2967         * config/abi/i386-freebsd4/baseline_symbols.txt: Same.
2968         * config/abi/i386-freebsd5/baseline_symbols.txt: Same.
2969         * config/abi/sparc-freebsd5/baseline_symbols.txt: Same.
2971         * config/abi/arm-linux-gnu/baseline_symbols.txt: Remove.
2972         * config/abi/m68k-linux-gnu/baseline_symbols.txt: Same.
2974 2005-06-17  Jakub Jelinek  <jakub@redhat.com>
2976         * config/abi/ia64-linux-gnu/baseline_symbols.txt: Update.
2977         * config/abi/s390x-linux-gnu/baseline_symbols.txt: Update.
2978         * config/abi/s390-linux-gnu/baseline_symbols.txt: Update.
2979         * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Update.
2980         * config/abi/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
2981         * config/abi/powerpc-linux-gnu/baseline_symbols.txt: Update.
2982         * config/abi/i486-linux-gnu/baseline_symbols.txt: Update.
2983         * config/abi/i386-linux-gnu/baseline_symbols.txt: Update.
2984         * config/abi/powerpc64-linux-gnu/baseline_symbols.txt: New file.
2985         * config/abi/powerpc64-linux-gnu/32/baseline_symbols.txt: New file.
2987 2005-06-16  Jakub Jelinek  <jakub@redhat.com>
2989         * src/compatibility.cc: Include bits/c++config.h first.
2990         (_GLIBCXX_SYMVER_COMPATIBILITY): Define if _GLIBCXX_SYMVER
2991         and PIC are both defined.
2992         * include/bits/char_traits.h (char_traits::eq): Rename
2993         only if _GLIBCXX_SYMVER_COMPATIBILITY is defined.
2995 2005-06-16  Jakub Jelinek  <jakub@redhat.com>
2997         * acinclude.m4 ((GLIBCXX_ENABLE_SYMVERS): Rename _GLIBCXX_SIZE_T_IS_INT
2998         to _GLIBCXX_SIZE_T_IS_UINT.  Define _GLIBCXX_PTRDIFF_T_IS_INT.
2999         * configure: Regenerate.
3000         * config.h.in: Regenerate.
3001         * src/compatibility.cc (istream:ignore(streamsize)): Use
3002         _GLIBCXX_PTRDIFF_T_IS_INT instead of _GLIBCXX_SIZE_T_IS_INT.
3003         * config/abi/compatibility.h: Rename _GLIBCXX_SIZE_T_IS_INT
3004         to _GLIBCXX_SIZE_T_IS_UINT.  Use _GLIBCXX_PTRDIFF_T_IS_INT
3005         instead for symbols with streamsize arguments.
3007 2005-06-16  Jakub Jelinek  <jakub@redhat.com>
3009         * config/linker-map.gnu: Also export
3010         _ZNSt13basic_istreamIwSt11char_traitsIwEE6ignoreE[il][il].
3012 2005-06-15  Benjamin Kosnik  <bkoz@redhat.com>
3014         * configure.ac (libtool_VERSION): To 6:6:0.
3015         * configure: Regenerate.
3016         * config/linker-map.gnu: Edit.
3017         * src/istream.cc: Move istream::ignore(streamsize) specializations...
3018         * src/compatibility.cc: ...here. New.
3019         * include/bits/char_traits.h (char_traits::eq): Rename when
3020         appropriate.
3021         * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Define _GLIBCXX_SIZE_T_IS_INT.
3022         Bump glibcxx_min_gnu_ld_version to 21590.
3023         * configure: Regenerate.
3024         * acconfig.h: Remove _GLIBCXX_ASM_SYMVER.
3025         * config.h.in: Regenerate.
3026         * src/Makefile.am (sources): Add compatibility.cc.
3027         * src/Makefile.in: Regenerate.
3028         * include/Makefile.am (host_headers_noinst): Add compatibility.h.
3029         * include/Makefile.in: Regenerate.
3030         * testsuite/testsuite_abi.h (symbol): Add data members.
3031         * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.5,
3032         GLIBCXX_3.4.6.  Remove deprecated versions. Do a better job
3033         version checking.
3035 2005-06-15  Paolo Carlini  <pcarlini@suse.de>
3037         * include/tr1/hashtable: Trivial formatting fixes.
3038         * include/tr1/unordered_map: Likewise.
3039         * include/tr1/unordered_set: Likewise.
3041 2005-06-14  Tom Tromey  <tromey@redhat.com>
3043         PR libgcj/19877:
3044         * configure, aclocal.m4: Rebuilt.
3045         * Makefile.in, include/Makefile.in, libmath/Makefile.in,
3046         libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
3047         testsuite/Makefile.in: Likewise.
3049 2005-06-08  Benjamin Kosnik  <bkoz@redhat.com>
3051         PR libstdc++/21955
3052         * include/std/std_sstream.h (basic_stringbuf::showmanyc): Add.
3053         Remove unnecessary this->_M_mode decoration.
3054         * include/bits/fstream.tcc: Adjust line spacing.        
3055         * testsuite/27_io/basic_streambuf/in_avail/char/1.cc: New, test
3056         base class behavior.
3057         * testsuite/27_io/basic_streambuf/in_avail/wchar_t/1.cc: Same.
3058         * testsuite/27_io/basic_stringbuf/in_avail/char/21955.cc: New.
3059         * testsuite/27_io/basic_stringbuf/in_avail/char/1.cc: Match
3060         filebuf behavior.
3061         * testsuite/27_io/basic_stringbuf/in_avail/wchar_t/1.cc: Same.
3062         * testsuite/27_io/basic_stringbuf/str/wchar_t/1.cc: Same.
3063         * testsuite/27_io/basic_stringbuf/str/char/1.cc: Same.
3064         * testsuite/27_io/basic_streambuf/in_avail/char/9701-3.cc: Move...
3065         * testsuite/27_io/basic_filebuf/in_avail/char/9701-3.cc: ...here.
3066         
3067 2005-06-07  Benjamin Kosnik  <bkoz@redhat.com>
3069         * acinclude.m4 (GLIBCXX_ENABLE_C99): Use C++ compiler for complex
3070         tests.
3071         * configure: Regenerated.
3073 2005-06-07  Adrian Straetling  <straetling@de.ibm.com>
3075         * config/cpu/s390/atomicity.h: (__exchange_and_add, 
3076         __atomic_add): Use the builtins for atomic memory operations.
3078 2005-06-06  Paolo Carlini  <pcarlini@suse.de>
3080         PR libstdc++/21770 (cont: __gnu_debug::string)
3081         * include/debug/string: Use _Base typedefs for pointer, const_pointer,
3082         reference, const_reference, size_type, difference_type.
3083         * testsuite/21_strings/basic_string/2.cc: New.
3085 2005-06-06  Paolo Carlini  <pcarlini@suse.de>
3087         PR libstdc++/21770 (cont: debug-mode)
3088         * include/debug/deque: Use _Base typedefs for pointer, const_pointer,
3089         reference, const_reference.
3090         * include/debug/list: Likewise.
3091         * include/debug/map.h: Likewise.
3092         * include/debug/multimap.h: Likewise.
3093         * include/debug/multiset.h: Likewise.
3094         * include/debug/set.h: Likewise.
3095         * include/debug/vector: Likewise.
3097 2005-06-06  Paolo Carlini  <pcarlini@suse.de>
3099         Port from libstdcxx_so_7-branch:
3100         2004-09-24  Paolo Carlini  <pcarlini@suse.de>
3101                     Jonathan Wakely  <redi@gcc.gnu.org>
3103         * include/bits/stl_list.h (list::list(size_type, value_type,
3104         const allocator_type&): Implement according to the letter of the
3105         standard, i.e., don't use two overloads, not equivalent in case
3106         of non default constructible T.
3107         (list::resize(size_type, const value_type&)): Fix the signature:
3108         according to the standard the second argument is by value; also,
3109         don't use two overloads.
3110         * include/bits/list.tcc (list::resize(size_type, const value_type&)):
3111         Adjust consistently the signature.
3112         * include/bits/stl_deque.h (deque::deque(size_type, value_type,
3113         const allocator_type&)): Likewise.
3114         (deque::resize(size_type, const value_type&)): Likewise.
3115         * include/bits/stl_vector.h (vector::vector(size_type, value_type,
3116         const allocator_type&)): Likewise.
3117         (vector::resize(size_type, const value_type&)): Likewise.
3118         * testsuite/testsuite_hooks.h: Add NonDefaultConstructible test type.
3119         * testsuite/23_containers/deque/explicit_instantiation/2.cc: New.
3120         * testsuite/23_containers/list/explicit_instantiation/2.cc: New.
3121         * testsuite/23_containers/map/explicit_instantiation/2.cc: New.
3122         * testsuite/23_containers/multimap/explicit_instantiation/2.cc: New.
3123         * testsuite/23_containers/multiset/explicit_instantiation/2.cc: New.
3124         * testsuite/23_containers/set/explicit_instantiation/2.cc: New.
3125         * testsuite/23_containers/vector/explicit_instantiation/2.cc: New.
3127         * include/bits/deque.tcc: Minor formatting fix.
3129 2005-06-06  Peter Doerfler  <doerfler@techinfo.rwth-aachen.de>
3131         * include/bits/stl_function.h: ... and another one.
3133 2005-06-06  Peter Doerfler  <doerfler@techinfo.rwth-aachen.de>
3135         * include/bits/stl_function.h: Fix typo in comment.
3137 2005-06-05  Paolo Carlini  <pcarlini@suse.de>
3139         * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Check clog, clogf, clogl
3140         too for ac_c99_complex.
3141         * configure: Regenerate.
3143 2005-06-03  Paolo Carlini  <pcarlini@suse.de>
3145         PR libstdc++/21770
3146         * include/bits/stl_deque.h: Add concept-check. In class _Deque_base
3147         rebind _Alloc to  _Tp_alloc_type, change _Deque_impl to inherit from
3148         the latter and add _M_get_Tp_allocator() which returns it. Use
3149         everywhere _M_get_Tp_allocator() instead of get_allocator().
3150         * include/bits/deque.tcc: Likewise, use _M_get_Tp_allocator().
3151         * include/bits/stl_list.h: Add concept-check. In class _List_base
3152         rebind _Alloc to _Tp_alloc_type and add _M_get_Tp_allocator(), which
3153         returns the allocator (of type _Node_alloc_type) converted to
3154         _Tp_alloc_type. Use everywhere _M_get_Tp_allocator() instead of
3155         get_allocator().
3156         * include/bits/list.tcc: Likewise, use _M_get_Tp_allocator().
3157         * include/bits/stl_vector.h: Add concept-check. In class _Vector_base
3158         rebind _Alloc to _Tp_alloc_type, change _Vector_impl to inherit from
3159         the latter and add _M_get_Tp_allocator() which returns it. Use
3160         everywhere _M_get_Tp_allocator() instead of get_allocator().
3161         * include/bits/vector.tcc: Likewise, use _M_get_Tp_allocator().
3162         * include/bits/stl_map.h: Add concept-check. Rebind _Alloc to
3163         _Pair_alloc_type and use it for _Rb_tree.
3164         * include/bits/stl_multimap.h: Likewise.
3165         * include/bits/stl_multiset.h: Add concept-check. Rebind _Alloc to
3166         _Key_alloc_type and use it for _Rb_tree.
3167         * include/bits/stl_set.h: Likewise.
3168         * include/bits/basic_string.h: Rebind _Alloc to _CharT_alloc_type and
3169         use it for the allocator typedefs.
3170         * testsuite/21_strings/basic_string/1.cc: New.
3171         * testsuite/23_containers/deque/explicit_instantiation.cc: Move to...
3172         * testsuite/23_containers/deque/explicit_instantiation/1.cc: ... here.
3173         * testsuite/23_containers/deque/explicit_instantiation/3.cc: New.
3174         * testsuite/23_containers/list/explicit_instantiation.cc: Move to...
3175         * testsuite/23_containers/list/explicit_instantiation/1.cc: ... here.
3176         * testsuite/23_containers/list/explicit_instantiation/3.cc: New.
3177         * testsuite/23_containers/map/explicit_instantiation.cc: Move to...
3178         * testsuite/23_containers/map/explicit_instantiation/1.cc: ... here.
3179         * testsuite/23_containers/map/explicit_instantiation/3.cc: New.
3180         * testsuite/23_containers/multimap/explicit_instantiation.cc: Move to...
3181         * testsuite/23_containers/multimap/explicit_instantiation/1.cc: .. here.
3182         * testsuite/23_containers/multimap/explicit_instantiation/3.cc: New.
3183         * testsuite/23_containers/multiset/explicit_instantiation.cc: Move to...
3184         * testsuite/23_containers/multiset/explicit_instantiation/1.cc: .. here.
3185         * testsuite/23_containers/multiset/explicit_instantiation/3.cc: New.
3186         * testsuite/23_containers/set/explicit_instantiation.cc: Move to...
3187         * testsuite/23_containers/set/explicit_instantiation/1.cc: .. here.
3188         * testsuite/23_containers/set/explicit_instantiation/3.cc: New.
3189         * testsuite/23_containers/vector/explicit_instantiation.cc: Move to...
3190         * testsuite/23_containers/vector/explicit_instantiation/1.cc: ... here.
3191         * testsuite/23_containers/vector/explicit_instantiation/3.cc: New.
3193 2005-06-02  Nathan Sidwell  <nathan@codesourcery.com>
3195         PR c++/21280
3196         * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust expected errors.
3197         * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
3199 2005-05-31  Paolo Carlini  <pcarlini@suse.de>
3201         PR libstdc++/20534 (contd)
3202         * include/debug/macros.h: Add _GLIBCXX_DEBUG_ABORT, using
3203         __gnu_debug::__fancy_abort.
3204         * src/debug.cc: Define the latter.
3205         * include/debug/debug.h: Use _GLIBCXX_DEBUG_ABORT instead of
3206         assert.
3207         * config/linker-map.gnu (__gnu_debug::__fancy_abort): Add.
3209 2005-05-30  Paolo Carlini  <pcarlini@suse.de>
3211         * include/std/std_complex.h (log(const complex<_Tp>&)): When
3212         _GLIBCXX_USE_C99_COMPLEX, forward to __builtin_clog/clogf/clogl.
3214 2005-05-28  Paolo Carlini  <pcarlini@suse.de>
3216         Revert:
3217         2005-05-18  Paolo Carlini  <pcarlini@suse.de>
3218                     Nathan Myers  <ncm@cantrip.org>
3220         PR libstdc++/19495
3221         * include/bits/basic_string.h (_Raw_bytes_alloc): Rebind to
3222         size_type instead of char and rename to _Raw_alloc.
3223         * include/bits/basic_string.tcc (_Rep::_M_destroy, _Rep::_S_create):
3224         Use the above.
3225         * src/bitmap_allocator.cc: Add instantiation for size_type.
3226         * src/mt_allocator.cc: Likewise.
3227         * src/pool_allocator.cc: Likewise.
3228         * include/ext/array_allocator.h: Tweak slightly, avoid assuming
3229         the existence of an _Array::begin() and size() members.
3230         * testsuite/ext/array_allocator/2.cc: Tweak to use an allocator
3231         of size_type, instead of char, thus avoiding problems with
3232         rebinds, not treated correctly by array_allocator.
3234 2005-05-27  Paolo Carlini  <pcarlini@suse.de>
3236         * docs/html/abi.html: Mention 3.4.0 as the current baseline; add
3237         a notice about the configure options.
3239 2005-05-27  Mark Mitchell  <mark@codesourcery.com>
3241         * docs/html/test.html: Mention PCH_CXXFLAGS.
3242         * testsuite/lib/libstdc++.exp: Set PCH_CXXFLAGS by probing for an
3243         available stcd++.h PCH.
3244         * testsuite/libstdc++-dg/normal.exp: Use PCH_CXXFLAGS.
3246 2005-05-27  Theodore Papadopoulo  <Theodore.Papadopoulo@sophia.inria.fr>
3248         * src/misc-inst.cc: Remove unnecessary included files.
3250 2005-05-27  Benjamin Kosnik  <bkoz@redhat.com>
3252         PR libstdc++/21674
3253         * include/bits/c++config: Remove extern template use when in debug
3254         mode, disable for non-weak systems.
3255         
3256 2005-05-27  Benjamin Kosnik  <bkoz@redhat.com>
3258         PR libstdc++/20534 
3259         * include/debug/debug.h: Forwarding header, that pulls in details
3260         only if in debug mode.
3261         * include/debug/macros.h: ...transfer all the internal macros here.
3262         * include/debug/functions.h: ...transfer all the functions here.
3263         * include/debug/safe_iterator.h: Add functions.h, macros.h includes.
3264         * include/debug/safe_sequence.h: Same.
3265         * include/debug/vector: Tweak.
3266         * include/Makefile.am (debug_headers): Add new includes.
3267         * include/Makefile.in: Regenerate.
3268         * testsuite/17_intro/no_assert_neg.cc: Add.
3270         * include/ext/hash_set: Add debug mode include.
3271         * include/ext/hash_map: Same.
3272         * include/debug/hash_map: Fix included files to match actual files.
3273         * include/debug/hash_set: Same.
3274                 
3275 2005-05-26  Paolo Carlini  <pcarlini@suse.de>
3277         PR libstdc++/13943
3278         * include/c_std/std_cstdlib.h: Do not open code llabs and lldiv,
3279         available when _GLIBCXX_USE_C99 is defined.
3280         * testsuite/26_numerics/cstdlib/13943.cc: New.
3282         * acinclude.m4 ([GLIBCXX_ENABLE_C99]): For completeness, check
3283         also strtoll and strtoull for ac_c99_stdlib.
3284         * configure: Regenerate.
3286 2005-05-25  Benjamin Kosnik  <bkoz@redhat.com>
3288         * config/linker-map.gnu: Add linkage support for no extern templates.
3289         (std::ios_base::_M_call_callbacks): Add.
3290         (std::ios_base::_M_dispose_callbacks): Add.
3291         (std::locale::facet::_S_get_c_name): Add.
3292         (std::__copy_streambufs): Add.
3293         * configure.ac (libtool_VERSION): To 6:5:0.
3294         * configure: Regenerate.
3295         * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.5.
3296         
3297 2005-05-25  Paolo Carlini  <pcarlini@suse.de>
3299         * include/bits/basic_string.h (_Rep::_M_set_length_and_sharable):
3300         Use, consistently, traits_type::assign.
3302 2005-05-25  Paolo Carlini  <pcarlini@suse.de>
3304         * config/cpu/alpha/atomicity.h: Use the builtins for
3305         atomic memory operations.
3306         * config/cpu/powerpc/atomicity.h: Likewise.
3307         * config/cpu/ia64/atomicity.h: Do not include ia64intrin.h.
3309 2005-05-24  Paolo Carlini  <pcarlini@suse.de>
3311         * testsuite/25_algorithms/equal.cc: Move to...
3312         * testsuite/25_algorithms/equal: ... here.
3313         * testsuite/25_algorithms/lower_bound.cc: Move to...
3314         * testsuite/25_algorithms/lower_bound: ... here.
3316 2005-05-24  Paolo Carlini  <pcarlini@suse.de>
3318         Port from libstdcxx_so_7-branch:
3319         2005-20-05  Chris Jefferson  <chris@bubblescope.net>
3321         * testsuite/25_algorithms/heap.cc: Move to...
3322         * testsuite/25_algorithms/heap/heap.cc: ...here.
3323         * testsuite/25_algorithms/partition.cc: Move to...
3324         * testsuite/25_algorithms/partition/partition.cc: ...here.
3326         2005-03-29  Christopher Jefferson  <chris@bubblescope.net>
3328         * testsuite/25_algorithms/includes/1.cc: Add tests.
3329         * testsuite/25_algorithms/search/1.cc: Likewise.
3330         * testsuite/25_algorithms/unique_copy/1.cc: Likewise.
3331         * testsuite/25_algorithms/swap_ranges/1.cc: New.
3332         * testsuite/25_algorithms/swap_ranges/check_type.cc: New.
3333         * testsuite/25_algorithms/rotate.cc: Move to...
3334         * testsuite/25_algorithms/rotate/rotate.cc: ... here.
3335         * testsuite/25_algorithms/rotate/1.cc: New.
3336         * testsuite/25_algorithms/rotate/check_type.cc: New.
3337         * testsuite/25_algorithms/search_n/iterator.cc: Fix typo.
3339         2005-03-14  Christopher Jefferson  <chris@bubblescope.net>
3341         * include/bits/stl_algo.h (replace_copy, replace_copy_if):
3342         Don't assume that __new_value and *__first are convertible to
3343         each other.     
3345         * testsuite/25_algorithms/find/1.cc: New.
3346         * testsuite/25_algorithms/find/check_type.cc: New.
3347         * testsuite/25_algorithms/find_if/1.cc: New.
3348         * testsuite/25_algorithms/find_if/check_type.cc: New.
3349         * testsuite/25_algorithms/replace/1.cc: New.
3350         * testsuite/25_algorithms/replace/check_type.cc: New.
3351         * testsuite/25_algorithms/replace_if/1.cc: New.
3352         * testsuite/25_algorithms/replace_if/check_type.cc: New.
3353         * testsuite/25_algorithms/replace_copy/1.cc: New.
3354         * testsuite/25_algorithms/replace_copy/check_type.cc: New.
3355         * testsuite/25_algorithms/replace_copy_if/1.cc: New.
3356         * testsuite/25_algorithms/replace_copy_if/check_type.cc: New.
3357         * testsuite/25_algorithms/remove/1.cc: New.
3358         * testsuite/25_algorithms/remove/check_type.cc: New.
3359         * testsuite/25_algorithms/remove_if/1.cc: New.
3360         * testsuite/25_algorithms/remove_if/check_type.cc: New.
3361         * testsuite/25_algorithms/count/1.cc: New.
3362         * testsuite/25_algorithms/count/check_type.cc: New.
3363         * testsuite/25_algorithms/count_if/1.cc: New.
3364         * testsuite/25_algorithms/count_if/check_type.cc: New.
3366         2005-02-27  Christopher Jefferson  <chris@bubblescope.net>
3367                     Paolo Carlini  <pcarlini@suse.de>
3369         * testsuite/ext/is_heap/check_type.cc: New.
3370         
3371         2005-02-27  Paolo Carlini  <pcarlini@suse.de>
3373         * testsuite/ext/is_heap/1.cc: New.
3375         2005-02-01  Christopher Jefferson  <chris@bubblescope.net>
3377         * testsuite/ext/median.cc: New.
3378         * testsuite/25_algorithms/adjacent_find/1.cc: New.
3379         * testsuite/25_algorithms/adjacent_find/check_type.cc: New.
3380         * testsuite/25_algorithms/search/1.cc: New.
3381         * testsuite/25_algorithms/search/check_type.cc: New.
3382         * testsuite/25_algorithms/unique_copy/1.cc: New.
3383         * testsuite/25_algorithms/unique_copy/check_type.cc: New.
3384         * testsuite/25_algorithms/partial_sort/1.cc: New.
3385         * testsuite/25_algorithms/partial_sort/check_type.cc: New.
3386         * testsuite/25_algorithms/partial_sort_copy/1.cc: New.
3387         * testsuite/25_algorithms/partial_sort_copy/check_type.cc: New.
3388         * testsuite/25_algorithms/lower_bound/1.cc: New.
3389         * testsuite/25_algorithms/lower_bound/check_type.cc: New.
3390         * testsuite/25_algorithms/upper_bound/1.cc: New.
3391         * testsuite/25_algorithms/upper_bound/check_type.cc: New.
3392         * testsuite/25_algorithms/merge/1.cc: New.
3393         * testsuite/25_algorithms/merge/check_type.cc: New.
3394         * testsuite/25_algorithms/inplace_merge/1.cc: New.
3395         * testsuite/25_algorithms/inplace_merge/check_type.cc: New.
3396         * testsuite/25_algorithms/stable_sort/1.cc: New.
3397         * testsuite/25_algorithms/stable_sort/check_type.cc: New.
3398         * testsuite/25_algorithms/nth_element/1.cc: New.
3399         * testsuite/25_algorithms/nth_element/check_type.cc: New.
3400         * testsuite/25_algorithms/equal_range/1.cc: New.
3401         * testsuite/25_algorithms/equal_range/check_type.cc: New.
3402         * testsuite/25_algorithms/binary_search/1.cc: New.
3403         * testsuite/25_algorithms/binary_search/check_type.cc: New.
3404         * testsuite/25_algorithms/includes/1.cc: New.
3405         * testsuite/25_algorithms/includes/check_type.cc: New.
3406         * testsuite/25_algorithms/set_union/1.cc: New.
3407         * testsuite/25_algorithms/set_union/check_type.cc: New.
3408         * testsuite/25_algorithms/set_intersection/1.cc: New.
3409         * testsuite/25_algorithms/set_intersection/check_type.cc: New.
3410         * testsuite/25_algorithms/set_difference/1.cc: New.
3411         * testsuite/25_algorithms/set_difference/check_type.cc: New.
3412         * testsuite/25_algorithms/set_symmetric_difference/1.cc: New.
3413         * testsuite/25_algorithms/set_symmetric_difference/check_type.cc: New.  
3414         * testsuite/25_algorithms/min_element/1.cc: New.
3415         * testsuite/25_algorithms/min_element/check_type.cc: New.
3416         * testsuite/25_algorithms/max_element/1.cc: New.
3417         * testsuite/25_algorithms/max_element/check_type.cc: New.
3418         * testsuite/25_algorithms/prev_permutation/1.cc: New.
3419         * testsuite/25_algorithms/prev_permutation/check_type.cc: New.
3420         * testsuite/25_algorithms/next_permutation/1.cc: New.
3421         * testsuite/25_algorithms/next_permutation/check_type.cc: New.
3422         * testsuite/25_algorithms/find_first_of/1.cc: New.
3423         * testsuite/25_algorithms/find_first_of/check_type.cc: New.
3424         * testsuite/25_algorithms/find_end/1.cc: New.
3425         * testsuite/25_algorithms/find_end/check_type.cc: New.
3426         * testsuite/25_algorithms/equal/check_type.cc: Insert iterator type.
3427         * testsuite/25_algorithms/lexicographical_compare/check_type.cc:
3428         Likewise.
3430         2005-01-10  Christopher Jefferson <chris@bubblescope.net>
3432         * testsuite/25_algorithms/lexicographical_compare/check_type.cc: New.
3433         * testsuite/25_algorithms/lexicographical_compare/1.cc: Likewise.
3434         * testsuite/25_algorithms/mismatch/check_type.cc: Likewise.
3435         * testsuite/25_algorithms/mismatch/1.cc: Likewise.
3436         * testsuite/25_algorithms/equal/check_type.cc: New.
3437         * testsuite/25_algorithms/equal/1.cc: New.
3439 2005-05-24  Benjamin Kosnik  <bkoz@redhat.com>
3441         * include/bits/allocator.h: Change ___glibcxx_base_allocator to
3442         __glibcxx_base_allocator.
3443         * config/allocator/bitmap_allocator_base.h: Same.
3444         * config/allocator/malloc_allocator_base.h: Same.
3445         * config/allocator/mt_allocator_base.h: Same.
3446         * config/allocator/new_allocator_base.h: Same.
3447         * config/allocator/pool_allocator_base.h: Same.
3449 2005-05-24  Jonathan Wakely  <redi@gcc.gnu.org>
3451         * include/debug/string (class basic_string): Add missing
3452         default template arguments; provide typedefs for char
3453         and wchar_t.
3454         (operator[]): Allow s[s.size()] in debug mode, but not
3455         pedantic mode.
3457 2005-05-24  Paolo Carlini  <pcarlini@suse.de>
3459         Port from libstdcxx_so_7-branch:
3460         2005-04-25  Christopher Jefferson  <chris@bubblescope.net>
3462         * include/bits/stl_algo.h (count): Correct concept checks.
3463         (search_n) : Likewise.
3464         * testsuite/25_algorithms/search_n/check_type.cc: New.
3466         * testsuite/testsuite_iterators.h
3467         (random_access_iterator_wrapper::operator+): Move out of
3468         class to external function, and add symmetric version.
3470         2005-03-14  Christopher Jefferson  <chris@bubblescope.net>
3472         * testsuite/testsuite_iterators.h (WritableObject::WritableObject):
3473         Add const.
3474         
3475         2005-02-01  Christopher Jefferson  <chris@bubblescope.net>
3477         * testsuite/testsuite_iterators.h (random_access_iterator_wrapper::
3478         operator--): Fix typo.
3479         (OutputContainer::OutputContainer): Correct zeroing array.
3480         (WritableObject::operator==): Fix typo.
3481         (WritableObject::operator=): make operator= templated 
3482         to allow differing types to be assigned.
3483         (WritableObject::operator++): Fix checking if iterator is
3484         written to multiple times.
3485         (random_access_iterator_wrapper::operator+): Add const.
3486         (random_access_iterator_wrapper::operator-): Likewise.
3487         (random_access_iterator_wrapper::operator[]): Add dereference.
3489 2005-05-23  Jonathan Wakely  <redi@gcc.gnu.org>
3491         * docs/html/debug.html: Explain that _GLIBXX_DEBUG_PEDANTIC
3492         had to be defined for pedantic mode in 3.4 and 4.0.0.
3494 2005-05-20  Jan Beulich  <jbeulich@novell.com>
3496         * libmath/stubs.c: Also implement fabsf/fabsl if not present in the
3497         system libraries.
3499 2005-05-20  Paolo Carlini  <pcarlini@suse.de>
3501         * include/bits/stl_algo.h (__rotate<_RandomAccessIterator>):
3502         Don't qualify __tmp as const, _ValueType is not necessarily
3503         Assignable.
3504         * include/bits/stl_algobase.h (swap, __iter_swap<false>):
3505         Likewise, as an harmless extension.
3507 2005-05-19  Richard Henderson  <rth@redhat.com>
3509         * libsupc++/unwind-cxx.h: Revert gcc_unreachable change.
3511 2005-05-19  Jonathan Wakely  <redi@gcc.gnu.org>
3513         * include/bits/basic_string.h (operator[]): Allow s[s.size()] in
3514         debug mode, but not pedantic mode.
3516 2005-05-19  Jan Beulich  <jbeulich@novell.com>
3518         * libsupc++/unwind-cxx.h: Include cstdlib.
3519         (gcc_unreachable): #define.
3520         * libsupc++/eh_personality.cc (gcc_unreachable): Remove #define.
3522 2005-05-18  Paolo Carlini  <pcarlini@suse.de>
3523             Nathan Myers  <ncm@cantrip.org>
3525         PR libstdc++/19495
3526         * include/bits/basic_string.h (_Raw_bytes_alloc): Rebind to
3527         size_type instead of char and rename to _Raw_alloc.
3528         * include/bits/basic_string.tcc (_Rep::_M_destroy, _Rep::_S_create):
3529         Use the above.
3530         * src/bitmap_allocator.cc: Add instantiation for size_type.
3531         * src/mt_allocator.cc: Likewise.
3532         * src/pool_allocator.cc: Likewise.
3533         * include/ext/array_allocator.h: Tweak slightly, avoid assuming
3534         the existence of an _Array::begin() and size() members.
3535         * testsuite/ext/array_allocator/2.cc: Tweak to use an allocator
3536         of size_type, instead of char, thus avoiding problems with
3537         rebinds, not treated correctly by array_allocator.
3539 2005-05-18  Paolo Carlini  <pcarlini@suse.de>
3541         * testsuite/22_locale/ctype/is/char/2.cc: Adjust dg-require-namedlocale.
3542         * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
3543         * testsuite/22_locale/time_get/get_year/char/wrapped_env.cc: Add
3544         missing dg-require-namedlocale.
3545         * testsuite/22_locale/time_get/get_year/char/wrapped_locale.cc:
3546         Likewise.
3547         * testsuite/22_locale/time_get/get_year/wchar_t/wrapped_env.cc:
3548         Likewise.
3549         * testsuite/22_locale/time_get/get_year/wchar_t/wrapped_locale.cc:
3550         Likewise.
3552 2005-05-18  Paolo Carlini  <pcarlini@suse.de>
3554         * testsuite/testsuite_hooks.cc: Remove try_named_locale.
3555         * testsuite/testsuite_hooks.h: Remove try_named_locale.
3556         * testsuite/lib/libstdc++.exp (check_v3_target_namedlocale): New.
3557         * testsuite/lib/dg-options.exp (dg-require-namedlocale): New, uses
3558         the above.
3559         * testsuite/22_locale/codecvt/always_noconv/char/wrapped_env.cc: Use
3560         dg-require-namedlocale.
3561         * testsuite/22_locale/codecvt/always_noconv/char/wrapped_locale.cc:
3562         Likewise.
3563         * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Likewise.
3564         * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Likewise.
3565         * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Likewise.
3566         * testsuite/22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc: 
3567         Likewise.
3568         * testsuite/22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc:
3569         Likewise.
3570         * testsuite/22_locale/codecvt/encoding/char/wrapped_env.cc: Likewise.
3571         * testsuite/22_locale/codecvt/encoding/char/wrapped_locale.cc: Likewise.
3572         * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Likewise.
3573         * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Likewise.
3574         * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Likewise.
3575         * testsuite/22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: Likewise.
3576         * testsuite/22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc:
3577         Likewise.
3578         * testsuite/22_locale/codecvt/in/char/wrapped_env.cc: Likewise.
3579         * testsuite/22_locale/codecvt/in/char/wrapped_locale.cc: Likewise.
3580         * testsuite/22_locale/codecvt/in/wchar_t/2.cc: Likewise.
3581         * testsuite/22_locale/codecvt/in/wchar_t/3.cc: Likewise.
3582         * testsuite/22_locale/codecvt/in/wchar_t/4.cc: Likewise.
3583         * testsuite/22_locale/codecvt/in/wchar_t/7.cc: Likewise. 
3584         * testsuite/22_locale/codecvt/in/wchar_t/8.cc: Likewise.
3585         * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Likewise.
3586         * testsuite/22_locale/codecvt/in/wchar_t/wrapped_env.cc: Likewise. 
3587         * testsuite/22_locale/codecvt/in/wchar_t/wrapped_locale.cc: Likewise.    
3588         * testsuite/22_locale/codecvt/length/char/wrapped_env.cc: Likewise. 
3589         * testsuite/22_locale/codecvt/length/char/wrapped_locale.cc: Likewise.    
3590         * testsuite/22_locale/codecvt/length/wchar_t/2.cc: Likewise.   
3591         * testsuite/22_locale/codecvt/length/wchar_t/3.cc: Likewise.   
3592         * testsuite/22_locale/codecvt/length/wchar_t/4.cc: Likewise.   
3593         * testsuite/22_locale/codecvt/length/wchar_t/7.cc: Likewise.   
3594         * testsuite/22_locale/codecvt/length/wchar_t/wrapped_env.cc: Likewise.      
3595         * testsuite/22_locale/codecvt/length/wchar_t/wrapped_locale.cc:
3596         Likewise.
3597         * testsuite/22_locale/codecvt/max_length/char/wrapped_env.cc: Likewise.
3598         * testsuite/22_locale/codecvt/max_length/char/wrapped_locale.cc:
3599         Likewise.  
3600         * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Likewise.    
3601         * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Likewise.    
3602         * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Likewise.    
3603         * testsuite/22_locale/codecvt/max_length/wchar_t/wrapped_env.cc:
3604         Likewise.  
3605         * testsuite/22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc:
3606         Likewise.
3607         * testsuite/22_locale/codecvt/out/char/wrapped_env.cc: Likewise.    
3608         * testsuite/22_locale/codecvt/out/char/wrapped_locale.cc: Likewise. 
3609         * testsuite/22_locale/codecvt/out/wchar_t/2.cc: Likewise.  
3610         * testsuite/22_locale/codecvt/out/wchar_t/3.cc: Likewise.  
3611         * testsuite/22_locale/codecvt/out/wchar_t/4.cc: Likewise.  
3612         * testsuite/22_locale/codecvt/out/wchar_t/7.cc: Likewise.  
3613         * testsuite/22_locale/codecvt/out/wchar_t/wrapped_env.cc: Likewise. 
3614         * testsuite/22_locale/codecvt/out/wchar_t/wrapped_locale.cc: Likewise. 
3615         * testsuite/22_locale/codecvt/unshift/char/wrapped_env.cc: Likewise.   
3616         * testsuite/22_locale/codecvt/unshift/char/wrapped_locale.cc: Likewise.
3617         * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Likewise.    
3618         * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Likewise.    
3619         * testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Likewise.    
3620         * testsuite/22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: Likewise.
3621         * testsuite/22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc:
3622         Likewise.
3623         * testsuite/22_locale/collate/compare/char/1.cc: Likewise.  
3624         * testsuite/22_locale/collate/compare/char/2.cc: Likewise.  
3625         * testsuite/22_locale/collate/compare/char/3.cc: Likewise.  
3626         * testsuite/22_locale/collate/compare/char/wrapped_env.cc: Likewise.        
3627         * testsuite/22_locale/collate/compare/char/wrapped_locale.cc: Likewise.     
3628         * testsuite/22_locale/collate/compare/wchar_t/1.cc: Likewise.     
3629         * testsuite/22_locale/collate/compare/wchar_t/2.cc: Likewise.     
3630         * testsuite/22_locale/collate/compare/wchar_t/3.cc: Likewise.     
3631         * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc: Likewise.
3632         * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc:
3633         Likewise.  
3634         * testsuite/22_locale/collate/hash/char/2.cc: Likewise.     
3635         * testsuite/22_locale/collate/hash/char/wrapped_env.cc: Likewise.   
3636         * testsuite/22_locale/collate/hash/char/wrapped_locale.cc: Likewise.        
3637         * testsuite/22_locale/collate/hash/wchar_t/2.cc: Likewise.  
3638         * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc: Likewise.
3639         * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc: Likewise.     
3640         * testsuite/22_locale/collate/transform/char/2.cc: Likewise.     
3641         * testsuite/22_locale/collate/transform/char/3.cc: Likewise.     
3642         * testsuite/22_locale/collate/transform/char/wrapped_env.cc: Likewise.      
3643         * testsuite/22_locale/collate/transform/char/wrapped_locale.cc:
3644         Likewise.
3645         * testsuite/22_locale/collate/transform/wchar_t/2.cc: Likewise. 
3646         * testsuite/22_locale/collate/transform/wchar_t/3.cc: Likewise. 
3647         * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc:
3648         Likewise.
3649         * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
3650         Likewise.
3651         * testsuite/22_locale/collate_byname/named_equivalence.cc: Likewise.
3652         * testsuite/22_locale/ctype/cons/char/wrapped_env.cc: Likewise.    
3653         * testsuite/22_locale/ctype/cons/char/wrapped_locale.cc: Likewise. 
3654         * testsuite/22_locale/ctype/is/char/2.cc: Likewise. 
3655         * testsuite/22_locale/ctype/is/char/wrapped_env.cc: Likewise.      
3656         * testsuite/22_locale/ctype/is/char/wrapped_locale.cc: Likewise.  
3657         * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.   
3658         * testsuite/22_locale/ctype/is/wchar_t/wrapped_env.cc: Likewise.  
3659         * testsuite/22_locale/ctype/is/wchar_t/wrapped_locale.cc: Likewise.
3660         * testsuite/22_locale/ctype/narrow/char/wrapped_env.cc: Likewise.
3661         * testsuite/22_locale/ctype/narrow/char/wrapped_locale.cc: Likewise.        
3662         * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Likewise. 
3663         * testsuite/22_locale/ctype/narrow/wchar_t/wrapped_env.cc: Likewise.        
3664         * testsuite/22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: Likewise.
3665         * testsuite/22_locale/ctype/scan/char/wrapped_env.cc: Likewise.   
3666         * testsuite/22_locale/ctype/scan/char/wrapped_locale.cc: Likewise. 
3667         * testsuite/22_locale/ctype/scan/wchar_t/wrapped_env.cc: Likewise. 
3668         * testsuite/22_locale/ctype/scan/wchar_t/wrapped_locale.cc: Likewise.       
3669         * testsuite/22_locale/ctype/to/char/wrapped_env.cc: Likewise.       
3670         * testsuite/22_locale/ctype/to/char/wrapped_locale.cc: Likewise.    
3671         * testsuite/22_locale/ctype/to/wchar_t/wrapped_env.cc: Likewise.    
3672         * testsuite/22_locale/ctype/to/wchar_t/wrapped_locale.cc: Likewise. 
3673         * testsuite/22_locale/ctype/widen/char/wrapped_env.cc: Likewise.    
3674         * testsuite/22_locale/ctype/widen/char/wrapped_locale.cc: Likewise. 
3675         * testsuite/22_locale/ctype/widen/wchar_t/2.cc: Likewise.   
3676         * testsuite/22_locale/ctype/widen/wchar_t/3.cc: Likewise.   
3677         * testsuite/22_locale/ctype/widen/wchar_t/wrapped_env.cc: Likewise.
3678         * testsuite/22_locale/ctype/widen/wchar_t/wrapped_locale.cc: Likewise.
3679         * testsuite/22_locale/facet/2.cc: Likewise.
3680         * testsuite/22_locale/locale/cons/12352.cc: Likewise.
3681         * testsuite/22_locale/locale/cons/12438.cc: Likewise.
3682         * testsuite/22_locale/locale/cons/12658_thread-1.cc: Likewise. 
3683         * testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise. 
3684         * testsuite/22_locale/locale/cons/2.cc: Likewise.
3685         * testsuite/22_locale/locale/cons/4.cc: Likewise.
3686         * testsuite/22_locale/locale/cons/5.cc: Likewise.
3687         * testsuite/22_locale/locale/cons/7.cc: Likewise.
3688         * testsuite/22_locale/locale/cons/7222-env.cc: Likewise.  
3689         * testsuite/22_locale/locale/global_locale_objects/14071.cc: Likewise.  
3690         * testsuite/22_locale/locale/global_locale_objects/2.cc: Likewise.
3691         * testsuite/22_locale/messages/members/char/1.cc: Likewise.
3692         * testsuite/22_locale/messages/members/char/2.cc: Likewise.
3693         * testsuite/22_locale/messages/members/char/3.cc: Likewise.
3694         * testsuite/22_locale/messages/members/char/wrapped_env.cc: Likewise.   
3695         * testsuite/22_locale/messages/members/char/wrapped_locale.cc: Likewise.
3696         * testsuite/22_locale/messages_byname/named_equivalence.cc: Likewise.   
3697         * testsuite/22_locale/money_get/get/char/1.cc: Likewise.    
3698         * testsuite/22_locale/money_get/get/char/10.cc: Likewise.   
3699         * testsuite/22_locale/money_get/get/char/11.cc: Likewise.   
3700         * testsuite/22_locale/money_get/get/char/11528.cc: Likewise.
3701         * testsuite/22_locale/money_get/get/char/12.cc: Likewise.   
3702         * testsuite/22_locale/money_get/get/char/13.cc: Likewise.   
3703         * testsuite/22_locale/money_get/get/char/15.cc: Likewise.   
3704         * testsuite/22_locale/money_get/get/char/16.cc: Likewise.   
3705         * testsuite/22_locale/money_get/get/char/17.cc: Likewise.   
3706         * testsuite/22_locale/money_get/get/char/18.cc: Likewise.   
3707         * testsuite/22_locale/money_get/get/char/2.cc: Likewise.    
3708         * testsuite/22_locale/money_get/get/char/3.cc: Likewise.    
3709         * testsuite/22_locale/money_get/get/char/4.cc: Likewise.    
3710         * testsuite/22_locale/money_get/get/char/wrapped_env.cc: Likewise. 
3711         * testsuite/22_locale/money_get/get/char/wrapped_locale.cc: Likewise.  
3712         * testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise. 
3713         * testsuite/22_locale/money_get/get/wchar_t/10.cc: Likewise.      
3714         * testsuite/22_locale/money_get/get/wchar_t/11.cc: Likewise.      
3715         * testsuite/22_locale/money_get/get/wchar_t/11528.cc: Likewise.
3716         * testsuite/22_locale/money_get/get/wchar_t/12.cc: Likewise.      
3717         * testsuite/22_locale/money_get/get/wchar_t/13.cc: Likewise.      
3718         * testsuite/22_locale/money_get/get/wchar_t/15.cc: Likewise.      
3719         * testsuite/22_locale/money_get/get/wchar_t/16.cc: Likewise.      
3720         * testsuite/22_locale/money_get/get/wchar_t/17.cc: Likewise.      
3721         * testsuite/22_locale/money_get/get/wchar_t/18.cc: Likewise.      
3722         * testsuite/22_locale/money_get/get/wchar_t/2.cc: Likewise. 
3723         * testsuite/22_locale/money_get/get/wchar_t/3.cc: Likewise. 
3724         * testsuite/22_locale/money_get/get/wchar_t/4.cc: Likewise. 
3725         * testsuite/22_locale/money_get/get/wchar_t/wrapped_env.cc: Likewise.      
3726         * testsuite/22_locale/money_get/get/wchar_t/wrapped_locale.cc: Likewise.
3727         * testsuite/22_locale/money_put/put/char/1.cc: Likewise.  
3728         * testsuite/22_locale/money_put/put/char/2.cc: Likewise.  
3729         * testsuite/22_locale/money_put/put/char/3.cc: Likewise.  
3730         * testsuite/22_locale/money_put/put/char/9780-3.cc: Likewise.      
3731         * testsuite/22_locale/money_put/put/char/wrapped_env.cc: Likewise. 
3732         * testsuite/22_locale/money_put/put/char/wrapped_locale.cc: Likewise.  
3733         * testsuite/22_locale/money_put/put/wchar_t/1.cc: Likewise. 
3734         * testsuite/22_locale/money_put/put/wchar_t/2.cc: Likewise. 
3735         * testsuite/22_locale/money_put/put/wchar_t/3.cc: Likewise. 
3736         * testsuite/22_locale/money_put/put/wchar_t/wrapped_env.cc: Likewise.     
3737         * testsuite/22_locale/money_put/put/wchar_t/wrapped_locale.cc: Likewise.
3738         * testsuite/22_locale/moneypunct/members/char/2.cc: Likewise.
3739         * testsuite/22_locale/moneypunct/members/char/wrapped_env.cc: Likewise.    
3740         * testsuite/22_locale/moneypunct/members/char/wrapped_locale.cc:
3741         Likewise. 
3742         * testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Likewise.   
3743         * testsuite/22_locale/moneypunct/members/wchar_t/wrapped_env.cc:
3744         Likewise.
3745         * testsuite/22_locale/moneypunct/members/wchar_t/wrapped_locale.cc:
3746         Likewise.
3747         * testsuite/22_locale/moneypunct_byname/named_equivalence.cc: Likewise.
3748         * testsuite/22_locale/num_get/get/char/1.cc: Likewise.   
3749         * testsuite/22_locale/num_get/get/char/3.cc: Likewise.   
3750         * testsuite/22_locale/num_get/get/char/5.cc: Likewise.   
3751         * testsuite/22_locale/num_get/get/char/6.cc: Likewise.   
3752         * testsuite/22_locale/num_get/get/char/9.cc: Likewise.   
3753         * testsuite/22_locale/num_get/get/char/wrapped_env.cc: Likewise.
3754         * testsuite/22_locale/num_get/get/char/wrapped_locale.cc: Likewise. 
3755         * testsuite/22_locale/num_get/get/wchar_t/1.cc: Likewise.  
3756         * testsuite/22_locale/num_get/get/wchar_t/3.cc: Likewise.  
3757         * testsuite/22_locale/num_get/get/wchar_t/5.cc: Likewise.  
3758         * testsuite/22_locale/num_get/get/wchar_t/6.cc: Likewise.  
3759         * testsuite/22_locale/num_get/get/wchar_t/9.cc: Likewise.  
3760         * testsuite/22_locale/num_get/get/wchar_t/wrapped_env.cc: Likewise. 
3761         * testsuite/22_locale/num_get/get/wchar_t/wrapped_locale.cc: Likewise. 
3762         * testsuite/22_locale/num_put/put/char/1.cc: Likewise.      
3763         * testsuite/22_locale/num_put/put/char/20909.cc: Likewise.  
3764         * testsuite/22_locale/num_put/put/char/20914.cc: Likewise.  
3765         * testsuite/22_locale/num_put/put/char/3.cc: Likewise.      
3766         * testsuite/22_locale/num_put/put/char/5.cc: Likewise.      
3767         * testsuite/22_locale/num_put/put/char/9780-2.cc: Likewise. 
3768         * testsuite/22_locale/num_put/put/char/wrapped_env.cc: Likewise.    
3769         * testsuite/22_locale/num_put/put/char/wrapped_locale.cc: Likewise. 
3770         * testsuite/22_locale/num_put/put/wchar_t/1.cc: Likewise. 
3771         * testsuite/22_locale/num_put/put/wchar_t/20909.cc: Likewise.   
3772         * testsuite/22_locale/num_put/put/wchar_t/20914.cc: Likewise.   
3773         * testsuite/22_locale/num_put/put/wchar_t/3.cc: Likewise. 
3774         * testsuite/22_locale/num_put/put/wchar_t/5.cc: Likewise.
3775         * testsuite/22_locale/num_put/put/wchar_t/wrapped_env.cc: Likewise.
3776         * testsuite/22_locale/num_put/put/wchar_t/wrapped_locale.cc: Likewise. 
3777         * testsuite/22_locale/numpunct/members/char/2.cc: Likewise.
3778         * testsuite/22_locale/numpunct/members/char/3.cc: Likewise.
3779         * testsuite/22_locale/numpunct/members/char/wrapped_env.cc: Likewise.    
3780         * testsuite/22_locale/numpunct/members/char/wrapped_locale.cc: Likewise.
3781         * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Likewise.    
3782         * testsuite/22_locale/numpunct/members/wchar_t/wrapped_env.cc: Likewise.
3783         * testsuite/22_locale/numpunct/members/wchar_t/wrapped_locale.cc:
3784         Likewise. 
3785         * testsuite/22_locale/numpunct_byname/named_equivalence.cc: Likewise.       
3786         * testsuite/22_locale/time_get/date_order/char/wrapped_env.cc: Likewise.    
3787         * testsuite/22_locale/time_get/date_order/char/wrapped_locale.cc:
3788         Likewise. 
3789         * testsuite/22_locale/time_get/date_order/wchar_t/wrapped_env.cc:
3790         Likewise. 
3791         * testsuite/22_locale/time_get/date_order/wchar_t/wrapped_locale.cc:
3792         Likewise.
3793         * testsuite/22_locale/time_get/get_date/char/12750.cc: Likewise.
3794         * testsuite/22_locale/time_get/get_date/char/2.cc: Likewise.   
3795         * testsuite/22_locale/time_get/get_date/char/wrapped_env.cc: Likewise.      
3796         * testsuite/22_locale/time_get/get_date/char/wrapped_locale.cc:
3797         Likewise.
3798         * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Likewise. 
3799         * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Likewise.     
3800         * testsuite/22_locale/time_get/get_date/wchar_t/4.cc: Likewise.     
3801         * testsuite/22_locale/time_get/get_date/wchar_t/wrapped_env.cc:
3802         Likewise.  
3803         * testsuite/22_locale/time_get/get_date/wchar_t/wrapped_locale.cc:
3804         Likewise.
3805         * testsuite/22_locale/time_get/get_monthname/char/2.cc: Likewise.  
3806         * testsuite/22_locale/time_get/get_monthname/char/wrapped_env.cc:
3807         Likewise.
3808         * testsuite/22_locale/time_get/get_monthname/char/wrapped_locale.cc:
3809         Likewise.
3810         * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Likewise.
3811         * testsuite/22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc:
3812         Likewise.
3813         * testsuite/22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc:
3814         Likewise.
3815         * testsuite/22_locale/time_get/get_time/char/1.cc: Likewise.
3816         * testsuite/22_locale/time_get/get_time/char/2.cc: Likewise.
3817         * testsuite/22_locale/time_get/get_time/char/wrapped_env.cc: Likewise.
3818         * testsuite/22_locale/time_get/get_time/char/wrapped_locale.cc:
3819         Likewise.
3820         * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Likewise.
3821         * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Likewise.
3822         * testsuite/22_locale/time_get/get_time/wchar_t/wrapped_env.cc:
3823         Likewise. 
3824         * testsuite/22_locale/time_get/get_time/wchar_t/wrapped_locale.cc:
3825         Likewise.
3826         * testsuite/22_locale/time_get/get_weekday/char/2.cc: Likewise.
3827         * testsuite/22_locale/time_get/get_weekday/char/wrapped_env.cc:
3828         Likewise.
3829         * testsuite/22_locale/time_get/get_weekday/char/wrapped_locale.cc:
3830         Likewise. 
3831         * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Likewise.
3832         * testsuite/22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc:
3833         Likewise.    
3834         * testsuite/22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc:
3835         Likewise. 
3836         * testsuite/22_locale/time_put/put/char/17038.cc: Likewise. 
3837         * testsuite/22_locale/time_put/put/char/2.cc: Likewise.     
3838         * testsuite/22_locale/time_put/put/char/3.cc: Likewise.     
3839         * testsuite/22_locale/time_put/put/char/4.cc: Likewise.     
3840         * testsuite/22_locale/time_put/put/char/6.cc: Likewise.     
3841         * testsuite/22_locale/time_put/put/char/7.cc: Likewise.     
3842         * testsuite/22_locale/time_put/put/char/8.cc: Likewise.     
3843         * testsuite/22_locale/time_put/put/char/9780-1.cc: Likewise.       
3844         * testsuite/22_locale/time_put/put/char/wrapped_env.cc: Likewise.
3845         * testsuite/22_locale/time_put/put/char/wrapped_locale.cc: Likewise.  
3846         * testsuite/22_locale/time_put/put/wchar_t/17038.cc: Likewise.   
3847         * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
3848         * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
3849         * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
3850         * testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise.
3851         * testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise.
3852         * testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise.
3853         * testsuite/22_locale/time_put/put/wchar_t/wrapped_env.cc: Likewise.     
3854         * testsuite/22_locale/time_put/put/wchar_t/wrapped_locale.cc: Likewise.
3855         * testsuite/27_io/basic_filebuf/imbue/char/13007.cc: Likewise.  
3856         * testsuite/27_io/basic_filebuf/imbue/char/13171-1.cc: Likewise.
3857         * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
3858         * testsuite/27_io/basic_filebuf/imbue/char/13171-4.cc: Likewise.
3859         * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
3860         * testsuite/27_io/basic_filebuf/imbue/char/14975-1.cc: Likewise.
3861         * testsuite/27_io/basic_filebuf/imbue/char/2.cc: Likewise. 
3862         * testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Likewise.       
3863         * testsuite/27_io/basic_filebuf/imbue/wchar_t/12868.cc: Likewise.
3864         * testsuite/27_io/basic_filebuf/imbue/wchar_t/13007.cc: Likewise.   
3865         * testsuite/27_io/basic_filebuf/imbue/wchar_t/13171-3.cc: Likewise. 
3866         * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc: Likewise. 
3867         * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Likewise. 
3868         * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: Likewise. 
3869         * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: Likewise.       
3870         * testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: Likewise.    
3871         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc: Likewise.  
3872         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc: Likewise.  
3873         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc: Likewise.  
3874         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc: Likewise.  
3875         * testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc: Likewise.    
3876         * testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc: Likewise.    
3877         * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise. 
3878         * testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc: Likewise.  
3879         * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: Likewise.  
3880         * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: Likewise.  
3881         * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: Likewise.  
3882         * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: Likewise.  
3883         * testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: Likewise.
3884         * testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: Likewise.
3885         * testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc: Likewise.
3886         * testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc: Likewise.
3887         * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc: Likewise.        
3888         * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Likewise.   
3889         * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc:
3890         Likewise.   
3891         * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/2.cc:
3892         Likewise.
3893         * testsuite/27_io/basic_streambuf/imbue/char/13007-1.cc: Likewise.
3894         * testsuite/27_io/basic_streambuf/imbue/char/13007-2.cc: Likewise.
3895         * testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Likewise.  
3896         * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-1.cc: Likewise.    
3897         * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-2.cc: Likewise.    
3898         * testsuite/27_io/basic_streambuf/imbue/wchar_t/9322.cc: Likewise. 
3899         * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Likewise.    
3900         * testsuite/27_io/basic_stringbuf/imbue/wchar_t/9322.cc: Likewise.
3901         * testsuite/27_io/objects/wchar_t/10.cc: Likewise. 
3902         * testsuite/27_io/objects/wchar_t/11.cc: Likewise. 
3903         * testsuite/27_io/objects/wchar_t/12.cc: Likewise. 
3904         * testsuite/27_io/objects/wchar_t/13.cc: Likewise. 
3905         * testsuite/27_io/objects/wchar_t/9520.cc: Likewise.
3906         * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Likewise.
3908 2005-05-17  Nathan Sidwell  <nathan@codesourcery.com>
3910         * libsupc++/eh_personality.cc (gcc_unreachable): Define.
3912 2005-05-16  Paolo Carlini  <pcarlini@suse.de>
3914         * docs/html/install.html: Update list of required named
3915         locales, add "es_ES".
3917 2005-05-13  Magnus Fromreide  <magfr@lysator.liu.se>
3919         * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Use
3920         initialization instead of copying as the string is used only once.
3921         * testsuite/27_io/basic_streambuf/sgetn/wchar_t/1.cc: Likewise.
3922         * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.
3923         * testsuite/27_io/basic_streambuf/sputn/wchar_t/1.cc: Likewise.
3925 2005-05-12  Benjamin Kosnik  <bkoz@redhat.com>
3927         * scripts/create_testsuite_files: Fix.
3928         
3929 2005-05-12  Kaz Kojima  <kkojima@gcc.gnu.org>
3931         * testsuite/18_support/numeric_limits.cc (dg-options): Add
3932         -mieee to options on sh*-*-*.
3934 2005-05-10  Jonathan Wakely  <redi@gcc.gnu.org>
3936         * include/debug/debug.h: Fix typo in macro name.
3938 2005-05-09  Paolo Carlini  <pcarlini@suse.de>
3939             Giovanni Bajo  <giovannibajo@gcc.gnu.org>
3940             
3941         PR libstdc++/18604
3942         * include/bits/deque.tcc: Fully qualify names from namespace std.
3943         * include/bits/stl_bvector.h: Likewise.
3944         * include/bits/stl_deque.h: Likewise.
3945         * include/bits/stl_list.h: Likewise.
3946         * include/bits/stl_map.h: Likewise.
3947         * include/bits/stl_multimap.h: Likewise.
3948         * include/bits/stl_multiset.h: Likewise.
3949         * include/bits/stl_set.h: Likewise.
3950         * include/bits/stl_vector.h: Likewise.
3951         * include/bits/vector.tcc: Likewise.
3952         * include/std/std_bitset.h: Likewise.
3953         * testsuite/23_containers/bitset/18604.cc: New.
3954         * testsuite/23_containers/deque/18604.cc: Likewise.
3955         * testsuite/23_containers/list/18604.cc: Likewise.
3956         * testsuite/23_containers/map/18604.cc: Likewise.
3957         * testsuite/23_containers/set/18604.cc: Likewise.
3958         * testsuite/23_containers/vector/18604.cc: Likewise.    
3960 2005-05-09  Mike Stump  <mrs@apple.com>
3962         * configure: Regenerate.
3964 2005-05-09  Jonathan Wakely  <redi@gcc.gnu.org>
3966         DR 434. bitset::to_string() hard to use [Ready]
3967         * include/debug/bitset (to_string): Add three overloads, taking
3968         fewer template arguments.
3970 2005-05-06  Mark Mitchell  <mark@codesourcery.com>
3972         * testsuite/testsuite_hooks.cc (try_mkfifo): Remove.
3973         * testsuite/testsuite_hooks.h (try_mkfifo): Likewise.
3974         * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
3975         dg-require-fork and dg-require-mkfifo.  Replace try_mkfifo with
3976         mkfifo.
3977         * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
3978         * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
3979         * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
3980         * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc:
3981         Likewise.
3982         * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
3983         Likewise.
3984         * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
3985         * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc:
3986         Likewise.
3987         * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
3988         * testsuite/27_io/objects/char/7.cc: Likewise.
3989         * testsuite/27_io/objects/char/9661-1.cc: Likewise.
3990         * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
3991         * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
3993 2005-05-04  Benjamin Kosnik  <bkoz@redhat.com>
3995         * acinclude.m4: Remove testsuite_wchar_t and testsuite_thread.
3996         * testsuite/Makefile.am: Same.
3997         * scripts/create_testsuite_files: Same. 
3998         * Makefile.in: Regenerate.
3999         * configure: Same.
4000         * include/Makefile.in: Same.
4001         * libmath/Makefile.in: Same.
4002         * libsupc++/Makefile.in: Same.
4003         * po/Makefile.in: Same.
4004         * src/Makefile.in: Same.
4006 2005-05-04  Mark Mitchell  <mark@codesourcery.com>
4008         * testsuite/lib/libstdc++.exp (v3-build_support): Look for
4009         __GTHREADS, rather than _GLIBCXX_HAVE_GTHR_DEFAULT, to determine
4010         whether or not thread support is available.
4012         * docs/html/test.html: Explain how to run the testsuite on an
4013         installed directory. 
4015 2005-05-01  Paolo Carlini  <pcarlini@suse.de>
4017         * config/os/aix/os_defines.h: Remove obsolete __off_t,
4018         __off64_t, __ssize_t defines.
4019         * config/os/djgpp/os_defines.h: Likewise.
4020         * config/os/hpux/os_defines.h: Likewise.
4021         * config/os/irix/irix5.2/os_defines.h: Likewise.
4022         * config/os/irix/irix6.5/os_defines.h: Likewise.
4023         * config/os/solaris/solaris2.5/os_defines.h: Likewise.
4024         * config/os/solaris/solaris2.6/os_defines.h: Likewise.
4025         * config/os/solaris/solaris2.7/os_defines.h: Likewise.
4026         * docs/html/17_intro/porting.html: Don't discuss the defines.
4027         * docs/html/17_intro/porting.texi: Likewise.
4029 2005-04-29  Paolo Carlini  <pcarlini@suse.de>
4030             Nathan Myers  <ncm@cantrip.org>
4032         PR libstdc++/21286
4033         * include/bits/fstream.tcc (basic_filebuf<>::xsgetn):
4034         Loop on short reads; remove the work-around for
4035         libstdc++/20806, not needed anymore.
4037 2005-04-29  Paolo Carlini  <pcarlini@suse.de>
4039         PR libstdc++/21238
4040         * include/bits/locale_facets.tcc (num_get::_M_extract_float,
4041         num_get::_M_extract_int, num_get::do_get(bool&),
4042         num_put::_M_insert_int, num_put::_M_insert_float,
4043         num_put::do_put(bool), money_get::_M_extract,
4044         money_put::_M_insert): Adjust the __cache_type typedef not to
4045         forward to a numpunct/moneypunct typedef.
4046         * testsuite/testsuite_character.h: Add pod_uint and its numpunct
4047         and moneypunct specializations.
4048         * testsuite/testsuite_character.cc: Add numpunct<pod_uint>::id
4049         and moneypunct<pod_uint>::id.
4050         * testsuite/22_locale/num_get/3.cc: New.
4051         * testsuite/22_locale/num_put/3.cc: Likewise.
4052         * testsuite/22_locale/money_get/3.cc: Likewise.
4053         * testsuite/22_locale/money_put/3.cc: Likewise.
4055         * include/bits/locale_facets.tcc (money_put::_M_insert,
4056         time_get::_M_extract_name): Prefer operator== to operator!=
4057         on char_types.
4059 2005-04-29  Paolo Carlini  <pcarlini@suse.de>
4061         * include/tr1/type_traits (is_convertible): Adjust according
4062         to the resolution of TR1 issue 3.20.
4063         * testsuite/tr1/4_metaprogramming/relationships_between_types/
4064         is_convertible/is_convertible.cc: Add tests.
4066 2005-04-28  Paolo Carlini  <pcarlini@suse.de>
4067             Gabriel Dos Reis  <gdr@integrable-solutions.net>
4069         PR libstdc++/21244 (cont)
4070         * include/bits/cpp_type_traits.h (struct __traitor): Convert
4071         to bool the values.
4072         * include/bits/stl_algo.h: Convert _S_threshold to int.
4073         * include/bits/stl_bvector.h: Revert previous change, convert
4074         _S_word_bit to int.
4075         * include/debug/formatter.h: Convert __max_parameters to
4076         size_t.
4077         * include/ext/mt_allocator.h: Likewise for _S_chunk_size.
4078         * include/ext/pool_allocator.h: Likewise for _S_max_bytes and
4079         _S_align.
4080         * include/ext/rope: Likewise for _S_alloc_granularity; convert
4081         _S_max_rope_depth to int.
4082         * include/ext/ropeimpl.h: Convert _S_path_cache_len to int;
4083         _S_max_rope_depth to int; _S_copy_max to size_t.
4085 2005-04-27  Benjamin Kosnik  <bkoz@redhat.com>
4087         * docs/doxygen/user.cfg.in: Update to doxygen-1.4.2.
4088         * docs/doxygen/doxygroups.cc: Update namespace comments.
4090 2005-04-27  Dominik Strasser  <dominik.strasser@infineon.com>
4091             Paolo Carlini  <pcarlini@suse.de>
4093         PR libstdc++/21244
4094         * include/bits/stl_bvector.h: Change the anonymous enum
4095         at namespace scope to _S_word_bit_enum.
4096         * testsuite/23_containers/vector/bool/21244.cc: New.
4098 2005-04-27  Paolo Carlini  <pcarlini@suse.de>
4100         * include/tr1/type_traits (has_trivial_copy, has_trivial_assign,
4101         has_nothrow_copy, has_nothrow_assign): Adjust according to the
4102         resolution of TR1 issue 3.21.
4103         * testsuite/testsuite_tr1.h (test_copy_property,
4104         test_assign_property): Remove.
4105         * testsuite/tr1/4_metaprogramming/type_properties/
4106         has_nothrow_assign/has_nothrow_assign.cc: Adjust.
4107         * testsuite/tr1/4_metaprogramming/type_properties/
4108         has_nothrow_copy/has_nothrow_copy.cc: Likewise.
4109         * testsuite/tr1/4_metaprogramming/type_properties/
4110         has_trivial_assign/has_trivial_assign.cc: Likewise.
4111         * testsuite/tr1/4_metaprogramming/type_properties/
4112         has_trivial_copy/has_trivial_copy.cc: Likewise.
4114 2005-04-26  Jones Desougi  <jones@ingate.com>
4116         PR libstdc++/21131
4117         * linkage.m4: Fix comments.
4119 2005-04-26  Paolo Carlini  <pcarlini@suse.de>
4121         PR libstdc++/21209
4122         * include/bits/locale_facets.tcc (_M_extract_int): Avoid signed
4123         integer overflow, always use a suited unsigned type in the main
4124         parsing loop.
4125         (struct __to_unsigned_type): New.
4126         * testsuite/22_locale/num_get/get/char/16.cc: New.
4127         * testsuite/22_locale/num_get/get/wchar_t/16.cc: Likewise.
4129 2005-04-25  Paolo Carlini  <pcarlini@suse.de>
4131         PR libstdc++/21035
4132         * include/bits/basic_string.h (compare): Adjust the documentation
4133         to match the implementation and the standard.
4135 2005-04-24  Paolo Carlini  <pcarlini@suse.de>
4137         * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 35.
4139 2005-04-20  Mark Mitchell  <mark@codesourcery.com>
4141         * testsuite/ext/bitmap_allocator/check_allocate_max_size.cpp: Add
4142         explicit instantiations for systems without weak symbols.
4143         * testsuite/ext/bitmap_allocator/check_deallocate_null.cc:
4144         Likewise. 
4146 2005-04-18  Jonathan Wakely  <redi@gcc.gnu.org>
4148         * include/bits/stl_algo.h (rotate_copy): Add missing std qualification.
4150 2005-04-17  Paolo Carlini  <pcarlini@suse.de>
4152         PR libstdc++/20914
4153         * include/bits/locale_facets.tcc (__int_to_char(_CharT*, _ValueT,
4154         const _CharT*, ios_base::fmtflags, bool)): Don't deal with numeric
4155         base or sign here, instead...
4156         (_M_insert_int(_OutIter, ios_base&, _CharT, _ValueT)): ... here,
4157         after adding the grouping. This fixes the bug and also allows to
4158         clean-up the code dealing with integer types.
4159         (_M_group_int(const char*, size_t, _CharT, ios_base&, _CharT*,
4160         _CharT*, int&)): Simplify, remove bits dealing with numeric base.
4161         (__int_to_char(_CharT*, unsigned long, const _CharT*,
4162         ios_base::fmtflags), __int_to_char(_CharT*, unsigned long long,
4163         const _CharT*, ios_base::fmtflags)): Remove hackish fix for
4164         libstdc++/15565.
4165         (__int_to_char(_CharT*, long, const _CharT*, ios_base::fmtflags),
4166         __int_to_char(_CharT*, long long, const _CharT*, ios_base::fmtflags)):
4167         Simplify, don't pass the sign.
4168         (_M_insert_float(_OutIter, ios_base&, _CharT, char, _ValueT)):
4169         Deal with a sign at the beginning of __cs; robustify the grouping
4170         check.
4171         * testsuite/22_locale/num_put/put/char/20914.cc: New.
4172         * testsuite/22_locale/num_put/put/wchar_t/20914.cc: Likewise.
4174 2005-04-14  Benjamin Kosnik  <bkoz@redhat.com>
4176         * include/ext/bitmap_allocator.h
4177         (__gnu_cxx::free_list::_M_get_mutex): New.
4178         (__gnu_cxx::free_list::_M_get_free_list): New.
4179         (__gnu_cxx::free_list::_S_bfl_mutex): Remove.
4180         (__gnu_cxx::free_list::_S_free_list): Remove.
4181         * src/bitmap_allocator.cc: Same.
4182         * config/linker-map.gnu: Remove free_list and mutex export.
4184 2005-04-14  Benjamin Kosnik  <bkoz@redhat.com>
4186         *  include/ext/pod_char_traits.h (__gnu_cxx::character): Add char_type.
4187         (character::to): New.
4188         (character::from): New.
4189         (operator==): Add state parameter.
4190         (operator<): Same.
4191         (char_traits::copy): Use std::copy.
4192         (char_traits::assign): Use std::fill_n.
4193         (char_traits::to_char_type): Use character::from.
4194         (char_traits::to_int_type): Use character::to.
4195         *  testsuite/testsuite_character.h (__gnu_test::character): Remove.
4196         (__gnu_test::conversion_state): Remove.
4197         (__gnu_test::pod_char): Remove.
4198         (pod_char): New typedef.
4199         (pod_uchar): New typedef.
4200         (pod_ushort): New typedef.
4201         *  testsuite/testsuite_character.cc: Fixups.
4202         *  testsuite/21_strings/basic_string/inserters_extractors/pod/
4203         10081-in.cc: Same.
4204         *  testsuite/21_strings/basic_string/inserters_extractors/pod/
4205         10081-out.cc: Same.
4206         *  testsuite/22_locale/numpunct/members/pod/1.cc: Same.
4207         *  testsuite/22_locale/numpunct/members/pod/2.cc: Same.
4208         *  testsuite/27_io/basic_filebuf/close/12790-1.cc: Same.
4209         *  testsuite/27_io/basic_filebuf/open/12790-1.cc: Same.
4210         *  testsuite/27_io/basic_filebuf/seekoff/12790-1.cc: Same.
4211         *  testsuite/27_io/basic_filebuf/seekoff/12790-2.cc: Same.
4212         *  testsuite/27_io/basic_filebuf/seekoff/12790-3.cc: Same.
4213         *  testsuite/27_io/basic_filebuf/seekoff/12790-4.cc: Same.
4214         *  testsuite/27_io/basic_filebuf/seekpos/12790-1.cc: Same.
4215         *  testsuite/27_io/basic_filebuf/seekpos/12790-2.cc: Same.
4216         *  testsuite/27_io/basic_filebuf/seekpos/12790-3.cc: Same.
4217         *  testsuite/27_io/basic_ios/imbue/14072.cc: Same.
4218         *  testsuite/27_io/basic_istream/extractors_arithmetic/pod/
4219         3983-1.cc: Same.
4220         *  testsuite/27_io/basic_istream/extractors_character/pod/
4221         3983-2.cc: Same.
4222         *  testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc: Same.
4223         *  testsuite/27_io/basic_istream/sentry/pod/1.cc: Same.
4224         *  testsuite/27_io/basic_ostream/sentry/pod/1.cc: Same.
4226 2005-04-12  Mike Stump  <mrs@apple.com>
4228         * configure: Regenerate.
4230 2005-04-08  Benjamin Kosnik  <bkoz@redhat.com>
4232         * testsuite/Makefile.am: Remove libv3test.a.
4233         * testsuite/Makefile.in: Regenerate.
4234         * testsuite/lib/libstdc++.exp (v3_target_compile): Fix comments.
4235         
4236 2005-04-08  Paolo Carlini  <pcarlini@suse.de>
4238         PR libstdc++/20909
4239         * include/bits/locale_facets.tcc (num_put<>::_M_insert_float):
4240         Don't even try to group numbers like 2e20, i.e., no decimal
4241         point, scientific notation.
4242         * testsuite/22_locale/num_put/put/char/20909.cc: New.
4243         * testsuite/22_locale/num_put/put/wchar_t/20909.cc: Likewise.
4245 2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>
4247         * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Define _GLIBCXX_ASM_SYMVER.
4248         * acconfig.h: Delete file.
4249         * Makefile.in, acinclude.m4, configure: Regenerate.
4251 2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>
4253         * linkage.m4 (GLIBCXX_MAYBE_UNDERSCORED_FUNCS): New macro.
4254         (GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_1,
4255         GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_2,
4256         GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_3,
4257         GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1,
4258         GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_2): Use it.
4259         (GLIBCXX_CHECK_MATH_SUPPORT): Delete obsolete comment.
4260         * acconfig.h: Delete redundant macros.
4261         * config.h.in, configure: Regenerate.
4263 2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>
4265         * linkage.m4 (GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1): Eliminate
4266         a subshell and if test fails, test for same functions with 
4267         leading underscore.
4268         (GLIBCXX_CHECK_MATH_SUPPORT): Eliminate seperate checks for _funcs.
4269         * configure: Regenerate.
4271 2005-04-08  Danny Smith  <dannysmith@users.sourceforge.net>
4272             Paolo Carlini  <pcarlini@suse.de>
4273                         
4274         PR libstdc++/20806
4275         * config/os/mingw32/os_defines.h: Define
4276         _GLIBCXX_HAVE_DOS_BASED_FILESYSTEM.
4277         * config/os/newlib/os_defines.h: Likewise, for __CYGWIN__.
4278         * include/bits/fstream.tcc (basic_filebuf<>::showmanyc()):
4279         Use it.
4280         (basic_filebuf<>::xsgetn(_CharT*, streamsize)): Likewise.
4282 2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>
4284         * acconfig.h: Sort the bottom section.
4285         * config.h.in: Regenerate.
4287 2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>
4289         * acconfig.h: Remove redundant HAVE_FLOAT_H.
4290         * config.h.in: Regenerate.
4292 2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>
4294         * configure.ac: Create template for PACKAGE and VERSION.
4295         Update comment on how to regenerate file.  Update minimum
4296         automake version to 1.9.3.
4297         * acconfig.h: Remove PACKAGE and VERSION.
4298         * aclocal.m4, configure, Makefile.in, po/Makefile.in, 
4299         src/Makefile.in, include/Makefile.in, libmath/Makefile.in, 
4300         testsuite/Makefile.in, config.h.in: Regenerate.
4302 2005-04-06  Benjamin Kosnik  <bkoz@redhat.com>
4304         * docs/html/test.html: Update.
4305         * testsuite/printnow.c: Remove.
4306         * scripts/check_survey.in: Remove.
4308         * testsuite/abi_check.cc: To...
4309         * testuite/testsuite_abi_check.cc: ...here.
4310         * testsuite/libstdc++-abi/abi.exp: Change abi_check.cc to
4311         testsuite_abi_check.cc.
4313         * testsuite/testsuite_hooks.h: Move character related bits to...
4314         * testsuite/testsuite_character.h: ...here.
4315         * testsuite/testsuite_character.cc: ... and here.
4316         * testsuite/21_strings/basic_string/inserters_extractors/pod/
4317         10081-in.cc: Use testsuite_character.h.
4318         * testsuite/21_strings/basic_string/inserters_extractors/pod/
4319         10081-out.cc: Same.
4320         * testsuite/22_locale/numpunct/members/pod/1.cc: Same.
4321         * testsuite/22_locale/numpunct/members/pod/2.cc: Same.
4322         * testsuite/27_io/basic_filebuf/2.cc: Same.
4323         * testsuite/27_io/basic_fstream/2.cc: Same.
4324         * testsuite/27_io/basic_istream/2.cc: Same.
4325         * testsuite/27_io/basic_istream/extractors_arithmetic/pod/
4326         3983-1.cc: Same.
4327         * testsuite/27_io/basic_istream/extractors_character/char/
4328         9826.cc: Same.
4329         * testsuite/27_io/basic_istream/extractors_character/pod/
4330         3983-2.cc: Same.
4331         * testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc: Same.
4332         * testsuite/27_io/basic_istream/sentry/pod/1.cc: Same.
4333         * testsuite/27_io/basic_ostream/2.cc: Same.
4334         * testsuite/27_io/basic_ostream/sentry/pod/1.cc: Same.
4335         * testsuite/27_io/basic_streambuf/2.cc: Same.
4336         * testsuite/27_io/basic_stringbuf/2.cc: Same.
4337         * testsuite/27_io/basic_stringbuf/4.cc: Same.
4338         * testsuite/27_io/basic_stringstream/2.cc: Same.
4339         * testsuite/27_io/fpos/1.cc: Same.
4340         * testsuite/ext/mt_allocator/tune-1.cc: Same.
4341         * testsuite/ext/mt_allocator/tune-2.cc: Same.
4342         * testsuite/ext/stdio_filebuf/char/1.cc: Same.  
4343         * testsuite/lib/libstdc++.exp (v3-build_support): Add
4344         testsuite_character.cc.
4345         * testsuite/Makefile.am (libv3test_a_SOURCES): Add
4346         testsuite_character.cc.
4347         * testsuite/Makefile.in: Regenerate.
4348                 
4349         * configure.ac: Remove use of check_survey.
4350         * configure: Regenerate.
4351         * testsuite/Makefile.am: Remove check-script and
4352         check-script-install rules.
4353         * testsuite/Makefile.in: Regenerate.
4355 2005-04-06  Ulrich Weigand  <uweigand@de.ibm.com>
4357         * config/cpu/s390/atomicity.h (__exchange_and_add): Add "memory"
4358         clobber to inline assembly statement.
4360 2005-04-06  Kelley Cook  <kcook@gcc.gnu.org>
4362         * acinclude.m4 (_GLIBCXX_USE_LONG_LONG,
4363         _GLIBCXX_USE_WCHAR_T, _GLIBCXX_USE_C99, _GLIBCXX_USE_C99_MATH,
4364         _GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_RES_LIMITS, _GLIBCXX_CONCEPT_CHECKS,
4365         _GLIBCXX_SYMVER, _GLIBCXX_USE_LFS, _GLIBCXX_FULLY_DYNAMIC_STRING,
4366         _GLIBCXX_USE_NLS, HAVE_GTHR_DEFAULT, HAVE_MBSTATE_T, HAVE_POLL,
4367         HAVE_S_ISREG, HAVE_S_IFREG, HAVE_WRITEV, HAVE_INT64_T,
4368         HAVE_LC_MESSAGES): Use long form of AC_DEFINE ...
4369         * acconfig.h: ... to eliminate them from here.
4370         (_GLIBCXX_ASM_SYMVER): Move definition below @BOTTOM@.
4371         * config.h.in, configure: Regenerate.
4372         
4373 2005-04-05  Kelley Cook  <kcook@gcc.gnu.org>
4375         * Makefile.am (ACLOCAL_AMFLAGS): Define.
4376         * crossconfig.m4: Wrap file into new GLIBCXX_CROSSCONFIG macro.
4377         * configure.ac: Use it.
4378         * acinclude.m4: Delete explicit m4_includes and sincludes.
4379         * aclocal.m4, configure, Makefile.in, po/Makefile.in, 
4380         src/Makefile.in, include/Makefile.in, libmath/Makefile.in, 
4381         testsuite/Makefile.in: Regenerate.
4383 2005-04-05  Jonathan Wakely  <redi@gcc.gnu.org>
4385         * include/tr1/memory, include/tr1/boost_shared_ptr.h: Use mutex
4386         to make _Sp_counted_base::add_ref_lock() thread-safe. Check whether
4387         to destroy resources by testing for equality, not inequality. Add
4388         empty critical sections to solve memory visibility issues.
4389         * testsuite/tr1/2_general_utilities/memory/
4390         shared_ptr/cons/auto_ptr_neg.cc: Use dg-excess-errors instead of
4391         explicitly listing line numbers which need to be kept in sync.
4392         * testsuite/tr1/2_general_utilities/memory/
4393         shared_ptr/assign/auto_ptr_neg.cc: Same.
4394         * testsuite/tr1/2_general_utilities/memory/
4395         shared_ptr/assign/auto_ptr_rvalue_neg.cc: Same.
4396         * testsuite/tr1/2_general_utilities/memory/
4397         shared_ptr/cons/weak_ptr_expired.cc: Make XFAIL for consistency when
4398         -fno-exceptions.
4399         * testsuite/tr1/2_general_utilities/memory/
4400         enable_shared_from_this/not_shared.cc: Add explanatory comments.
4401         * testsuite/tr1/2_general_utilities/memory/
4402         enable_shared_from_this/not_shared2.cc: Same.
4403         * testsuite/tr1/2_general_utilities/memory/
4404         enable_shared_from_this/not_shared3.cc: Same.
4406 2005-04-05  Kelley Cook  <kcook@gcc.gnu.org>
4408         * acconfig.h: Delete macros already AC_DEFINED.
4409         * config.h.in: Regenerate.
4411 2005-04-05  Kelley Cook  <kcook@gcc.gnu.org>
4413         * acconfig.h (HAVE_MODF): Remove.
4414         * linkage.m4: Check for modf.
4415         * config.h.in, configure: Regenerate.
4417 2005-04-05  Kelley Cook  <kcook@gcc.gnu.org>
4419         * acconfig.h (ENABLE_NLS, HAVE_CATGETS): Remove.
4420         (HAVE_GETTEXT, HAVE_STPCPY): Likewise.
4421         * config.h.in: Regenerate.
4422         
4423 2005-04-05  Kelley Cook  <kcook@gcc.gnu.org>
4425         * linkage.m4 (GLIBCXX_CHECK_BUILTIN_MATH_DEC): Use m4 translit macro 
4426         to convert to uppercase instead of shelling out to tr.
4427         * acconfig.h: Remove now redundant HAVE__BUILTINS_*.
4428         * configure, config.h.in: Regenerate.
4430 2005-04-05  Kelley Cook  <kcook@gcc.gnu.org>
4432         * acconfig.h (HAVE_TANL): Correct cut-and-paste typo.
4433         * config.h.in: Regenerate.
4435 2005-04-04  Mark Mitchell  <mark@codesourcery.com>
4437         * testsuite/Makefile.am (check-local): Remove.
4438         (curent_symbols.txt): Likewise.
4439         (check-abi): Do not depend on current_symbols.txt.
4440         * testsuite/Makefile.in: Regenerated.
4441         * testsuite/libstdc++-abi/abi.exp: Build current_symbols.txt.
4443 2005-04-02  Douglas Gregor  <doug.gregor@gmail.com>
4444         
4445         * include/tr1/tuple_iterate.h (tuple_element): Use new macro
4446         _GLIBCXX_T_NUM_ARGS_PLUS_1 because _T is a macro on Darwin.
4447         * include/tr1/repeat.h (_GLIBCXX_T_NUM_ARGS_PLUS_1): Define for
4448         each iteration.
4449         * scripts/gen_includers.h: Define _GLIBCXX_T_NUM_ARGS_PLUS_1 for
4450         each iteration.
4451         
4452 2005-04-01  Douglas Gregor  <doug.gregor@gmail.com>
4454         * include/tr1/functional (_Maybe_wrap_member_pointer): Wrap up
4455         member pointers in _Mem_fn but let other function objects pass
4456         through unchanged.
4457         * include/tr1/functional_iterator (bind): Reduce number of bind()
4458         overloads to two to eliminate ambiguities. Use
4459         _Maybe_wrap_member_pointer to handle member pointers gracefully.
4460         
4461 2005-04-01  Mark Mitchell  <mark@codesourcery.com>
4463         * testsuite/Makefile.am (noinst_PROGRAMS): Remove.
4464         (site.exp): Write out the path to the baseline file.
4465         (check-abi): Use DejaGNU.
4466         (check-abi-verbose): Remove.
4467         * testsuite/Makefile.in: Regenerated.
4468         * testsuite/abi_check.cc (main): Check the return value from
4469         compare_symbols.
4470         * testsuite/testsuite_abi.cc (compare_symbols): Return a value.
4471         * testsuite/testsuite_abi.h (compare_symbols): Adjust prototype.
4472         * testsuite/libstdc++-abi/abi.exp: New file.
4474 2005-03-31  Chris Jefferson  <chris@bubblescope.net>
4476         * include/tr1/tuple: Support iteration via tuple_iterate.h.
4477         * include/tr1/tuple_iterate.h: Iteration file for tuple.
4479 2005-03-31  Douglas Gregor  <doug.gregor@gmail.com>
4481         * include/Makefile.am (tr1_headers): Add bind and mu repetition
4482         headers and reference_wrapper<> forwarding header.
4483         * include/Makefile.in: Regenerate.
4484         * include/tr1/bind_iterate.h: Implementation of function call
4485         operators for the function object returned from tr1::bind().
4486         * include/tr1/bind_repeat.h: Bind-specific repetition header,
4487         akin to include/tr1/repeat.h.
4488         * include/tr1/functional (_Mem_fn): Bug fix: declare result member
4489         template for use with result_of.
4490         (is_bind_expression): New.
4491         (is_placeholder): New.
4492         (_Placeholder): New. Placeholder type for bind.
4493         (_Mu): New. Implementation detail of bind.
4494         (_Bind, _Bind_result): New. Function objects returned by bind.
4495         (_GLIBCXX_JOIN): New. Required to create bind placeholders.
4496         * include/tr1/functional_iterate.h (_Bind, _Bind_result, bind):
4497         New. Implementation of tr1::bind.
4498         * include/tr1/mu_iterate.h (_Mu): result template and operator()
4499         for the _Mu helper to bind.
4500         * include/tr1/ref_fwd.h (reference_wrapper): Forward declaration
4501         used by tuple header.
4502         (ref): Ditto.
4503         (cref): Ditto.
4504         * include/tr1/repeat.h: Add bind-specific repetition macros.
4505         * include/tr1/tuple: Use reference_wrapper forwarding header for
4506         initial definitions, then include <tr1/functional> at the end, to
4507         make the circular dependencies work.
4508         (tie): Support zero-argument tie() function.
4509         * testsuite/tr1/3_function_objects/bind/all_bound.cc: New test of
4510         bind() functionality with parameters bound.
4511         * testsuite/tr1/3_function_objects/bind/nested.cc: New test of
4512         nested bind() expressions.
4513         * testsuite/tr1/3_function_objects/bind/placeholders.cc: New test
4514         of bind() placeholders.
4515         * testsuite/tr1/3_function_objects/bind/ref.cc: New test of bind()
4516         with arguments bound via reference_wrapper<>.
4517         * scripts/gen_includers.pl: Generate the repetitive part of
4518         include/tr1/repeat.h.
4519         * scripts/gen_bind_includers.pl: Generate the repetitive part of
4520         include/tr1/bind_repeat.h. 
4521         
4522 2005-03-30  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
4524         * testsuite/Makefile.am (CXX): Use ${SHELL}.
4525         (GLIBCXX_INCLUDES): Same.
4526         (AM_CXXFLAGS): Same.
4527         * testsuite/Makefile.in: Regenerate.
4529 2005-03-25  Mark Mitchell  <mark@codesourcery.com>
4531         * testsuite/lib/libstdc++.exp (libstdc++_init): Define LOCALEDIR
4532         when testing an installed compiler.
4533         
4534         * testsuite/lib/libstdc++.exp (v3-build_support): Pass -w when
4535         compiling support objects.
4537 2005-03-24  Benjamin Kosnik  <bkoz@redhat.com>
4539         * include/tr1/memory: Forward to...
4540         * include/tr1/boost_shared_ptr.h: ...here. Add Boost Software License.
4541         * include/Makefile.am (tr1_headers): Add boost_shared_ptr.h.
4542         * include/Makefile.in: Regenerate.
4543         * testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/
4544         auto_ptr_neg.cc: Adjust line numbers.
4546 2005-03-23  Mark Mitchell  <mark@codesourcery.com>
4548         * testsuite/Makefile.am (all-local): Do not build testsuite_files.
4549         * testsuite/Makefile.in: Regenerated. 
4551 2005-03-23  Benjamin Kosnik  <bkoz@redhat.com>
4553         * acinclude.m4: Adjust so that _GLIBCXX_USE_C99 implies
4554         using _GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_USE_C99_MATH, and
4555         _GLIBCXX_USE_C99_WCHAR.
4556         Remove GLIBCXX_ENABLE_C_MBCHAR, consolidate in GLIBCXX_ENABLE_C99
4557         and GLIBCXX_ENABLE_WCHAR_T.
4558         Take C99 bits from GLIBCXX_CHECK_WCHAR_T_SUPPORT and put in 
4559         GLIBCXX_ENABLE_C99.
4560         Change remaining parts of GLIBCXX_CHECK_WCHAR_T_SUPPORT to
4561         GLIBCXX_CHECK_ICONV_SUPPORT.
4562         * configure.ac: Remove GLIBCXX_ENABLE_C_MBCHAR, use
4563         GLIBCXX_CHECK_ICONV_SUPPORT and GLIBCXX_ENABLE_WCHAR_T.
4564         * crossconfig.m4: Same.
4565         * acconfig.h: Same, adjust comments.
4566         * config.h.in: Regenerate.
4567         * configure: Regenerate.
4568         * docs/html/configopts.html: Change --enable-c-mbchar to
4569         --enable-wchar_t.
4571         * config/locale/gnu/c++locale_internal.h: Guard wide functions
4572         with _GLIBCXX_USE_WCHAR_T.
4573         * include/c_std/std_cwctype.h: Alphabetize, remove duplicates.
4574         * include/c_std/std_cstdio.h: Spacing.
4576         * config/locale/gnu/c_locale.h: Tweaks for unused warnings.
4577         * src/debug.cc: Same.
4579 2005-03-23  Mark Mitchell  <mark@codesourcery.com>
4581         * testsuite/libstdc++-dg/normal.exp: Read testsuite_files, if it
4582         exists.
4584         * testsuite/lib/libstdc++.exp (libstdc++_wchar_t): Rename to ...
4585         (v3-wchar_t): ... this.
4586         (libstdc++_threads): Rename to ...
4587         (v3-threads): ... this.
4588         (libstdc++_test_objs): Rename to ...
4589         (v3-test_objs): ... this.
4590         (libstdc++_build_support): Rename to ...
4591         (v3-build_support): ... this.
4592         * testsuite/libstdc++-dg/normal.exp: Adjust to use new names.
4594         * testsuite/lib/libstdc++.exp (libstdc++_init): Improve handling
4595         of compilers not in the build directory.
4596         (libstdc++_wchar_t): New variable.
4597         (libstdc++_threads): Likewise.
4598         (libstdc++_test_objs): Likewise.
4599         (v3_target_compile): Use libstdc++_test_objs.
4600         (v3-list-tests): Remove.
4601         (listdc++_build_support): New function.
4602         * testsuite/libstdc++-dg/normal.exp: Rework to dynamically
4603         generate list of tests.
4605 2005-03-21  Chris Jefferson  <chris@bubblescope.net>
4607         PR libstdc++/20577
4608         * include/bits/stl_algobase.h (iter_swap): Only delegate iter_swap
4609         to swap when the iterator's reference_type is a reference to its
4610         value_type.
4611         * testsuite/25_algorithms/iter_swap/20577.cc: New.
4613 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
4615         * acinclude.m4 (GLIBCXX_CONFIGURE): Delete gcc_version logic.
4616         (GLIBCXX_EXPORT_INSTALL_INFO): Adjust quotation so ${gcc_version}
4617         is expanded by the Makefiles, not by configure.
4618         * fragment.am: Set gcc_version.
4619         * libmath/Makefile.am: Likewise.
4620         * configure, Makefile.in, include/Makefile.in, libmath/Makefile.in
4621         * libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in
4622         * testsuite/Makefile.in: Regenerate.
4624 2005-03-16  Paolo Carlini  <pcarlini@suse.de>
4626         * testsuite/20_util/functional/binders.cc: Remove explicit
4627         instantiations for non-weak systems.
4628         * testsuite/20_util/memory/allocator/1.cc: Likewise.
4629         * testsuite/20_util/memory/allocator/10378.cc: Likewise.
4630         * testsuite/20_util/memory/allocator/10416.cc: Likewise.
4631         * testsuite/20_util/memory/allocator/8230.cc: Likewise.
4632         * testsuite/20_util/utility/rel_ops.cc: Likewise.
4633         * testsuite/22_locale/ctype/is/char/2.cc: Likewise.
4634         * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
4635         * testsuite/23_containers/deque/cons/1.cc: Likewise.
4636         * testsuite/23_containers/deque/cons/2.cc: Likewise.
4637         * testsuite/23_containers/deque/invalidation/1.cc: Likewise.
4638         * testsuite/23_containers/deque/invalidation/2.cc: Likewise.
4639         * testsuite/23_containers/deque/invalidation/3.cc: Likewise.
4640         * testsuite/23_containers/deque/invalidation/4.cc: Likewise.
4641         * testsuite/23_containers/deque/modifiers/swap.cc: Likewise.
4642         * testsuite/23_containers/deque/operators/1.cc: Likewise.
4643         * testsuite/23_containers/list/capacity/1.cc: Likewise.
4644         * testsuite/23_containers/list/cons/1.cc: Likewise.
4645         * testsuite/23_containers/list/cons/2.cc: Likewise.
4646         * testsuite/23_containers/list/cons/3.cc: Likewise.
4647         * testsuite/23_containers/list/cons/4.cc: Likewise.
4648         * testsuite/23_containers/list/cons/5.cc: Likewise.
4649         * testsuite/23_containers/list/cons/6.cc: Likewise.
4650         * testsuite/23_containers/list/cons/7.cc: Likewise.
4651         * testsuite/23_containers/list/cons/8.cc: Likewise.
4652         * testsuite/23_containers/list/cons/9.cc: Likewise.
4653         * testsuite/23_containers/list/invalidation/1.cc: Likewise.
4654         * testsuite/23_containers/list/invalidation/2.cc: Likewise.
4655         * testsuite/23_containers/list/invalidation/3.cc: Likewise.
4656         * testsuite/23_containers/list/invalidation/4.cc: Likewise.
4657         * testsuite/23_containers/list/modifiers/1.cc: Likewise.
4658         * testsuite/23_containers/list/modifiers/2.cc: Likewise.
4659         * testsuite/23_containers/list/modifiers/3.cc: Likewise.
4660         * testsuite/23_containers/list/operators/1.cc: Likewise.
4661         * testsuite/23_containers/list/operators/2.cc: Likewise.
4662         * testsuite/23_containers/list/operators/3.cc: Likewise.
4663         * testsuite/23_containers/list/operators/4.cc: Likewise.
4664         * testsuite/23_containers/map/insert/1.cc: Likewise.
4665         * testsuite/23_containers/map/invalidation/1.cc: Likewise.
4666         * testsuite/23_containers/map/invalidation/2.cc: Likewise.
4667         * testsuite/23_containers/map/modifiers/swap.cc: Likewise.
4668         * testsuite/23_containers/map/operators/1.cc: Likewise.
4669         * testsuite/23_containers/multimap/invalidation/1.cc: Likewise.
4670         * testsuite/23_containers/multimap/invalidation/2.cc: Likewise.
4671         * testsuite/23_containers/multimap/modifiers/swap.cc: Likewise.
4672         * testsuite/23_containers/multiset/insert/1.cc: Likewise.
4673         * testsuite/23_containers/multiset/insert/2.cc: Likewise.
4674         * testsuite/23_containers/multiset/invalidation/1.cc: Likewise.
4675         * testsuite/23_containers/multiset/invalidation/2.cc: Likewise.
4676         * testsuite/23_containers/multiset/modifiers/swap.cc: Likewise.
4677         * testsuite/23_containers/priority_queue/members/7161.cc: Likewise.
4678         * testsuite/23_containers/queue/members/7157.cc: Likewise.
4679         * testsuite/23_containers/set/insert/1.cc: Likewise.
4680         * testsuite/23_containers/set/invalidation/1.cc: Likewise.
4681         * testsuite/23_containers/set/invalidation/2.cc: Likewise.
4682         * testsuite/23_containers/set/modifiers/swap.cc: Likewise.
4683         * testsuite/23_containers/stack/members/7158.cc: Likewise.
4684         * testsuite/23_containers/vector/bool/6886.cc: Likewise.
4685         * testsuite/23_containers/vector/capacity/1.cc: Likewise.
4686         * testsuite/23_containers/vector/capacity/8230.cc: Likewise.
4687         * testsuite/23_containers/vector/cons/1.cc: Likewise.
4688         * testsuite/23_containers/vector/cons/2.cc: Likewise.
4689         * testsuite/23_containers/vector/cons/3.cc: Likewise.
4690         * testsuite/23_containers/vector/cons/6513.cc: Likewise.
4691         * testsuite/23_containers/vector/element_access/1.cc: Likewise.
4692         * testsuite/23_containers/vector/invalidation/1.cc: Likewise.
4693         * testsuite/23_containers/vector/invalidation/2.cc: Likewise.
4694         * testsuite/23_containers/vector/invalidation/3.cc: Likewise.
4695         * testsuite/23_containers/vector/invalidation/4.cc: Likewise.
4696         * testsuite/23_containers/vector/modifiers/1.cc: Likewise.
4697         * testsuite/23_containers/vector/modifiers/2.cc: Likewise.
4698         * testsuite/23_containers/vector/modifiers/swap.cc: Likewise.
4699         * testsuite/23_containers/vector/resize/1.cc: Likewise.
4700         * testsuite/24_iterators/back_insert_iterator.cc: Likewise.
4701         * testsuite/24_iterators/front_insert_iterator.cc: Likewise.
4702         * testsuite/24_iterators/insert_iterator.cc: Likewise.
4703         * testsuite/24_iterators/iterator.cc: Likewise.
4704         * testsuite/25_algorithms/copy/1.cc: Likewise.
4705         * testsuite/25_algorithms/copy/2.cc: Likewise.
4706         * testsuite/25_algorithms/copy/3.cc: Likewise.
4707         * testsuite/25_algorithms/copy/4.cc: Likewise.
4708         * testsuite/25_algorithms/equal.cc: Likewise.
4709         * testsuite/25_algorithms/fill/1.cc: Likewise.
4710         * testsuite/25_algorithms/fill/2.cc: Likewise.
4711         * testsuite/25_algorithms/min_max.cc: Likewise.
4712         * testsuite/25_algorithms/rotate.cc: Likewise.
4713         * testsuite/25_algorithms/unique/1.cc: Likewise.
4714         * testsuite/25_algorithms/unique/2.cc: Likewise.
4715         * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise.
4716         * testsuite/ext/concept_checks.cc: Likewise.
4717         * testsuite/ext/hash_map/1.cc: Likewise.
4718         * testsuite/ext/hash_set/1.cc: Likewise.
4719         * testsuite/ext/rope/1.cc: Likewise.
4720         * testsuite/ext/rope/2.cc: Likewise.
4721         * testsuite/ext/rope/3.cc: Likewise.
4722         * testsuite/thread/pthread1.cc: Likewise.
4723         * testsuite/thread/pthread4.cc: Likewise.
4724         * testsuite/thread/pthread5.cc: Likewise.
4725         * testsuite/thread/pthread6.cc: Likewise.
4726         * testsuite/thread/pthread7-rope.cc: Likewise.
4728 2005-03-15  Zack Weinberg  <zack@codesourcery.com>
4730         * include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc
4731         subdirectory.  Generate #define of __GLIBCXX__ from contents of
4732         that file.
4733         * include/Makefile.in: Regenerate.
4734         * include/bits/c++config: Do not define __GLIBCXX__.
4736 2005-03-15  Paolo Carlini  <pcarlini@suse.de>
4738         PR libstdc++/20352
4739         * include/std/std_complex.h (pow(const complex<_Tp>&,
4740         const _Tp&)): On non-c99 platforms, don't try to compute
4741         log of complex zero.
4743 2005-03-10  Ben Elliston  <bje@au.ibm.com>
4745         * testsuite/22_locale/locale/cons/12658_thread-1.cc: Don't XFAIL
4746         on GNU/Linux.
4748 2005-03-07  Paolo Carlini  <pcarlini@suse.de>
4750         * include/tr1/type_traits (is_polymorphic): Don't forget
4751         the virtual destructor, thus avoiding warnings.
4752         * testsuite/testsuite_tr1.h (class AbstractClass,
4753         class PolymorphicClass): Likewise.
4755 2005-03-07  Paolo Carlini  <pcarlini@suse.de>
4757         * include/std/std_complex.h (pow(const complex<_Tp>&,
4758         const complex<_Tp>&)): Dispatch to either __complex_pow(__x.__rep(),
4759         __y.__rep()) or __complex_pow(__x, __y) depending on the macro
4760         _GLIBCXX_USE_C99_COMPLEX.
4762 2005-03-07  Paolo Carlini  <pcarlini@suse.de>
4764         * include/std/std_fstream.h (basic_fstream<>::open,
4765         basic_ifstream<>::open, basic_ofstream<>::open): Implement the
4766         resolution of DR 409 [Ready], call clear() on success.
4767         * docs/html/ext/howto.html: Add an entry for DR 409.
4768         * docs/html/faq/index.html (4_4): Clarify the new behavior.
4769         * testsuite/27_io/basic_ifstream/open/char/1.cc: Adjust.
4770         * testsuite/27_io/basic_ofstream/open/char/1.cc: Likewise.
4772 2005-03-05  Joseph S. Myers  <joseph@codesourcery.com>
4774         * testsuite/22_locale/collate/compare/wchar_t/2.cc,
4775         testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc,
4776         testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc,
4777         testsuite/22_locale/collate/hash/wchar_t/2.cc,
4778         testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc,
4779         testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc,
4780         testsuite/22_locale/collate/transform/wchar_t/2.cc,
4781         testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc,
4782         testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
4783         XFAIL on *-*-hpux11.23.
4785 2005-03-04  Paolo Carlini  <pcarlini@suse.de>
4787         * include/tr1/type_traits: Add is_base_of.
4788         * testsuite/tr1/4_metaprogramming/relationships_between_types/
4789         is_base_of/is_base_of.cc: New.
4790         * testsuite/tr1/4_metaprogramming/relationships_between_types/
4791         is_base_of/typedefs.cc: Likewise.
4793 2005-03-03  Benjamin Kosnik  <bkoz@redhat.com>
4795         * include/tr1/functional: Convert relative path.
4797         * docs/doxygen/user.cfg.in: Add tr1 includes.
4799 2005-03-03  Paolo Carlini  <pcarlini@suse.de>
4801         * include/tr1/type_traits: Implemenet is_polymorphic.
4802         (is_empty): Minor tweaks.
4803         * testsuite/testsuite_tr1.h: Add test types.
4804         * testsuite/tr1/4_metaprogramming/type_properties/
4805         is_polymorphic/is_polymorphic.cc: New.
4806         * testsuite/tr1/4_metaprogramming/type_properties/
4807         is_polymorphic/typedefs.cc: Likewise.
4808         * testsuite/tr1/4_metaprogramming/composite_type_traits/
4809         is_union_or_class/is_union_or_class.cc: Add tests.
4811 2005-03-02  Douglas Gregor  <doug.gregor@gmail.com>
4813         * include/tr1/functional (_Has_result_type): Cleanup.
4814         (_Result_of_impl): Handle member data pointers correctly.
4815         (reference_wrapper): Support invocation.
4816         Move repetition code into new file include/tr1/repeat.h.
4817         * include/tr1/functional_iterate.h (reference_wrapper): Support
4818         invocation.  Cleanup long lines.
4819         * include/tr1/ref_wrap_iterate.h (reference_wrapper): Declare
4820         invocation operators.
4821         * include/tr1/repeat.h: Code repetition header.
4822         * include/Makefile.am: Add ref_wrap_iterate.h, repeat.h.
4823         * include/Makefile.in: Add ref_wrap_iterate.h, repeat.h.
4824         * testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc:
4825         New test of reference_wrapper invocation.
4826         * testsuite/tr1/3_function_objects/reference_wrapper/typedefs.cc:
4827         New test of reference_wrapper typedefs and base classes.
4828         * testsuite/tr1/3_function_objects/result_of.cc: Trivial cleanup
4829         (e-mail address).
4831 2005-03-02  Douglas Gregor  <doug.gregor@gmail.com>
4833         * include/tr1/function (result_of): New class template.
4834         * include/tr1/functional/iterator.h: Implementation of TR1
4835         result_of.
4836         * testsuite/tr1/3_function_objects/result_of.cc: New test
4838 2005-03-01  Vladimir Merzliakov  <wanderer@rsu.ru>
4840         * testsuite/26_numerics/cmath/c99_classification_macros_c.cc: Tweak.
4842 2005-02-28  Benjamin Kosnik  <bkoz@redhat.com>
4844         * testsuite/tr1/2_general_utilities/memory/shared_ptr/
4845         cons/auto_ptr_neg.cc: Correct line numbers.
4847         * testsuite/testsuite_abi.cc: Add CXXABI_1.3.1.
4849 2005-02-28  Jonathan Wakely  <redi@gcc.gnu.org>
4851         * include/tr1/memory: Replace checked_deleter with (unchecked)
4852         _Sp_deleter as GCC warns about delete on incomplete types anyway.
4854 2005-02-28  Jonathan Wakely  <redi@gcc.gnu.org>
4856         * include/tr1/memory: Add missing "inline" to __throw_bad_weak_ptr.
4858 2005-02-28  Hans-Peter Nilsson  <hp@axis.com>
4860         PR target/19065
4861         * config/cpu/cris/atomicity.h (__exchange_and_add): In asm, use
4862         'Q' constraint, not 'm'.
4864 2005-02-26  Earl Chew  <earl_chew@agilent.com>
4865             Christopher Jefferson  <chris@bubblescope.net>
4867         * include/bits/stl_tree.h (_Rb_tree<>::_M_insert): Don't leak
4868         memory if _M_key_compare throws.
4870 2005-02-25  Paolo Carlini  <pcarlini@suse.de>
4872         * include/tr1/type_traits: Add the trivial is_union and is_class;
4873         add the __is_union_or_class extension.
4874         (is_enum, is_empty): Use the latter.
4875         * include/tr1/type_traits_fwd.h: Add __is_union_or_class.
4876         * testsuite/testsuite_tr1.h: Add UnionType; trivial formatting
4877         fixes.
4878         * testsuite/tr1/4_metaprogramming/composite_type_traits/
4879         is_union_or_class/is_union_or_class.cc: New.
4880         * testsuite/tr1/4_metaprogramming/composite_type_traits/
4881         is_union_or_class/typedefs.cc: Likewise.
4883 2005-02-24  Benjamin Kosnik  <bkoz@redhat.com>
4885         * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: Guard
4886         wchar_t use with _GLIBCXX_USE_WCHAR_T.
4888 2005-02-24  Benjamin Kosnik  <bkoz@redhat.com>
4890         * include/std/std_complex.h: _GLIBCXX_USE_C99_COMPLEX_MATH to
4891         _GLIBCXX_USE_C99_COMPLEX.
4892         * acinclude.m4: Same.
4893         * acconfig.h: Same.
4894         * configure: Regenerate.
4895         * config.h.in: Same.
4897 2005-02-24  Paolo Carlini  <pcarlini@suse.de>
4899         * include/tr1/functional (mem_fn): Avoid _T, badname on
4900         Darwin.
4902 2005-02-23  Douglas Gregor  <doug.gregor@gmail.com>
4904         * include/tr1/functional (function): New class template.
4905         (mem_fn): New function template.
4906         Implementations of TR1 function and mem_fn facilities.
4907         * include/tr1/functional_iterate.h: Implementations of TR1
4908         function and mem_fn facilities.
4909         * testsuite/tr1/3_function_objects/function/1.cc: New
4910         test of std::tr1::function.
4911         * testsuite/tr1/3_function_objects/function/2.cc: New
4912         test of std::tr1::function.
4913         * testsuite/tr1/3_function_objects/function/3.cc: New
4914         test of std::tr1::function.
4915         * testsuite/tr1/3_function_objects/function/4.cc: New
4916         test of std::tr1::function.
4917         * testsuite/tr1/3_function_objects/function/5.cc: New
4918         test of std::tr1::function.
4919         * testsuite/tr1/3_function_objects/function/6.cc: New
4920         test of std::tr1::function.
4921         * testsuite/tr1/3_function_objects/function/7.cc: New
4922         test of std::tr1::function.
4923         * testsuite/tr1/3_function_objects/function/8.cc: New
4924         test of std::tr1::function.
4925         * testsuite/tr1/3_function_objects/function/9.cc: New
4926         test of std::tr1::function.
4927         * testsuite/tr1/3_function_objects/mem_fn.cc: New test of
4928         std::tr1::mem_fn.
4930 2005-02-23  Paolo Carlini  <pcarlini@suse.de>
4932         * include/tr1/type_traits: Implement is_convertible.
4933         * testsuite/tr1/4_metaprogramming/relationships_between_types/
4934         is_convertible/is_convertible.cc: New.
4935         * testsuite/tr1/4_metaprogramming/relationships_between_types/
4936         is_convertible/typedefs.cc: Likewise.
4937         * testsuite/testsuite_tr1.h: Add class DerivedType.
4939         * include/tr1/type_traits (is_function): Don't mistake references
4940         to function types for function types.
4941         * testsuite/tr1/4_metaprogramming/primary_type_categories/
4942         is_function/is_function.cc: Add testcase.
4944 2005-02-22  Benjamin Kosnik  <bkoz@redhat.com>
4946         * scripts/check_performance: Tweaks.
4948         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/2.cc: Name
4949         output file with extension that clean rules can find.
4951 2005-02-22  Richard Henderson  <rth@redhat.com>
4953         PR libstdc++/20091
4954         * libsupc++/eh_catch.cc (__cxa_begin_catch): Don't special case
4955         decrement of uncaughtExceptions for rethrow.
4957 2005-02-22  Paolo Carlini  <pcarlini@suse.de>
4959         * include/tr1/functional: Fix License to GPL with exception.
4960         * include/tr1/hashtable: Likewise.
4961         * include/tr1/tuple: Likewise.
4962         * include/tr1/type_traits: Likewise.
4963         * include/tr1/type_traits_fwd.h: Likewise.
4964         * include/tr1/unordered_map: Likewise.
4965         * include/tr1/unordered_set: Likewise.
4966         * include/tr1/utility: Likewise.
4968 2005-02-22  Paolo Carlini  <pcarlini@suse.de>
4970         * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
4971         auto_ptr_neg.cc: Add missing dg-do compile directive.
4972         * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
4973         auto_ptr_rvalue_neg.cc: Likewise.
4974         * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
4975         shared_ptr_neg.cc: Likewise.
4976         * testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/
4977         auto_ptr_neg.cc: Likewise.
4978         * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
4979         reset_neg.cc: Likewise.
4980         * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
4981         swap_neg.cc: Likewise.
4983 2005-02-22  Jonathan Wakely  <redi@gcc.gnu.org>
4985         * include/Makefile.am, include/Makefile.in: Fix accidental extra
4986         change from previous commit.
4988 2005-02-21  Jonathan Wakely  <redi@gcc.gnu.org>
4990         * include/tr1/memory: New file.
4991         * include/Makefile.am, include/Makefile.in: Add new TR1 header.
4992         * testsuite/tr1/2_general_utilities/memory/
4993         enable_shared_from_this/not_shared.cc: New test.
4994         * testsuite/tr1/2_general_utilities/memory/
4995         enable_shared_from_this/not_shared2.cc: New test.
4996         * testsuite/tr1/2_general_utilities/memory/
4997         enable_shared_from_this/not_shared3.cc: New test.
4998         * testsuite/tr1/2_general_utilities/memory/
4999         enable_shared_from_this/shared.cc: New test.
5000         * testsuite/tr1/2_general_utilities/memory/
5001         enable_shared_from_this/still_shared.cc: New test.
5002         * testsuite/tr1/2_general_utilities/memory/
5003         shared_ptr/assign/assign.cc: New test.
5004         * testsuite/tr1/2_general_utilities/memory/
5005         shared_ptr/assign/auto_ptr.cc: New test.
5006         * testsuite/tr1/2_general_utilities/memory/
5007         shared_ptr/assign/auto_ptr_neg.cc: New test.
5008         * testsuite/tr1/2_general_utilities/memory/
5009         shared_ptr/assign/auto_ptr_rvalue_neg.cc: New test.
5010         * testsuite/tr1/2_general_utilities/memory/
5011         shared_ptr/assign/shared_ptr.cc: New test.
5012         * testsuite/tr1/2_general_utilities/memory/
5013         shared_ptr/assign/shared_ptr_neg.cc: New test.
5014         * testsuite/tr1/2_general_utilities/memory/
5015         shared_ptr/comparison/cmp.cc: New test.
5016         * testsuite/tr1/2_general_utilities/memory/
5017         shared_ptr/cons/auto_ptr.cc: New test.
5018         * testsuite/tr1/2_general_utilities/memory/
5019         shared_ptr/cons/auto_ptr_neg.cc: New test.
5020         * testsuite/tr1/2_general_utilities/memory/
5021         shared_ptr/cons/copy.cc: New test.
5022         * testsuite/tr1/2_general_utilities/memory/
5023         shared_ptr/cons/default.cc: New test.
5024         * testsuite/tr1/2_general_utilities/memory/
5025         shared_ptr/cons/pointer.cc: New test.
5026         * testsuite/tr1/2_general_utilities/memory/
5027         shared_ptr/cons/weak_ptr.cc: New test.
5028         * testsuite/tr1/2_general_utilities/memory/
5029         shared_ptr/cons/weak_ptr_expired.cc: New test.
5030         * testsuite/tr1/2_general_utilities/memory/
5031         shared_ptr/dest/dest.cc: New test.
5032         * testsuite/tr1/2_general_utilities/memory/
5033         shared_ptr/misc/io.cc: New test.
5034         * testsuite/tr1/2_general_utilities/memory/
5035         shared_ptr/misc/swap.cc: New test.
5036         * testsuite/tr1/2_general_utilities/memory/
5037         shared_ptr/modifiers/reset.cc: New test.
5038         * testsuite/tr1/2_general_utilities/memory/
5039         shared_ptr/modifiers/reset_neg.cc: New test.
5040         * testsuite/tr1/2_general_utilities/memory/
5041         shared_ptr/modifiers/swap.cc: New test.
5042         * testsuite/tr1/2_general_utilities/memory/
5043         shared_ptr/modifiers/swap_neg.cc: New test.
5044         * testsuite/tr1/2_general_utilities/memory/
5045         shared_ptr/observers/bool_conv.cc: New test.
5046         * testsuite/tr1/2_general_utilities/memory/
5047         shared_ptr/observers/get.cc: New test.
5048         * testsuite/tr1/2_general_utilities/memory/
5049         shared_ptr/observers/unique.cc: New test.
5050         * testsuite/tr1/2_general_utilities/memory/
5051         shared_ptr/observers/use_count.cc: New test.
5053 2005-02-21  Paolo Carlini  <pcarlini@suse.de>
5055         * include/tr1/type_traits (is_member_function_pointer):
5056         Remove ugly workaround for c++/19076.
5058 2005-02-21  Paolo Carlini  <pcarlini@suse.de>
5060         * include/bits/basic_string.tcc (_Rep::_M_destroy): Don't
5061         check for this == &_S_empty_rep, it's always false, here.
5063 2005-02-19  Matt Austern  <austern@gmail.com>
5065         * include/tr1/functional (tr1_hashtable_define_trivial_hash): Make
5066         hash<T>::operator() a const member function for T a fundamental type
5067         * include/tr1/hashtable (extract1st::operator()): Declare const.
5068         (hash_code_base): Declare all member functions const
5069         (hashtable::find): fix call to this->bucket_count()
5070         (hashtable::count): Likewise.
5071         (hashtable::equal_range): m_incr_bucket applies to iterator, not node.
5072         * testsuite/tr1/6_containers/unordered/find/set1.cc: New test.
5073         * testsuite/tr1/6_containers/unordered/find/map1.cc: New test.
5074         * testsuite/tr1/6_containers/unordered/find/multimap1.cc: New test.
5075         * testsuite/tr1/6_containers/unordered/find/multiset1.cc: New test.
5077 2005-02-19  Hans-Peter Nilsson  <hp@axis.com>
5079         PR libstdc++/20071
5080         * include/tr1/functional (hash<std::wstring>): Wrap in #ifdef
5081         _GLIBCXX_USE_WCHAR_T.
5083 2005-02-18  Richard Henderson  <rth@redhat.com>
5085         PR libstdc++/10606
5086         * config/linker-map.gnu (CXXABI_1.3.1): Add __cxa_get_exception_ptr.
5087         * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Increment
5088         uncaughtExceptions here instead of ...
5089         * libsupc++/eh_throw.cc (__cxa_throw) ... here.
5090         (__cxa_rethrow): Increment uncaughtExceptions here instead of ...
5091         * libsupc++/eh_catch.cc (__cxa_end_catch): ... here.
5092         (__cxa_get_exception_ptr): New.
5093         * libsupc++/unwind-cxx.h (__cxa_get_exception_ptr): Declare.
5095 2005-02-18  Matt Austern  <austern@apple.com>
5097         * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: Fix
5098         test case to use assignment instead of ==
5099         * testsuite/tr1/6_containers/unordered/insert/map_range.cc: New test.
5100         * testsuite/tr1/6_containers/unordered/insert/multimap_range.cc: New test.
5101         * testsuite/tr1/6_containers/unordered/insert/multiset_range.cc: New test.
5102         * testsuite/tr1/6_containers/unordered/insert/set_range.cc: New test.
5104 2005-02-18  Eric Botcazou  <ebotcazou@libertysurf.fr>
5106         * testsuite/thread/pthread1.cc: Do not invoke pthread_setconcurrency
5107         on Solaris 2.6 and below.
5108         * testsuite/thread/pthread2.cc: Likewise.
5109         * testsuite/thread/pthread3.cc: Likewise.
5110         * testsuite/thread/pthread4.cc: Likewise.
5111         * testsuite/thread/pthread5.cc: Likewise.
5112         * testsuite/thread/pthread6.cc: Likewise.
5113         * testsuite/thread/pthread7-rope.cc: Likewise.
5115 2005-02-17  Matt Austern  <austern@apple.com>
5117         * include/tr1/functional (hash): New function object.
5118         * include/tr1/hashtable: New file.
5119         * include/tr1/unordered_set: New file.
5120         * include/tr1/unordered_map: New file.
5121         * include/Makefile.am: Add three new TR1 headers.
5122         * include/Makefile.in: Likewise.
5123         * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: New test.
5124         * testsuite/tr1/6_containers/unordered/insert/map_single.cc: New test.
5125         * testsuite/tr1/6_containers/unordered/insert/multimap_single.cc: New test.
5126         * testsuite/tr1/6_containers/unordered/insert/multiset_single.cc: New test.
5127         * testsuite/tr1/6_containers/unordered/insert/set_single.cc: New test.
5128         * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: New test.
5129         * testsuite/tr1/6_containers/unordered/instantiate/map.cc: New test.
5130         * testsuite/tr1/6_containers/unordered/instantiate/multimap.cc: New test.
5131         * testsuite/tr1/6_containers/unordered/instantiate/multiset.cc: New test.
5132         * testsuite/tr1/6_containers/unordered/instantiate/set.cc: New test.
5134 2005-02-16  Paolo Carlini  <pcarlini@suse.de>
5136         * testsuite/23_containers/set/modifiers/16728.cc:
5137         Remove redundant include <testsuite_performance.h>.
5139 2005-02-16  Paolo Carlini  <pcarlini@suse.de>
5141         PR libstdc++/19829
5142         * testsuite/21_strings/basic_string/find/char/3.cc: Fix the test
5143         at line #66 to not access str_lit01 beyond its end.
5144         * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Likewise.
5146 2005-02-15  Paolo Carlini  <pcarlini@suse.de>
5147             Jon Grimm  <jgrimm2@us.ibm.com>
5149         PR libstdc++/19955
5150         * include/bits/locale_facets.h (ctype<char>::_M_narrow_init()):
5151         Fix the logic setting _M_narrow_ok: first check whether the
5152         transformation is trivial with a dflt == 0, then deal with the
5153         special case of zero.
5154         * testsuite/22_locale/ctype/narrow/char/19955.cc: New.
5156         * include/bits/locale_facets.h (ctype<char>::_M_widen_init()):
5157         Tweak consistently to use memcmp; minor formatting fixes.
5159 2005-02-15  Jakub Jelinek  <jakub@redhat.com>
5161         PR libstdc++/19946
5162         * testsuite/demangle/abi_examples/01.cc (main): Adjust for 2005-02-13
5163         demangler change.
5164         * testsuite/demangle/abi_examples/02.cc (main): Likewise.
5166 2005-02-13  Richard Guenther  <rguenth@gcc.gnu.org>
5167             Paolo Carlini  <pcarlini@suse.de>
5169         PR libstdc++/11706
5170         * include/c_std/std_cmath.h (pow): Use __builtin_powi[lf]
5171         for integer overloads.
5173         * testsuite/26_numerics/cmath/powi.cc: New.
5175 2005-02-11  Janis Johnson  <janis187@us.ibm.com>
5177         * testsuite/26_numerics/complex/13450.cc: Fix XFAIL selector.
5178         * testsuite/26_numerics/complex/complex_value.cc: Ditto.
5179         * testsuite/26_numerics/complex/pow.cc: Ditto.
5181         * testsuite/lib/libstdc++.exp: Load target-supports-dg.exp.
5182         * testsuite/26_numerics/complex/13450.cc: XFAIL for broken_cplxf_arg.
5183         * testsuite/26_numerics/complex/complex_value.cc: Ditto.
5184         * testsuite/26_numerics/complex/pow.cc: Ditto.
5186 2005-02-09  Mike Stump  <mrs@apple.com>
5188         * libsupc++/del_op.cc: Don't include cstdlib when !_GLIBCXX_HOSTED.
5190 2005-02-09  Janis Johnson  <janis187@us.ibm.com>
5192         * testsuite/ext/array_allocator/2.cc: XFAIL for powerpc*-*-linux*.
5194 2005-02-08  Mark Mitchell  <mark@codesourcery.com>
5196         * config/linker-map.gnu (GLIBCXX_3.4): Add _ZNSdC* and _ZNSdD*.
5198 2005-02-07  Loren J. Rittle  <ljrittle@acm.org>
5200         * testsuite/27_io/basic_istream/getline/wchar_t/5.cc: Make buf static.
5201         * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Make ref and
5202         src static.
5204 2005-02-02  Brad Spencer  <spencer@infointeractive.com>
5206         * debug.html: Fix broken tags.
5207         * documentation.html: Same.
5209 2005-02-02  Andreas Jaeger  <aj@suse.de>
5211         * testsuite/lib/libstdc++.exp: Revert Geoffrey Keating's patch
5212         from 2005-01-28.
5213         * testsuite/Makefile.am: Likewise.
5214         * testsuite/Makefile.in: Likewise.
5216 2005-02-01  Paolo Carlini  <pcarlini@suse.de>
5218         * include/bits/cpp_type_traits.h: Rename _M_type fields to
5219         __value, except for __enable_if, _M_type -> __type, consistently
5220         with the other traits.
5221         * include/bits/stl_algobase.h: Tweak consistently.
5222         * include/bits/stl_tree.h: Likewise.
5223         * include/bits/valarray_array.h: Likewise.
5224         * include/c_std/std_cmath.h: Likewise.
5225         * include/debug/safe_iterator.h: Likewise.
5226         * include/std/std_complex.h: Likewise.
5228 2005-01-31  Brad Spencer  <spencer@infointeractive.com>
5230         * crossconfig.m4: Repair Solaris cross bits for strtold and strtof.
5231         * configure: Regenerated.
5233 2005-01-31  Mark Mitchell  <mark@codesourcery.com>
5235         * include/std/std_limits.h (numeric_limits<float>::has_denorm):
5236         Add required cast.
5237         (numeric_limits<double>::has_denorm): Likewise.
5238         (numeric_limits<long double>::has_denorm): Likewise.
5240 2005-01-31  Paolo Carlini  <pcarlini@suse.de>
5241             Gabriel Dos Reis  <gdr@integrable-solutions.net>
5243         * include/bits/cpp_type_traits.h: Add types to the structs thus
5244         making type_traits.h redundant; exploit new __truth_type and
5245         __traitor helpers.
5246         * include/bits/type_traits.h: Remove.
5247         * include/Makefile.am: Update.
5248         * include/Makefile.in: Regenerate.
5249         * include/backward/tempbuf.h: Include cpp_type_traits.h instead.
5250         * include/bits/basic_string.h (replace(iterator, iterator,
5251         _InputIterator, _InputIterator), _S_construct(_InIterator,
5252         _InIterator, const _Alloc&)): Use __is_integer instead.
5253         * include/bits/stl_bvector.h (vector(_InputIterator,
5254         _InputIterator, const allocator_type&), assign(_InputIterator,
5255         _InputIterator), insert(iterator, _InputIterator, _InputIterator)):
5256         Likewise.
5257         * include/bits/stl_construct.h (_Destroy(_ForwardIterator,
5258         _ForwardIterator)): Use __is_scalar.
5259         * include/bits/stl_deque.h (deque(_InputIterator, _InputIterator,
5260         const allocator_type&), assign(_InputIterator, _InputIterator),
5261         insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
5262         * include/bits/stl_list.h (assign(_InputIterator, _InputIterator),
5263         insert(iterator, _InputIterator, _InputIterator)): Likewise.
5264         * include/bits/stl_tempbuf.h (_Temporary_buffer(_ForwardIterator,
5265         _ForwardIterator)): Use __is_scalar.
5266         * include/bits/stl_uninitialized.h (uninitialized_copy(_InputIterator,
5267         _InputIterator, _ForwardIterator), uninitialized_fill(_ForwardIterator,
5268         _ForwardIterator, const _Tp&), uninitialized_fill_n(_ForwardIterator,
5269         _Size, const _Tp&)): Likewise.
5270         * include/bits/stl_vector.h (vector(_InputIterator, _InputIterator,
5271         const allocator_type&), assign(_InputIterator, _InputIterator),
5272         insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
5273         * include/debug/debug.h (__valid_range(const _InputIterator&,
5274         const _InputIterator&)): Use __is_integer.
5275         * include/ext/slist (assign(_InputIterator, _InputIterator)): Likewise.
5276         * include/std/std_string.h: Include cpp_type_traits.h instead.
5278 2005-01-30  Paolo Carlini  <pcarlini@suse.de>
5280         PR libstdc++/19642
5281         * config/locale/generic/c_locale.h (__convert_from_v): Switch only
5282         LC_NUMERIC, and only when actually != "C".
5284 2005-01-28  Paolo Carlini  <pcarlini@suse.de>
5286         * include/tr1/type_traits (is_function): Minor consistency tweaks.
5288 2005-01-28  Geoffrey Keating  <geoffk@apple.com>
5290         * testsuite/lib/libstdc++.exp (libstdc++_init): Search the path
5291         for the compiler.  Don't set cxxflags.
5292         (v3_target_compile): Search for libv3test.a relative to $objdir.
5293         (lsearch_all_inline): New.
5294         (lsearch_all_inline_not): New.
5295         (v3-list-tests): Rewrite to not need generated files.
5296         * testsuite/Makefile.am (IGNORE_WCHAR_T): New.
5297         (IGNORE_THREAD): New.
5298         (TESTS_TO_IGNORE): New.
5299         (site.exp): Set tests_to_ignore, cxxflags.
5300         * aclocal.m4: Regenerate.
5301         * Makefile.in: Regenerate.
5302         * libmath/Makefile.in: Likewise.
5303         * libsupc++/Makefile.in: Likewise.
5304         * po/Makefile.in: Likewise.
5305         * src/Makefile.in: Likewise.
5306         * testsuite/Makefile.in: Likewise.
5308 2005-01-28  Paolo Carlini  <pcarlini@suse.de>
5310         * include/tr1/type_traits: Implement is_empty.
5311         * testsuite/tr1/4_metaprogramming/type_properties/is_empty/
5312         is_empty.cc: New.
5313         * testsuite/tr1/4_metaprogramming/type_properties/is_empty/
5314         typedefs.cc: Likewise.
5316         * include/tr1/type_traits (__is_abstract_helper): Simplify a bit.
5318 2005-01-28  Paolo Carlini  <pcarlini@suse.de>
5320         * include/tr1/type_traits: Implement is_abstract, by exploiting the
5321         resolution of DR core/337.
5322         * testsuite/testsuite_tr1.h: Add AbstractClass.
5323         * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
5324         is_abstract.cc: New.
5325         * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
5326         typedefs.cc: Likewise.
5328         * include/tr1/type_traits (is_function): Rewrite, use the conversion
5329         F& -> F* instead, thus avoiding problems with abstract classes.
5330         * testsuite/tr1/4_metaprogramming/primary_type_categories/
5331         is_function/is_function.cc: Add a test for tricky AbstractClass.
5333 2005-01-26  Paolo Carlini  <pcarlini@suse.de>
5335         * include/ext/mt_allocator.h
5336         (struct __per_type_pool_policy<,, false>::_S_get_pool,
5337         struct __per_type_pool_policy<,, true>::_S_get_pool): Scale
5338         _M_chunk_size too with sizeof(_Tp), otherwise the allocator
5339         breaks down as soon as sizeof(_Tp) >~ _S_chunk_size / 128;
5340         reduce to 64 the multiplier for _M_max_bytes (safer wrt
5341         _Binmap_type being a short); trivial reformattings.
5342         * testsuite/ext/mt_allocator/check_allocate_big_per_type.cc: New.
5344 2005-01-26  Paolo Carlini  <pcarlini@suse.de>
5346         * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Add ac_c99_complex
5347         to the final test for enable_c99, thus robustifying it; remove
5348         duplicate final test on ac_99_math.
5349         * configure: Regenerate.
5351         * include/std/std_complex.h: Remove usages of the dead
5352         _GLIBCXX_BUGGY_COMPLEX macro.
5354         * testsuite/26_numerics/cmath/19322.cc: Protect with
5355         _GLIBCXX_USE_C99_MATH instead of the stronger _GLIBCXX_USE_C99,
5356         since only C99 math facilities are involved.
5357         * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
5358         Likewise.
5360 2005-01-25  Loren J. Rittle  <ljrittle@acm.org>
5362         * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Map FreeBSD to darwin
5363         instead of generic.  Change autoconf report to "darwin or freebsd".
5364         * configure: Regenerate.
5365         * config/os/bsd/freebsd/ctype_inline.h (ctype<wchar_t>::do_is): Add.
5366         (ctype<wchar_t>::do_scan_is): Likewise.
5367         (ctype<wchar_t>::do_scan_not): Likewise.
5369 2005-01-25  Benjamin Kosnik  <bkoz@redhat.com>
5371         * acinclude.m4 (GLIBCXX_ENABLE_C99): Test for complex math
5372         functions, and enable _GLIBCXX_USE_C99_COMPLEX_MATH if they exist.
5373         * acconfig.h: Add _GLIBCXX_USE_C99_COMPLEX_MATH.
5374         * config.h.in: Regenerate.
5375         * configure: Regenerate.
5376         * include/std/std_complex.h: Protect complex builtins with
5377         _GLIBCXX_USE_C99_COMPLEX_MATH.
5379 2005-01-24  Paolo Carlini  <pcarlini@suse.de>
5381         * include/tr1/type_traits: Implement is_signed and is_unsigned.
5382         * testsuite/tr1/4_metaprogramming/type_properties/
5383         is_signed/is_signed.cc: New.
5384         * testsuite/tr1/4_metaprogramming/type_properties/
5385         is_signed/typedefs.cc: Likewise.
5386         * testsuite/tr1/4_metaprogramming/type_properties/
5387         is_unsigned/is_unsigned.cc: Likewise.
5388         * testsuite/tr1/4_metaprogramming/type_properties/
5389         is_unsigned/typedefs.cc: Likewise.
5391 2005-01-23  Paolo Carlini  <pcarlini@suse.de>
5393         * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 34.
5395 2005-01-23  Paolo Carlini  <pcarlini@suse.de>
5397         * testsuite/27_io/basic_ostream/cons/wchar_t/9827.cc: New.
5398         * testsuite/27_io/basic_ostream/endl/wchar_t/1.cc: Likewise.
5399         * testsuite/27_io/basic_ostream/ends/wchar_t/1.cc: Likewise.
5400         * testsuite/27_io/basic_ostream/ends/wchar_t/2.cc: Likewise.
5401         * testsuite/27_io/basic_ostream/exceptions/wchar_t/9561.cc: Likewise.
5402         * testsuite/27_io/basic_ostream/flush/wchar_t/1.cc: Likewise.
5403         * testsuite/27_io/basic_ostream/flush/wchar_t/2.cc: Likewise.
5404         * testsuite/27_io/basic_ostream/flush/wchar_t/
5405         exceptions_badbit_throw.cc: Likewise.
5406         * testsuite/27_io/basic_ostream/inserters_arithmetic/
5407         wchar_t/2.cc: Likewise.
5408         * testsuite/27_io/basic_ostream/inserters_arithmetic/
5409         wchar_t/3.cc: Likewise.
5410         * testsuite/27_io/basic_ostream/inserters_arithmetic/
5411         wchar_t/4.cc: Likewise.
5412         * testsuite/27_io/basic_ostream/inserters_arithmetic/
5413         wchar_t/4402.cc: Likewise.
5414         * testsuite/27_io/basic_ostream/inserters_arithmetic/
5415         wchar_t/5.cc: Likewise.
5416         * testsuite/27_io/basic_ostream/inserters_arithmetic/
5417         wchar_t/6.cc: Likewise.
5418         * testsuite/27_io/basic_ostream/inserters_arithmetic/
5419         wchar_t/9555-oa.cc: Likewise.
5420         * testsuite/27_io/basic_ostream/inserters_arithmetic/
5421         wchar_t/exceptions_badbit_throw.cc: Likewise.
5422         * testsuite/27_io/basic_ostream/inserters_arithmetic/
5423         wchar_t/exceptions_failbit_throw.cc: Likewise.
5424         * testsuite/27_io/basic_ostream/inserters_character/
5425         wchar_t/1.cc: Likewise.
5426         * testsuite/27_io/basic_ostream/inserters_character/
5427         wchar_t/2.cc: Likewise.
5428         * testsuite/27_io/basic_ostream/inserters_character/
5429         wchar_t/3.cc: Likewise.
5430         * testsuite/27_io/basic_ostream/inserters_character/
5431         wchar_t/4.cc: Likewise.
5432         * testsuite/27_io/basic_ostream/inserters_character/
5433         wchar_t/5.cc: Likewise.
5434         * testsuite/27_io/basic_ostream/inserters_character/
5435         wchar_t/6.cc: Likewise.
5436         * testsuite/27_io/basic_ostream/inserters_character/
5437         wchar_t/9555-oc.cc: Likewise.
5438         * testsuite/27_io/basic_ostream/inserters_other/
5439         wchar_t/1.cc: Likewise.
5440         * testsuite/27_io/basic_ostream/inserters_other/
5441         wchar_t/2.cc: Likewise.
5442         * testsuite/27_io/basic_ostream/inserters_other/
5443         wchar_t/3.cc: Likewise.
5444         * testsuite/27_io/basic_ostream/inserters_other/
5445         wchar_t/4.cc: Likewise.
5446         * testsuite/27_io/basic_ostream/inserters_other/
5447         wchar_t/5.cc: Likewise.
5448         * testsuite/27_io/basic_ostream/inserters_other/
5449         wchar_t/9318-out.cc: Likewise.
5450         * testsuite/27_io/basic_ostream/inserters_other/
5451         wchar_t/9424-out.cc: Likewise.
5452         * testsuite/27_io/basic_ostream/inserters_other/
5453         wchar_t/9555-oo.cc: Likewise.
5454         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
5455         error_failbit.cc: Likewise.
5456         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
5457         exceptions_badbit_throw.cc: Likewise.
5458         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
5459         exceptions_failbit_throw.cc: Likewise.
5460         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
5461         exceptions_null.cc: Likewise.
5462         * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
5463         * testsuite/27_io/basic_ostream/put/wchar_t/1.cc: Likewise.
5464         * testsuite/27_io/basic_ostream/seekp/char/
5465         exceptions_badbit_throw.cc: Likewise.
5466         * testsuite/27_io/basic_ostream/seekp/wchar_t/
5467         2346-fstream.cc: Likewise.
5468         * testsuite/27_io/basic_ostream/seekp/wchar_t/
5469         2346-sstream.cc: Likewise.
5470         * testsuite/27_io/basic_ostream/seekp/wchar_t/
5471         exceptions_badbit_throw.cc: Likewise.
5472         * testsuite/27_io/basic_ostream/sentry/wchar_t/1.cc: Likewise.
5473         * testsuite/27_io/basic_ostream/sentry/wchar_t/2.cc: Likewise.
5474         * testsuite/27_io/basic_ostream/tellp/wchar_t/1.cc: Likewise.
5475         * testsuite/27_io/basic_ostream/tellp/wchar_t/2.cc: Likewise.
5476         * testsuite/27_io/basic_ostream/tellp/wchar_t/
5477         exceptions_badbit_throw.cc: Likewise.
5478         * testsuite/27_io/basic_ostream/write/wchar_t/1.cc: Likewise.
5480         * testsuite/data/wostream_inserter_char-1.tst: Likewise.
5481         * testsuite/data/wostream_inserter_char-1.txt: Likewise.
5482         * testsuite/data/wostream_inserter_other-1.tst: Likewise.
5483         * testsuite/data/wostream_inserter_other-2.tst: Likewise.
5484         * testsuite/data/wostream_seeks-1.tst: Likewise.
5486         * testsuite/27_io/basic_ostream/endl/char/1.cc: Minor tweaks.
5487         * testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise.
5488         * testsuite/27_io/basic_ostream/exceptions/char/9561.cc: Likewise.
5489         * testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise.
5490         * testsuite/27_io/basic_ostream/flush/char/2.cc: Likewise.
5491         * testsuite/27_io/basic_ostream/flush/char/
5492         exceptions_badbit_throw.cc: Likewise.
5493         * testsuite/27_io/basic_ostream/inserters_arithmetic/
5494         char/2.cc: Likewise.
5495         * testsuite/27_io/basic_ostream/inserters_arithmetic/
5496         char/3.cc: Likewise.
5497         * testsuite/27_io/basic_ostream/inserters_arithmetic/
5498         char/4.cc: Likewise.
5499         * testsuite/27_io/basic_ostream/inserters_arithmetic/
5500         char/4402.cc: Likewise.
5501         * testsuite/27_io/basic_ostream/inserters_arithmetic/
5502         char/5.cc: Likewise.
5503         * testsuite/27_io/basic_ostream/inserters_arithmetic/
5504         char/6.cc: Likewise.
5505         * testsuite/27_io/basic_ostream/inserters_character/
5506         char/4.cc: Likewise.
5507         * testsuite/27_io/basic_ostream/inserters_other/char/
5508         2.cc: Likewise.
5509         * testsuite/27_io/basic_ostream/inserters_other/char/
5510         5.cc: Likewise.
5511         * testsuite/27_io/basic_ostream/inserters_other/char/
5512         error_failbit.cc: Likewise.
5513         * testsuite/27_io/basic_ostream/inserters_other/char/
5514         exceptions_badbit_throw.cc: Likewise.
5515         * testsuite/27_io/basic_ostream/inserters_other/char/
5516         exceptions_failbit_throw.cc: Likewise.
5517         * testsuite/27_io/basic_ostream/inserters_other/char/
5518         exceptions_null.cc: Likewise.
5519         * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
5520         * testsuite/27_io/basic_ostream/seekp/char/
5521         exceptions_badbit_throw.cc: Likewise.
5522         * testsuite/27_io/basic_ostream/sentry/char/2.cc: Likewise.
5523         * testsuite/27_io/basic_ostream/write/char/1.cc: Likewise.
5525 2005-01-23  Paolo Carlini  <pcarlini@suse.de>
5527         * include/tr1/type_traits (aligned_storage): Use __aligned__ instead
5528         of aligned.
5530 2005-01-23  Paolo Carlini  <pcarlini@suse.de>
5531             Andreas Jaeger  <aj@suse.de>
5533         PR libstdc++/19343
5534         * include/bits/functexcept.h: Mark the helpers as 'noreturn'.
5536 2005-01-21  Loren J. Rittle  <ljrittle@acm.org>
5538         * testsuite/27_io/basic_filebuf/open/char/9507.cc: Allow
5539         lseek on fifo to succeed.  Thus, check for consistent report.
5541 2005-01-21  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
5543         PR libstdc++/19510
5544         * include/bits/stl_list.h (_List_iterator): Initialize _M_node
5545         in constructor.
5546         (_List_const_iterator): Likewise.
5547         * include/bits/stl_tree.h (_Rb_tree_iterator): Likewise.
5548         (_Rb_tree_const_iterator): Likewise.
5550         * testsuite/23_containers/map/operators/1_neg.cc: Adjust line numbers.
5551         * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
5553 2005-01-20  Benjamin Kosnik  <bkoz@redhat.com>
5555         * testsuite/Makefile.am (check-compile): New.
5556         * testsuite/Makefile.in: Regenerate.
5557         * scripts/check_compile_time: New.
5558         * scripts/check_performance: Tweaks.
5560 2005-01-19  Paolo Carlini  <pcarlini@suse.de>
5562         PR libstdc++/19535
5563         * include/tr1/utility (struct __pair_get<1>::__get, __const_get):
5564         Fix typo in the return type.
5565         * testsuite/tr1/6_containers/utility/19535.cc: New.
5567 2005-01-19  Loren J. Rittle  <ljrittle@acm.org>
5569         * include/ext/array_allocator.h (array_allocator<>::allocate):
5570         Avoid __used.  Use __array_used instead.
5571         * docs/html/17_intro/BADNAMES: Add list for FreeBSD.
5573 2005-01-18  David Edelsohn  <edelsohn@gnu.org>
5575         * config/os/aix/os_defines.h (_XOPEN_SOURCE): Delete.
5576         (_XOPEN_SOURCE_EXTENDED): Delete.
5578 2005-01-18  Benjamin Kosnik  <bkoz@redhat.com>
5580         * testsuite/testsuite_performance.h (time_counter::start):
5581         Clear. Tweaks.
5582         (clear_counters): Inline.
5583         (start_counters): Inline.
5584         (stop_counters): Inline.
5585         * testsuite/performance/20_util/allocator/map_thread.cc: Return.
5586         * testsuite/performance/20_util/allocator/insert.cc: Remove bogus
5587         return, add return.
5588         * testsuite/performance/20_util/allocator/map_thread.cc: Same.
5590 2005-01-17  Paolo Carlini  <pcarlini@suse.de>
5592         PR libstdc++/19433
5593         * include/bits/stl_tree.h (_Rb_tree<>::insert_unique(iterator,
5594         const _Val&), _Rb_tree<>::insert_equal(iterator, const _Val&)):
5595         Obtain amortized constant complexity if t is inserted right after
5596         p - not before p - as per Table 69.
5597         * testsuite/performance/23_containers/set_insert_from_sorted.cc: New.
5599         * testsuite/23_containers/multiset/insert/2.cc: New.
5600         * testsuite/23_containers/set/insert/1.cc: Likewise.
5602         * testsuite/performance/23_containers/set_create_from_sorted.cc:
5603         Simplify.
5605         * include/bits/stl_tree.h: Add a few missing std:: qualifications.
5607 2005-01-16  Jonathan Wakely  <redi@gcc.gnu.org>
5609         * include/ext/rope: Qualify calls to std::copy() by sequence_buffer.
5610         * testsuite/ext/rope/4.cc: Add.
5612 2005-01-16  Lorenz Minder  <lminder@gmx.net>
5613             Paolo Carlini  <pcarlini@suse.de>
5615         PR libstdc++/19322
5616         * include/c_std/std_cmath.h: Define the C99 classification facilities
5617         directly inside namespace std:.
5618         * testsuite/26_numerics/cmath/19322.cc: New.
5620 2005-01-15  David Edelsohn  <edelsohn@gnu.org>
5622         * config/os/aix/os_defines.h (_G_USING_THUNKS): Delete.
5624 2005-01-14  Paolo Carlini  <pcarlini@suse.de>
5626         PR libstdc++/19422
5627         * include/bits/stl_tree.h (_Rb_tree<>::insert_equal(_II, _II),
5628         _Rb_tree<>::insert_unique(_II, _II)): Use insert_equal (insert_unique,
5629         respectively) with hint (end()).
5630         * testsuite/performance/23_containers/set_create_from_sorted.cc: New.
5632 2005-01-13  Geoffrey Keating  <geoffk@apple.com>
5634         * configure.host (darwin): On darwin8 or later, no need to build
5635         libstdc++ with -flat_namespace.
5637 2005-01-13  Jonathan Wakely  <redi@gcc.gnu.org>
5639         * docs/doxygen/user.cfg.in: Set HAVE_DOT back to YES.
5641 2005-01-13  Paolo Carlini  <pcarlini@suse.de>
5643         * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
5644         Re-enable commented-out test for double type.
5646 2005-01-11  Paolo Carlini  <pcarlini@suse.de>
5647             Benjamin Kosnik  <bkoz@redhat.com>
5649         * src/istream.cc (basic_istream<char>::ignore(streamsize),
5650         basic_istream<char>::ignore(streamsize, int_type),
5651         basic_istream<wchar_t>::ignore(streamsize),
5652         basic_istream<wchar_t>::ignore(streamsize, int_type)): In case
5653         more than numeric_limits<streamsize>::max() chars are skipped,
5654         set _M_gcount = max().
5655         * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
5656         int_type)): Likewise; keep simple, don't forward.
5658 2005-01-11  Paolo Carlini  <pcarlini@suse.de>
5660         * src/istream.cc (basic_istream<char>::ignore(streamsize),
5661         basic_istream<char>::ignore(streamsize, int_type),
5662         basic_istream<wchar_t>::ignore(streamsize),
5663         basic_istream<wchar_t>::ignore(streamsize, int_type)): Revert
5664         2005-01-05 change: actually, the previous behavior is conforming
5665         and consistent with that of get(char_type*, streamsize, char_type),
5666         albeit slightly different from that of 3.3/3.4 in a corner case
5667         due to the use of snextc.
5668         * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
5669         int_type)): Likewise.
5670         * testsuite/27_io/basic_istream/ignore/char/4.cc: Remove.
5671         * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
5673 2005-01-11  Paolo Carlini  <pcarlini@suse.de>
5675         * include/tr1/type_traits: Implement alignment_of and aligned_storage.
5676         * testsuite/tr1/4_metaprogramming/other_transformations/
5677         aligned_storage/aligned_storage.cc: New.
5678         * testsuite/tr1/4_metaprogramming/other_transformations/
5679         aligned_storage/typedefs.cc: Likewise.
5680         * testsuite/tr1/4_metaprogramming/type_properties/
5681         alignment_of/alignment_of.cc: Likewise.
5682         * testsuite/tr1/4_metaprogramming/type_properties/
5683         alignment_of/typedefs.cc: Likewise.
5685 2005-01-10  Paolo Carlini  <pcarlini@suse.de>
5687         * Makefile.in: Regenerate.
5688         * libmath/Makefile.in: Likewise.
5689         * libsupc++/Makefile.in: Likewise.
5690         * po/Makefile.in: Likewise.
5691         * src/Makefile.in: Likewise.
5692         * testsuite/Makefile.in: Likewise.
5694 2005-01-10  Paolo Carlini  <pcarlini@suse.de>
5696         * include/bits/stl_algobase.h (lexicographical_compare):
5697         Fix concept check.
5699 2005-01-07  Benjamin Kosnik  <bkoz@redhat.com>
5701         * acinclude.m4: Remove CCODECVT_H.
5702         * configure: Regenerate.
5703         * include/Makefile.am (host_headers_extra): Move to...
5704         (ext_headers): ...here.
5705         * include/Makefile.in: Regenerate.
5706         * include/ext/enc_filebuf: Remove enc_filebuf, consolidate
5707         enc_traits to...
5708         * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Move...
5709         * include/ext/codecvt_specializations.h: ...here. Remove
5710         _GLIBCXX_USE___ENC_TRAITS.
5711         (__enc_traits): To __encoding_state, put in __gnu_cxx namespace.
5712         (enc_char_traits): To __encoding_char_traits, put in __gnu_cxx
5713         namespace.
5714         * config/locale/generic/codecvt_specializations.h: Remove.
5715         * include/bits/codecvt.h: Remove codecvt_specializations.h include.
5716         * src/codecvt.cc: Remove __enc_traits::_S_max_size.
5718 2005-01-06  Benjamin Kosnik  <bkoz@redhat.com>
5720         * include/bits/fstream.tcc: Remove unnecessary qualifications for
5721         uglified data members of basic_filebuf, including _M_buf,
5722         _M_buf_size, _M_mode, _M_pback_init.
5723         * include/std/std_fstream.h: Same.
5725 2005-01-05  Benjamin Kosnik  <bkoz@redhat.com>
5727         * testsuite/testsuite_hooks.h:
5728         (copy_constructor::mark_call):  Use __throw_runtime_error.
5729         (assignment_operator::mark_call): Same.
5730         * testsuite/testsuite_hooks.cc (verify_demangle): Same.
5731         (locale_data): Remove, just use runtime_error directly.
5732         (environment_variable): Same.
5733         (not_found): Same.
5734         (run_tests_wrapped_locale): Use __throw_runtime_error.
5735         (run_tests_wrapped_env): Same.
5736         (semaphore::semaphore): Same.
5737         (semaphore::signal): Same.
5738         (semaphore::wait): Same.
5739         * testsuite/testsuite_abi.h (symbol_error): Remove, use logic_error.
5740         * testsuite/testsuite_abi.cc (get_symbol): Use __throw_logic_error.
5741         (create_symbols): Use __throw_runtime_error.
5742         * src/bitmap_allocator.cc: Use __throw_bad_alloc.
5744 2005-01-05  Mark Mitchell  <mark@codesourcery.com>
5746         * testsuite/27_io/basic_filebuf/open/char/9507.cc: Remove child
5747         process.
5749 2005-01-05  Paolo Carlini  <pcarlini@suse.de>
5751         * src/istream.cc (basic_istream<char>::ignore(streamsize),
5752         basic_istream<char>::ignore(streamsize, int_type),
5753         basic_istream<wchar_t>::ignore(streamsize),
5754         basic_istream<wchar_t>::ignore(streamsize, int_type)): At the end,
5755         first check _M_gcount vs __n.
5756         * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
5757         int_type)): Likewise.
5758         * testsuite/27_io/basic_istream/ignore/char/4.cc: New.
5759         * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
5761 2005-01-03  Mark Mitchell  <mark@codesourcery.com>
5763         * testsuite/testsuite_hooks.cc: Use __throw_exception_again
5764         instead of just throw.
5766         * testsuite/testsuite_hooks.cc: Update coypright and follow style
5767         guidelines.
5768         * testsuite/testsuite_hooks.h: Likewise.
5769         * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
5770         semaphores, not sleep.
5771         * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
5772         * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
5773         * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
5774         * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
5775         Likewise.
5776         * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
5777         * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
5778         * testsuite/27_io/objects/char/7.cc: Likewise.
5779         * testsuite/27_io/objects/char/9661-1.cc: Likewise.
5780         * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
5781         * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
5783         * configure.ac: Check for sys/ipc.h and sys/sem.h.
5784         * config.h.in: Regenerated.
5785         * configure: Likewise.
5786         * testsuite/testsuite_hooks.cc (_GLIBCXX_SYSV_SEM): Conditionally
5787         define.
5788         (sys/types.h): Include.
5789         (sys/ipc.h): Likewise.
5790         (sys/sem.h): Likewise.
5791         (__gnu_test::semun): New type.
5792         (__gnu_test::semaphore::sempaphore): New function.
5793         (__gnu_test::semaphore::~semaphore): Likewise.
5794         (__gnu_test::semaphore::wait): Likewise.
5795         (__gnu_test::semaphore::signal): Likewise.
5796         * testsuite/testsuite_hooks.h (__gnu_test::semaphore): New class.
5797         * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
5798         semaphores, not sleep.
5799         * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
5800         * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
5801         * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
5802         * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
5803         Likewise.
5804         * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
5805         * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
5806         * testsuite/27_io/objects/char/7.cc: Likewise.
5807         * testsuite/27_io/objects/char/9661-1.cc: Likewise.
5808         * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
5809         * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
5811 2005-01-03  Paolo Carlini  <pcarlini@suse.de>
5813         * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
5814         int_type)): Reset _M_gcount to numeric_limits<streamsize>::min().
5815         * src/istream.cc (basic_istream<char>::ignore(streamsize, int_type),
5816         basic_istream<wchar_t>::ignore(streamsize, int_type)): Likewise.
5817         * src/istream.cc (basic_istream<char>::ignore(streamsize),
5818         basic_istream<wchar_t>::ignore(streamsize)): Likewise; fix a typo.
5820 2005-01-02  Paolo Carlini  <pcarlini@suse.de>
5822         * src/istream.cc (basic_istream<char>::ignore(streamsize),
5823         basic_istream<char>::ignore(streamsize, int_type),
5824         basic_istream<wchar_t>::ignore(streamsize),
5825         basic_istream<wchar_t>::ignore(streamsize, int_type)): Avoid
5826         _M_gcount overflows.
5827         * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
5828         int_type)): Likewise; use snextc in the main loop, consistently
5829         with the specializations above.
5831 2005-01-02  Chris Jefferson  <chris@bubblescope.net>
5833         * include/bits/stl_algobase.h (mismatch): Correct concept check.
5835 2005-01-01  Paolo Carlini  <pcarlini@suse.de>
5837         * testsuite/ext/enc_filebuf/char/13189.cc: Fix, first include
5838         testsuite_hooks.h, to know whether including ext/enc_filebuf.h.
5839         * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Likewise.
5841 2005-01-01  Paolo Carlini  <pcarlini@suse.de>
5843         * testsuite/27_io/basic_istream/extractors_character/char/1.cc: Fix,
5844         null-terminate array1 at the outset.
5845         * testsuite/27_io/basic_istream/extractors_character/wchar_t/1.cc:
5846         Likewise.