OSDN Git Service

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