OSDN Git Service

Return dgs.alc on success
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2010-01-09  H.J. Lu  <hongjiu.lu@intel.com>
2
3         PR other/42230
4         * testsuite/abi/pr42230.cc: New.
5
6 2010-01-09  Paolo Carlini  <paolo.carlini@oracle.com>
7
8         * include/debug/set.h: Revert last change, per DR 1204 [Ready];
9         mention the latter in comment.
10         * include/debug/unordered_map: Likewise.
11         * include/debug/multiset.h: Likewise.
12         * include/debug/vector: Likewise.
13         * include/debug/unordered_set: Likewise.
14         * include/debug/deque: Likewise.
15         * include/debug/map.h: Likewise.
16         * include/debug/list: Likewise.
17         * include/debug/multimap.h: Likewise.
18         * include/tr1_impl/unordered_map: Likewise.
19         * include/tr1_impl/unordered_set: Likewise.
20         * include/profile/set.h: Likewise.
21         * include/profile/unordered_map: Likewise.
22         * include/profile/multiset.h: Likewise.
23         * include/profile/unordered_set: Likewise.
24         * include/profile/vector: Likewise.
25         * include/profile/deque: Likewise.
26         * include/profile/map.h: Likewise.
27         * include/profile/list: Likewise.
28         * include/profile/multimap.h: Likewise.
29         * include/ext/vstring.h: Likewise.
30         * include/bits/stl_list.h: Likewise.
31         * include/bits/stl_map.h: Likewise.
32         * include/bits/stl_set.h: Likewise.
33         * include/bits/stl_multimap.h: Likewise.
34         * include/bits/stl_vector.h: Likewise.
35         * include/bits/stl_deque.h: Likewise.
36         * include/bits/stl_multiset.h: Likewise.
37
38         * include/bits/forward_list.h: Remove pre-existing check.
39         * include/ext/vstring.h: Likewise.
40
41         * testsuite/ext/vstring/cons/self_move_assign.cc: Remove.
42         * testsuite/23_containers/unordered_map/cons/self_move_assign.cc:
43         Likewise.
44         * testsuite/23_containers/multimap/cons/self_move_assign.cc: Likewise.
45         * testsuite/23_containers/set/cons/self_move_assign.cc: Likewise.
46         * testsuite/23_containers/unordered_multimap/cons/
47         self_move_assign.cc: Likewise.
48         * testsuite/23_containers/forward_list/cons/self_move_assign.cc:
49         Likewise.
50         * testsuite/23_containers/unordered_set/cons/self_move_assign.cc:
51         Likewise.
52         * testsuite/23_containers/vector/cons/self_move_assign.cc: Likewise.
53         * testsuite/23_containers/deque/cons/self_move_assign.cc: Likewise.
54         * testsuite/23_containers/multiset/cons/self_move_assign.cc: Likewise.
55         * testsuite/23_containers/list/cons/self_move_assign.cc: Likewise.
56         * testsuite/23_containers/unordered_multiset/cons/
57         self_move_assign.cc: Likewise.
58         * testsuite/23_containers/map/cons/self_move_assign.cc: Likewise.
59
60         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
61         Adjust dg-error line numbers.
62         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
63         Likewise.
64         * testsuite/23_containers/vector/requirements/dr438/
65         constructor_1_neg.cc: Likewise.
66         * testsuite/23_containers/vector/requirements/dr438/
67         constructor_2_neg.cc: Likewise.
68         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
69         Likewise.
70         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
71         Likewise.
72         * testsuite/23_containers/deque/requirements/dr438/
73         constructor_1_neg.cc: Likewise.
74         * testsuite/23_containers/forward_list/requirements/dr438/
75         assign_neg.cc: Likewise.
76         * testsuite/23_containers/forward_list/requirements/dr438/
77         insert_neg.cc: Likewise.
78         * testsuite/23_containers/forward_list/requirements/dr438/
79         constructor_1_neg.cc: Likewise.
80         * testsuite/23_containers/forward_list/requirements/dr438/
81         constructor_2_neg.cc: Likewise.
82         * testsuite/23_containers/deque/requirements/dr438/
83         constructor_2_neg.cc: Likewise.
84         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
85         Likewise.
86         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
87         Likewise.
88         * testsuite/23_containers/list/requirements/dr438/
89         constructor_1_neg.cc: Likewise.
90         * testsuite/23_containers/list/requirements/dr438/
91         constructor_2_neg.cc: Likewise.
92
93 2010-01-08  Paolo Carlini  <paolo.carlini@oracle.com>
94
95         * include/debug/set.h: Protect move assignment operator vs self
96         assignment.
97         * include/debug/unordered_map: Likewise.
98         * include/debug/multiset.h: Likewise.
99         * include/debug/vector: Likewise.
100         * include/debug/unordered_set: Likewise.
101         * include/debug/deque: Likewise.
102         * include/debug/map.h: Likewise.
103         * include/debug/list: Likewise.
104         * include/debug/multimap.h: Likewise.
105         * include/tr1_impl/unordered_map: Likewise.
106         * include/tr1_impl/unordered_set: Likewise.
107         * include/profile/set.h: Likewise.
108         * include/profile/unordered_map: Likewise.
109         * include/profile/multiset.h: Likewise.
110         * include/profile/unordered_set: Likewise.
111         * include/profile/vector: Likewise.
112         * include/profile/deque: Likewise.
113         * include/profile/map.h: Likewise.
114         * include/profile/list: Likewise.
115         * include/profile/multimap.h: Likewise.
116         * include/ext/vstring.h: Likewise.
117         * include/bits/stl_list.h: Likewise.
118         * include/bits/stl_map.h: Likewise.
119         * include/bits/stl_set.h: Likewise.
120         * include/bits/stl_multimap.h: Likewise.
121         * include/bits/stl_vector.h: Likewise.
122         * include/bits/stl_deque.h: Likewise.
123         * include/bits/stl_multiset.h: Likewise.
124         * include/ext/vstring.h: Use clear().
125         * testsuite/ext/vstring/cons/self_move_assign.cc: New.
126         * testsuite/23_containers/unordered_map/cons/self_move_assign.cc:
127         Likewise.
128         * testsuite/23_containers/multimap/cons/self_move_assign.cc: Likewise.
129         * testsuite/23_containers/set/cons/self_move_assign.cc: Likewise.
130         * testsuite/23_containers/unordered_multimap/cons/
131         self_move_assign.cc: Likewise.
132         * testsuite/23_containers/forward_list/cons/self_move_assign.cc:
133         Likewise.
134         * testsuite/23_containers/unordered_set/cons/self_move_assign.cc:
135         Likewise.
136         * testsuite/23_containers/vector/cons/self_move_assign.cc: Likewise.
137         * testsuite/23_containers/deque/cons/self_move_assign.cc: Likewise.
138         * testsuite/23_containers/multiset/cons/self_move_assign.cc: Likewise.
139         * testsuite/23_containers/list/cons/self_move_assign.cc: Likewise.
140         * testsuite/23_containers/unordered_multiset/cons/
141         self_move_assign.cc: Likewise.
142         * testsuite/23_containers/map/cons/self_move_assign.cc: Likewise.
143
144         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
145         Adjust dg-error line numbers.
146         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
147         Likewise.
148         * testsuite/23_containers/vector/requirements/dr438/
149         constructor_1_neg.cc: Likewise.
150         * testsuite/23_containers/vector/requirements/dr438/
151         constructor_2_neg.cc: Likewise.
152         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
153         Likewise.
154         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
155         Likewise.
156         * testsuite/23_containers/deque/requirements/dr438/
157         constructor_1_neg.cc: Likewise.
158         * testsuite/23_containers/deque/requirements/dr438/
159         constructor_2_neg.cc: Likewise.
160         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
161         Likewise.
162         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
163         Likewise.
164         * testsuite/23_containers/list/requirements/dr438/
165         constructor_1_neg.cc: Likewise.
166         * testsuite/23_containers/list/requirements/dr438/
167         constructor_2_neg.cc: Likewise.
168
169         * testsuite/ext/vstring/moveable.cc: Move to...
170         * testsuite/ext/vstring/cons/moveable.cc: ... here.
171         * testsuite/23_containers/unordered_map/moveable.cc: Move to...
172         * testsuite/23_containers/unordered_map/cons/moveable.cc ... here.
173         * testsuite/23_containers/multimap/moveable.cc: Move to...
174         * testsuite/23_containers/multimap/cons/moveable.cc: ... here.
175         * testsuite/23_containers/set/moveable.cc: Move to...
176         * testsuite/23_containers/set/cons/moveable.cc: ... here.
177         * testsuite/23_containers/unordered_multimap/moveable.cc: Move to...
178         * testsuite/23_containers/unordered_multimap/cons/moveable.cc:
179         ... here.
180         * testsuite/23_containers/forward_list/moveable.cc: Move to...
181         * testsuite/23_containers/forward_list/cons/moveable.cc: ... here.
182         * testsuite/23_containers/unordered_set/moveable.cc Move to...
183         * testsuite/23_containers/unordered_set/moveable.cc: ... here.
184         * testsuite/23_containers/vector/cons/moveable.cc Move to...
185         * testsuite/23_containers/vector/cons/moveable2.cc: ... this.
186         * testsuite/23_containers/deque/cons/moveable.cc Move to...
187         * testsuite/23_containers/deque/cons/moveable2.cc: ... this.
188         * testsuite/23_containers/multiset/moveable.cc Move to...
189         * testsuite/23_containers/multiset/cons/moveable.cc: ... here.
190         * testsuite/23_containers/list/moveable.h Move to...
191         * testsuite/23_containers/list/cons/moveable.h: ... here.
192         * testsuite/23_containers/list/moveable.cc Move to...
193         * testsuite/23_containers/list/cons/moveable.cc: ... here.
194         * testsuite/23_containers/unordered_multiset/moveable.cc Move to...
195         * testsuite/23_containers/unordered_multiset/cons/moveable.cc:
196         ... here.
197         * testsuite/23_containers/map/moveable.cc Move to...
198         * testsuite/23_containers/map/cons/moveable.cc: ... here.
199         * testsuite/23_containers/vector/moveable.cc: Move to...
200         * testsuite/23_containers/vector/cons/moveable.cc: ... here.
201         * testsuite/23_containers/deque/moveable.cc: Move to...
202         * testsuite/23_containers/deque/cons/moveable.cc: ... here.
203
204 2010-01-08  Paolo Carlini  <paolo.carlini@oracle.com>
205
206         PR libstdc++/42573
207         * include/bits/allocator.h (struct __shrink_to_fit): Add.
208         * include/bits/stl_deque.h (deque<>::shrink_to_fit): Add.
209         * include/bits/stl_vector.h (vector<>::shrink_to_fit): Likewise.
210         * include/bits/stl_bvector.h (vector<bool>::shrink_to_fit): Likewise.
211         * include/bits/basic_string.h (basic_string<>::shrink_to_fit):
212         Likewise.
213         * include/ext/vstring.h (__versa_string<>::shrink_to_fit): Likewise.
214         * include/debug/deque: Add corresponding using declaration.
215         * include/debug/vector: Likewise.
216         * include/debug/string: Likewise.
217         * include/profile/deque: Likewise.
218         * include/profile/vector: Likewise.
219         * config/abi/pre/gnu.ver: Export new symbols.
220         * testsuite/23_containers/deque/capacity/shrink_to_fit.cc: New.
221         * testsuite/23_containers/vector/capacity/shrink_to_fit.cc: Likewise.
222         * testsuite/21_strings/basic_string/capacity/char/shrink_to_fit.cc:
223         Likewise.
224         * testsuite/21_strings/basic_string/capacity/wchar_t/shrink_to_fit.cc:
225         Likewise.
226         * testsuite/ext/vstring/capacity/shrink_to_fit.cc: Likewise.
227         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
228         Adjust dg-error line number.
229         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
230         Likewise.
231         * testsuite/23_containers/deque/requirements/dr438/
232         constructor_1_neg.cc: Likewise.
233         * testsuite/23_containers/deque/requirements/dr438/
234         constructor_2_neg.cc: Likewise.
235         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
236         Adjust dg-error line number.
237         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
238         Likewise.
239         * testsuite/23_containers/vector/requirements/dr438/
240         constructor_1_neg.cc: Likewise.
241         * testsuite/23_containers/vector/requirements/dr438/
242         constructor_2_neg.cc: Likewise.
243
244 2010-01-07  Benjamin Kosnik  <bkoz@redhat.com>
245
246         * doc/xml/manual/evolution.xml: Fix typos, update.
247
248 2010-01-07  Paolo Carlini  <paolo.carlini@oracle.com>
249
250         * include/bits/locale_facets_nonio.tcc (time_put<>::do_put): Avoid
251         pointless __builtin_alloca use.
252
253 2010-01-06  Paolo Carlini  <paolo.carlini@oracle.com>
254
255         PR libstdc++/26701
256         * include/bits/locale_facets_nonio.tcc (time_get<>::_M_extract_num):
257         Encode short two digits over four parsings to negative numbers.
258         (time_get<>::_M_extract_via_format): Adjust, accept both two digits
259         and four digits for both 'y' and 'Y'.
260         (time_get<>::do_get_year): Call time_get<>::_M_extract_num.
261         * doc/xml/manual/prerequisites.xml: Add en_GB.
262         * testsuite/lib/libstdc++.exp: Adjust
263         * testsuite/22_locale/time_get/get_date/char/26701.cc: New.
264         * testsuite/22_locale/time_get/get_date/wchar_t/26701.cc: Likewise.
265
266 2010-01-06  Benjamin Kosnik  <bkoz@redhat.com>
267
268         PR libstdc++/42491
269         * scripts/check_performance (CXX): Add -std=gnu++0x.
270         * testsuite/performance/30_threads/future/polling.cc: Mark up as
271         using threads.
272
273 2010-01-06  Paolo Carlini  <paolo.carlini@oracle.com>
274
275         * testsuite/22_locale/time_get/get_weekday/char/38081-2.cc:
276         Add dg-require-namedlocale.
277
278 2010-01-05  Benjamin Kosnik  <bkoz@redhat.com>
279
280         * doc/xml/manual/evolution.xml: Update for 4.4 and 4.5 releases.
281         * doc/html: Regenerate.
282
283 2010-01-05  Paolo Carlini  <paolo.carlini@oracle.com>
284
285         PR libstdc++/38081
286         * include/bits/locale_facets_nonio.h (time_get<>::
287         _M_extract_wday_or_month): New, declare.
288         * include/bits/locale_facets_nonio.tcc (time_get<>::
289         _M_extract_wday_or_month): Define.
290         (time_get<>::do_get_weekday, time_get<>::do_get_monthname): Use it.
291         * config/abi/pre/gnu.ver: Export new symbols.
292         * doc/xml/manual/prerequisites.xml: Add ru_RU.UTF-8 and
293         ru_RU.ISO-8859-5.
294         * testsuite/lib/libstdc++.exp: Adjust.
295         * testsuite/22_locale/time_get/get_weekday/char/38081-1.cc: New.
296         * testsuite/22_locale/time_get/get_weekday/char/38081-2.cc: Likewise.
297
298 2010-01-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
299
300         * configure: Regenerate.
301
302 2010-01-05  Paolo Carlini  <paolo.carlini@oracle.com>
303
304         * testsuite/22_locale/time_get/get_monthname/char/6.cc: New.
305         * testsuite/22_locale/time_get/get_monthname/wchar_t/6.cc: Likewise.
306         * testsuite/22_locale/time_get/get_weekday/char/6.cc: Likewise.
307         * testsuite/22_locale/time_get/get_weekday/wchar_t/6.cc: Likewise.
308
309 2010-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
310
311         * include/profile/list: Implement DR 1133 here too.
312
313         * testsuite/25_algorithms/set_intersection/34730.cc: Do not force
314         debug-mode, leads to spurious failures in profile-mode.
315         * testsuite/25_algorithms/upper_bound/33613.cc: Likewise.
316         * testsuite/25_algorithms/lower_bound/33613.cc: Likewise.
317         * testsuite/25_algorithms/set_difference/35541.cc: Likewise.
318         * testsuite/21_strings/basic_string/40160.cc: Likewise.
319         * testsuite/26_numerics/random/uniform_real_distribution/
320         cons/parms_neg.cc: Likewise.
321         * testsuite/26_numerics/random/uniform_int_distribution/
322         cons/parms_neg.cc: Likewise.
323         * testsuite/23_containers/unordered_map/requirements/debug_mode.cc:
324         Likewise.
325         * testsuite/23_containers/multimap/14340.cc: Likewise.
326         * testsuite/23_containers/bitset/18604.cc: Likewise.
327         * testsuite/23_containers/set/14340.cc: Likewise.
328         * testsuite/23_containers/set/18604.cc: Likewise.
329         * testsuite/23_containers/unordered_set/requirements/
330         debug_mode.cc: Likewise.
331         * testsuite/23_containers/vector/
332         debug_mode_requires_reallocation-1.cc: Likewise.
333         * testsuite/23_containers/vector/
334         debug_mode_requires_reallocation-2.cc: Likewise.
335         * testsuite/23_containers/vector/14340.cc: Likewise.
336         * testsuite/23_containers/vector/15523.cc: Likewise.
337         * testsuite/23_containers/vector/18604.cc: Likewise.
338         * testsuite/23_containers/deque/14340.cc: Likewise.
339         * testsuite/23_containers/deque/18604.cc: Likewise.
340         * testsuite/23_containers/multiset/14340.cc: Likewise.
341         * testsuite/23_containers/list/operations/35969.cc: Likewise.
342         * testsuite/23_containers/list/14340.cc: Likewise.
343         * testsuite/23_containers/list/18604.cc: Likewise.
344         * testsuite/23_containers/map/14340.cc: Likewise.
345         * testsuite/23_containers/map/18604.cc: Likewise.
346         * testsuite/tr1/5_numerical_facilities/random/uniform_int/
347         cons/range_neg.cc: Likewise.
348
349         * testsuite/23_containers/unordered_map/requirements/
350         explicit_instantiation/2.cc: Do not instantiate for
351         non-defaultconstructible mapped_type.
352
353 2010-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
354
355         * include/debug/set.h: Implement DR 130 here too.
356         * include/debug/multiset.h: Likewise.
357         * include/debug/map.h: Likewise.
358         * include/debug/multimap.h: Likewise.
359         * include/profile/set.h: Implement DR 130 fully.
360         * include/profile/multiset.h: Likewise.
361         * include/profile/map.h: Likewise.
362         * include/profile/multimap.h: Likewise.
363         * include/debug/list: Implement DR 1133 here too.
364         * include/ext/pb_ds/detail/debug_map_base.hpp: Comment out for
365         now uses of __gnu_cxx::throw_allocator.
366         * testsuite/21_strings/basic_string/40160.cc: Don't pass
367         explicitly -D_GLIBCXX_DEBUG, doesn't play well with profile-mode
368         testing.
369
370 2010-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
371
372         * include/profile/bitset (bitset<>::bitset(unsigned long long)): Add
373         in C++0x mode.
374         * include/debug/bitset (bitset<>::bitset(unsigned long long)):
375         Likewise.
376
377 2010-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
378
379         * include/tr1_impl/hashtable (_Hashtable<>): Remove insert_return_type
380         typedef.
381         * include/profile/unordered_map (unordered_map<>::insert(const
382         value_type&), unordered_multimap<>::insert(const value_type&)): Adjust.
383         * include/profile/unordered_set (unordered_set<>::insert(const
384         value_type&), unordered_multimap<>::insert(const value_type&)):
385         Likewise.
386
387 2010-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
388
389         * include/bits/stl_pair.h (pair<>::pair(_U1&&, const _T2&),
390         pair<>::pair(const _T1&, _U2&&), pair<>::pair(_U1&&, _U2&&)):
391         Use std::is_constructible instead of std::is_convertible.
392
393 2010-01-01  Paolo Carlini  <paolo.carlini@oracle.com>
394
395         Revert last change, reinstantiate basic_string and vstring tests.
396
397 2010-01-01  Paolo Carlini  <paolo.carlini@oracle.com>
398
399         * testsuite/21_strings/basic_string/requirements/exception/
400         propagation_consistent.cc: Remove, cannot instantiate basic_string
401         for non-PODs (21/1).
402         * testsuite/21_strings/basic_string/requirements/exception/
403         basic.cc: Likewise.
404         * testsuite/21_strings/basic_string/requirements/exception/
405         generation_prohibited.cc: Likewise.
406         * testsuite/ext/vstring/requirements/exception/
407         propagation_consistent.cc: Likewise.
408         * testsuite/ext/vstring/requirements/exception/basic.cc:
409         Likewise.
410         * testsuite/ext/vstring/requirements/exception/
411         generation_prohibited.cc: Likewise.