OSDN Git Service

* docs/html/debug.html: Explain that _GLIBXX_DEBUG_PEDANTIC
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2005-05-23  Jonathan Wakely  <redi@gcc.gnu.org>
2
3         * docs/html/debug.html: Explain that _GLIBXX_DEBUG_PEDANTIC
4         had to be defined for pedantic mode in 3.4 and 4.0.0.
5
6 2005-05-20  Jan Beulich  <jbeulich@novell.com>
7
8         * libmath/stubs.c: Also implement fabsf/fabsl if not present in the
9         system libraries.
10
11 2005-05-20  Paolo Carlini  <pcarlini@suse.de>
12
13         * include/bits/stl_algo.h (__rotate<_RandomAccessIterator>):
14         Don't qualify __tmp as const, _ValueType is not necessarily
15         Assignable.
16         * include/bits/stl_algobase.h (swap, __iter_swap<false>):
17         Likewise, as an harmless extension.
18
19 2005-05-19  Richard Henderson  <rth@redhat.com>
20
21         * libsupc++/unwind-cxx.h: Revert gcc_unreachable change.
22
23 2005-05-19  Jonathan Wakely  <redi@gcc.gnu.org>
24
25         * include/bits/basic_string.h (operator[]): Allow s[s.size()] in
26         debug mode, but not pedantic mode.
27
28 2005-05-19  Jan Beulich  <jbeulich@novell.com>
29
30         * libsupc++/unwind-cxx.h: Include cstdlib.
31         (gcc_unreachable): #define.
32         * libsupc++/eh_personality.cc (gcc_unreachable): Remove #define.
33
34 2005-05-18  Paolo Carlini  <pcarlini@suse.de>
35             Nathan Myers  <ncm@cantrip.org>
36
37         PR libstdc++/19495
38         * include/bits/basic_string.h (_Raw_bytes_alloc): Rebind to
39         size_type instead of char and rename to _Raw_alloc.
40         * include/bits/basic_string.tcc (_Rep::_M_destroy, _Rep::_S_create):
41         Use the above.
42         * src/bitmap_allocator.cc: Add instantiation for size_type.
43         * src/mt_allocator.cc: Likewise.
44         * src/pool_allocator.cc: Likewise.
45         * include/ext/array_allocator.h: Tweak slightly, avoid assuming
46         the existence of an _Array::begin() and size() members.
47         * testsuite/ext/array_allocator/2.cc: Tweak to use an allocator
48         of size_type, instead of char, thus avoiding problems with
49         rebinds, not treated correctly by array_allocator.
50
51 2005-05-18  Paolo Carlini  <pcarlini@suse.de>
52
53         * testsuite/22_locale/ctype/is/char/2.cc: Adjust dg-require-namedlocale.
54         * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
55         * testsuite/22_locale/time_get/get_year/char/wrapped_env.cc: Add
56         missing dg-require-namedlocale.
57         * testsuite/22_locale/time_get/get_year/char/wrapped_locale.cc:
58         Likewise.
59         * testsuite/22_locale/time_get/get_year/wchar_t/wrapped_env.cc:
60         Likewise.
61         * testsuite/22_locale/time_get/get_year/wchar_t/wrapped_locale.cc:
62         Likewise.
63
64 2005-05-18  Paolo Carlini  <pcarlini@suse.de>
65
66         * testsuite/testsuite_hooks.cc: Remove try_named_locale.
67         * testsuite/testsuite_hooks.h: Remove try_named_locale.
68         * testsuite/lib/libstdc++.exp (check_v3_target_namedlocale): New.
69         * testsuite/lib/dg-options.exp (dg-require-namedlocale): New, uses
70         the above.
71         * testsuite/22_locale/codecvt/always_noconv/char/wrapped_env.cc: Use
72         dg-require-namedlocale.
73         * testsuite/22_locale/codecvt/always_noconv/char/wrapped_locale.cc:
74         Likewise.
75         * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Likewise.
76         * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Likewise.
77         * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Likewise.
78         * testsuite/22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc: 
79         Likewise.
80         * testsuite/22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc:
81         Likewise.
82         * testsuite/22_locale/codecvt/encoding/char/wrapped_env.cc: Likewise.
83         * testsuite/22_locale/codecvt/encoding/char/wrapped_locale.cc: Likewise.
84         * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Likewise.
85         * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Likewise.
86         * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Likewise.
87         * testsuite/22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: Likewise.
88         * testsuite/22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc:
89         Likewise.
90         * testsuite/22_locale/codecvt/in/char/wrapped_env.cc: Likewise.
91         * testsuite/22_locale/codecvt/in/char/wrapped_locale.cc: Likewise.
92         * testsuite/22_locale/codecvt/in/wchar_t/2.cc: Likewise.
93         * testsuite/22_locale/codecvt/in/wchar_t/3.cc: Likewise.
94         * testsuite/22_locale/codecvt/in/wchar_t/4.cc: Likewise.
95         * testsuite/22_locale/codecvt/in/wchar_t/7.cc: Likewise. 
96         * testsuite/22_locale/codecvt/in/wchar_t/8.cc: Likewise.
97         * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Likewise.
98         * testsuite/22_locale/codecvt/in/wchar_t/wrapped_env.cc: Likewise. 
99         * testsuite/22_locale/codecvt/in/wchar_t/wrapped_locale.cc: Likewise.    
100         * testsuite/22_locale/codecvt/length/char/wrapped_env.cc: Likewise. 
101         * testsuite/22_locale/codecvt/length/char/wrapped_locale.cc: Likewise.    
102         * testsuite/22_locale/codecvt/length/wchar_t/2.cc: Likewise.   
103         * testsuite/22_locale/codecvt/length/wchar_t/3.cc: Likewise.   
104         * testsuite/22_locale/codecvt/length/wchar_t/4.cc: Likewise.   
105         * testsuite/22_locale/codecvt/length/wchar_t/7.cc: Likewise.   
106         * testsuite/22_locale/codecvt/length/wchar_t/wrapped_env.cc: Likewise.      
107         * testsuite/22_locale/codecvt/length/wchar_t/wrapped_locale.cc:
108         Likewise.
109         * testsuite/22_locale/codecvt/max_length/char/wrapped_env.cc: Likewise.
110         * testsuite/22_locale/codecvt/max_length/char/wrapped_locale.cc:
111         Likewise.  
112         * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Likewise.    
113         * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Likewise.    
114         * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Likewise.    
115         * testsuite/22_locale/codecvt/max_length/wchar_t/wrapped_env.cc:
116         Likewise.  
117         * testsuite/22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc:
118         Likewise.
119         * testsuite/22_locale/codecvt/out/char/wrapped_env.cc: Likewise.    
120         * testsuite/22_locale/codecvt/out/char/wrapped_locale.cc: Likewise. 
121         * testsuite/22_locale/codecvt/out/wchar_t/2.cc: Likewise.  
122         * testsuite/22_locale/codecvt/out/wchar_t/3.cc: Likewise.  
123         * testsuite/22_locale/codecvt/out/wchar_t/4.cc: Likewise.  
124         * testsuite/22_locale/codecvt/out/wchar_t/7.cc: Likewise.  
125         * testsuite/22_locale/codecvt/out/wchar_t/wrapped_env.cc: Likewise. 
126         * testsuite/22_locale/codecvt/out/wchar_t/wrapped_locale.cc: Likewise. 
127         * testsuite/22_locale/codecvt/unshift/char/wrapped_env.cc: Likewise.   
128         * testsuite/22_locale/codecvt/unshift/char/wrapped_locale.cc: Likewise.
129         * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Likewise.    
130         * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Likewise.    
131         * testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Likewise.    
132         * testsuite/22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: Likewise.
133         * testsuite/22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc:
134         Likewise.
135         * testsuite/22_locale/collate/compare/char/1.cc: Likewise.  
136         * testsuite/22_locale/collate/compare/char/2.cc: Likewise.  
137         * testsuite/22_locale/collate/compare/char/3.cc: Likewise.  
138         * testsuite/22_locale/collate/compare/char/wrapped_env.cc: Likewise.        
139         * testsuite/22_locale/collate/compare/char/wrapped_locale.cc: Likewise.     
140         * testsuite/22_locale/collate/compare/wchar_t/1.cc: Likewise.     
141         * testsuite/22_locale/collate/compare/wchar_t/2.cc: Likewise.     
142         * testsuite/22_locale/collate/compare/wchar_t/3.cc: Likewise.     
143         * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc: Likewise.
144         * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc:
145         Likewise.  
146         * testsuite/22_locale/collate/hash/char/2.cc: Likewise.     
147         * testsuite/22_locale/collate/hash/char/wrapped_env.cc: Likewise.   
148         * testsuite/22_locale/collate/hash/char/wrapped_locale.cc: Likewise.        
149         * testsuite/22_locale/collate/hash/wchar_t/2.cc: Likewise.  
150         * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc: Likewise.
151         * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc: Likewise.     
152         * testsuite/22_locale/collate/transform/char/2.cc: Likewise.     
153         * testsuite/22_locale/collate/transform/char/3.cc: Likewise.     
154         * testsuite/22_locale/collate/transform/char/wrapped_env.cc: Likewise.      
155         * testsuite/22_locale/collate/transform/char/wrapped_locale.cc:
156         Likewise.
157         * testsuite/22_locale/collate/transform/wchar_t/2.cc: Likewise. 
158         * testsuite/22_locale/collate/transform/wchar_t/3.cc: Likewise. 
159         * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc:
160         Likewise.
161         * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
162         Likewise.
163         * testsuite/22_locale/collate_byname/named_equivalence.cc: Likewise.
164         * testsuite/22_locale/ctype/cons/char/wrapped_env.cc: Likewise.    
165         * testsuite/22_locale/ctype/cons/char/wrapped_locale.cc: Likewise. 
166         * testsuite/22_locale/ctype/is/char/2.cc: Likewise. 
167         * testsuite/22_locale/ctype/is/char/wrapped_env.cc: Likewise.      
168         * testsuite/22_locale/ctype/is/char/wrapped_locale.cc: Likewise.  
169         * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.   
170         * testsuite/22_locale/ctype/is/wchar_t/wrapped_env.cc: Likewise.  
171         * testsuite/22_locale/ctype/is/wchar_t/wrapped_locale.cc: Likewise.
172         * testsuite/22_locale/ctype/narrow/char/wrapped_env.cc: Likewise.
173         * testsuite/22_locale/ctype/narrow/char/wrapped_locale.cc: Likewise.        
174         * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Likewise. 
175         * testsuite/22_locale/ctype/narrow/wchar_t/wrapped_env.cc: Likewise.        
176         * testsuite/22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: Likewise.
177         * testsuite/22_locale/ctype/scan/char/wrapped_env.cc: Likewise.   
178         * testsuite/22_locale/ctype/scan/char/wrapped_locale.cc: Likewise. 
179         * testsuite/22_locale/ctype/scan/wchar_t/wrapped_env.cc: Likewise. 
180         * testsuite/22_locale/ctype/scan/wchar_t/wrapped_locale.cc: Likewise.       
181         * testsuite/22_locale/ctype/to/char/wrapped_env.cc: Likewise.       
182         * testsuite/22_locale/ctype/to/char/wrapped_locale.cc: Likewise.    
183         * testsuite/22_locale/ctype/to/wchar_t/wrapped_env.cc: Likewise.    
184         * testsuite/22_locale/ctype/to/wchar_t/wrapped_locale.cc: Likewise. 
185         * testsuite/22_locale/ctype/widen/char/wrapped_env.cc: Likewise.    
186         * testsuite/22_locale/ctype/widen/char/wrapped_locale.cc: Likewise. 
187         * testsuite/22_locale/ctype/widen/wchar_t/2.cc: Likewise.   
188         * testsuite/22_locale/ctype/widen/wchar_t/3.cc: Likewise.   
189         * testsuite/22_locale/ctype/widen/wchar_t/wrapped_env.cc: Likewise.
190         * testsuite/22_locale/ctype/widen/wchar_t/wrapped_locale.cc: Likewise.
191         * testsuite/22_locale/facet/2.cc: Likewise.
192         * testsuite/22_locale/locale/cons/12352.cc: Likewise.
193         * testsuite/22_locale/locale/cons/12438.cc: Likewise.
194         * testsuite/22_locale/locale/cons/12658_thread-1.cc: Likewise. 
195         * testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise. 
196         * testsuite/22_locale/locale/cons/2.cc: Likewise.
197         * testsuite/22_locale/locale/cons/4.cc: Likewise.
198         * testsuite/22_locale/locale/cons/5.cc: Likewise.
199         * testsuite/22_locale/locale/cons/7.cc: Likewise.
200         * testsuite/22_locale/locale/cons/7222-env.cc: Likewise.  
201         * testsuite/22_locale/locale/global_locale_objects/14071.cc: Likewise.  
202         * testsuite/22_locale/locale/global_locale_objects/2.cc: Likewise.
203         * testsuite/22_locale/messages/members/char/1.cc: Likewise.
204         * testsuite/22_locale/messages/members/char/2.cc: Likewise.
205         * testsuite/22_locale/messages/members/char/3.cc: Likewise.
206         * testsuite/22_locale/messages/members/char/wrapped_env.cc: Likewise.   
207         * testsuite/22_locale/messages/members/char/wrapped_locale.cc: Likewise.
208         * testsuite/22_locale/messages_byname/named_equivalence.cc: Likewise.   
209         * testsuite/22_locale/money_get/get/char/1.cc: Likewise.    
210         * testsuite/22_locale/money_get/get/char/10.cc: Likewise.   
211         * testsuite/22_locale/money_get/get/char/11.cc: Likewise.   
212         * testsuite/22_locale/money_get/get/char/11528.cc: Likewise.
213         * testsuite/22_locale/money_get/get/char/12.cc: Likewise.   
214         * testsuite/22_locale/money_get/get/char/13.cc: Likewise.   
215         * testsuite/22_locale/money_get/get/char/15.cc: Likewise.   
216         * testsuite/22_locale/money_get/get/char/16.cc: Likewise.   
217         * testsuite/22_locale/money_get/get/char/17.cc: Likewise.   
218         * testsuite/22_locale/money_get/get/char/18.cc: Likewise.   
219         * testsuite/22_locale/money_get/get/char/2.cc: Likewise.    
220         * testsuite/22_locale/money_get/get/char/3.cc: Likewise.    
221         * testsuite/22_locale/money_get/get/char/4.cc: Likewise.    
222         * testsuite/22_locale/money_get/get/char/wrapped_env.cc: Likewise. 
223         * testsuite/22_locale/money_get/get/char/wrapped_locale.cc: Likewise.  
224         * testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise. 
225         * testsuite/22_locale/money_get/get/wchar_t/10.cc: Likewise.      
226         * testsuite/22_locale/money_get/get/wchar_t/11.cc: Likewise.      
227         * testsuite/22_locale/money_get/get/wchar_t/11528.cc: Likewise.
228         * testsuite/22_locale/money_get/get/wchar_t/12.cc: Likewise.      
229         * testsuite/22_locale/money_get/get/wchar_t/13.cc: Likewise.      
230         * testsuite/22_locale/money_get/get/wchar_t/15.cc: Likewise.      
231         * testsuite/22_locale/money_get/get/wchar_t/16.cc: Likewise.      
232         * testsuite/22_locale/money_get/get/wchar_t/17.cc: Likewise.      
233         * testsuite/22_locale/money_get/get/wchar_t/18.cc: Likewise.      
234         * testsuite/22_locale/money_get/get/wchar_t/2.cc: Likewise. 
235         * testsuite/22_locale/money_get/get/wchar_t/3.cc: Likewise. 
236         * testsuite/22_locale/money_get/get/wchar_t/4.cc: Likewise. 
237         * testsuite/22_locale/money_get/get/wchar_t/wrapped_env.cc: Likewise.      
238         * testsuite/22_locale/money_get/get/wchar_t/wrapped_locale.cc: Likewise.
239         * testsuite/22_locale/money_put/put/char/1.cc: Likewise.  
240         * testsuite/22_locale/money_put/put/char/2.cc: Likewise.  
241         * testsuite/22_locale/money_put/put/char/3.cc: Likewise.  
242         * testsuite/22_locale/money_put/put/char/9780-3.cc: Likewise.      
243         * testsuite/22_locale/money_put/put/char/wrapped_env.cc: Likewise. 
244         * testsuite/22_locale/money_put/put/char/wrapped_locale.cc: Likewise.  
245         * testsuite/22_locale/money_put/put/wchar_t/1.cc: Likewise. 
246         * testsuite/22_locale/money_put/put/wchar_t/2.cc: Likewise. 
247         * testsuite/22_locale/money_put/put/wchar_t/3.cc: Likewise. 
248         * testsuite/22_locale/money_put/put/wchar_t/wrapped_env.cc: Likewise.     
249         * testsuite/22_locale/money_put/put/wchar_t/wrapped_locale.cc: Likewise.
250         * testsuite/22_locale/moneypunct/members/char/2.cc: Likewise.
251         * testsuite/22_locale/moneypunct/members/char/wrapped_env.cc: Likewise.    
252         * testsuite/22_locale/moneypunct/members/char/wrapped_locale.cc:
253         Likewise. 
254         * testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Likewise.   
255         * testsuite/22_locale/moneypunct/members/wchar_t/wrapped_env.cc:
256         Likewise.
257         * testsuite/22_locale/moneypunct/members/wchar_t/wrapped_locale.cc:
258         Likewise.
259         * testsuite/22_locale/moneypunct_byname/named_equivalence.cc: Likewise.
260         * testsuite/22_locale/num_get/get/char/1.cc: Likewise.   
261         * testsuite/22_locale/num_get/get/char/3.cc: Likewise.   
262         * testsuite/22_locale/num_get/get/char/5.cc: Likewise.   
263         * testsuite/22_locale/num_get/get/char/6.cc: Likewise.   
264         * testsuite/22_locale/num_get/get/char/9.cc: Likewise.   
265         * testsuite/22_locale/num_get/get/char/wrapped_env.cc: Likewise.
266         * testsuite/22_locale/num_get/get/char/wrapped_locale.cc: Likewise. 
267         * testsuite/22_locale/num_get/get/wchar_t/1.cc: Likewise.  
268         * testsuite/22_locale/num_get/get/wchar_t/3.cc: Likewise.  
269         * testsuite/22_locale/num_get/get/wchar_t/5.cc: Likewise.  
270         * testsuite/22_locale/num_get/get/wchar_t/6.cc: Likewise.  
271         * testsuite/22_locale/num_get/get/wchar_t/9.cc: Likewise.  
272         * testsuite/22_locale/num_get/get/wchar_t/wrapped_env.cc: Likewise. 
273         * testsuite/22_locale/num_get/get/wchar_t/wrapped_locale.cc: Likewise. 
274         * testsuite/22_locale/num_put/put/char/1.cc: Likewise.      
275         * testsuite/22_locale/num_put/put/char/20909.cc: Likewise.  
276         * testsuite/22_locale/num_put/put/char/20914.cc: Likewise.  
277         * testsuite/22_locale/num_put/put/char/3.cc: Likewise.      
278         * testsuite/22_locale/num_put/put/char/5.cc: Likewise.      
279         * testsuite/22_locale/num_put/put/char/9780-2.cc: Likewise. 
280         * testsuite/22_locale/num_put/put/char/wrapped_env.cc: Likewise.    
281         * testsuite/22_locale/num_put/put/char/wrapped_locale.cc: Likewise. 
282         * testsuite/22_locale/num_put/put/wchar_t/1.cc: Likewise. 
283         * testsuite/22_locale/num_put/put/wchar_t/20909.cc: Likewise.   
284         * testsuite/22_locale/num_put/put/wchar_t/20914.cc: Likewise.   
285         * testsuite/22_locale/num_put/put/wchar_t/3.cc: Likewise. 
286         * testsuite/22_locale/num_put/put/wchar_t/5.cc: Likewise.
287         * testsuite/22_locale/num_put/put/wchar_t/wrapped_env.cc: Likewise.
288         * testsuite/22_locale/num_put/put/wchar_t/wrapped_locale.cc: Likewise. 
289         * testsuite/22_locale/numpunct/members/char/2.cc: Likewise.
290         * testsuite/22_locale/numpunct/members/char/3.cc: Likewise.
291         * testsuite/22_locale/numpunct/members/char/wrapped_env.cc: Likewise.    
292         * testsuite/22_locale/numpunct/members/char/wrapped_locale.cc: Likewise.
293         * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Likewise.    
294         * testsuite/22_locale/numpunct/members/wchar_t/wrapped_env.cc: Likewise.
295         * testsuite/22_locale/numpunct/members/wchar_t/wrapped_locale.cc:
296         Likewise. 
297         * testsuite/22_locale/numpunct_byname/named_equivalence.cc: Likewise.       
298         * testsuite/22_locale/time_get/date_order/char/wrapped_env.cc: Likewise.    
299         * testsuite/22_locale/time_get/date_order/char/wrapped_locale.cc:
300         Likewise. 
301         * testsuite/22_locale/time_get/date_order/wchar_t/wrapped_env.cc:
302         Likewise. 
303         * testsuite/22_locale/time_get/date_order/wchar_t/wrapped_locale.cc:
304         Likewise.
305         * testsuite/22_locale/time_get/get_date/char/12750.cc: Likewise.
306         * testsuite/22_locale/time_get/get_date/char/2.cc: Likewise.   
307         * testsuite/22_locale/time_get/get_date/char/wrapped_env.cc: Likewise.      
308         * testsuite/22_locale/time_get/get_date/char/wrapped_locale.cc:
309         Likewise.
310         * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Likewise. 
311         * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Likewise.     
312         * testsuite/22_locale/time_get/get_date/wchar_t/4.cc: Likewise.     
313         * testsuite/22_locale/time_get/get_date/wchar_t/wrapped_env.cc:
314         Likewise.  
315         * testsuite/22_locale/time_get/get_date/wchar_t/wrapped_locale.cc:
316         Likewise.
317         * testsuite/22_locale/time_get/get_monthname/char/2.cc: Likewise.  
318         * testsuite/22_locale/time_get/get_monthname/char/wrapped_env.cc:
319         Likewise.
320         * testsuite/22_locale/time_get/get_monthname/char/wrapped_locale.cc:
321         Likewise.
322         * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Likewise.
323         * testsuite/22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc:
324         Likewise.
325         * testsuite/22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc:
326         Likewise.
327         * testsuite/22_locale/time_get/get_time/char/1.cc: Likewise.
328         * testsuite/22_locale/time_get/get_time/char/2.cc: Likewise.
329         * testsuite/22_locale/time_get/get_time/char/wrapped_env.cc: Likewise.
330         * testsuite/22_locale/time_get/get_time/char/wrapped_locale.cc:
331         Likewise.
332         * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Likewise.
333         * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Likewise.
334         * testsuite/22_locale/time_get/get_time/wchar_t/wrapped_env.cc:
335         Likewise. 
336         * testsuite/22_locale/time_get/get_time/wchar_t/wrapped_locale.cc:
337         Likewise.
338         * testsuite/22_locale/time_get/get_weekday/char/2.cc: Likewise.
339         * testsuite/22_locale/time_get/get_weekday/char/wrapped_env.cc:
340         Likewise.
341         * testsuite/22_locale/time_get/get_weekday/char/wrapped_locale.cc:
342         Likewise. 
343         * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Likewise.
344         * testsuite/22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc:
345         Likewise.    
346         * testsuite/22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc:
347         Likewise. 
348         * testsuite/22_locale/time_put/put/char/17038.cc: Likewise. 
349         * testsuite/22_locale/time_put/put/char/2.cc: Likewise.     
350         * testsuite/22_locale/time_put/put/char/3.cc: Likewise.     
351         * testsuite/22_locale/time_put/put/char/4.cc: Likewise.     
352         * testsuite/22_locale/time_put/put/char/6.cc: Likewise.     
353         * testsuite/22_locale/time_put/put/char/7.cc: Likewise.     
354         * testsuite/22_locale/time_put/put/char/8.cc: Likewise.     
355         * testsuite/22_locale/time_put/put/char/9780-1.cc: Likewise.       
356         * testsuite/22_locale/time_put/put/char/wrapped_env.cc: Likewise.
357         * testsuite/22_locale/time_put/put/char/wrapped_locale.cc: Likewise.  
358         * testsuite/22_locale/time_put/put/wchar_t/17038.cc: Likewise.   
359         * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
360         * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
361         * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
362         * testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise.
363         * testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise.
364         * testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise.
365         * testsuite/22_locale/time_put/put/wchar_t/wrapped_env.cc: Likewise.     
366         * testsuite/22_locale/time_put/put/wchar_t/wrapped_locale.cc: Likewise.
367         * testsuite/27_io/basic_filebuf/imbue/char/13007.cc: Likewise.  
368         * testsuite/27_io/basic_filebuf/imbue/char/13171-1.cc: Likewise.
369         * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
370         * testsuite/27_io/basic_filebuf/imbue/char/13171-4.cc: Likewise.
371         * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
372         * testsuite/27_io/basic_filebuf/imbue/char/14975-1.cc: Likewise.
373         * testsuite/27_io/basic_filebuf/imbue/char/2.cc: Likewise. 
374         * testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Likewise.       
375         * testsuite/27_io/basic_filebuf/imbue/wchar_t/12868.cc: Likewise.
376         * testsuite/27_io/basic_filebuf/imbue/wchar_t/13007.cc: Likewise.   
377         * testsuite/27_io/basic_filebuf/imbue/wchar_t/13171-3.cc: Likewise. 
378         * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc: Likewise. 
379         * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Likewise. 
380         * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: Likewise. 
381         * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: Likewise.       
382         * testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: Likewise.    
383         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc: Likewise.  
384         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc: Likewise.  
385         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc: Likewise.  
386         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc: Likewise.  
387         * testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc: Likewise.    
388         * testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc: Likewise.    
389         * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise. 
390         * testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc: Likewise.  
391         * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: Likewise.  
392         * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: Likewise.  
393         * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: Likewise.  
394         * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: Likewise.  
395         * testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: Likewise.
396         * testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: Likewise.
397         * testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc: Likewise.
398         * testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc: Likewise.
399         * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc: Likewise.        
400         * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Likewise.   
401         * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc:
402         Likewise.   
403         * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/2.cc:
404         Likewise.
405         * testsuite/27_io/basic_streambuf/imbue/char/13007-1.cc: Likewise.
406         * testsuite/27_io/basic_streambuf/imbue/char/13007-2.cc: Likewise.
407         * testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Likewise.  
408         * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-1.cc: Likewise.    
409         * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-2.cc: Likewise.    
410         * testsuite/27_io/basic_streambuf/imbue/wchar_t/9322.cc: Likewise. 
411         * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Likewise.    
412         * testsuite/27_io/basic_stringbuf/imbue/wchar_t/9322.cc: Likewise.
413         * testsuite/27_io/objects/wchar_t/10.cc: Likewise. 
414         * testsuite/27_io/objects/wchar_t/11.cc: Likewise. 
415         * testsuite/27_io/objects/wchar_t/12.cc: Likewise. 
416         * testsuite/27_io/objects/wchar_t/13.cc: Likewise. 
417         * testsuite/27_io/objects/wchar_t/9520.cc: Likewise.
418         * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Likewise.
419
420 2005-05-17  Nathan Sidwell  <nathan@codesourcery.com>
421
422         * libsupc++/eh_personality.cc (gcc_unreachable): Define.
423
424 2005-05-16  Paolo Carlini  <pcarlini@suse.de>
425
426         * docs/html/install.html: Update list of required named
427         locales, add "es_ES".
428
429 2005-05-13  Magnus Fromreide  <magfr@lysator.liu.se>
430
431         * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Use
432         initialization instead of copying as the string is used only once.
433         * testsuite/27_io/basic_streambuf/sgetn/wchar_t/1.cc: Likewise.
434         * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.
435         * testsuite/27_io/basic_streambuf/sputn/wchar_t/1.cc: Likewise.
436
437 2005-05-12  Benjamin Kosnik  <bkoz@redhat.com>
438
439         * scripts/create_testsuite_files: Fix.
440         
441 2005-05-12  Kaz Kojima  <kkojima@gcc.gnu.org>
442
443         * testsuite/18_support/numeric_limits.cc (dg-options): Add
444         -mieee to options on sh*-*-*.
445
446 2005-05-10  Jonathan Wakely  <redi@gcc.gnu.org>
447
448         * include/debug/debug.h: Fix typo in macro name.
449
450 2005-05-09  Paolo Carlini  <pcarlini@suse.de>
451             Giovanni Bajo  <giovannibajo@gcc.gnu.org>
452             
453         PR libstdc++/18604
454         * include/bits/deque.tcc: Fully qualify names from namespace std.
455         * include/bits/stl_bvector.h: Likewise.
456         * include/bits/stl_deque.h: Likewise.
457         * include/bits/stl_list.h: Likewise.
458         * include/bits/stl_map.h: Likewise.
459         * include/bits/stl_multimap.h: Likewise.
460         * include/bits/stl_multiset.h: Likewise.
461         * include/bits/stl_set.h: Likewise.
462         * include/bits/stl_vector.h: Likewise.
463         * include/bits/vector.tcc: Likewise.
464         * include/std/std_bitset.h: Likewise.
465         * testsuite/23_containers/bitset/18604.cc: New.
466         * testsuite/23_containers/deque/18604.cc: Likewise.
467         * testsuite/23_containers/list/18604.cc: Likewise.
468         * testsuite/23_containers/map/18604.cc: Likewise.
469         * testsuite/23_containers/set/18604.cc: Likewise.
470         * testsuite/23_containers/vector/18604.cc: Likewise.    
471
472 2005-05-09  Mike Stump  <mrs@apple.com>
473
474         * configure: Regenerate.
475
476 2005-05-09  Jonathan Wakely  <redi@gcc.gnu.org>
477
478         DR 434. bitset::to_string() hard to use [Ready]
479         * include/debug/bitset (to_string): Add three overloads, taking
480         fewer template arguments.
481
482 2005-05-06  Mark Mitchell  <mark@codesourcery.com>
483
484         * testsuite/testsuite_hooks.cc (try_mkfifo): Remove.
485         * testsuite/testsuite_hooks.h (try_mkfifo): Likewise.
486         * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
487         dg-require-fork and dg-require-mkfifo.  Replace try_mkfifo with
488         mkfifo.
489         * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
490         * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
491         * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
492         * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc:
493         Likewise.
494         * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
495         Likewise.
496         * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
497         * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc:
498         Likewise.
499         * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
500         * testsuite/27_io/objects/char/7.cc: Likewise.
501         * testsuite/27_io/objects/char/9661-1.cc: Likewise.
502         * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
503         * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
504
505 2005-05-04  Benjamin Kosnik  <bkoz@redhat.com>
506
507         * acinclude.m4: Remove testsuite_wchar_t and testsuite_thread.
508         * testsuite/Makefile.am: Same.
509         * scripts/create_testsuite_files: Same. 
510         * Makefile.in: Regenerate.
511         * configure: Same.
512         * include/Makefile.in: Same.
513         * libmath/Makefile.in: Same.
514         * libsupc++/Makefile.in: Same.
515         * po/Makefile.in: Same.
516         * src/Makefile.in: Same.
517
518 2005-05-04  Mark Mitchell  <mark@codesourcery.com>
519
520         * testsuite/lib/libstdc++.exp (v3-build_support): Look for
521         __GTHREADS, rather than _GLIBCXX_HAVE_GTHR_DEFAULT, to determine
522         whether or not thread support is available.
523
524         * docs/html/test.html: Explain how to run the testsuite on an
525         installed directory. 
526
527 2005-05-01  Paolo Carlini  <pcarlini@suse.de>
528
529         * config/os/aix/os_defines.h: Remove obsolete __off_t,
530         __off64_t, __ssize_t defines.
531         * config/os/djgpp/os_defines.h: Likewise.
532         * config/os/hpux/os_defines.h: Likewise.
533         * config/os/irix/irix5.2/os_defines.h: Likewise.
534         * config/os/irix/irix6.5/os_defines.h: Likewise.
535         * config/os/solaris/solaris2.5/os_defines.h: Likewise.
536         * config/os/solaris/solaris2.6/os_defines.h: Likewise.
537         * config/os/solaris/solaris2.7/os_defines.h: Likewise.
538         * docs/html/17_intro/porting.html: Don't discuss the defines.
539         * docs/html/17_intro/porting.texi: Likewise.
540
541 2005-04-29  Paolo Carlini  <pcarlini@suse.de>
542             Nathan Myers  <ncm@cantrip.org>
543
544         PR libstdc++/21286
545         * include/bits/fstream.tcc (basic_filebuf<>::xsgetn):
546         Loop on short reads; remove the work-around for
547         libstdc++/20806, not needed anymore.
548
549 2005-04-29  Paolo Carlini  <pcarlini@suse.de>
550
551         PR libstdc++/21238
552         * include/bits/locale_facets.tcc (num_get::_M_extract_float,
553         num_get::_M_extract_int, num_get::do_get(bool&),
554         num_put::_M_insert_int, num_put::_M_insert_float,
555         num_put::do_put(bool), money_get::_M_extract,
556         money_put::_M_insert): Adjust the __cache_type typedef not to
557         forward to a numpunct/moneypunct typedef.
558         * testsuite/testsuite_character.h: Add pod_uint and its numpunct
559         and moneypunct specializations.
560         * testsuite/testsuite_character.cc: Add numpunct<pod_uint>::id
561         and moneypunct<pod_uint>::id.
562         * testsuite/22_locale/num_get/3.cc: New.
563         * testsuite/22_locale/num_put/3.cc: Likewise.
564         * testsuite/22_locale/money_get/3.cc: Likewise.
565         * testsuite/22_locale/money_put/3.cc: Likewise.
566
567         * include/bits/locale_facets.tcc (money_put::_M_insert,
568         time_get::_M_extract_name): Prefer operator== to operator!=
569         on char_types.
570
571 2005-04-29  Paolo Carlini  <pcarlini@suse.de>
572
573         * include/tr1/type_traits (is_convertible): Adjust according
574         to the resolution of TR1 issue 3.20.
575         * testsuite/tr1/4_metaprogramming/relationships_between_types/
576         is_convertible/is_convertible.cc: Add tests.
577
578 2005-04-28  Paolo Carlini  <pcarlini@suse.de>
579             Gabriel Dos Reis  <gdr@integrable-solutions.net>
580
581         PR libstdc++/21244 (cont)
582         * include/bits/cpp_type_traits.h (struct __traitor): Convert
583         to bool the values.
584         * include/bits/stl_algo.h: Convert _S_threshold to int.
585         * include/bits/stl_bvector.h: Revert previous change, convert
586         _S_word_bit to int.
587         * include/debug/formatter.h: Convert __max_parameters to
588         size_t.
589         * include/ext/mt_allocator.h: Likewise for _S_chunk_size.
590         * include/ext/pool_allocator.h: Likewise for _S_max_bytes and
591         _S_align.
592         * include/ext/rope: Likewise for _S_alloc_granularity; convert
593         _S_max_rope_depth to int.
594         * include/ext/ropeimpl.h: Convert _S_path_cache_len to int;
595         _S_max_rope_depth to int; _S_copy_max to size_t.
596
597 2005-04-27  Benjamin Kosnik  <bkoz@redhat.com>
598
599         * docs/doxygen/user.cfg.in: Update to doxygen-1.4.2.
600         * docs/doxygen/doxygroups.cc: Update namespace comments.
601
602 2005-04-27  Dominik Strasser  <dominik.strasser@infineon.com>
603             Paolo Carlini  <pcarlini@suse.de>
604
605         PR libstdc++/21244
606         * include/bits/stl_bvector.h: Change the anonymous enum
607         at namespace scope to _S_word_bit_enum.
608         * testsuite/23_containers/vector/bool/21244.cc: New.
609
610 2005-04-27  Paolo Carlini  <pcarlini@suse.de>
611
612         * include/tr1/type_traits (has_trivial_copy, has_trivial_assign,
613         has_nothrow_copy, has_nothrow_assign): Adjust according to the
614         resolution of TR1 issue 3.21.
615         * testsuite/testsuite_tr1.h (test_copy_property,
616         test_assign_property): Remove.
617         * testsuite/tr1/4_metaprogramming/type_properties/
618         has_nothrow_assign/has_nothrow_assign.cc: Adjust.
619         * testsuite/tr1/4_metaprogramming/type_properties/
620         has_nothrow_copy/has_nothrow_copy.cc: Likewise.
621         * testsuite/tr1/4_metaprogramming/type_properties/
622         has_trivial_assign/has_trivial_assign.cc: Likewise.
623         * testsuite/tr1/4_metaprogramming/type_properties/
624         has_trivial_copy/has_trivial_copy.cc: Likewise.
625
626 2005-04-26  Jones Desougi  <jones@ingate.com>
627
628         PR libstdc++/21131
629         * linkage.m4: Fix comments.
630
631 2005-04-26  Paolo Carlini  <pcarlini@suse.de>
632
633         PR libstdc++/21209
634         * include/bits/locale_facets.tcc (_M_extract_int): Avoid signed
635         integer overflow, always use a suited unsigned type in the main
636         parsing loop.
637         (struct __to_unsigned_type): New.
638         * testsuite/22_locale/num_get/get/char/16.cc: New.
639         * testsuite/22_locale/num_get/get/wchar_t/16.cc: Likewise.
640
641 2005-04-25  Paolo Carlini  <pcarlini@suse.de>
642
643         PR libstdc++/21035
644         * include/bits/basic_string.h (compare): Adjust the documentation
645         to match the implementation and the standard.
646
647 2005-04-24  Paolo Carlini  <pcarlini@suse.de>
648
649         * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 35.
650
651 2005-04-20  Mark Mitchell  <mark@codesourcery.com>
652
653         * testsuite/ext/bitmap_allocator/check_allocate_max_size.cpp: Add
654         explicit instantiations for systems without weak symbols.
655         * testsuite/ext/bitmap_allocator/check_deallocate_null.cc:
656         Likewise. 
657
658 2005-04-18  Jonathan Wakely  <redi@gcc.gnu.org>
659
660         * include/bits/stl_algo.h (rotate_copy): Add missing std qualification.
661
662 2005-04-17  Paolo Carlini  <pcarlini@suse.de>
663
664         PR libstdc++/20914
665         * include/bits/locale_facets.tcc (__int_to_char(_CharT*, _ValueT,
666         const _CharT*, ios_base::fmtflags, bool)): Don't deal with numeric
667         base or sign here, instead...
668         (_M_insert_int(_OutIter, ios_base&, _CharT, _ValueT)): ... here,
669         after adding the grouping. This fixes the bug and also allows to
670         clean-up the code dealing with integer types.
671         (_M_group_int(const char*, size_t, _CharT, ios_base&, _CharT*,
672         _CharT*, int&)): Simplify, remove bits dealing with numeric base.
673         (__int_to_char(_CharT*, unsigned long, const _CharT*,
674         ios_base::fmtflags), __int_to_char(_CharT*, unsigned long long,
675         const _CharT*, ios_base::fmtflags)): Remove hackish fix for
676         libstdc++/15565.
677         (__int_to_char(_CharT*, long, const _CharT*, ios_base::fmtflags),
678         __int_to_char(_CharT*, long long, const _CharT*, ios_base::fmtflags)):
679         Simplify, don't pass the sign.
680         (_M_insert_float(_OutIter, ios_base&, _CharT, char, _ValueT)):
681         Deal with a sign at the beginning of __cs; robustify the grouping
682         check.
683         * testsuite/22_locale/num_put/put/char/20914.cc: New.
684         * testsuite/22_locale/num_put/put/wchar_t/20914.cc: Likewise.
685
686 2005-04-14  Benjamin Kosnik  <bkoz@redhat.com>
687
688         * include/ext/bitmap_allocator.h
689         (__gnu_cxx::free_list::_M_get_mutex): New.
690         (__gnu_cxx::free_list::_M_get_free_list): New.
691         (__gnu_cxx::free_list::_S_bfl_mutex): Remove.
692         (__gnu_cxx::free_list::_S_free_list): Remove.
693         * src/bitmap_allocator.cc: Same.
694         * config/linker-map.gnu: Remove free_list and mutex export.
695
696 2005-04-14  Benjamin Kosnik  <bkoz@redhat.com>
697
698         *  include/ext/pod_char_traits.h (__gnu_cxx::character): Add char_type.
699         (character::to): New.
700         (character::from): New.
701         (operator==): Add state parameter.
702         (operator<): Same.
703         (char_traits::copy): Use std::copy.
704         (char_traits::assign): Use std::fill_n.
705         (char_traits::to_char_type): Use character::from.
706         (char_traits::to_int_type): Use character::to.
707         *  testsuite/testsuite_character.h (__gnu_test::character): Remove.
708         (__gnu_test::conversion_state): Remove.
709         (__gnu_test::pod_char): Remove.
710         (pod_char): New typedef.
711         (pod_uchar): New typedef.
712         (pod_ushort): New typedef.
713         *  testsuite/testsuite_character.cc: Fixups.
714         *  testsuite/21_strings/basic_string/inserters_extractors/pod/
715         10081-in.cc: Same.
716         *  testsuite/21_strings/basic_string/inserters_extractors/pod/
717         10081-out.cc: Same.
718         *  testsuite/22_locale/numpunct/members/pod/1.cc: Same.
719         *  testsuite/22_locale/numpunct/members/pod/2.cc: Same.
720         *  testsuite/27_io/basic_filebuf/close/12790-1.cc: Same.
721         *  testsuite/27_io/basic_filebuf/open/12790-1.cc: Same.
722         *  testsuite/27_io/basic_filebuf/seekoff/12790-1.cc: Same.
723         *  testsuite/27_io/basic_filebuf/seekoff/12790-2.cc: Same.
724         *  testsuite/27_io/basic_filebuf/seekoff/12790-3.cc: Same.
725         *  testsuite/27_io/basic_filebuf/seekoff/12790-4.cc: Same.
726         *  testsuite/27_io/basic_filebuf/seekpos/12790-1.cc: Same.
727         *  testsuite/27_io/basic_filebuf/seekpos/12790-2.cc: Same.
728         *  testsuite/27_io/basic_filebuf/seekpos/12790-3.cc: Same.
729         *  testsuite/27_io/basic_ios/imbue/14072.cc: Same.
730         *  testsuite/27_io/basic_istream/extractors_arithmetic/pod/
731         3983-1.cc: Same.
732         *  testsuite/27_io/basic_istream/extractors_character/pod/
733         3983-2.cc: Same.
734         *  testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc: Same.
735         *  testsuite/27_io/basic_istream/sentry/pod/1.cc: Same.
736         *  testsuite/27_io/basic_ostream/sentry/pod/1.cc: Same.
737
738 2005-04-12  Mike Stump  <mrs@apple.com>
739
740         * configure: Regenerate.
741
742 2005-04-08  Benjamin Kosnik  <bkoz@redhat.com>
743
744         * testsuite/Makefile.am: Remove libv3test.a.
745         * testsuite/Makefile.in: Regenerate.
746         * testsuite/lib/libstdc++.exp (v3_target_compile): Fix comments.
747         
748 2005-04-08  Paolo Carlini  <pcarlini@suse.de>
749
750         PR libstdc++/20909
751         * include/bits/locale_facets.tcc (num_put<>::_M_insert_float):
752         Don't even try to group numbers like 2e20, i.e., no decimal
753         point, scientific notation.
754         * testsuite/22_locale/num_put/put/char/20909.cc: New.
755         * testsuite/22_locale/num_put/put/wchar_t/20909.cc: Likewise.
756
757 2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>
758
759         * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Define _GLIBCXX_ASM_SYMVER.
760         * acconfig.h: Delete file.
761         * Makefile.in, acinclude.m4, configure: Regenerate.
762
763 2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>
764
765         * linkage.m4 (GLIBCXX_MAYBE_UNDERSCORED_FUNCS): New macro.
766         (GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_1,
767         GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_2,
768         GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_3,
769         GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1,
770         GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_2): Use it.
771         (GLIBCXX_CHECK_MATH_SUPPORT): Delete obsolete comment.
772         * acconfig.h: Delete redundant macros.
773         * config.h.in, configure: Regenerate.
774
775 2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>
776
777         * linkage.m4 (GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1): Eliminate
778         a subshell and if test fails, test for same functions with 
779         leading underscore.
780         (GLIBCXX_CHECK_MATH_SUPPORT): Eliminate seperate checks for _funcs.
781         * configure: Regenerate.
782
783 2005-04-08  Danny Smith  <dannysmith@users.sourceforge.net>
784             Paolo Carlini  <pcarlini@suse.de>
785                         
786         PR libstdc++/20806
787         * config/os/mingw32/os_defines.h: Define
788         _GLIBCXX_HAVE_DOS_BASED_FILESYSTEM.
789         * config/os/newlib/os_defines.h: Likewise, for __CYGWIN__.
790         * include/bits/fstream.tcc (basic_filebuf<>::showmanyc()):
791         Use it.
792         (basic_filebuf<>::xsgetn(_CharT*, streamsize)): Likewise.
793
794 2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>
795
796         * acconfig.h: Sort the bottom section.
797         * config.h.in: Regenerate.
798
799 2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>
800
801         * acconfig.h: Remove redundant HAVE_FLOAT_H.
802         * config.h.in: Regenerate.
803
804 2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>
805
806         * configure.ac: Create template for PACKAGE and VERSION.
807         Update comment on how to regenerate file.  Update minimum
808         automake version to 1.9.3.
809         * acconfig.h: Remove PACKAGE and VERSION.
810         * aclocal.m4, configure, Makefile.in, po/Makefile.in, 
811         src/Makefile.in, include/Makefile.in, libmath/Makefile.in, 
812         testsuite/Makefile.in, config.h.in: Regenerate.
813
814 2005-04-06  Benjamin Kosnik  <bkoz@redhat.com>
815
816         * docs/html/test.html: Update.
817         * testsuite/printnow.c: Remove.
818         * scripts/check_survey.in: Remove.
819
820         * testsuite/abi_check.cc: To...
821         * testuite/testsuite_abi_check.cc: ...here.
822         * testsuite/libstdc++-abi/abi.exp: Change abi_check.cc to
823         testsuite_abi_check.cc.
824
825         * testsuite/testsuite_hooks.h: Move character related bits to...
826         * testsuite/testsuite_character.h: ...here.
827         * testsuite/testsuite_character.cc: ... and here.
828         * testsuite/21_strings/basic_string/inserters_extractors/pod/
829         10081-in.cc: Use testsuite_character.h.
830         * testsuite/21_strings/basic_string/inserters_extractors/pod/
831         10081-out.cc: Same.
832         * testsuite/22_locale/numpunct/members/pod/1.cc: Same.
833         * testsuite/22_locale/numpunct/members/pod/2.cc: Same.
834         * testsuite/27_io/basic_filebuf/2.cc: Same.
835         * testsuite/27_io/basic_fstream/2.cc: Same.
836         * testsuite/27_io/basic_istream/2.cc: Same.
837         * testsuite/27_io/basic_istream/extractors_arithmetic/pod/
838         3983-1.cc: Same.
839         * testsuite/27_io/basic_istream/extractors_character/char/
840         9826.cc: Same.
841         * testsuite/27_io/basic_istream/extractors_character/pod/
842         3983-2.cc: Same.
843         * testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc: Same.
844         * testsuite/27_io/basic_istream/sentry/pod/1.cc: Same.
845         * testsuite/27_io/basic_ostream/2.cc: Same.
846         * testsuite/27_io/basic_ostream/sentry/pod/1.cc: Same.
847         * testsuite/27_io/basic_streambuf/2.cc: Same.
848         * testsuite/27_io/basic_stringbuf/2.cc: Same.
849         * testsuite/27_io/basic_stringbuf/4.cc: Same.
850         * testsuite/27_io/basic_stringstream/2.cc: Same.
851         * testsuite/27_io/fpos/1.cc: Same.
852         * testsuite/ext/mt_allocator/tune-1.cc: Same.
853         * testsuite/ext/mt_allocator/tune-2.cc: Same.
854         * testsuite/ext/stdio_filebuf/char/1.cc: Same.  
855         * testsuite/lib/libstdc++.exp (v3-build_support): Add
856         testsuite_character.cc.
857         * testsuite/Makefile.am (libv3test_a_SOURCES): Add
858         testsuite_character.cc.
859         * testsuite/Makefile.in: Regenerate.
860                 
861         * configure.ac: Remove use of check_survey.
862         * configure: Regenerate.
863         * testsuite/Makefile.am: Remove check-script and
864         check-script-install rules.
865         * testsuite/Makefile.in: Regenerate.
866
867 2005-04-06  Ulrich Weigand  <uweigand@de.ibm.com>
868
869         * config/cpu/s390/atomicity.h (__exchange_and_add): Add "memory"
870         clobber to inline assembly statement.
871
872 2005-04-06  Kelley Cook  <kcook@gcc.gnu.org>
873
874         * acinclude.m4 (_GLIBCXX_USE_LONG_LONG,
875         _GLIBCXX_USE_WCHAR_T, _GLIBCXX_USE_C99, _GLIBCXX_USE_C99_MATH,
876         _GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_RES_LIMITS, _GLIBCXX_CONCEPT_CHECKS,
877         _GLIBCXX_SYMVER, _GLIBCXX_USE_LFS, _GLIBCXX_FULLY_DYNAMIC_STRING,
878         _GLIBCXX_USE_NLS, HAVE_GTHR_DEFAULT, HAVE_MBSTATE_T, HAVE_POLL,
879         HAVE_S_ISREG, HAVE_S_IFREG, HAVE_WRITEV, HAVE_INT64_T,
880         HAVE_LC_MESSAGES): Use long form of AC_DEFINE ...
881         * acconfig.h: ... to eliminate them from here.
882         (_GLIBCXX_ASM_SYMVER): Move definition below @BOTTOM@.
883         * config.h.in, configure: Regenerate.
884         
885 2005-04-05  Kelley Cook  <kcook@gcc.gnu.org>
886
887         * Makefile.am (ACLOCAL_AMFLAGS): Define.
888         * crossconfig.m4: Wrap file into new GLIBCXX_CROSSCONFIG macro.
889         * configure.ac: Use it.
890         * acinclude.m4: Delete explicit m4_includes and sincludes.
891         * aclocal.m4, configure, Makefile.in, po/Makefile.in, 
892         src/Makefile.in, include/Makefile.in, libmath/Makefile.in, 
893         testsuite/Makefile.in: Regenerate.
894
895 2005-04-05  Jonathan Wakely  <redi@gcc.gnu.org>
896
897         * include/tr1/memory, include/tr1/boost_shared_ptr.h: Use mutex
898         to make _Sp_counted_base::add_ref_lock() thread-safe. Check whether
899         to destroy resources by testing for equality, not inequality. Add
900         empty critical sections to solve memory visibility issues.
901         * testsuite/tr1/2_general_utilities/memory/
902         shared_ptr/cons/auto_ptr_neg.cc: Use dg-excess-errors instead of
903         explicitly listing line numbers which need to be kept in sync.
904         * testsuite/tr1/2_general_utilities/memory/
905         shared_ptr/assign/auto_ptr_neg.cc: Same.
906         * testsuite/tr1/2_general_utilities/memory/
907         shared_ptr/assign/auto_ptr_rvalue_neg.cc: Same.
908         * testsuite/tr1/2_general_utilities/memory/
909         shared_ptr/cons/weak_ptr_expired.cc: Make XFAIL for consistency when
910         -fno-exceptions.
911         * testsuite/tr1/2_general_utilities/memory/
912         enable_shared_from_this/not_shared.cc: Add explanatory comments.
913         * testsuite/tr1/2_general_utilities/memory/
914         enable_shared_from_this/not_shared2.cc: Same.
915         * testsuite/tr1/2_general_utilities/memory/
916         enable_shared_from_this/not_shared3.cc: Same.
917
918 2005-04-05  Kelley Cook  <kcook@gcc.gnu.org>
919
920         * acconfig.h: Delete macros already AC_DEFINED.
921         * config.h.in: Regenerate.
922
923 2005-04-05  Kelley Cook  <kcook@gcc.gnu.org>
924
925         * acconfig.h (HAVE_MODF): Remove.
926         * linkage.m4: Check for modf.
927         * config.h.in, configure: Regenerate.
928
929 2005-04-05  Kelley Cook  <kcook@gcc.gnu.org>
930
931         * acconfig.h (ENABLE_NLS, HAVE_CATGETS): Remove.
932         (HAVE_GETTEXT, HAVE_STPCPY): Likewise.
933         * config.h.in: Regenerate.
934         
935 2005-04-05  Kelley Cook  <kcook@gcc.gnu.org>
936
937         * linkage.m4 (GLIBCXX_CHECK_BUILTIN_MATH_DEC): Use m4 translit macro 
938         to convert to uppercase instead of shelling out to tr.
939         * acconfig.h: Remove now redundant HAVE__BUILTINS_*.
940         * configure, config.h.in: Regenerate.
941
942 2005-04-05  Kelley Cook  <kcook@gcc.gnu.org>
943
944         * acconfig.h (HAVE_TANL): Correct cut-and-paste typo.
945         * config.h.in: Regenerate.
946
947 2005-04-04  Mark Mitchell  <mark@codesourcery.com>
948
949         * testsuite/Makefile.am (check-local): Remove.
950         (curent_symbols.txt): Likewise.
951         (check-abi): Do not depend on current_symbols.txt.
952         * testsuite/Makefile.in: Regenerated.
953         * testsuite/libstdc++-abi/abi.exp: Build current_symbols.txt.
954
955 2005-04-02  Douglas Gregor  <doug.gregor@gmail.com>
956         
957         * include/tr1/tuple_iterate.h (tuple_element): Use new macro
958         _GLIBCXX_T_NUM_ARGS_PLUS_1 because _T is a macro on Darwin.
959         * include/tr1/repeat.h (_GLIBCXX_T_NUM_ARGS_PLUS_1): Define for
960         each iteration.
961         * scripts/gen_includers.h: Define _GLIBCXX_T_NUM_ARGS_PLUS_1 for
962         each iteration.
963         
964 2005-04-01  Douglas Gregor  <doug.gregor@gmail.com>
965
966         * include/tr1/functional (_Maybe_wrap_member_pointer): Wrap up
967         member pointers in _Mem_fn but let other function objects pass
968         through unchanged.
969         * include/tr1/functional_iterator (bind): Reduce number of bind()
970         overloads to two to eliminate ambiguities. Use
971         _Maybe_wrap_member_pointer to handle member pointers gracefully.
972         
973 2005-04-01  Mark Mitchell  <mark@codesourcery.com>
974
975         * testsuite/Makefile.am (noinst_PROGRAMS): Remove.
976         (site.exp): Write out the path to the baseline file.
977         (check-abi): Use DejaGNU.
978         (check-abi-verbose): Remove.
979         * testsuite/Makefile.in: Regenerated.
980         * testsuite/abi_check.cc (main): Check the return value from
981         compare_symbols.
982         * testsuite/testsuite_abi.cc (compare_symbols): Return a value.
983         * testsuite/testsuite_abi.h (compare_symbols): Adjust prototype.
984         * testsuite/libstdc++-abi/abi.exp: New file.
985
986 2005-03-31  Chris Jefferson  <chris@bubblescope.net>
987
988         * include/tr1/tuple: Support iteration via tuple_iterate.h.
989         * include/tr1/tuple_iterate.h: Iteration file for tuple.
990
991 2005-03-31  Douglas Gregor  <doug.gregor@gmail.com>
992
993         * include/Makefile.am (tr1_headers): Add bind and mu repetition
994         headers and reference_wrapper<> forwarding header.
995         * include/Makefile.in: Regenerate.
996         * include/tr1/bind_iterate.h: Implementation of function call
997         operators for the function object returned from tr1::bind().
998         * include/tr1/bind_repeat.h: Bind-specific repetition header,
999         akin to include/tr1/repeat.h.
1000         * include/tr1/functional (_Mem_fn): Bug fix: declare result member
1001         template for use with result_of.
1002         (is_bind_expression): New.
1003         (is_placeholder): New.
1004         (_Placeholder): New. Placeholder type for bind.
1005         (_Mu): New. Implementation detail of bind.
1006         (_Bind, _Bind_result): New. Function objects returned by bind.
1007         (_GLIBCXX_JOIN): New. Required to create bind placeholders.
1008         * include/tr1/functional_iterate.h (_Bind, _Bind_result, bind):
1009         New. Implementation of tr1::bind.
1010         * include/tr1/mu_iterate.h (_Mu): result template and operator()
1011         for the _Mu helper to bind.
1012         * include/tr1/ref_fwd.h (reference_wrapper): Forward declaration
1013         used by tuple header.
1014         (ref): Ditto.
1015         (cref): Ditto.
1016         * include/tr1/repeat.h: Add bind-specific repetition macros.
1017         * include/tr1/tuple: Use reference_wrapper forwarding header for
1018         initial definitions, then include <tr1/functional> at the end, to
1019         make the circular dependencies work.
1020         (tie): Support zero-argument tie() function.
1021         * testsuite/tr1/3_function_objects/bind/all_bound.cc: New test of
1022         bind() functionality with parameters bound.
1023         * testsuite/tr1/3_function_objects/bind/nested.cc: New test of
1024         nested bind() expressions.
1025         * testsuite/tr1/3_function_objects/bind/placeholders.cc: New test
1026         of bind() placeholders.
1027         * testsuite/tr1/3_function_objects/bind/ref.cc: New test of bind()
1028         with arguments bound via reference_wrapper<>.
1029         * scripts/gen_includers.pl: Generate the repetitive part of
1030         include/tr1/repeat.h.
1031         * scripts/gen_bind_includers.pl: Generate the repetitive part of
1032         include/tr1/bind_repeat.h. 
1033         
1034 2005-03-30  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
1035
1036         * testsuite/Makefile.am (CXX): Use ${SHELL}.
1037         (GLIBCXX_INCLUDES): Same.
1038         (AM_CXXFLAGS): Same.
1039         * testsuite/Makefile.in: Regenerate.
1040
1041 2005-03-25  Mark Mitchell  <mark@codesourcery.com>
1042
1043         * testsuite/lib/libstdc++.exp (libstdc++_init): Define LOCALEDIR
1044         when testing an installed compiler.
1045         
1046         * testsuite/lib/libstdc++.exp (v3-build_support): Pass -w when
1047         compiling support objects.
1048
1049 2005-03-24  Benjamin Kosnik  <bkoz@redhat.com>
1050
1051         * include/tr1/memory: Forward to...
1052         * include/tr1/boost_shared_ptr.h: ...here. Add Boost Software License.
1053         * include/Makefile.am (tr1_headers): Add boost_shared_ptr.h.
1054         * include/Makefile.in: Regenerate.
1055         * testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/
1056         auto_ptr_neg.cc: Adjust line numbers.
1057
1058 2005-03-23  Mark Mitchell  <mark@codesourcery.com>
1059
1060         * testsuite/Makefile.am (all-local): Do not build testsuite_files.
1061         * testsuite/Makefile.in: Regenerated. 
1062
1063 2005-03-23  Benjamin Kosnik  <bkoz@redhat.com>
1064
1065         * acinclude.m4: Adjust so that _GLIBCXX_USE_C99 implies
1066         using _GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_USE_C99_MATH, and
1067         _GLIBCXX_USE_C99_WCHAR.
1068         Remove GLIBCXX_ENABLE_C_MBCHAR, consolidate in GLIBCXX_ENABLE_C99
1069         and GLIBCXX_ENABLE_WCHAR_T.
1070         Take C99 bits from GLIBCXX_CHECK_WCHAR_T_SUPPORT and put in 
1071         GLIBCXX_ENABLE_C99.
1072         Change remaining parts of GLIBCXX_CHECK_WCHAR_T_SUPPORT to
1073         GLIBCXX_CHECK_ICONV_SUPPORT.
1074         * configure.ac: Remove GLIBCXX_ENABLE_C_MBCHAR, use
1075         GLIBCXX_CHECK_ICONV_SUPPORT and GLIBCXX_ENABLE_WCHAR_T.
1076         * crossconfig.m4: Same.
1077         * acconfig.h: Same, adjust comments.
1078         * config.h.in: Regenerate.
1079         * configure: Regenerate.
1080         * docs/html/configopts.html: Change --enable-c-mbchar to
1081         --enable-wchar_t.
1082
1083         * config/locale/gnu/c++locale_internal.h: Guard wide functions
1084         with _GLIBCXX_USE_WCHAR_T.
1085         * include/c_std/std_cwctype.h: Alphabetize, remove duplicates.
1086         * include/c_std/std_cstdio.h: Spacing.
1087
1088         * config/locale/gnu/c_locale.h: Tweaks for unused warnings.
1089         * src/debug.cc: Same.
1090
1091 2005-03-23  Mark Mitchell  <mark@codesourcery.com>
1092
1093         * testsuite/libstdc++-dg/normal.exp: Read testsuite_files, if it
1094         exists.
1095
1096         * testsuite/lib/libstdc++.exp (libstdc++_wchar_t): Rename to ...
1097         (v3-wchar_t): ... this.
1098         (libstdc++_threads): Rename to ...
1099         (v3-threads): ... this.
1100         (libstdc++_test_objs): Rename to ...
1101         (v3-test_objs): ... this.
1102         (libstdc++_build_support): Rename to ...
1103         (v3-build_support): ... this.
1104         * testsuite/libstdc++-dg/normal.exp: Adjust to use new names.
1105
1106         * testsuite/lib/libstdc++.exp (libstdc++_init): Improve handling
1107         of compilers not in the build directory.
1108         (libstdc++_wchar_t): New variable.
1109         (libstdc++_threads): Likewise.
1110         (libstdc++_test_objs): Likewise.
1111         (v3_target_compile): Use libstdc++_test_objs.
1112         (v3-list-tests): Remove.
1113         (listdc++_build_support): New function.
1114         * testsuite/libstdc++-dg/normal.exp: Rework to dynamically
1115         generate list of tests.
1116
1117 2005-03-21  Chris Jefferson  <chris@bubblescope.net>
1118
1119         PR libstdc++/20577
1120         * include/bits/stl_algobase.h (iter_swap): Only delegate iter_swap
1121         to swap when the iterator's reference_type is a reference to its
1122         value_type.
1123         * testsuite/25_algorithms/iter_swap/20577.cc: New.
1124
1125 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
1126
1127         * acinclude.m4 (GLIBCXX_CONFIGURE): Delete gcc_version logic.
1128         (GLIBCXX_EXPORT_INSTALL_INFO): Adjust quotation so ${gcc_version}
1129         is expanded by the Makefiles, not by configure.
1130         * fragment.am: Set gcc_version.
1131         * libmath/Makefile.am: Likewise.
1132         * configure, Makefile.in, include/Makefile.in, libmath/Makefile.in
1133         * libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in
1134         * testsuite/Makefile.in: Regenerate.
1135
1136 2005-03-16  Paolo Carlini  <pcarlini@suse.de>
1137
1138         * testsuite/20_util/functional/binders.cc: Remove explicit
1139         instantiations for non-weak systems.
1140         * testsuite/20_util/memory/allocator/1.cc: Likewise.
1141         * testsuite/20_util/memory/allocator/10378.cc: Likewise.
1142         * testsuite/20_util/memory/allocator/10416.cc: Likewise.
1143         * testsuite/20_util/memory/allocator/8230.cc: Likewise.
1144         * testsuite/20_util/utility/rel_ops.cc: Likewise.
1145         * testsuite/22_locale/ctype/is/char/2.cc: Likewise.
1146         * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
1147         * testsuite/23_containers/deque/cons/1.cc: Likewise.
1148         * testsuite/23_containers/deque/cons/2.cc: Likewise.
1149         * testsuite/23_containers/deque/invalidation/1.cc: Likewise.
1150         * testsuite/23_containers/deque/invalidation/2.cc: Likewise.
1151         * testsuite/23_containers/deque/invalidation/3.cc: Likewise.
1152         * testsuite/23_containers/deque/invalidation/4.cc: Likewise.
1153         * testsuite/23_containers/deque/modifiers/swap.cc: Likewise.
1154         * testsuite/23_containers/deque/operators/1.cc: Likewise.
1155         * testsuite/23_containers/list/capacity/1.cc: Likewise.
1156         * testsuite/23_containers/list/cons/1.cc: Likewise.
1157         * testsuite/23_containers/list/cons/2.cc: Likewise.
1158         * testsuite/23_containers/list/cons/3.cc: Likewise.
1159         * testsuite/23_containers/list/cons/4.cc: Likewise.
1160         * testsuite/23_containers/list/cons/5.cc: Likewise.
1161         * testsuite/23_containers/list/cons/6.cc: Likewise.
1162         * testsuite/23_containers/list/cons/7.cc: Likewise.
1163         * testsuite/23_containers/list/cons/8.cc: Likewise.
1164         * testsuite/23_containers/list/cons/9.cc: Likewise.
1165         * testsuite/23_containers/list/invalidation/1.cc: Likewise.
1166         * testsuite/23_containers/list/invalidation/2.cc: Likewise.
1167         * testsuite/23_containers/list/invalidation/3.cc: Likewise.
1168         * testsuite/23_containers/list/invalidation/4.cc: Likewise.
1169         * testsuite/23_containers/list/modifiers/1.cc: Likewise.
1170         * testsuite/23_containers/list/modifiers/2.cc: Likewise.
1171         * testsuite/23_containers/list/modifiers/3.cc: Likewise.
1172         * testsuite/23_containers/list/operators/1.cc: Likewise.
1173         * testsuite/23_containers/list/operators/2.cc: Likewise.
1174         * testsuite/23_containers/list/operators/3.cc: Likewise.
1175         * testsuite/23_containers/list/operators/4.cc: Likewise.
1176         * testsuite/23_containers/map/insert/1.cc: Likewise.
1177         * testsuite/23_containers/map/invalidation/1.cc: Likewise.
1178         * testsuite/23_containers/map/invalidation/2.cc: Likewise.
1179         * testsuite/23_containers/map/modifiers/swap.cc: Likewise.
1180         * testsuite/23_containers/map/operators/1.cc: Likewise.
1181         * testsuite/23_containers/multimap/invalidation/1.cc: Likewise.
1182         * testsuite/23_containers/multimap/invalidation/2.cc: Likewise.
1183         * testsuite/23_containers/multimap/modifiers/swap.cc: Likewise.
1184         * testsuite/23_containers/multiset/insert/1.cc: Likewise.
1185         * testsuite/23_containers/multiset/insert/2.cc: Likewise.
1186         * testsuite/23_containers/multiset/invalidation/1.cc: Likewise.
1187         * testsuite/23_containers/multiset/invalidation/2.cc: Likewise.
1188         * testsuite/23_containers/multiset/modifiers/swap.cc: Likewise.
1189         * testsuite/23_containers/priority_queue/members/7161.cc: Likewise.
1190         * testsuite/23_containers/queue/members/7157.cc: Likewise.
1191         * testsuite/23_containers/set/insert/1.cc: Likewise.
1192         * testsuite/23_containers/set/invalidation/1.cc: Likewise.
1193         * testsuite/23_containers/set/invalidation/2.cc: Likewise.
1194         * testsuite/23_containers/set/modifiers/swap.cc: Likewise.
1195         * testsuite/23_containers/stack/members/7158.cc: Likewise.
1196         * testsuite/23_containers/vector/bool/6886.cc: Likewise.
1197         * testsuite/23_containers/vector/capacity/1.cc: Likewise.
1198         * testsuite/23_containers/vector/capacity/8230.cc: Likewise.
1199         * testsuite/23_containers/vector/cons/1.cc: Likewise.
1200         * testsuite/23_containers/vector/cons/2.cc: Likewise.
1201         * testsuite/23_containers/vector/cons/3.cc: Likewise.
1202         * testsuite/23_containers/vector/cons/6513.cc: Likewise.
1203         * testsuite/23_containers/vector/element_access/1.cc: Likewise.
1204         * testsuite/23_containers/vector/invalidation/1.cc: Likewise.
1205         * testsuite/23_containers/vector/invalidation/2.cc: Likewise.
1206         * testsuite/23_containers/vector/invalidation/3.cc: Likewise.
1207         * testsuite/23_containers/vector/invalidation/4.cc: Likewise.
1208         * testsuite/23_containers/vector/modifiers/1.cc: Likewise.
1209         * testsuite/23_containers/vector/modifiers/2.cc: Likewise.
1210         * testsuite/23_containers/vector/modifiers/swap.cc: Likewise.
1211         * testsuite/23_containers/vector/resize/1.cc: Likewise.
1212         * testsuite/24_iterators/back_insert_iterator.cc: Likewise.
1213         * testsuite/24_iterators/front_insert_iterator.cc: Likewise.
1214         * testsuite/24_iterators/insert_iterator.cc: Likewise.
1215         * testsuite/24_iterators/iterator.cc: Likewise.
1216         * testsuite/25_algorithms/copy/1.cc: Likewise.
1217         * testsuite/25_algorithms/copy/2.cc: Likewise.
1218         * testsuite/25_algorithms/copy/3.cc: Likewise.
1219         * testsuite/25_algorithms/copy/4.cc: Likewise.
1220         * testsuite/25_algorithms/equal.cc: Likewise.
1221         * testsuite/25_algorithms/fill/1.cc: Likewise.
1222         * testsuite/25_algorithms/fill/2.cc: Likewise.
1223         * testsuite/25_algorithms/min_max.cc: Likewise.
1224         * testsuite/25_algorithms/rotate.cc: Likewise.
1225         * testsuite/25_algorithms/unique/1.cc: Likewise.
1226         * testsuite/25_algorithms/unique/2.cc: Likewise.
1227         * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise.
1228         * testsuite/ext/concept_checks.cc: Likewise.
1229         * testsuite/ext/hash_map/1.cc: Likewise.
1230         * testsuite/ext/hash_set/1.cc: Likewise.
1231         * testsuite/ext/rope/1.cc: Likewise.
1232         * testsuite/ext/rope/2.cc: Likewise.
1233         * testsuite/ext/rope/3.cc: Likewise.
1234         * testsuite/thread/pthread1.cc: Likewise.
1235         * testsuite/thread/pthread4.cc: Likewise.
1236         * testsuite/thread/pthread5.cc: Likewise.
1237         * testsuite/thread/pthread6.cc: Likewise.
1238         * testsuite/thread/pthread7-rope.cc: Likewise.
1239
1240 2005-03-15  Zack Weinberg  <zack@codesourcery.com>
1241
1242         * include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc
1243         subdirectory.  Generate #define of __GLIBCXX__ from contents of
1244         that file.
1245         * include/Makefile.in: Regenerate.
1246         * include/bits/c++config: Do not define __GLIBCXX__.
1247
1248 2005-03-15  Paolo Carlini  <pcarlini@suse.de>
1249
1250         PR libstdc++/20352
1251         * include/std/std_complex.h (pow(const complex<_Tp>&,
1252         const _Tp&)): On non-c99 platforms, don't try to compute
1253         log of complex zero.
1254
1255 2005-03-10  Ben Elliston  <bje@au.ibm.com>
1256
1257         * testsuite/22_locale/locale/cons/12658_thread-1.cc: Don't XFAIL
1258         on GNU/Linux.
1259
1260 2005-03-07  Paolo Carlini  <pcarlini@suse.de>
1261
1262         * include/tr1/type_traits (is_polymorphic): Don't forget
1263         the virtual destructor, thus avoiding warnings.
1264         * testsuite/testsuite_tr1.h (class AbstractClass,
1265         class PolymorphicClass): Likewise.
1266
1267 2005-03-07  Paolo Carlini  <pcarlini@suse.de>
1268
1269         * include/std/std_complex.h (pow(const complex<_Tp>&,
1270         const complex<_Tp>&)): Dispatch to either __complex_pow(__x.__rep(),
1271         __y.__rep()) or __complex_pow(__x, __y) depending on the macro
1272         _GLIBCXX_USE_C99_COMPLEX.
1273
1274 2005-03-07  Paolo Carlini  <pcarlini@suse.de>
1275
1276         * include/std/std_fstream.h (basic_fstream<>::open,
1277         basic_ifstream<>::open, basic_ofstream<>::open): Implement the
1278         resolution of DR 409 [Ready], call clear() on success.
1279         * docs/html/ext/howto.html: Add an entry for DR 409.
1280         * docs/html/faq/index.html (4_4): Clarify the new behavior.
1281         * testsuite/27_io/basic_ifstream/open/char/1.cc: Adjust.
1282         * testsuite/27_io/basic_ofstream/open/char/1.cc: Likewise.
1283
1284 2005-03-05  Joseph S. Myers  <joseph@codesourcery.com>
1285
1286         * testsuite/22_locale/collate/compare/wchar_t/2.cc,
1287         testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc,
1288         testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc,
1289         testsuite/22_locale/collate/hash/wchar_t/2.cc,
1290         testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc,
1291         testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc,
1292         testsuite/22_locale/collate/transform/wchar_t/2.cc,
1293         testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc,
1294         testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
1295         XFAIL on *-*-hpux11.23.
1296
1297 2005-03-04  Paolo Carlini  <pcarlini@suse.de>
1298
1299         * include/tr1/type_traits: Add is_base_of.
1300         * testsuite/tr1/4_metaprogramming/relationships_between_types/
1301         is_base_of/is_base_of.cc: New.
1302         * testsuite/tr1/4_metaprogramming/relationships_between_types/
1303         is_base_of/typedefs.cc: Likewise.
1304
1305 2005-03-03  Benjamin Kosnik  <bkoz@redhat.com>
1306
1307         * include/tr1/functional: Convert relative path.
1308
1309         * docs/doxygen/user.cfg.in: Add tr1 includes.
1310
1311 2005-03-03  Paolo Carlini  <pcarlini@suse.de>
1312
1313         * include/tr1/type_traits: Implemenet is_polymorphic.
1314         (is_empty): Minor tweaks.
1315         * testsuite/testsuite_tr1.h: Add test types.
1316         * testsuite/tr1/4_metaprogramming/type_properties/
1317         is_polymorphic/is_polymorphic.cc: New.
1318         * testsuite/tr1/4_metaprogramming/type_properties/
1319         is_polymorphic/typedefs.cc: Likewise.
1320         * testsuite/tr1/4_metaprogramming/composite_type_traits/
1321         is_union_or_class/is_union_or_class.cc: Add tests.
1322
1323 2005-03-02  Douglas Gregor  <doug.gregor@gmail.com>
1324
1325         * include/tr1/functional (_Has_result_type): Cleanup.
1326         (_Result_of_impl): Handle member data pointers correctly.
1327         (reference_wrapper): Support invocation.
1328         Move repetition code into new file include/tr1/repeat.h.
1329         * include/tr1/functional_iterate.h (reference_wrapper): Support
1330         invocation.  Cleanup long lines.
1331         * include/tr1/ref_wrap_iterate.h (reference_wrapper): Declare
1332         invocation operators.
1333         * include/tr1/repeat.h: Code repetition header.
1334         * include/Makefile.am: Add ref_wrap_iterate.h, repeat.h.
1335         * include/Makefile.in: Add ref_wrap_iterate.h, repeat.h.
1336         * testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc:
1337         New test of reference_wrapper invocation.
1338         * testsuite/tr1/3_function_objects/reference_wrapper/typedefs.cc:
1339         New test of reference_wrapper typedefs and base classes.
1340         * testsuite/tr1/3_function_objects/result_of.cc: Trivial cleanup
1341         (e-mail address).
1342
1343 2005-03-02  Douglas Gregor  <doug.gregor@gmail.com>
1344
1345         * include/tr1/function (result_of): New class template.
1346         * include/tr1/functional/iterator.h: Implementation of TR1
1347         result_of.
1348         * testsuite/tr1/3_function_objects/result_of.cc: New test
1349
1350 2005-03-01  Vladimir Merzliakov  <wanderer@rsu.ru>
1351
1352         * testsuite/26_numerics/cmath/c99_classification_macros_c.cc: Tweak.
1353
1354 2005-02-28  Benjamin Kosnik  <bkoz@redhat.com>
1355
1356         * testsuite/tr1/2_general_utilities/memory/shared_ptr/
1357         cons/auto_ptr_neg.cc: Correct line numbers.
1358
1359         * testsuite/testsuite_abi.cc: Add CXXABI_1.3.1.
1360
1361 2005-02-28  Jonathan Wakely  <redi@gcc.gnu.org>
1362
1363         * include/tr1/memory: Replace checked_deleter with (unchecked)
1364         _Sp_deleter as GCC warns about delete on incomplete types anyway.
1365
1366 2005-02-28  Jonathan Wakely  <redi@gcc.gnu.org>
1367
1368         * include/tr1/memory: Add missing "inline" to __throw_bad_weak_ptr.
1369
1370 2005-02-28  Hans-Peter Nilsson  <hp@axis.com>
1371
1372         PR target/19065
1373         * config/cpu/cris/atomicity.h (__exchange_and_add): In asm, use
1374         'Q' constraint, not 'm'.
1375
1376 2005-02-26  Earl Chew  <earl_chew@agilent.com>
1377             Christopher Jefferson  <chris@bubblescope.net>
1378
1379         * include/bits/stl_tree.h (_Rb_tree<>::_M_insert): Don't leak
1380         memory if _M_key_compare throws.
1381
1382 2005-02-25  Paolo Carlini  <pcarlini@suse.de>
1383
1384         * include/tr1/type_traits: Add the trivial is_union and is_class;
1385         add the __is_union_or_class extension.
1386         (is_enum, is_empty): Use the latter.
1387         * include/tr1/type_traits_fwd.h: Add __is_union_or_class.
1388         * testsuite/testsuite_tr1.h: Add UnionType; trivial formatting
1389         fixes.
1390         * testsuite/tr1/4_metaprogramming/composite_type_traits/
1391         is_union_or_class/is_union_or_class.cc: New.
1392         * testsuite/tr1/4_metaprogramming/composite_type_traits/
1393         is_union_or_class/typedefs.cc: Likewise.
1394
1395 2005-02-24  Benjamin Kosnik  <bkoz@redhat.com>
1396
1397         * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: Guard
1398         wchar_t use with _GLIBCXX_USE_WCHAR_T.
1399
1400 2005-02-24  Benjamin Kosnik  <bkoz@redhat.com>
1401
1402         * include/std/std_complex.h: _GLIBCXX_USE_C99_COMPLEX_MATH to
1403         _GLIBCXX_USE_C99_COMPLEX.
1404         * acinclude.m4: Same.
1405         * acconfig.h: Same.
1406         * configure: Regenerate.
1407         * config.h.in: Same.
1408
1409 2005-02-24  Paolo Carlini  <pcarlini@suse.de>
1410
1411         * include/tr1/functional (mem_fn): Avoid _T, badname on
1412         Darwin.
1413
1414 2005-02-23  Douglas Gregor  <doug.gregor@gmail.com>
1415
1416         * include/tr1/functional (function): New class template.
1417         (mem_fn): New function template.
1418         Implementations of TR1 function and mem_fn facilities.
1419         * include/tr1/functional_iterate.h: Implementations of TR1
1420         function and mem_fn facilities.
1421         * testsuite/tr1/3_function_objects/function/1.cc: New
1422         test of std::tr1::function.
1423         * testsuite/tr1/3_function_objects/function/2.cc: New
1424         test of std::tr1::function.
1425         * testsuite/tr1/3_function_objects/function/3.cc: New
1426         test of std::tr1::function.
1427         * testsuite/tr1/3_function_objects/function/4.cc: New
1428         test of std::tr1::function.
1429         * testsuite/tr1/3_function_objects/function/5.cc: New
1430         test of std::tr1::function.
1431         * testsuite/tr1/3_function_objects/function/6.cc: New
1432         test of std::tr1::function.
1433         * testsuite/tr1/3_function_objects/function/7.cc: New
1434         test of std::tr1::function.
1435         * testsuite/tr1/3_function_objects/function/8.cc: New
1436         test of std::tr1::function.
1437         * testsuite/tr1/3_function_objects/function/9.cc: New
1438         test of std::tr1::function.
1439         * testsuite/tr1/3_function_objects/mem_fn.cc: New test of
1440         std::tr1::mem_fn.
1441
1442 2005-02-23  Paolo Carlini  <pcarlini@suse.de>
1443
1444         * include/tr1/type_traits: Implement is_convertible.
1445         * testsuite/tr1/4_metaprogramming/relationships_between_types/
1446         is_convertible/is_convertible.cc: New.
1447         * testsuite/tr1/4_metaprogramming/relationships_between_types/
1448         is_convertible/typedefs.cc: Likewise.
1449         * testsuite/testsuite_tr1.h: Add class DerivedType.
1450
1451         * include/tr1/type_traits (is_function): Don't mistake references
1452         to function types for function types.
1453         * testsuite/tr1/4_metaprogramming/primary_type_categories/
1454         is_function/is_function.cc: Add testcase.
1455
1456 2005-02-22  Benjamin Kosnik  <bkoz@redhat.com>
1457
1458         * scripts/check_performance: Tweaks.
1459
1460         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/2.cc: Name
1461         output file with extension that clean rules can find.
1462
1463 2005-02-22  Richard Henderson  <rth@redhat.com>
1464
1465         PR libstdc++/20091
1466         * libsupc++/eh_catch.cc (__cxa_begin_catch): Don't special case
1467         decrement of uncaughtExceptions for rethrow.
1468
1469 2005-02-22  Paolo Carlini  <pcarlini@suse.de>
1470
1471         * include/tr1/functional: Fix License to GPL with exception.
1472         * include/tr1/hashtable: Likewise.
1473         * include/tr1/tuple: Likewise.
1474         * include/tr1/type_traits: Likewise.
1475         * include/tr1/type_traits_fwd.h: Likewise.
1476         * include/tr1/unordered_map: Likewise.
1477         * include/tr1/unordered_set: Likewise.
1478         * include/tr1/utility: Likewise.
1479
1480 2005-02-22  Paolo Carlini  <pcarlini@suse.de>
1481
1482         * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
1483         auto_ptr_neg.cc: Add missing dg-do compile directive.
1484         * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
1485         auto_ptr_rvalue_neg.cc: Likewise.
1486         * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
1487         shared_ptr_neg.cc: Likewise.
1488         * testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/
1489         auto_ptr_neg.cc: Likewise.
1490         * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
1491         reset_neg.cc: Likewise.
1492         * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
1493         swap_neg.cc: Likewise.
1494
1495 2005-02-22  Jonathan Wakely  <redi@gcc.gnu.org>
1496
1497         * include/Makefile.am, include/Makefile.in: Fix accidental extra
1498         change from previous commit.
1499
1500 2005-02-21  Jonathan Wakely  <redi@gcc.gnu.org>
1501
1502         * include/tr1/memory: New file.
1503         * include/Makefile.am, include/Makefile.in: Add new TR1 header.
1504         * testsuite/tr1/2_general_utilities/memory/
1505         enable_shared_from_this/not_shared.cc: New test.
1506         * testsuite/tr1/2_general_utilities/memory/
1507         enable_shared_from_this/not_shared2.cc: New test.
1508         * testsuite/tr1/2_general_utilities/memory/
1509         enable_shared_from_this/not_shared3.cc: New test.
1510         * testsuite/tr1/2_general_utilities/memory/
1511         enable_shared_from_this/shared.cc: New test.
1512         * testsuite/tr1/2_general_utilities/memory/
1513         enable_shared_from_this/still_shared.cc: New test.
1514         * testsuite/tr1/2_general_utilities/memory/
1515         shared_ptr/assign/assign.cc: New test.
1516         * testsuite/tr1/2_general_utilities/memory/
1517         shared_ptr/assign/auto_ptr.cc: New test.
1518         * testsuite/tr1/2_general_utilities/memory/
1519         shared_ptr/assign/auto_ptr_neg.cc: New test.
1520         * testsuite/tr1/2_general_utilities/memory/
1521         shared_ptr/assign/auto_ptr_rvalue_neg.cc: New test.
1522         * testsuite/tr1/2_general_utilities/memory/
1523         shared_ptr/assign/shared_ptr.cc: New test.
1524         * testsuite/tr1/2_general_utilities/memory/
1525         shared_ptr/assign/shared_ptr_neg.cc: New test.
1526         * testsuite/tr1/2_general_utilities/memory/
1527         shared_ptr/comparison/cmp.cc: New test.
1528         * testsuite/tr1/2_general_utilities/memory/
1529         shared_ptr/cons/auto_ptr.cc: New test.
1530         * testsuite/tr1/2_general_utilities/memory/
1531         shared_ptr/cons/auto_ptr_neg.cc: New test.
1532         * testsuite/tr1/2_general_utilities/memory/
1533         shared_ptr/cons/copy.cc: New test.
1534         * testsuite/tr1/2_general_utilities/memory/
1535         shared_ptr/cons/default.cc: New test.
1536         * testsuite/tr1/2_general_utilities/memory/
1537         shared_ptr/cons/pointer.cc: New test.
1538         * testsuite/tr1/2_general_utilities/memory/
1539         shared_ptr/cons/weak_ptr.cc: New test.
1540         * testsuite/tr1/2_general_utilities/memory/
1541         shared_ptr/cons/weak_ptr_expired.cc: New test.
1542         * testsuite/tr1/2_general_utilities/memory/
1543         shared_ptr/dest/dest.cc: New test.
1544         * testsuite/tr1/2_general_utilities/memory/
1545         shared_ptr/misc/io.cc: New test.
1546         * testsuite/tr1/2_general_utilities/memory/
1547         shared_ptr/misc/swap.cc: New test.
1548         * testsuite/tr1/2_general_utilities/memory/
1549         shared_ptr/modifiers/reset.cc: New test.
1550         * testsuite/tr1/2_general_utilities/memory/
1551         shared_ptr/modifiers/reset_neg.cc: New test.
1552         * testsuite/tr1/2_general_utilities/memory/
1553         shared_ptr/modifiers/swap.cc: New test.
1554         * testsuite/tr1/2_general_utilities/memory/
1555         shared_ptr/modifiers/swap_neg.cc: New test.
1556         * testsuite/tr1/2_general_utilities/memory/
1557         shared_ptr/observers/bool_conv.cc: New test.
1558         * testsuite/tr1/2_general_utilities/memory/
1559         shared_ptr/observers/get.cc: New test.
1560         * testsuite/tr1/2_general_utilities/memory/
1561         shared_ptr/observers/unique.cc: New test.
1562         * testsuite/tr1/2_general_utilities/memory/
1563         shared_ptr/observers/use_count.cc: New test.
1564
1565 2005-02-21  Paolo Carlini  <pcarlini@suse.de>
1566
1567         * include/tr1/type_traits (is_member_function_pointer):
1568         Remove ugly workaround for c++/19076.
1569
1570 2005-02-21  Paolo Carlini  <pcarlini@suse.de>
1571
1572         * include/bits/basic_string.tcc (_Rep::_M_destroy): Don't
1573         check for this == &_S_empty_rep, it's always false, here.
1574
1575 2005-02-19  Matt Austern  <austern@gmail.com>
1576
1577         * include/tr1/functional (tr1_hashtable_define_trivial_hash): Make
1578         hash<T>::operator() a const member function for T a fundamental type
1579         * include/tr1/hashtable (extract1st::operator()): Declare const.
1580         (hash_code_base): Declare all member functions const
1581         (hashtable::find): fix call to this->bucket_count()
1582         (hashtable::count): Likewise.
1583         (hashtable::equal_range): m_incr_bucket applies to iterator, not node.
1584         * testsuite/tr1/6_containers/unordered/find/set1.cc: New test.
1585         * testsuite/tr1/6_containers/unordered/find/map1.cc: New test.
1586         * testsuite/tr1/6_containers/unordered/find/multimap1.cc: New test.
1587         * testsuite/tr1/6_containers/unordered/find/multiset1.cc: New test.
1588
1589 2005-02-19  Hans-Peter Nilsson  <hp@axis.com>
1590
1591         PR libstdc++/20071
1592         * include/tr1/functional (hash<std::wstring>): Wrap in #ifdef
1593         _GLIBCXX_USE_WCHAR_T.
1594
1595 2005-02-18  Richard Henderson  <rth@redhat.com>
1596
1597         PR libstdc++/10606
1598         * config/linker-map.gnu (CXXABI_1.3.1): Add __cxa_get_exception_ptr.
1599         * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Increment
1600         uncaughtExceptions here instead of ...
1601         * libsupc++/eh_throw.cc (__cxa_throw) ... here.
1602         (__cxa_rethrow): Increment uncaughtExceptions here instead of ...
1603         * libsupc++/eh_catch.cc (__cxa_end_catch): ... here.
1604         (__cxa_get_exception_ptr): New.
1605         * libsupc++/unwind-cxx.h (__cxa_get_exception_ptr): Declare.
1606
1607 2005-02-18  Matt Austern  <austern@apple.com>
1608
1609         * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: Fix
1610         test case to use assignment instead of ==
1611         * testsuite/tr1/6_containers/unordered/insert/map_range.cc: New test.
1612         * testsuite/tr1/6_containers/unordered/insert/multimap_range.cc: New test.
1613         * testsuite/tr1/6_containers/unordered/insert/multiset_range.cc: New test.
1614         * testsuite/tr1/6_containers/unordered/insert/set_range.cc: New test.
1615
1616 2005-02-18  Eric Botcazou  <ebotcazou@libertysurf.fr>
1617
1618         * testsuite/thread/pthread1.cc: Do not invoke pthread_setconcurrency
1619         on Solaris 2.6 and below.
1620         * testsuite/thread/pthread2.cc: Likewise.
1621         * testsuite/thread/pthread3.cc: Likewise.
1622         * testsuite/thread/pthread4.cc: Likewise.
1623         * testsuite/thread/pthread5.cc: Likewise.
1624         * testsuite/thread/pthread6.cc: Likewise.
1625         * testsuite/thread/pthread7-rope.cc: Likewise.
1626
1627 2005-02-17  Matt Austern  <austern@apple.com>
1628
1629         * include/tr1/functional (hash): New function object.
1630         * include/tr1/hashtable: New file.
1631         * include/tr1/unordered_set: New file.
1632         * include/tr1/unordered_map: New file.
1633         * include/Makefile.am: Add three new TR1 headers.
1634         * include/Makefile.in: Likewise.
1635         * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: New test.
1636         * testsuite/tr1/6_containers/unordered/insert/map_single.cc: New test.
1637         * testsuite/tr1/6_containers/unordered/insert/multimap_single.cc: New test.
1638         * testsuite/tr1/6_containers/unordered/insert/multiset_single.cc: New test.
1639         * testsuite/tr1/6_containers/unordered/insert/set_single.cc: New test.
1640         * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: New test.
1641         * testsuite/tr1/6_containers/unordered/instantiate/map.cc: New test.
1642         * testsuite/tr1/6_containers/unordered/instantiate/multimap.cc: New test.
1643         * testsuite/tr1/6_containers/unordered/instantiate/multiset.cc: New test.
1644         * testsuite/tr1/6_containers/unordered/instantiate/set.cc: New test.
1645
1646 2005-02-16  Paolo Carlini  <pcarlini@suse.de>
1647
1648         * testsuite/23_containers/set/modifiers/16728.cc:
1649         Remove redundant include <testsuite_performance.h>.
1650
1651 2005-02-16  Paolo Carlini  <pcarlini@suse.de>
1652
1653         PR libstdc++/19829
1654         * testsuite/21_strings/basic_string/find/char/3.cc: Fix the test
1655         at line #66 to not access str_lit01 beyond its end.
1656         * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Likewise.
1657
1658 2005-02-15  Paolo Carlini  <pcarlini@suse.de>
1659             Jon Grimm  <jgrimm2@us.ibm.com>
1660
1661         PR libstdc++/19955
1662         * include/bits/locale_facets.h (ctype<char>::_M_narrow_init()):
1663         Fix the logic setting _M_narrow_ok: first check whether the
1664         transformation is trivial with a dflt == 0, then deal with the
1665         special case of zero.
1666         * testsuite/22_locale/ctype/narrow/char/19955.cc: New.
1667
1668         * include/bits/locale_facets.h (ctype<char>::_M_widen_init()):
1669         Tweak consistently to use memcmp; minor formatting fixes.
1670
1671 2005-02-15  Jakub Jelinek  <jakub@redhat.com>
1672
1673         PR libstdc++/19946
1674         * testsuite/demangle/abi_examples/01.cc (main): Adjust for 2005-02-13
1675         demangler change.
1676         * testsuite/demangle/abi_examples/02.cc (main): Likewise.
1677
1678 2005-02-13  Richard Guenther  <rguenth@gcc.gnu.org>
1679             Paolo Carlini  <pcarlini@suse.de>
1680
1681         PR libstdc++/11706
1682         * include/c_std/std_cmath.h (pow): Use __builtin_powi[lf]
1683         for integer overloads.
1684
1685         * testsuite/26_numerics/cmath/powi.cc: New.
1686
1687 2005-02-11  Janis Johnson  <janis187@us.ibm.com>
1688
1689         * testsuite/26_numerics/complex/13450.cc: Fix XFAIL selector.
1690         * testsuite/26_numerics/complex/complex_value.cc: Ditto.
1691         * testsuite/26_numerics/complex/pow.cc: Ditto.
1692
1693         * testsuite/lib/libstdc++.exp: Load target-supports-dg.exp.
1694         * testsuite/26_numerics/complex/13450.cc: XFAIL for broken_cplxf_arg.
1695         * testsuite/26_numerics/complex/complex_value.cc: Ditto.
1696         * testsuite/26_numerics/complex/pow.cc: Ditto.
1697
1698 2005-02-09  Mike Stump  <mrs@apple.com>
1699
1700         * libsupc++/del_op.cc: Don't include cstdlib when !_GLIBCXX_HOSTED.
1701
1702 2005-02-09  Janis Johnson  <janis187@us.ibm.com>
1703
1704         * testsuite/ext/array_allocator/2.cc: XFAIL for powerpc*-*-linux*.
1705
1706 2005-02-08  Mark Mitchell  <mark@codesourcery.com>
1707
1708         * config/linker-map.gnu (GLIBCXX_3.4): Add _ZNSdC* and _ZNSdD*.
1709
1710 2005-02-07  Loren J. Rittle  <ljrittle@acm.org>
1711
1712         * testsuite/27_io/basic_istream/getline/wchar_t/5.cc: Make buf static.
1713         * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Make ref and
1714         src static.
1715
1716 2005-02-02  Brad Spencer  <spencer@infointeractive.com>
1717
1718         * debug.html: Fix broken tags.
1719         * documentation.html: Same.
1720
1721 2005-02-02  Andreas Jaeger  <aj@suse.de>
1722
1723         * testsuite/lib/libstdc++.exp: Revert Geoffrey Keating's patch
1724         from 2005-01-28.
1725         * testsuite/Makefile.am: Likewise.
1726         * testsuite/Makefile.in: Likewise.
1727
1728 2005-02-01  Paolo Carlini  <pcarlini@suse.de>
1729
1730         * include/bits/cpp_type_traits.h: Rename _M_type fields to
1731         __value, except for __enable_if, _M_type -> __type, consistently
1732         with the other traits.
1733         * include/bits/stl_algobase.h: Tweak consistently.
1734         * include/bits/stl_tree.h: Likewise.
1735         * include/bits/valarray_array.h: Likewise.
1736         * include/c_std/std_cmath.h: Likewise.
1737         * include/debug/safe_iterator.h: Likewise.
1738         * include/std/std_complex.h: Likewise.
1739
1740 2005-01-31  Brad Spencer  <spencer@infointeractive.com>
1741
1742         * crossconfig.m4: Repair Solaris cross bits for strtold and strtof.
1743         * configure: Regenerated.
1744
1745 2005-01-31  Mark Mitchell  <mark@codesourcery.com>
1746
1747         * include/std/std_limits.h (numeric_limits<float>::has_denorm):
1748         Add required cast.
1749         (numeric_limits<double>::has_denorm): Likewise.
1750         (numeric_limits<long double>::has_denorm): Likewise.
1751
1752 2005-01-31  Paolo Carlini  <pcarlini@suse.de>
1753             Gabriel Dos Reis  <gdr@integrable-solutions.net>
1754
1755         * include/bits/cpp_type_traits.h: Add types to the structs thus
1756         making type_traits.h redundant; exploit new __truth_type and
1757         __traitor helpers.
1758         * include/bits/type_traits.h: Remove.
1759         * include/Makefile.am: Update.
1760         * include/Makefile.in: Regenerate.
1761         * include/backward/tempbuf.h: Include cpp_type_traits.h instead.
1762         * include/bits/basic_string.h (replace(iterator, iterator,
1763         _InputIterator, _InputIterator), _S_construct(_InIterator,
1764         _InIterator, const _Alloc&)): Use __is_integer instead.
1765         * include/bits/stl_bvector.h (vector(_InputIterator,
1766         _InputIterator, const allocator_type&), assign(_InputIterator,
1767         _InputIterator), insert(iterator, _InputIterator, _InputIterator)):
1768         Likewise.
1769         * include/bits/stl_construct.h (_Destroy(_ForwardIterator,
1770         _ForwardIterator)): Use __is_scalar.
1771         * include/bits/stl_deque.h (deque(_InputIterator, _InputIterator,
1772         const allocator_type&), assign(_InputIterator, _InputIterator),
1773         insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
1774         * include/bits/stl_list.h (assign(_InputIterator, _InputIterator),
1775         insert(iterator, _InputIterator, _InputIterator)): Likewise.
1776         * include/bits/stl_tempbuf.h (_Temporary_buffer(_ForwardIterator,
1777         _ForwardIterator)): Use __is_scalar.
1778         * include/bits/stl_uninitialized.h (uninitialized_copy(_InputIterator,
1779         _InputIterator, _ForwardIterator), uninitialized_fill(_ForwardIterator,
1780         _ForwardIterator, const _Tp&), uninitialized_fill_n(_ForwardIterator,
1781         _Size, const _Tp&)): Likewise.
1782         * include/bits/stl_vector.h (vector(_InputIterator, _InputIterator,
1783         const allocator_type&), assign(_InputIterator, _InputIterator),
1784         insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
1785         * include/debug/debug.h (__valid_range(const _InputIterator&,
1786         const _InputIterator&)): Use __is_integer.
1787         * include/ext/slist (assign(_InputIterator, _InputIterator)): Likewise.
1788         * include/std/std_string.h: Include cpp_type_traits.h instead.
1789
1790 2005-01-30  Paolo Carlini  <pcarlini@suse.de>
1791
1792         PR libstdc++/19642
1793         * config/locale/generic/c_locale.h (__convert_from_v): Switch only
1794         LC_NUMERIC, and only when actually != "C".
1795
1796 2005-01-28  Paolo Carlini  <pcarlini@suse.de>
1797
1798         * include/tr1/type_traits (is_function): Minor consistency tweaks.
1799
1800 2005-01-28  Geoffrey Keating  <geoffk@apple.com>
1801
1802         * testsuite/lib/libstdc++.exp (libstdc++_init): Search the path
1803         for the compiler.  Don't set cxxflags.
1804         (v3_target_compile): Search for libv3test.a relative to $objdir.
1805         (lsearch_all_inline): New.
1806         (lsearch_all_inline_not): New.
1807         (v3-list-tests): Rewrite to not need generated files.
1808         * testsuite/Makefile.am (IGNORE_WCHAR_T): New.
1809         (IGNORE_THREAD): New.
1810         (TESTS_TO_IGNORE): New.
1811         (site.exp): Set tests_to_ignore, cxxflags.
1812         * aclocal.m4: Regenerate.
1813         * Makefile.in: Regenerate.
1814         * libmath/Makefile.in: Likewise.
1815         * libsupc++/Makefile.in: Likewise.
1816         * po/Makefile.in: Likewise.
1817         * src/Makefile.in: Likewise.
1818         * testsuite/Makefile.in: Likewise.
1819
1820 2005-01-28  Paolo Carlini  <pcarlini@suse.de>
1821
1822         * include/tr1/type_traits: Implement is_empty.
1823         * testsuite/tr1/4_metaprogramming/type_properties/is_empty/
1824         is_empty.cc: New.
1825         * testsuite/tr1/4_metaprogramming/type_properties/is_empty/
1826         typedefs.cc: Likewise.
1827
1828         * include/tr1/type_traits (__is_abstract_helper): Simplify a bit.
1829
1830 2005-01-28  Paolo Carlini  <pcarlini@suse.de>
1831
1832         * include/tr1/type_traits: Implement is_abstract, by exploiting the
1833         resolution of DR core/337.
1834         * testsuite/testsuite_tr1.h: Add AbstractClass.
1835         * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
1836         is_abstract.cc: New.
1837         * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
1838         typedefs.cc: Likewise.
1839
1840         * include/tr1/type_traits (is_function): Rewrite, use the conversion
1841         F& -> F* instead, thus avoiding problems with abstract classes.
1842         * testsuite/tr1/4_metaprogramming/primary_type_categories/
1843         is_function/is_function.cc: Add a test for tricky AbstractClass.
1844
1845 2005-01-26  Paolo Carlini  <pcarlini@suse.de>
1846
1847         * include/ext/mt_allocator.h
1848         (struct __per_type_pool_policy<,, false>::_S_get_pool,
1849         struct __per_type_pool_policy<,, true>::_S_get_pool): Scale
1850         _M_chunk_size too with sizeof(_Tp), otherwise the allocator
1851         breaks down as soon as sizeof(_Tp) >~ _S_chunk_size / 128;
1852         reduce to 64 the multiplier for _M_max_bytes (safer wrt
1853         _Binmap_type being a short); trivial reformattings.
1854         * testsuite/ext/mt_allocator/check_allocate_big_per_type.cc: New.
1855
1856 2005-01-26  Paolo Carlini  <pcarlini@suse.de>
1857
1858         * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Add ac_c99_complex
1859         to the final test for enable_c99, thus robustifying it; remove
1860         duplicate final test on ac_99_math.
1861         * configure: Regenerate.
1862
1863         * include/std/std_complex.h: Remove usages of the dead
1864         _GLIBCXX_BUGGY_COMPLEX macro.
1865
1866         * testsuite/26_numerics/cmath/19322.cc: Protect with
1867         _GLIBCXX_USE_C99_MATH instead of the stronger _GLIBCXX_USE_C99,
1868         since only C99 math facilities are involved.
1869         * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
1870         Likewise.
1871
1872 2005-01-25  Loren J. Rittle  <ljrittle@acm.org>
1873
1874         * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Map FreeBSD to darwin
1875         instead of generic.  Change autoconf report to "darwin or freebsd".
1876         * configure: Regenerate.
1877         * config/os/bsd/freebsd/ctype_inline.h (ctype<wchar_t>::do_is): Add.
1878         (ctype<wchar_t>::do_scan_is): Likewise.
1879         (ctype<wchar_t>::do_scan_not): Likewise.
1880
1881 2005-01-25  Benjamin Kosnik  <bkoz@redhat.com>
1882
1883         * acinclude.m4 (GLIBCXX_ENABLE_C99): Test for complex math
1884         functions, and enable _GLIBCXX_USE_C99_COMPLEX_MATH if they exist.
1885         * acconfig.h: Add _GLIBCXX_USE_C99_COMPLEX_MATH.
1886         * config.h.in: Regenerate.
1887         * configure: Regenerate.
1888         * include/std/std_complex.h: Protect complex builtins with
1889         _GLIBCXX_USE_C99_COMPLEX_MATH.
1890
1891 2005-01-24  Paolo Carlini  <pcarlini@suse.de>
1892
1893         * include/tr1/type_traits: Implement is_signed and is_unsigned.
1894         * testsuite/tr1/4_metaprogramming/type_properties/
1895         is_signed/is_signed.cc: New.
1896         * testsuite/tr1/4_metaprogramming/type_properties/
1897         is_signed/typedefs.cc: Likewise.
1898         * testsuite/tr1/4_metaprogramming/type_properties/
1899         is_unsigned/is_unsigned.cc: Likewise.
1900         * testsuite/tr1/4_metaprogramming/type_properties/
1901         is_unsigned/typedefs.cc: Likewise.
1902
1903 2005-01-23  Paolo Carlini  <pcarlini@suse.de>
1904
1905         * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 34.
1906
1907 2005-01-23  Paolo Carlini  <pcarlini@suse.de>
1908
1909         * testsuite/27_io/basic_ostream/cons/wchar_t/9827.cc: New.
1910         * testsuite/27_io/basic_ostream/endl/wchar_t/1.cc: Likewise.
1911         * testsuite/27_io/basic_ostream/ends/wchar_t/1.cc: Likewise.
1912         * testsuite/27_io/basic_ostream/ends/wchar_t/2.cc: Likewise.
1913         * testsuite/27_io/basic_ostream/exceptions/wchar_t/9561.cc: Likewise.
1914         * testsuite/27_io/basic_ostream/flush/wchar_t/1.cc: Likewise.
1915         * testsuite/27_io/basic_ostream/flush/wchar_t/2.cc: Likewise.
1916         * testsuite/27_io/basic_ostream/flush/wchar_t/
1917         exceptions_badbit_throw.cc: Likewise.
1918         * testsuite/27_io/basic_ostream/inserters_arithmetic/
1919         wchar_t/2.cc: Likewise.
1920         * testsuite/27_io/basic_ostream/inserters_arithmetic/
1921         wchar_t/3.cc: Likewise.
1922         * testsuite/27_io/basic_ostream/inserters_arithmetic/
1923         wchar_t/4.cc: Likewise.
1924         * testsuite/27_io/basic_ostream/inserters_arithmetic/
1925         wchar_t/4402.cc: Likewise.
1926         * testsuite/27_io/basic_ostream/inserters_arithmetic/
1927         wchar_t/5.cc: Likewise.
1928         * testsuite/27_io/basic_ostream/inserters_arithmetic/
1929         wchar_t/6.cc: Likewise.
1930         * testsuite/27_io/basic_ostream/inserters_arithmetic/
1931         wchar_t/9555-oa.cc: Likewise.
1932         * testsuite/27_io/basic_ostream/inserters_arithmetic/
1933         wchar_t/exceptions_badbit_throw.cc: Likewise.
1934         * testsuite/27_io/basic_ostream/inserters_arithmetic/
1935         wchar_t/exceptions_failbit_throw.cc: Likewise.
1936         * testsuite/27_io/basic_ostream/inserters_character/
1937         wchar_t/1.cc: Likewise.
1938         * testsuite/27_io/basic_ostream/inserters_character/
1939         wchar_t/2.cc: Likewise.
1940         * testsuite/27_io/basic_ostream/inserters_character/
1941         wchar_t/3.cc: Likewise.
1942         * testsuite/27_io/basic_ostream/inserters_character/
1943         wchar_t/4.cc: Likewise.
1944         * testsuite/27_io/basic_ostream/inserters_character/
1945         wchar_t/5.cc: Likewise.
1946         * testsuite/27_io/basic_ostream/inserters_character/
1947         wchar_t/6.cc: Likewise.
1948         * testsuite/27_io/basic_ostream/inserters_character/
1949         wchar_t/9555-oc.cc: Likewise.
1950         * testsuite/27_io/basic_ostream/inserters_other/
1951         wchar_t/1.cc: Likewise.
1952         * testsuite/27_io/basic_ostream/inserters_other/
1953         wchar_t/2.cc: Likewise.
1954         * testsuite/27_io/basic_ostream/inserters_other/
1955         wchar_t/3.cc: Likewise.
1956         * testsuite/27_io/basic_ostream/inserters_other/
1957         wchar_t/4.cc: Likewise.
1958         * testsuite/27_io/basic_ostream/inserters_other/
1959         wchar_t/5.cc: Likewise.
1960         * testsuite/27_io/basic_ostream/inserters_other/
1961         wchar_t/9318-out.cc: Likewise.
1962         * testsuite/27_io/basic_ostream/inserters_other/
1963         wchar_t/9424-out.cc: Likewise.
1964         * testsuite/27_io/basic_ostream/inserters_other/
1965         wchar_t/9555-oo.cc: Likewise.
1966         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
1967         error_failbit.cc: Likewise.
1968         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
1969         exceptions_badbit_throw.cc: Likewise.
1970         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
1971         exceptions_failbit_throw.cc: Likewise.
1972         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
1973         exceptions_null.cc: Likewise.
1974         * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
1975         * testsuite/27_io/basic_ostream/put/wchar_t/1.cc: Likewise.
1976         * testsuite/27_io/basic_ostream/seekp/char/
1977         exceptions_badbit_throw.cc: Likewise.
1978         * testsuite/27_io/basic_ostream/seekp/wchar_t/
1979         2346-fstream.cc: Likewise.
1980         * testsuite/27_io/basic_ostream/seekp/wchar_t/
1981         2346-sstream.cc: Likewise.
1982         * testsuite/27_io/basic_ostream/seekp/wchar_t/
1983         exceptions_badbit_throw.cc: Likewise.
1984         * testsuite/27_io/basic_ostream/sentry/wchar_t/1.cc: Likewise.
1985         * testsuite/27_io/basic_ostream/sentry/wchar_t/2.cc: Likewise.
1986         * testsuite/27_io/basic_ostream/tellp/wchar_t/1.cc: Likewise.
1987         * testsuite/27_io/basic_ostream/tellp/wchar_t/2.cc: Likewise.
1988         * testsuite/27_io/basic_ostream/tellp/wchar_t/
1989         exceptions_badbit_throw.cc: Likewise.
1990         * testsuite/27_io/basic_ostream/write/wchar_t/1.cc: Likewise.
1991
1992         * testsuite/data/wostream_inserter_char-1.tst: Likewise.
1993         * testsuite/data/wostream_inserter_char-1.txt: Likewise.
1994         * testsuite/data/wostream_inserter_other-1.tst: Likewise.
1995         * testsuite/data/wostream_inserter_other-2.tst: Likewise.
1996         * testsuite/data/wostream_seeks-1.tst: Likewise.
1997
1998         * testsuite/27_io/basic_ostream/endl/char/1.cc: Minor tweaks.
1999         * testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise.
2000         * testsuite/27_io/basic_ostream/exceptions/char/9561.cc: Likewise.
2001         * testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise.
2002         * testsuite/27_io/basic_ostream/flush/char/2.cc: Likewise.
2003         * testsuite/27_io/basic_ostream/flush/char/
2004         exceptions_badbit_throw.cc: Likewise.
2005         * testsuite/27_io/basic_ostream/inserters_arithmetic/
2006         char/2.cc: Likewise.
2007         * testsuite/27_io/basic_ostream/inserters_arithmetic/
2008         char/3.cc: Likewise.
2009         * testsuite/27_io/basic_ostream/inserters_arithmetic/
2010         char/4.cc: Likewise.
2011         * testsuite/27_io/basic_ostream/inserters_arithmetic/
2012         char/4402.cc: Likewise.
2013         * testsuite/27_io/basic_ostream/inserters_arithmetic/
2014         char/5.cc: Likewise.
2015         * testsuite/27_io/basic_ostream/inserters_arithmetic/
2016         char/6.cc: Likewise.
2017         * testsuite/27_io/basic_ostream/inserters_character/
2018         char/4.cc: Likewise.
2019         * testsuite/27_io/basic_ostream/inserters_other/char/
2020         2.cc: Likewise.
2021         * testsuite/27_io/basic_ostream/inserters_other/char/
2022         5.cc: Likewise.
2023         * testsuite/27_io/basic_ostream/inserters_other/char/
2024         error_failbit.cc: Likewise.
2025         * testsuite/27_io/basic_ostream/inserters_other/char/
2026         exceptions_badbit_throw.cc: Likewise.
2027         * testsuite/27_io/basic_ostream/inserters_other/char/
2028         exceptions_failbit_throw.cc: Likewise.
2029         * testsuite/27_io/basic_ostream/inserters_other/char/
2030         exceptions_null.cc: Likewise.
2031         * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
2032         * testsuite/27_io/basic_ostream/seekp/char/
2033         exceptions_badbit_throw.cc: Likewise.
2034         * testsuite/27_io/basic_ostream/sentry/char/2.cc: Likewise.
2035         * testsuite/27_io/basic_ostream/write/char/1.cc: Likewise.
2036
2037 2005-01-23  Paolo Carlini  <pcarlini@suse.de>
2038
2039         * include/tr1/type_traits (aligned_storage): Use __aligned__ instead
2040         of aligned.
2041
2042 2005-01-23  Paolo Carlini  <pcarlini@suse.de>
2043             Andreas Jaeger  <aj@suse.de>
2044
2045         PR libstdc++/19343
2046         * include/bits/functexcept.h: Mark the helpers as 'noreturn'.
2047
2048 2005-01-21  Loren J. Rittle  <ljrittle@acm.org>
2049
2050         * testsuite/27_io/basic_filebuf/open/char/9507.cc: Allow
2051         lseek on fifo to succeed.  Thus, check for consistent report.
2052
2053 2005-01-21  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
2054
2055         PR libstdc++/19510
2056         * include/bits/stl_list.h (_List_iterator): Initialize _M_node
2057         in constructor.
2058         (_List_const_iterator): Likewise.
2059         * include/bits/stl_tree.h (_Rb_tree_iterator): Likewise.
2060         (_Rb_tree_const_iterator): Likewise.
2061
2062         * testsuite/23_containers/map/operators/1_neg.cc: Adjust line numbers.
2063         * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
2064
2065 2005-01-20  Benjamin Kosnik  <bkoz@redhat.com>
2066
2067         * testsuite/Makefile.am (check-compile): New.
2068         * testsuite/Makefile.in: Regenerate.
2069         * scripts/check_compile_time: New.
2070         * scripts/check_performance: Tweaks.
2071
2072 2005-01-19  Paolo Carlini  <pcarlini@suse.de>
2073
2074         PR libstdc++/19535
2075         * include/tr1/utility (struct __pair_get<1>::__get, __const_get):
2076         Fix typo in the return type.
2077         * testsuite/tr1/6_containers/utility/19535.cc: New.
2078
2079 2005-01-19  Loren J. Rittle  <ljrittle@acm.org>
2080
2081         * include/ext/array_allocator.h (array_allocator<>::allocate):
2082         Avoid __used.  Use __array_used instead.
2083         * docs/html/17_intro/BADNAMES: Add list for FreeBSD.
2084
2085 2005-01-18  David Edelsohn  <edelsohn@gnu.org>
2086
2087         * config/os/aix/os_defines.h (_XOPEN_SOURCE): Delete.
2088         (_XOPEN_SOURCE_EXTENDED): Delete.
2089
2090 2005-01-18  Benjamin Kosnik  <bkoz@redhat.com>
2091
2092         * testsuite/testsuite_performance.h (time_counter::start):
2093         Clear. Tweaks.
2094         (clear_counters): Inline.
2095         (start_counters): Inline.
2096         (stop_counters): Inline.
2097         * testsuite/performance/20_util/allocator/map_thread.cc: Return.
2098         * testsuite/performance/20_util/allocator/insert.cc: Remove bogus
2099         return, add return.
2100         * testsuite/performance/20_util/allocator/map_thread.cc: Same.
2101
2102 2005-01-17  Paolo Carlini  <pcarlini@suse.de>
2103
2104         PR libstdc++/19433
2105         * include/bits/stl_tree.h (_Rb_tree<>::insert_unique(iterator,
2106         const _Val&), _Rb_tree<>::insert_equal(iterator, const _Val&)):
2107         Obtain amortized constant complexity if t is inserted right after
2108         p - not before p - as per Table 69.
2109         * testsuite/performance/23_containers/set_insert_from_sorted.cc: New.
2110
2111         * testsuite/23_containers/multiset/insert/2.cc: New.
2112         * testsuite/23_containers/set/insert/1.cc: Likewise.
2113
2114         * testsuite/performance/23_containers/set_create_from_sorted.cc:
2115         Simplify.
2116
2117         * include/bits/stl_tree.h: Add a few missing std:: qualifications.
2118
2119 2005-01-16  Jonathan Wakely  <redi@gcc.gnu.org>
2120
2121         * include/ext/rope: Qualify calls to std::copy() by sequence_buffer.
2122         * testsuite/ext/rope/4.cc: Add.
2123
2124 2005-01-16  Lorenz Minder  <lminder@gmx.net>
2125             Paolo Carlini  <pcarlini@suse.de>
2126
2127         PR libstdc++/19322
2128         * include/c_std/std_cmath.h: Define the C99 classification facilities
2129         directly inside namespace std:.
2130         * testsuite/26_numerics/cmath/19322.cc: New.
2131
2132 2005-01-15  David Edelsohn  <edelsohn@gnu.org>
2133
2134         * config/os/aix/os_defines.h (_G_USING_THUNKS): Delete.
2135
2136 2005-01-14  Paolo Carlini  <pcarlini@suse.de>
2137
2138         PR libstdc++/19422
2139         * include/bits/stl_tree.h (_Rb_tree<>::insert_equal(_II, _II),
2140         _Rb_tree<>::insert_unique(_II, _II)): Use insert_equal (insert_unique,
2141         respectively) with hint (end()).
2142         * testsuite/performance/23_containers/set_create_from_sorted.cc: New.
2143
2144 2005-01-13  Geoffrey Keating  <geoffk@apple.com>
2145
2146         * configure.host (darwin): On darwin8 or later, no need to build
2147         libstdc++ with -flat_namespace.
2148
2149 2005-01-13  Jonathan Wakely  <redi@gcc.gnu.org>
2150
2151         * docs/doxygen/user.cfg.in: Set HAVE_DOT back to YES.
2152
2153 2005-01-13  Paolo Carlini  <pcarlini@suse.de>
2154
2155         * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
2156         Re-enable commented-out test for double type.
2157
2158 2005-01-11  Paolo Carlini  <pcarlini@suse.de>
2159             Benjamin Kosnik  <bkoz@redhat.com>
2160
2161         * src/istream.cc (basic_istream<char>::ignore(streamsize),
2162         basic_istream<char>::ignore(streamsize, int_type),
2163         basic_istream<wchar_t>::ignore(streamsize),
2164         basic_istream<wchar_t>::ignore(streamsize, int_type)): In case
2165         more than numeric_limits<streamsize>::max() chars are skipped,
2166         set _M_gcount = max().
2167         * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
2168         int_type)): Likewise; keep simple, don't forward.
2169
2170 2005-01-11  Paolo Carlini  <pcarlini@suse.de>
2171
2172         * src/istream.cc (basic_istream<char>::ignore(streamsize),
2173         basic_istream<char>::ignore(streamsize, int_type),
2174         basic_istream<wchar_t>::ignore(streamsize),
2175         basic_istream<wchar_t>::ignore(streamsize, int_type)): Revert
2176         2005-01-05 change: actually, the previous behavior is conforming
2177         and consistent with that of get(char_type*, streamsize, char_type),
2178         albeit slightly different from that of 3.3/3.4 in a corner case
2179         due to the use of snextc.
2180         * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
2181         int_type)): Likewise.
2182         * testsuite/27_io/basic_istream/ignore/char/4.cc: Remove.
2183         * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
2184
2185 2005-01-11  Paolo Carlini  <pcarlini@suse.de>
2186
2187         * include/tr1/type_traits: Implement alignment_of and aligned_storage.
2188         * testsuite/tr1/4_metaprogramming/other_transformations/
2189         aligned_storage/aligned_storage.cc: New.
2190         * testsuite/tr1/4_metaprogramming/other_transformations/
2191         aligned_storage/typedefs.cc: Likewise.
2192         * testsuite/tr1/4_metaprogramming/type_properties/
2193         alignment_of/alignment_of.cc: Likewise.
2194         * testsuite/tr1/4_metaprogramming/type_properties/
2195         alignment_of/typedefs.cc: Likewise.
2196
2197 2005-01-10  Paolo Carlini  <pcarlini@suse.de>
2198
2199         * Makefile.in: Regenerate.
2200         * libmath/Makefile.in: Likewise.
2201         * libsupc++/Makefile.in: Likewise.
2202         * po/Makefile.in: Likewise.
2203         * src/Makefile.in: Likewise.
2204         * testsuite/Makefile.in: Likewise.
2205
2206 2005-01-10  Paolo Carlini  <pcarlini@suse.de>
2207
2208         * include/bits/stl_algobase.h (lexicographical_compare):
2209         Fix concept check.
2210
2211 2005-01-07  Benjamin Kosnik  <bkoz@redhat.com>
2212
2213         * acinclude.m4: Remove CCODECVT_H.
2214         * configure: Regenerate.
2215         * include/Makefile.am (host_headers_extra): Move to...
2216         (ext_headers): ...here.
2217         * include/Makefile.in: Regenerate.
2218         * include/ext/enc_filebuf: Remove enc_filebuf, consolidate
2219         enc_traits to...
2220         * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Move...
2221         * include/ext/codecvt_specializations.h: ...here. Remove
2222         _GLIBCXX_USE___ENC_TRAITS.
2223         (__enc_traits): To __encoding_state, put in __gnu_cxx namespace.
2224         (enc_char_traits): To __encoding_char_traits, put in __gnu_cxx
2225         namespace.
2226         * config/locale/generic/codecvt_specializations.h: Remove.
2227         * include/bits/codecvt.h: Remove codecvt_specializations.h include.
2228         * src/codecvt.cc: Remove __enc_traits::_S_max_size.
2229
2230 2005-01-06  Benjamin Kosnik  <bkoz@redhat.com>
2231
2232         * include/bits/fstream.tcc: Remove unnecessary qualifications for
2233         uglified data members of basic_filebuf, including _M_buf,
2234         _M_buf_size, _M_mode, _M_pback_init.
2235         * include/std/std_fstream.h: Same.
2236
2237 2005-01-05  Benjamin Kosnik  <bkoz@redhat.com>
2238
2239         * testsuite/testsuite_hooks.h:
2240         (copy_constructor::mark_call):  Use __throw_runtime_error.
2241         (assignment_operator::mark_call): Same.
2242         * testsuite/testsuite_hooks.cc (verify_demangle): Same.
2243         (locale_data): Remove, just use runtime_error directly.
2244         (environment_variable): Same.
2245         (not_found): Same.
2246         (run_tests_wrapped_locale): Use __throw_runtime_error.
2247         (run_tests_wrapped_env): Same.
2248         (semaphore::semaphore): Same.
2249         (semaphore::signal): Same.
2250         (semaphore::wait): Same.
2251         * testsuite/testsuite_abi.h (symbol_error): Remove, use logic_error.
2252         * testsuite/testsuite_abi.cc (get_symbol): Use __throw_logic_error.
2253         (create_symbols): Use __throw_runtime_error.
2254         * src/bitmap_allocator.cc: Use __throw_bad_alloc.
2255
2256 2005-01-05  Mark Mitchell  <mark@codesourcery.com>
2257
2258         * testsuite/27_io/basic_filebuf/open/char/9507.cc: Remove child
2259         process.
2260
2261 2005-01-05  Paolo Carlini  <pcarlini@suse.de>
2262
2263         * src/istream.cc (basic_istream<char>::ignore(streamsize),
2264         basic_istream<char>::ignore(streamsize, int_type),
2265         basic_istream<wchar_t>::ignore(streamsize),
2266         basic_istream<wchar_t>::ignore(streamsize, int_type)): At the end,
2267         first check _M_gcount vs __n.
2268         * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
2269         int_type)): Likewise.
2270         * testsuite/27_io/basic_istream/ignore/char/4.cc: New.
2271         * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
2272
2273 2005-01-03  Mark Mitchell  <mark@codesourcery.com>
2274
2275         * testsuite/testsuite_hooks.cc: Use __throw_exception_again
2276         instead of just throw.
2277
2278         * testsuite/testsuite_hooks.cc: Update coypright and follow style
2279         guidelines.
2280         * testsuite/testsuite_hooks.h: Likewise.
2281         * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
2282         semaphores, not sleep.
2283         * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
2284         * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
2285         * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
2286         * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
2287         Likewise.
2288         * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
2289         * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
2290         * testsuite/27_io/objects/char/7.cc: Likewise.
2291         * testsuite/27_io/objects/char/9661-1.cc: Likewise.
2292         * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
2293         * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
2294
2295         * configure.ac: Check for sys/ipc.h and sys/sem.h.
2296         * config.h.in: Regenerated.
2297         * configure: Likewise.
2298         * testsuite/testsuite_hooks.cc (_GLIBCXX_SYSV_SEM): Conditionally
2299         define.
2300         (sys/types.h): Include.
2301         (sys/ipc.h): Likewise.
2302         (sys/sem.h): Likewise.
2303         (__gnu_test::semun): New type.
2304         (__gnu_test::semaphore::sempaphore): New function.
2305         (__gnu_test::semaphore::~semaphore): Likewise.
2306         (__gnu_test::semaphore::wait): Likewise.
2307         (__gnu_test::semaphore::signal): Likewise.
2308         * testsuite/testsuite_hooks.h (__gnu_test::semaphore): New class.
2309         * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
2310         semaphores, not sleep.
2311         * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
2312         * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
2313         * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
2314         * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
2315         Likewise.
2316         * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
2317         * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
2318         * testsuite/27_io/objects/char/7.cc: Likewise.
2319         * testsuite/27_io/objects/char/9661-1.cc: Likewise.
2320         * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
2321         * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
2322
2323 2005-01-03  Paolo Carlini  <pcarlini@suse.de>
2324
2325         * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
2326         int_type)): Reset _M_gcount to numeric_limits<streamsize>::min().
2327         * src/istream.cc (basic_istream<char>::ignore(streamsize, int_type),
2328         basic_istream<wchar_t>::ignore(streamsize, int_type)): Likewise.
2329         * src/istream.cc (basic_istream<char>::ignore(streamsize),
2330         basic_istream<wchar_t>::ignore(streamsize)): Likewise; fix a typo.
2331
2332 2005-01-02  Paolo Carlini  <pcarlini@suse.de>
2333
2334         * src/istream.cc (basic_istream<char>::ignore(streamsize),
2335         basic_istream<char>::ignore(streamsize, int_type),
2336         basic_istream<wchar_t>::ignore(streamsize),
2337         basic_istream<wchar_t>::ignore(streamsize, int_type)): Avoid
2338         _M_gcount overflows.
2339         * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
2340         int_type)): Likewise; use snextc in the main loop, consistently
2341         with the specializations above.
2342
2343 2005-01-02  Chris Jefferson  <chris@bubblescope.net>
2344
2345         * include/bits/stl_algobase.h (mismatch): Correct concept check.
2346
2347 2005-01-01  Paolo Carlini  <pcarlini@suse.de>
2348
2349         * testsuite/ext/enc_filebuf/char/13189.cc: Fix, first include
2350         testsuite_hooks.h, to know whether including ext/enc_filebuf.h.
2351         * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Likewise.
2352
2353 2005-01-01  Paolo Carlini  <pcarlini@suse.de>
2354
2355         * testsuite/27_io/basic_istream/extractors_character/char/1.cc: Fix,
2356         null-terminate array1 at the outset.
2357         * testsuite/27_io/basic_istream/extractors_character/wchar_t/1.cc:
2358         Likewise.