OSDN Git Service

* testsuite/tr1/5_numerical_facilities/special_functions/
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2007-11-27  Kaz Kojima  <kkojima@gcc.gnu.org>
2
3         * testsuite/tr1/5_numerical_facilities/special_functions/
4         01_assoc_laguerre/check_nan.cc: Add -mieee for sh.
5         * testsuite/tr1/5_numerical_facilities/special_functions/
6         02_assoc_legendre/check_nan.cc: Likewise.
7         * testsuite/tr1/5_numerical_facilities/special_functions/
8         03_beta/check_nan.cc: Likewise.
9         * testsuite/tr1/5_numerical_facilities/special_functions/
10         04_comp_ellint_1/check_nan.cc: Likewise.
11         * testsuite/tr1/5_numerical_facilities/special_functions/
12         06_comp_ellint_3/check_nan.cc: Likewise.
13         * testsuite/tr1/5_numerical_facilities/special_functions/
14         07_conf_hyperg/check_nan.cc: Likewise.
15         * testsuite/tr1/5_numerical_facilities/special_functions/
16         08_cyl_bessel_i/check_nan.cc: Likewise.
17         * testsuite/tr1/5_numerical_facilities/special_functions/
18         09_cyl_bessel_j/check_nan.cc: Likewise.
19         * testsuite/tr1/5_numerical_facilities/special_functions/
20         10_cyl_bessel_k/check_nan.cc: Likewise.
21         * testsuite/tr1/5_numerical_facilities/special_functions/
22         11_cyl_neumann/check_nan.cc: Likewise.
23         * testsuite/tr1/5_numerical_facilities/special_functions/
24         12_ellint_1/check_nan.cc: Likewise.
25         * testsuite/tr1/5_numerical_facilities/special_functions/
26         13_ellint_2/check_nan.cc: Likewise.
27         * testsuite/tr1/5_numerical_facilities/special_functions/
28         14_ellint_3/check_nan.cc: Likewise.
29         * testsuite/tr1/5_numerical_facilities/special_functions/
30         15_expint/check_nan.cc: Likewise.
31         * testsuite/tr1/5_numerical_facilities/special_functions/
32         16_hermite/check_nan.cc: Likewise.
33         * testsuite/tr1/5_numerical_facilities/special_functions/
34         18_laguerre/check_nan.cc: Likewise.
35         * testsuite/tr1/5_numerical_facilities/special_functions/
36         19_legendre/check_nan.cc: Likewise.
37         * testsuite/tr1/5_numerical_facilities/special_functions/
38         20_riemann_zeta/check_nan.cc: Likewise.
39         * testsuite/tr1/5_numerical_facilities/special_functions/
40         21_sph_bessel/check_nan.cc: Likewise.
41         * testsuite/tr1/5_numerical_facilities/special_functions/
42         22_sph_legendre/check_nan.cc: Likewise.
43         * testsuite/tr1/5_numerical_facilities/special_functions/
44         23_sph_neumann/check_nan.cc: Likewise.
45
46 2007-11-26  Paolo Carlini  <pcarlini@suse.de>
47
48         * include/bits/locale_facets.tcc (num_put<>::_M_insert_int): When
49         ios_base::showpos and the type is signed and the value is zero,
50         prepend +.
51         * testsuite/22_locale/num_put/put/char/12.cc: New.
52         * testsuite/22_locale/num_put/put/wchar_t/12.cc: Likewise.
53
54 2007-11-26  Paolo Carlini  <pcarlini@suse.de>
55
56         PR libstdc++/25913
57         * include/c_std/cmath (std::fpclassify, isfinite, isinf, isnan,
58         isnormal, signbit, isgreater, isgreaterequal, isless, islessequal,
59         islessgreater, isunordered): Guard with __enable_if and forward
60         with __promote.
61         * include/c_global/cmath: Likewise.
62         * testsuite/26_numerics/headers/cmath/25913.cc: New.
63
64         * include/c_std/cmath (__gnu_cxx::__capture_isfinite,
65         __capture_isinf, __capture_isnan, __capture_isnormal,
66         __capture_signbit, __capture_isgreater, __capture_isgreaterequal,
67         __capture_isless, __capture_islessequal, __capture_islessgreater,
68         __capture_isunordered): Remove.
69         (std::isfinite, isinf, isnan, isnormal, signbit, isgreater,
70         isgreaterequal, isless, islessequal, islessgreater, isunordered):
71         Forward to the corresponding builtin.
72         * include/c_global/cmath: Likewise.
73
74         * include/c_global/cmath (std::atan2, pow): Guard with __enable_if.
75
76 2007-11-25  Paolo Carlini  <pcarlini@suse.de>
77
78         * include/tr1_impl/unordered_map
79         (__unordered_map<>::__unordered_map(__unordered_map&&),
80         __unordered_multimap<>::__unordered_multimap(__unordered_multimap&&),
81         unordered_map<>::unordered_map(unordered_map&&),
82         unordered_multimap<>::unordered_multimap(unordered_multimap&&),
83         unordered_map<>::operator=(unordered_map&&),
84         unordered_multimap<>::operator=(unordered_multimap&&),
85         swap(unordered_map<>&&, unordered_map<>&),
86         swap(unordered_map<>&, unordered_map<>&&),
87         swap(unordered_multimap<>&&, unordered_multimap<>&),
88         swap(unordered_multimap<>&, unordered_multimap<>&&)): Add in C++0x.
89         (swap(unordered_multimap<>&, unordered_multimap<>&),
90         swap(unordered_multimap<>&, unordered_multimap<>&)): Add.
91         * include/tr1_impl/unordered_set
92         (__unordered_set<>::__unordered_set(__unordered_set&&),
93         __unordered_multiset<>::__unordered_multiset(__unordered_multiset&&),
94         unordered_set<>::unordered_set(unordered_setp&&),
95         unordered_multiset<>::unordered_multiset(unordered_multiset&&),
96         unordered_set<>::operator=(unordered_set&&),
97         unordered_multiset<>::operator=(unordered_multiset&&),
98         swap(unordered_set<>&&, unordered_set<>&),
99         swap(unordered_set<>&, unordered_set<>&&),
100         swap(unordered_multiset<>&&, unordered_multiset<>&),
101         swap(unordered_multiset<>&, unordered_multiset<>&&)): Likewise.
102         (swap(unordered_set<>&, unordered_set<>&),
103         swap(unordered_multiset<>&, unordered_multiset<>&)): Add.
104         * include/tr1_impl/hashtable (_Hashtable<>::_Hashtable(_Hashtable&&),
105         swap(_Hashtable&&)): Add in C++0x.
106         * testsuite/23_containers/unordered_map/moveable.cc: New.
107         * testsuite/23_containers/unordered_set/moveable.cc: Likewise.
108         * testsuite/23_containers/unordered_multimap/moveable.cc: Likewise.
109         * testsuite/23_containers/unordered_multiset/moveable.cc: Likewise.
110
111 2007-11-25  Paolo Carlini  <pcarlini@suse.de>
112
113         * include/tr1_impl/array (array<>::_M_check): Remove, not necessary
114         anymore.
115         (array<>::at): Adjust.
116
117         * docs/html/17_intro/c++0x_status.html: Fix array::data entry.
118
119 2007-11-25  Paolo Carlini  <pcarlini@suse.de>
120
121         * include/bits/stl_algobase.h (__lexicographical_compare<>::__lc):
122         Move out of line.
123
124         * include/bits/stl_algobase.h (swap_ranges): Remove redundant
125         simulated concept checks.
126
127 2007-11-23  Paolo Carlini  <pcarlini@suse.de>
128
129         * include/std/bitset (bitset<>::all): Add, per DR 693 [Ready].
130         (_Base_bitset<>::_M_are_all_aux()): Add.
131         * include/debug/bitset (bitset<>::all): Add.
132         * testsuite/23_containers/bitset/all/1.cc: New.
133         * docs/html/ext/howto.html: Add an entry for DR 693.
134         
135         * include/std/bitset (bitset<0>::set, reset, flip, test): Remove,
136         not necessary anymore.
137
138 2007-11-23  Paolo Carlini  <pcarlini@suse.de>
139
140         * include/bits/stl_list.h (insert(iterator, value_type&&)): Just
141         forward to emplace.
142         * include/bits/stl_vector.h (insert(iterator, value_type&&)): Likewise.
143         * include/bits/stl_deque.h (insert(iterator, value_type&&)): Likewise.
144         * include/debug/list (insert(iterator, value_type&&)): Likewise.
145         * include/debug/vector (insert(iterator, value_type&&)): Likewise.
146         * include/debug/deque (insert(iterator, value_type&&)): Likewise.
147         * include/bits/list.tcc (insert(iterator, value_type&&)): Remove.
148         * include/bits/vector.tcc (insert(iterator, value_type&&)): Likewise.
149         * include/bits/deque.tcc (insert(iterator, value_type&&)): Likewise.
150         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
151         Adjust dg-error line number.
152         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
153         Likewise.
154         * testsuite/23_containers/vector/requirements/dr438/
155         constructor_1_neg.cc: Likewise.
156         * testsuite/23_containers/vector/requirements/dr438/
157         constructor_2_neg.cc: Likewise.
158         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
159         Adjust dg-error line number.
160         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
161         Likewise.
162         * testsuite/23_containers/deque/requirements/dr438/
163         constructor_1_neg.cc: Likewise.
164         * testsuite/23_containers/deque/requirements/dr438/
165         constructor_2_neg.cc: Likewise.
166         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
167         Adjust dg-error line number.
168         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
169         Likewise.
170         * testsuite/23_containers/list/requirements/dr438/
171         constructor_1_neg.cc: Likewise.
172         * testsuite/23_containers/list/requirements/dr438/
173         constructor_2_neg.cc: Likewise.
174
175 2007-11-22  Paolo Carlini  <pcarlini@suse.de>
176
177         * include/bits/stl_tree.h (_Rb_tree<>::_Rb_tree_impl<, true>): Remove,
178         identical in mainline to the primary template.
179
180 2007-11-22  Paolo Carlini  <pcarlini@suse.de>
181
182         * config/abi/pre/gnu.ver: Adjust new exports for 128-bit long double.
183
184 2007-11-22  Johannes Singler  <singler@ira.uka.de>
185
186         PR libstdc++/33893
187         * include/parallel/multiway_merge.h: made omp_dynamic-safe
188         * include/parallel/workstealing.h: made omp_dynamic-safe
189         * include/parallel/base.h: infrastructure, cleanup
190         * include/parallel/par_loop.h: made omp_dynamic-safe
191         * include/parallel/features.h: activate loser tree variant
192         * include/parallel/quicksort.h: made omp_dynamic-safe
193         * include/parallel/compiletime_settings.h: settings overridable
194         * include/parallel/equally_split.h: made omp_dynamic-safe
195         * include/parallel/omp_loop_static.h: made omp_dynamic-safe
196         * include/parallel/random_shuffle.h: made omp_dynamic-safe
197         * include/parallel/balanced_quicksort.h: made omp_dynamic-safe
198         * include/parallel/set_operations.h: made omp_dynamic-safe
199         * include/parallel/unique_copy.h: made omp_dynamic-safe
200         * include/parallel/multiway_mergesort.h: made omp_dynamic-safe
201         * include/parallel/search.h: made omp_dynamic-safe
202         * include/parallel/partition.h: made omp_dynamic-safe
203         * include/parallel/partial_sum.h: made omp_dynamic-safe
204         * include/parallel/find.h: made omp_dynamic-safe
205         * include/parallel/omp_loop.h: made omp_dynamic-safe
206         * include/parallel/losertree.h: avoid default constructor
207
208 2007-11-21  Jonathan Wakely  <jwakely.gcc@gmail.com>
209
210         * docs/html/17_intro/C++STYLE: Fix typos.
211
212 2007-11-20  Benjamin Kosnik  <bkoz@redhat.com>
213
214         * docs/html/documentation.html: Validate. Add links to index,
215         correct broken links.
216         * docs/html/17_intro/C++STYLE: Add bits.
217         * docs/html/17_intro/configury.html: Correct, update.
218         * docs/html/17_intro/api.html: Correct HTML.
219
220         * include/bits/stl_algobase.h: Adjust comment.
221         
222 2007-11-20  Richard Sandiford  <rsandifo@nildram.co.uk>
223
224         * testsuite/ext/throw_allocator/variadic_construct.cc: Add
225         dg-require-time.
226
227 2007-11-20  Paolo Carlini  <pcarlini@suse.de>
228
229         * include/bits/functional_hash.h: Do not include ext/numeric_traits.h.
230         * include/tr1/functional_hash.h: Likewise.
231         * include/std/functional: Include ext/type_traits.h.
232         * include/tr1/functional: Likewise.
233
234 2007-11-20  Paolo Carlini  <pcarlini@suse.de>
235
236         * include/tr1_impl/functional_hash.h
237         (hash<long double>::operator()(long double)): Only declare.
238         * src/hash.cc: Define here.
239         * config/abi/pre/gnu.ver: Adjust exports.
240         * include/tr1/functional: Do not include <cmath>.
241         * include/std/functional: Likewise.
242
243         * include/std/functional: Include <new>.
244
245 2007-11-18  Paolo Carlini  <pcarlini@suse.de>
246
247         * include/tr1/type_traits (_DEFINE_SPEC_BODY): Remove.
248         (_DEFINE_SPEC_0_HELPER): Rename to _DEFINE_SPEC_HELPER.
249         (_DEFINE_SPEC): Simplify; adjust uses.
250
251 2007-11-18  Paolo Carlini  <pcarlini@suse.de>
252
253         * include/tr1_impl/type_traits (is_reference, is_function,
254         remove_cv, is_member_pointer, remove_reference): Declare.
255         * include/tr1_impl/type_traitsfwd.h: Remove.
256         * include/Makefile.am: Adjust.
257         * include/Makefile.in: Regenerate.
258
259 2007-11-17  Jonathan Wakely  <jwakely.gcc@gmail.com>
260
261         * docs/html/17_intro/howto.html, docs/html/21_strings/howto.html,
262         docs/html/22_locale/codecvt.html, docs/html/23_containers/howto.html,
263         docs/html/27_io/howto.html, docs/html/ext/howto.html,
264         docs/html/debug.html,  docs/html/install.html,
265         docs/html/faq/index.html: Fix typos and anachronisms.
266
267 2007-11-16  Paolo Carlini  <pcarlini@suse.de>
268
269         * include/bits/stl_algobase.h (struct __lexicographical_compare):
270         Move to namespace std.
271         (__lexicographical_compare_aux<>(_II1, _II1, _II2, _II2)): Add.
272         (lexicographical_compare<>(_II1, _II1, _II2, _II2)): Call the latter.
273
274 2007-11-16  Paolo Carlini  <pcarlini@suse.de>
275
276         * include/bits/stl_algobase.h (struct __lexicographical_compare): Add.
277         (lexicographical_compare<>(_II1, _II1, _II2, _II2)): Use it.
278         (lexicographical_compare(const unsigned char*, const unsigned char*,
279         const unsigned char*, const unsigned char*),
280         lexicographical_compare(const char*, const char*, const char*,
281         const char*)): Remove.
282         * include/ext/numeric_traits.h (__numeric_traits_floating<>::
283         __is_signed): Add.
284
285 2007-11-16  Paolo Carlini  <pcarlini@suse.de>
286
287         * src/locale_facets.cc: Fix typo in Copyright.
288
289 2007-11-16  Paolo Carlini  <pcarlini@suse.de>
290
291         * include/bits/locale_facets.tcc (__verify_grouping): Move...
292         * src/locale_facets.cc: ... here.
293         * config/abi/pre/gnu.ver: Update exports.
294
295 2007-11-15  Paolo Carlini  <pcarlini@suse.de>
296
297         * include/bits/istream.tcc (basic_istream<>::sentry::
298         sentry(basic_istream<>&, bool)): Explicitly convert to bool.
299         * include/bits/locale_facets.tcc (num_put<>::_M_insert_int(_OutIter,
300         ios_base&, _CharT, _ValueT)): Likewise.
301         * include/std/ostream (basic_ostream<>::sentry::~sentry): Likewise.
302
303 2007-11-15  Paolo Carlini  <pcarlini@suse.de>
304
305         PR libstdc++/34105
306         * include/bits/stl_algobase.h: Do not include <bits/algorithmfwd.h>.
307         (lexicographical_compare(const unsigned char*, const unsigned char*,
308         const unsigned char*, const unsigned char*),
309         lexicographical_compare(const char*, const char*, const char*,
310         const char*)): Move to namespace (std, _GLIBCXX_STD_P).
311         * include/parallel/algobase.h: Do not include <bits/algorithmfwd.h>.
312         (equal): Move after mismatch.
313         * include/bits/stl_heap.h (is_heap, is_heap_until): Reorder.
314         * include/bits/char_traits.h: Include <bits/stl_algobase.h> instead
315         of <bits/algorithmfwd.h>.
316         * include/bits/stl_algo.h: Include first <bits/algorithmfwd.h>.
317         * include/bits/algorithmfwd.h (lexicographical_compare): Do not
318         declare overloads.
319         * include/parallel/partition.h: Include <parallel/random_number.h>.
320         * testsuite/util/testsuite_abi.cc: Include <algorithm>.
321
322 2007-11-14  Johannes Singler  <singler@ira.uka.de>
323
324       * include/parallel/multiway_merge.h: More robust finding of an
325         arbitrary existing element inside the input sequences.
326       * include/bits/stl_algo.h: Fix typo to actually call appropriate
327         sequential version.
328
329 2007-11-13  Benjamin Kosnik  <bkoz@redhat.com>
330
331         * docs/html/documentation.html: First pass at unified table of contents.
332         * docs/html/abi.html: Move...
333         * docs/html/17_intro/abi.html: ...here.
334         * docs/html/17_intro/porting-howto.html: Update, edit, put
335         resulting pieces into...
336         * docs/html/17_intro/api.html: New.
337         * docs/html/17_intro/c++0x_status.html: New.
338         * docs/html/17_intro/CHECKLIST: Move to...
339         * docs/html/17_intro/c++1998_status.html: ...here.
340         * docs/html/ext/tr1.html: Move ...
341         * docs/html/17_intro/tr1_status.html: ...here.
342         * docs/html/debug_mode.html: Move...
343         * docs/html/ext/debug_mode.html: ...here.
344         * docs/html/parallel_mode.html: Move...
345         * docs/html/ext/parallel_mode.html: ...here
346         * docs/html/17_intro/BUGS: Remove.
347         * docs/html/17_intro/concept_check.diff: Remove.
348         * docs/html/17_intro/HEADER_POLICY: Remove.
349         * docs/html/17_intro/headers_cc.txt: Remove.
350         * docs/html/17_intro/PROBLEMS: Remove.
351         * docs/html/17_intro/RELEASE-NOTES: Remove.
352         * docs/html/explanations.html: Remove.
353         * docs/html/makedoc.awk: Remove.
354         * docs/html/faq/index.txt: Remove. HTML only.
355         * /docs/html/Makefile: Remove.
356         
357         * docs/html/17_intro/configury.html: Editing, updating,
358         consistency check with doxygen conventions. Change libstdc++-v3 to
359         libstdc++.      
360         * docs/html/17_intro/howto.html: Same.
361         * docs/html/17_intro/license.html: Same.
362         * docs/html/17_intro/porting.html: Same.
363         * docs/html/18_support/howto.html: Same.
364         * docs/html/19_diagnostics/howto.html: Same.
365         * docs/html/20_util/allocator.html: Same.
366         * docs/html/20_util/howto.html: Same.
367         * docs/html/21_strings/howto.html: Same.
368         * docs/html/22_locale/codecvt.html: Same.
369         * docs/html/22_locale/ctype.html: Same.
370         * docs/html/22_locale/howto.html: Same.
371         * docs/html/22_locale/messages.html: Same.
372         * docs/html/23_containers/howto.html: Same.
373         * docs/html/24_iterators/howto.html: Same.
374         * docs/html/25_algorithms/howto.html: Same.
375         * docs/html/26_numerics/howto.html: Same.
376         * docs/html/27_io/howto.html: Same.
377         * docs/html/configopts.html: Same.
378         * docs/html/debug.html: Same.
379         * docs/html/ext/ballocator_doc.html: Same.
380         * docs/html/ext/howto.html: Same.
381         * docs/html/ext/mt_allocator.html: Same.
382         * docs/html/ext/sgiexts.html: Same.
383         * docs/html/faq/index.html: Same.
384         * docs/html/install.html: Same.
385         * docs/html/test.html: Same.
386         
387         * include/bits/c++config: Change _GLIBCXX_DEPRECATED to
388         _GLIBCXX_DEPRECATED_ATTR, _GLIBCXX_VISIBILITY to
389         _GLIBCXX_VISIBILITY_ATTR.       
390         * include/backward/auto_ptr.h: Same.
391         * include/backward/binders.h: Same.
392         * include/bits/stl_function.h: Same.
393         * include/std/memory: Same.
394         * include/std/streambuf: Same.
395         * include/tr1_impl/boost_shared_ptr.h: Same.
396         * src/globals_io.cc: Same.
397         * src/ios_init.cc: Same.
398
399 2007-11-13  Paolo Carlini  <pcarlini@suse.de>
400
401         * include/bits/deque.tcc (deque<>::_M_push_back_aux,
402         _M_push_front_aux): Do not copy unnecessarily to __t_copy.
403
404 2007-11-12  Chris Jefferson  <chris@bubblescope.net>
405             Paolo Carlini  <pcarlini@suse.de>
406
407         * include/bits/stl_deque.h (deque<>::push_back<>(_Args...),
408         deque<>::push_front<>(_Args...), emplace<>(iterator, _Args...),
409         insert(iterator, _Tp&&), _M_push_back_aux<>(_Args&&...),
410         _M_push_front_aux<>(_Args&&...), _M_insert_aux<>(iterator,
411         _Args&&...)): Add.
412         * include/deque/deque.tcc (insert(iterator, value_type&&),
413         emplace<>(iterator, _Args...), _M_push_back_aux<>(_Args&&...),
414         _M_push_front_aux<>(_Args&&...), _M_insert_aux<>(iterator,
415         _Args&&...)): Define.
416         (_M_insert_aux(iterator, size_type, const value_type&),
417         _M_insert_aux<>(iterator, _ForwardIterator, _ForwardIterator,
418         size_type)): Use _GLIBCXX_MOVE3, _GLIBCXX_MOVE_BACKWARD3,
419         __uninitialized_move*, __uninitialized_fill_move,
420         __uninitialized_copy_move, when possible.
421         * include/bits/stl_uninitialized.h (__uninitialized_copy_copy,
422         __uninitialized_fill_copy, __uninitialized_copy_fill): Remove.
423         (__uninitialized_copy_move, __uninitialized_move_copy,
424         __uninitialized_move_fill, __uninitialized_fill_move): Add.
425         * include/debug/deque (deque<>::push_back<>(_Args...),
426         deque<>::push_front<>(_Args...), emplace<>(iterator, _Args...),
427         insert(iterator, _Tp&&)): Add.
428         * testsuite/23_containers/deque/modifiers/moveable.cc: Enable.
429         * testsuite/23_containers/deque/capacity/moveable.cc: Likewise.
430         * testsuite/23_containers/deque/cons/moveable.cc: Likewise.
431         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
432         Adjust dg-error line numbers.
433         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
434         Likewise.
435         * testsuite/23_containers/deque/requirements/dr438/
436         constructor_1_neg.cc: Likewise.
437         * testsuite/23_containers/deque/requirements/dr438/
438         constructor_2_neg.cc: Likewise.
439
440         * include/debug/vector (vector<>::insert(iterator, _Tp&&)): Minor
441         tweak, prefer std::move.
442
443 2007-11-11  Howard Hinnant  <hhinnant@apple.com>
444
445         * include/bits/stl_pair.h (pair<>::pair<>(_U1&&, _Arg0&&,
446         _Args&&...)): Add.
447
448 2007-11-11  Paolo Carlini  <pcarlini@suse.de>
449
450         * include/bits/stl_list.h (list<>::_M_create_node<>(_Args&&...),
451         _M_insert<>(iterator, _Args&&...), push_front<>(_Args&&...),
452         push_back<>(_Args&&...)): Add.
453         (list<>::emplace<>(iterator, _Args&&...), insert(iterator,
454         value_type&&)): Declare.
455         (splice(iterator, list&&), splice(iterator, list&&, iterator),
456         splice(iterator, list&&, iterator, iterator), merge(list&&),
457         merge(list&&, _StrictWeakOrdering)): Add C++0x signatures.
458         * include/bits/list.tcc (list<>::emplace<>(iterator, _Args&&...),
459         insert(iterator, value_type&&)): Define.
460         * include/debug/list (list<>::emplace<>(iterator, _Args&&...),
461         insert(iterator, value_type&&)): Add.
462         (splice(iterator, list&&), splice(iterator, list&&, iterator),
463         splice(iterator, list&&, iterator, iterator), merge(list&&),
464         merge(list&&, _StrictWeakOrdering)): Add C++0x signatures, use
465         _GLIBCXX_MOVE.
466         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
467         Likewise.
468         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
469         Likewise.
470         * testsuite/23_containers/list/requirements/dr438/
471         constructor_1_neg.cc: Likewise.
472         * testsuite/23_containers/list/requirements/dr438/
473         constructor_2_neg.cc: Likewise.
474
475 2007-11-09  Paolo Carlini  <pcarlini@suse.de>
476
477         * include/bits/stl_deque.h (deque<>::operator=(deque&&)): Implement
478         resolution of DR 675, call clear first.
479         * include/bits/stl_list.h (list<>::operator=(list&&)): Likewise.
480         * include/bits/stl_bvector.h (vector<bool>::operator=(vector&&)):
481         Likewise.
482         * include/bits/stl_vector.h (vector<>::operator=(vector&&)): Likewise.
483         * include/bits/stl_map.h (map<>::operator=(map&&)): Likewise.
484         * include/bits/stl_multimap.h (multimap<>::operator=(multimap&&)):
485         Likewise.
486         * include/bits/stl_multiset.h (multiset<>::operator=(multiset&&)):
487         Likewise.
488         * include/bits/stl_set.h (set<>::operator=(set&&)): Likewise.
489         * include/debug/map.h (map<>::operator=(map&&)): Likewise.
490         * include/debug/set.h (set<>::operator=(set&&)): Likewise.
491         * include/debug/multimap.h (multimap<>::operator=(multimap&&)):
492         Likewise.
493         * include/debug/multiset.h (multiset<>::operator=(multiset&&)):
494         Likewise.
495         * include/debug/deque (deque<>::operator=(deque&&)): Likewise.
496         * include/debug/list (list<>::operator=(list&&)): Likewise. 
497         * include/debug/vector (vector<>::operator=(vector&&)): Likewise.
498         * testsuite/23_containers/multimap/moveable.cc: Adjust.
499         * testsuite/23_containers/multiset/moveable.cc: Likewise.
500         * testsuite/23_containers/set/moveable.cc: Likewise.
501         * testsuite/23_containers/map/moveable.cc: Likewise.
502         * testsuite/20_util/pair/moveable.cc: Likewise.
503         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
504         Adjust dg-error line numbers.
505         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
506         Likewise.
507         * testsuite/23_containers/deque/requirements/dr438/
508         constructor_1_neg.cc: Likewise.
509         * testsuite/23_containers/deque/requirements/dr438/
510         constructor_2_neg.cc: Likewise.
511         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
512         Likewise.
513         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
514         Likewise.
515         * testsuite/23_containers/list/requirements/dr438/
516         constructor_1_neg.cc: Likewise.
517         * testsuite/23_containers/list/requirements/dr438/
518         constructor_2_neg.cc: Likewise.
519         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
520         Likewise.
521         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
522         Likewise.
523         * testsuite/23_containers/vector/requirements/dr438/
524         constructor_1_neg.cc: Likewise.
525         * testsuite/23_containers/vector/requirements/dr438/
526         constructor_2_neg.cc: Likewise.
527
528 2007-11-09  Paolo Carlini  <pcarlini@suse.de>
529
530         PR libstdc++/34032
531         * acinclude.m4 ([GLIBCXX_ENABLE_C99], [GLIBCXX_CHECK_C99_TR1]):
532         Use -std=c++98 instead of the default -std=gnu++98.
533         * configure: Regenerate.
534
535 2007-11-08  Paolo Carlini  <pcarlini@suse.de>
536
537         * config/io/basic_file_stdio.cc (fopen_mode): Add modes missing
538         per DR 596.
539         * testsuite/27_io/basic_filebuf/open/char/4.cc: Extend.
540         * include/std/fstream: Update comment preceding open.
541         * docs/html/ext/howto.html: Update.
542
543 2007-11-08  Paolo Carlini  <pcarlini@suse.de>
544
545         * include/std/type_traits (__decay_selector<_Up, false, false>):
546         Change according to DR 705.
547         * include/bits/stl_pair.h (make_pair(_T1&&, _T2&&)): Change
548         according to DR 706.
549         * include/tr1_impl/tuple: Tweak.
550
551 2007-11-08  Paolo Carlini  <pcarlini@suse.de>
552
553         * include/debug/vector (push_back, emplace): Fix signature typo.
554
555 2007-11-08  Paolo Carlini  <pcarlini@suse.de>
556
557         * include/bits/locale_facets.h (ctype<char>::taple, classic_table):
558         Implement trivial resolution of DR 695 [Ready].
559         * testsuite/22_locale/ctype/dr695.cc: New.
560         * docs/html/ext/howto.html: Update.
561
562 2007-11-08  Paolo Carlini  <pcarlini@suse.de>
563
564         * docs/html/ext/lwg-active.html: Update to Revision R52.
565         * docs/html/ext/lwg-closed.html: Likewise.
566         * docs/html/ext/lwg-defects.html: Likewise.
567         * docs/html/ext/howto.html: Adjust.
568
569 2007-11-07  Paolo Carlini  <pcarlini@suse.de>
570
571         * include/tr1_impl/complex (fabs): In C++0x mode adjust
572         return type per DR 595 [Ready].
573
574 2007-11-07  Paolo Carlini  <pcarlini@suse.de>
575
576         * include/bits/stl_iterator.h (move_iterator<>::pointer): Adjust
577         typedef per DR 680 [Ready].
578
579 2007-11-06  Paolo Carlini  <pcarlini@suse.de>
580
581         * include/bits/vector.tcc (vector<>::_M_insert_aux<>(iterator,
582         _Args&&...)): In C++0x mode do not use temporary copies.
583         (insert(iterator, const value_type&)): Copy to a temporary
584         when not reallocating.
585
586         * include/bits/vector.tcc (insert(iterator, value_type&&)):
587         Minor tweaks in C++0x mode.
588
589 2007-11-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
590
591         * include/tr1_impl/boost_shared_ptr.h: Avoid unnecessary memory
592         barriers in _S_atomic case.
593
594 2007-11-05  Chris Jefferson  <chris@bubblescope.net>
595             Paolo Carlini  <pcarlini@suse.de>
596
597         * include/bits/stl_vector.h (vector<>::push_back<>(_Args...),
598         emplace<>(iterator, _Args...), insert(iterator, _Tp&&),
599         _M_insert_aux<>(iterator, _Args&&...)): Add.
600         * include/bits/vector.tcc (insert(iterator, value_type&&),
601         emplace<>(iterator, _Args...), _M_insert_aux<>(iterator, _Args&&...)):
602         Define.
603         (_M_fill_insert(iterator, size_type, const value_type&),
604         _M_range_insert(iterator, _ForwardIterator, _ForwardIterator,
605         std::forward_iterator_tag)): Use __uninitialized_move_a,
606         _GLIBCXX_MOVE_BACKWARD3 when possible.
607         * include/bits/stl_uninitialized.h (__uninitialized_move_a): Add.
608         * include/debug/vector (vector<>::push_back<>(_Args...),
609         emplace<>(iterator, _Args...), insert(iterator, _Tp&&)): Add.
610         * testsuite/23_containers/vector/modifiers/moveable.cc: Enable.
611         * testsuite/23_containers/vector/resize/moveable.cc: Likewise.
612         * testsuite/23_containers/vector/cons/moveable.cc: Likewise.
613         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
614         Adjust dg-error line numbers.
615         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
616         Likewise.
617         * testsuite/23_containers/vector/requirements/dr438/
618         constructor_1_neg.cc: Likewise.
619         * testsuite/23_containers/vector/requirements/dr438/
620         constructor_2_neg.cc: Likewise.
621
622 2007-11-03  Paolo Carlini  <pcarlini@suse.de>
623             Kai-Uwe Bux  <bux@kubux.net>
624
625         * include/tr1_impl/random (variate_generator<>::min, max,
626         operator()()): Return non-trivial values when _Engine_result_type
627         is a floating point type and result_type is an integer type.
628
629 2007-11-02  Paolo Carlini  <pcarlini@suse.de>
630
631         * include/bits/stl_algo.h (minmax, minmax_element): Add.
632         * include/bits/algorithmfwd.h: Update.
633         * testsuite/25_algorithms/minmax/requirements/
634         explicit_instantiation/2.cc: New.
635         * testsuite/25_algorithms/minmax/requirements/
636         explicit_instantiation/pod.cc: Likewise.
637         * testsuite/25_algorithms/minmax/1.cc: Likewise.
638         * testsuite/25_algorithms/minmax_element/check_type.cc: Likewise.
639         * testsuite/25_algorithms/minmax_element/requirements/
640         explicit_instantiation/2.cc: Likewise.
641         * testsuite/25_algorithms/minmax_element/requirements/
642         explicit_instantiation/pod.cc: Likewise.
643         * testsuite/25_algorithms/minmax_element/1.cc: Likewise.
644         * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
645
646 2007-11-02  Johannes Singler  <singler@ira.uka.de>
647
648         * include/parallel/workstealing.h: Replaced pragma by function
649           call lock.
650         * include/parallel/search.h: Same
651         * include/parallel/partition.h: Same
652         * include/parallel/find.h: Same
653
654 2007-11-01  Janis Johnson  <janis187@us.ibm.com>
655
656         PR testsuite/25352
657         * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
658         Remove xfail from dg-do and add dg-skip-if.
659
660 2007-10-31  Paolo Carlini  <pcarlini@suse.de>
661
662         * include/bits/stl_queue.h (queue<>::push(value_type&&)): Replace
663         with "emplace" version per DR 756.
664         (priority_queue<>::push(value_type&&)): Likewise.
665         * include/bits/stl_stack.h (stack<>::push(value_type&&)): Likewise.
666
667 2007-10-30  Paolo Carlini  <pcarlini@suse.de>
668
669         * include/tr1_impl/random (uniform_int<>::
670         _M_call(_UniformRandomNumberGenerator&, result_type, result_type,
671         true_type)): Only declare.
672         * include/tr1_impl/random.tcc (uniform_int<>::
673         _M_call(_UniformRandomNumberGenerator&, result_type, result_type,
674         true_type)): Re-do, unbiased for the currently supported ranges;
675         add comment.
676
677 2007-10-30  Benjamin Kosnik  <bkoz@redhat.com>
678
679         * docs/html/ext/pb_ds/multimap_text_insert_timing_test_small.html:
680         Correct filename.       
681         * docs/html/ext/pb_ds/multimap_text_find_timing_test_large.html: Same.
682         * docs/html/ext/pb_ds/
683         multimap_text_insert_mem_usage_test_small.html: Same.
684         * docs/html/ext/pb_ds/multimap_text_insert_timing_test_large.html: Same.
685         * docs/html/ext/pb_ds/
686         multimap_text_insert_mem_usage_test_large.html: Same.
687         * docs/html/ext/pb_ds/multimap_text_find_timing_test_small.html: Same.
688
689 2007-10-30  Benjamin Kosnik  <bkoz@redhat.com>
690         
691         * include/Makefile.am (PCHFLAGS): Remove -Wno-deprecated.
692         * include/Makefile.in: Regenerate.
693
694         * include/std/memory: Remove extraneous include.        
695
696 2007-10-29  Benjamin Kosnik  <bkoz@redhat.com>
697  
698         * include/bits/c++config (_GLIBCXX_DEPRECATED,
699         _GLIBCXX_USE_DEPRECATED): New. Adjust comments.
700         * include/bits/stl_auto_ptr.h: Move...
701         * includse/backward/auto_ptr.h: ...here.
702         * include/bits/stl_function.h (binder1st, binder2nd, bind1st,
703         bind2nd): Move...
704         * include/backward/binders.h: ...here. Deprecate in C++0x.
705
706         * include/tr1_impl/boost_shared_ptr.h: Guard auto_ptr usage.
707         * include/std/memory: Same.
708         * include/std/streambuf: Consistent use of _GLIBCXX_USE_DEPRECATED.
709
710         * include/backward/strstream: Fix guard macros.
711         * include/backward/backward_warning.h: Adjust for all new items.
712
713         * config/abi/pre/gnu.ver: Export basic_streambuf::stossc.
714         
715         * include/Makefile.am (backward_headers): Adjust.
716         * include/Makefile.in: Regenerate.
717         * configure: Regenerate.
718
719 2007-10-29  Benjamin Kosnik  <bkoz@redhat.com>
720
721         * include/Makefile.am (ext_compat_headers): New.
722         * include/Makefile.in: Regenerate.
723         * configure: Regenerate.
724
725 2007-10-28  Paolo Carlini  <pcarlini@suse.de>
726
727         * include/bits/stl_algobase.h (_GLIBCXX_MOVE3,
728         _GLIBCXX_MOVE_BACKWARD3): Add.
729         * include/bits/stl_iterator.h (_GLIBCXX_MAKE_MOVE_ITERATOR): Add.
730         * include/bits/vector.tcc (vector<>::reserve): Use the latter.
731         (vector<>::erase): Use _GLIBCXX_MOVE3.
732         * include/bits/deque.tcc (deque<>::erase): Use _GLIBCXX_MOVE3
733         and _GLIBCXX_MOVE_BACKWARD3.
734         * testsuite/23_containers/vector/modifiers/erase/moveable.cc: New.
735         * testsuite/23_containers/vector/capacity/reserve/moveable.cc: New.
736         * testsuite/23_containers/deque/modifiers/erase/moveable.cc: New.
737
738 2007-10-28  Paolo Carlini  <pcarlini@suse.de>
739
740         * include/bits/stl_uninitialized.h (uninitialized_copy): Use
741         ::new and value_type per the letter of the standard.
742         * testsuite/20_util/specialized_algorithms/uninitialized_copy/
743         move_iterators/1.cc: New.
744
745         * testsuite/20_util/specialized_algorithms/16505.cc: Move to...
746         * testsuite/20_util/specialized_algorithms/uninitialized_fill_n/
747         16505.cc: ... here.
748         * testsuite/20_util/specialized_algorithms/32158.cc: Move to...
749         * testsuite/20_util/specialized_algorithms/uninitialized_fill/
750         32158.cc: ... here.
751
752         * include/bits/stl_construct.h (_Construct(_T1*)): Remove, unused.
753
754 2007-10-27  Paolo Carlini  <pcarlini@suse.de>
755
756         * include/bits/stl_algobase.h (struct __miter_base): Add.
757         (__copy_move_a2, __copy_move_backward_a2): Add.
758         (copy, copy_backward, move, move_backward): Adjust, call *a2 helpers.
759         * include/bits/cpp_type_traits.h (struct __is_move_iterator): Add.
760         * include/bits/streambuf_iterator.h (__copy_move_a<>): Rename
761         to __copy_move_a2.
762         * include/std/streambuf (friend __copy_move_a<>): Likewise.
763         * testsuite/25_algorithms/copy/move_iterators/1.cc: New.
764         * testsuite/25_algorithms/copy_backward/move_iterators/1.cc: Likewise.
765
766         * include/bits/stl_iterator.h (__normal_iterator<>::_Iterator_type):
767         Rename to iterator_type.
768
769 2007-10-26  Paolo Carlini  <pcarlini@suse.de>
770
771         * include/ext/throw_allocator.h (throw_allocator<>::
772         construct<>(pointer, _Args&&...)): Add.
773         * include/ext/pool_allocator.h (__pool_alloc<>::
774         construct<>(pointer, _Args&&...)): Likewise.
775         (construct(pointer, const _Tp&)): Cast pointer to void*. 
776         * include/ext/bitmap_allocator.h (bitmap_allocator<>::
777         construct<>(pointer, _Args&&...)): Add.
778         (construct(pointer, const _Tp&)): Cast pointer to void*.
779         * include/ext/new_allocator.h (new_allocator<>::
780         construct<>(pointer, _Args&&...)): Add.
781         (construct(pointer, const _Tp&)): Cast pointer to void*.
782         * include/ext/malloc_allocator.h (malloc_allocator<>::
783         construct<>(pointer, _Args&&...)): Add.
784         (construct(pointer, const _Tp&)): Cast pointer to void*.
785         * include/ext/array_allocator.h (array_allocator<>::
786         construct<>(pointer, _Args&&...)): Add.
787         (construct(pointer, const _Tp&)): Cast pointer to void*.
788         * include/ext/mt_allocator.h (__mt_alloc<>::
789         construct<>(pointer, _Args&&...)): Add.
790         (construct(pointer, const _Tp&)): Cast pointer to void*.
791         * testsuite/util/testsuite_allocator.h (tracker_allocator<>::
792         construct<>(pointer, _Args&&...)): Add.
793         (construct(pointer, const _Tp&)): Cast pointer to void*.
794         (uneq_allocator<>::construct<>(pointer, _Args&&...)): Add.
795         (construct(pointer, const _Tp&)): Cast pointer to void*.
796         * testsuite/ext/mt_allocator/variadic_construct.cc: New.
797         * testsuite/ext/new_allocator/variadic_construct.cc: Likewise.
798         * testsuite/ext/throw_allocator/variadic_construct.cc: Likewise.
799         * testsuite/ext/malloc_allocator/variadic_construct.cc: Likewise.
800         * testsuite/ext/pool_allocator/variadic_construct.cc: Likewise.
801         * testsuite/ext/bitmap_allocator/variadic_construct.cc: Likewise.
802         * testsuite/ext/array_allocator/variadic_construct.cc: Likewise.
803
804 2007-10-26  Benjamin Kosnik  <bkoz@redhat.com>
805
806         * include/std/unordered_map: Fix for parallel mode.
807         * include/std/unordered_set: Same.      
808
809 2007-10-25  Andreas Tobler  <a.tobler@schweiz.org>
810
811         * include/Makefile.am (parallel_headers): Remove timing.h.
812         * include/Makefile.in: Regenerate.
813
814 2007-10-25  Johannes Singler  <singler@ira.uka.de>
815
816       * include/parallel/multiway_merge.h: Removed Timing<inactive_tag>
817       * include/parallel/random_shuffle.h: Same
818       * include/parallel/set_operations.h: Same
819       * include/parallel/tree.h: Same
820       * include/parallel/multiway_mergesort.h: Same
821       * include/parallel/timing.h: Removed completely
822
823 2007-10-25  Paolo Carlini  <pcarlini@suse.de>
824
825         * include/bits/stl_algo.h (__lg<>(_Size)): Slightly tweak.
826         (__lg(int), __lg(long), __lg(long long)): Add, overloads
827         exploiting __builtin_clz*.
828
829 2007-10-24  Paolo Carlini  <pcarlini@suse.de>
830
831         * include/tr1_impl/array (_M_instance): Align naturally.
832         * testsuite/ext/array_allocator/1.cc: Use ext/vstring,
833         more solid than our current basic_string vs alignment.
834         * testsuite/ext/array_allocator/2.cc: Likewise.
835         * testsuite/ext/array_allocator/3.cc: Likewise.
836
837 2007-10-20  Paolo Carlini  <pcarlini@suse.de>
838
839         * include/bits/stl_move.h (_GLIBCXX_MOVE): Wrap in parentheses.
840         * include/bits/stl_algobase.h (__niter_base<>): Pass iterators
841         by value, as everywhere else.
842
843 2007-10-20  Paolo Carlini  <pcarlini@suse.de>
844
845         * include/tr1_impl/random
846         (uniform_int<>::_M_call(_UniformRandomNumberGenerator&, result_type,
847         result_type, true_type)): Fix small thinko.
848
849 2007-10-19  Paolo Carlini  <pcarlini@suse.de>
850
851         PR libstdc++/33815
852         * include/tr1_impl/random
853         (uniform_int<>::_M_call(_UniformRandomNumberGenerator&, result_type,
854         result_type, true_type)): Avoid the modulo (which uses the low-order
855         bits).
856
857 2007-10-19  Paolo Carlini  <pcarlini@suse.de>
858
859         * include/bits/stl_algobase.h (struct __cm_assign,
860         struct __copy_move, struct __copy_move_backward, move,
861         move_backward): Add.
862         (struct __copy, struct __copy_backward): Remove.
863         (__copy_aux, __copy_backward_aux): Rename to...
864         (__copy_move_a, __copy_move_backward_a): ... this, and
865         adjust calls.
866         (copy, copy_backward): Adjust calls.
867         * include/bits/streambuf_iterator.h (__copy_aux): Rename
868         to ...
869         (__copy_move_a): ... this; add bool template parameter.
870         * include/std/streambuf: Adjust friend declarations.
871         * testsuite/util/testsuite_iterators.h
872         (WritableObject<>::operator=(U&&)): Add.
873         * testsuite/25_algorithms/move/1.cc: New.
874         * testsuite/25_algorithms/move/requirements/
875         explicit_instantiation/2.cc: Likewise.
876         * testsuite/25_algorithms/move/requirements/
877         explicit_instantiation/pod.cc: Likewise.
878         * testsuite/25_algorithms/move_backward/1.cc: Likewise.
879         * testsuite/25_algorithms/move_backward/requirements/
880         explicit_instantiation/2.cc: Likewise.
881         * testsuite/25_algorithms/move_backward/requirements/
882         explicit_instantiation/pod.cc: Likewise.
883
884 2007-10-18  Kaz Kojima  <kkojima@gcc.gnu.org>
885
886         * testsuite/tr1/5_numerical_facilities/special_functions/
887         05_comp_ellint_2/check_nan.cc: Add -mieee for sh.
888
889 2007-10-18  Paolo Carlini  <pcarlini@suse.de>
890
891         * include/bits/allocator.h (struct __alloc_neq): Add.
892         * include/bits/stl_list.h (list<>::_M_check_equal_allocators): Use it.
893
894 2007-10-18  Benjamin Kosnik  <bkoz@redhat.com>
895
896         * include/ext/hash_map: To...
897         * include/backward/hash_map: ...here. Remove debug mode.
898         * include/ext/hash_set: To...
899         * include/backward/hash_set: ...here. Remove debug mode.
900         * include/ext/hash_fun.h: To...
901         * include/backward/hash_fun.h: ...here.
902         * include/ext/hashtable.h: To...
903         * include/backward/hashtable.h: ...here.
904         
905         * include/bits/c++config: Remove __gnu_cxx namespace from debug mode.
906         * include/debug/debug.h: Same.
907                 
908         * include/debug/hash_map: Remove.
909         * include/debug/hash_multimap.h: Remove.
910         * include/debug/hash_set.h: Remove.
911         * include/debug/hash_set: Remove.
912         * include/debug/hash_multiset.h: Remove.
913         * include/debug/hash_map.h: Remove.
914         
915         * include/Makefile.am (ext_headers): Move hash_set, hash_map to
916         backward.
917         (debug_headers): Remove hash_map, hash_set, hash_map.h,
918         hash_map.h, hash_multiset.h, hash_multimap.h.   
919         * include/Makefile.in: Regenerate.
920
921         * docs/html/debug.html: Update.
922         * docs/html/ext/howto.html: Same.
923         * docs/html/faq/index.html: Same.
924         * docs/doxygen/Intro.3: Same.
925         * docs/doxygen/user.cfg.in: Adjust includes.
926         * testsuite/ext/hash_map: Move to...
927         * testsuite/backward/hash_map: ...here.
928         * testsuite/ext/hash_set: Move to...
929         * testsuite/backward/hash_set: ...here.
930         
931 2007-10-18  Benjamin Kosnik  <bkoz@redhat.com>
932         
933         Removal of pre-ISO C++ items from include/backwards.
934         * include/Makefile.am (backward_headers): Remove all but strstream,
935         backward_warning.h.
936         * include/Makefile.in: Regenerate.
937         * include/backward/new.h: Remove.
938         * include/backward/iterator.h: Same.
939         * include/backward/alloc.h: Same.
940         * include/backward/set.h: Same.
941         * include/backward/hashtable.h: Same.
942         * include/backward/hash_set.h: Same.
943         * include/backward/fstream.h: Same.
944         * include/backward/tempbuf.h: Same.
945         * include/backward/istream.h: Same.
946         * include/backward/bvector.h: Same.
947         * include/backward/stack.h: Same.
948         * include/backward/rope.h: Same.
949         * include/backward/complex.h: Same.
950         * include/backward/ostream.h: Same.
951         * include/backward/heap.h: Same.
952         * include/backward/iostream.h: Same.
953         * include/backward/function.h: Same.
954         * include/backward/multimap.h: Same.
955         * include/backward/pair.h: Same.
956         * include/backward/stream.h: Same.
957         * include/backward/iomanip.h: Same.
958         * include/backward/slist.h: Same.
959         * include/backward/tree.h: Same.
960         * include/backward/vector.h: Same.
961         * include/backward/deque.h: Same.
962         * include/backward/multiset.h: Same.
963         * include/backward/defalloc.h: Same.
964         * include/backward/list.h: Same.
965         * include/backward/map.h: Same.
966         * include/backward/algobase.h: Same.
967         * include/backward/hash_map.h: Same.
968         * include/backward/algo.h: Same.
969         * include/backward/queue.h: Same.
970         * include/backward/streambuf.h: Same.
971         * testsuite/backward/header_hash_set_h.cc: Same.
972         * testsuite/backward/header_slist_h.cc: Same.
973         * testsuite/backward/header_hash_map_h.cc: Same.
974         * testsuite/backward/header_tempbuf_h.cc: Same.
975         * testsuite/backward/header_deque_h.cc: Same.
976         * testsuite/backward/header_rope_h.cc: Same.
977         * testsuite/backward/header_iterator_h.cc: Same.
978         * testsuite/backward/header_hashtable_h.cc: Same.
979
980 2007-10-18  Benjamin Kosnik  <bkoz@redhat.com>
981
982         PR libstdc++/30085
983         * include/debug/unordered_map: New.
984         * include/debug/unordered_set: New.
985         * include/debug/safe_association.h: New.        
986         * include/std/unordered_map: Include debug header if _GLIBCXX_DEBUG.
987         * include/std/unordered_set: Same.
988         * include/Makefile.am (debug_headers): Add unordered_map,
989         unordered_set, safe_association.h.
990         * include/Makefile.in: Regenerate.
991         * testsuite/23_containers/unordered_map/requirements/debug.cc: New.
992         * testsuite/23_containers/unordered_multimap/requirements/
993         debug.cc: New.
994         * testsuite/23_containers/unordered_set/requirements/debug.cc: New.
995         * testsuite/23_containers/unordered_multiset/requirements/
996         debug.cc: New.
997
998 2007-10-18  Benjamin Kosnik  <bkoz@redhat.com>
999         
1000         * testsuite/util/native_type/assoc/native_hash_multimap.hpp: Remove
1001         hash_map include.
1002
1003 2007-10-18  Paolo Carlini  <pcarlini@suse.de>
1004
1005         PR libstdc++/33807
1006         * include/bits/allocator.h (operator==(const allocator<_Tp>&,
1007         const allocator<_Tp>&), operator!=(const allocator<_Tp>&,
1008         const allocator<_Tp>&)): Add.
1009         * testsuite/20_util/allocator/33807.cc: New.
1010
1011 2007-10-17  Paolo Carlini  <pcarlini@suse.de>
1012
1013         * include/bits/cpp_type_traits.h (__is_byte): Add.
1014         * include/bits/stl_algobase.h (struct __fill, struct __fill_n,
1015         __fill_aux, __fill_n_aux): Remove.
1016         (__fill_a, __fill_n_a): Add.
1017         (fill, fill_n): Adjust.
1018
1019 2007-10-17  Paolo Carlini  <pcarlini@suse.de>
1020
1021         * include/bits/stl_iterator.h (back_insert_iterator<>::operator=
1022         (typename _Container::value_type&&), front_insert_iterator<>::
1023         operator=(typename _Container::value_type&&), insert_iterator<>::
1024         operator=(typename _Container::value_type&&)): Add.
1025
1026         * include/bits/stl_iterator.h (insert_iterator<>::operator=
1027         (typename _Container::const_reference)): Fix typo in signature.
1028
1029 2007-10-17  Paolo Carlini  <pcarlini@suse.de>
1030
1031         * include/tr1_impl/array: Correct macro guarding cbegin, cend,
1032         crbegin, crend.
1033         * include/tr1_impl/hashtable: Likewise.
1034
1035 2007-10-16  Paolo Carlini  <pcarlini@suse.de>
1036
1037         * include/ext/vstring.h (__versa_string<>::front, 
1038         __versa_string<>::back): Add.
1039         * testsuite/ext/vstring/element_access/char/front_back.cc: New.
1040         * testsuite/ext/vstring/element_access/wchar_t/front_back.cc: Likewise.
1041
1042 2007-10-16  Paolo Carlini  <pcarlini@suse.de>
1043
1044         * include/bits/stl_queue.h (queue<>::queue(_Sequence&&),
1045         queue<>::queue(queue&&), queue<>::operator=(queue&&),
1046         queue<>::push(value_type&&), queue<>::swap(queue&&),
1047         swap(queue<>&, queue<>&), swap(queue<>&&, queue<>&),
1048         swap(queue<>&, queue<>&&), priority_queue<>::
1049         priority_queue(const _Compare&, _Sequence&&),
1050         priority_queue<>::priority_queue(_InputIterator, _InputIterator,
1051         const _Compare&, _Sequence&&),
1052         priority_queue<>::priority_queue(priority_queue&&),
1053         priority_queue<>::operator=(priority_queue&&),
1054         priority_queue<>::push(value_type&&),
1055         priority_queue<>::swap(priority_queue&&),
1056         swap(priority_queue<>&, priority_queue<>&),
1057         swap(priority_queue<>&&, priority_queue<>&),
1058         swap(priority_queue<>&, priority_queue<>&&)): Add.
1059         * include/bits/stl_stack.h (stack<>::stack(_Sequence&&),
1060         stack<>::push(value_type&&), stack<>::swap(stack&&),
1061         swap(stack<>&, stack<>&), swap(stack<>&&, stack<>&),
1062         swap(stack<>&, stack<>&&)): Add.
1063         * testsuite/23_containers/queue/moveable.cc: New.
1064         * testsuite/23_containers/priority_queue/moveable.cc: Likewise.
1065
1066 2007-10-16  Paolo Carlini  <pcarlini@suse.de>
1067
1068         * include/ext/vstring.h (__versa_string<>::
1069         __versa_string(__versa_string&&),
1070         __versa_string<>::operator=(__versa_string&&,
1071         swap(__versa_string<>&&, __versa_string<>&),
1072         swap(__versa_string<>(&, __versa_string<>&&)): Add.
1073         (__versa_string<>::swap(__versa_string&&)): Adjust for C++0x.
1074         * include/ext/sso_string_base.h
1075         (__sso_string_base(__sso_string_base&&)): Add.
1076         (__sso_string_base()): Use _Alloc_hider(_CharT*).
1077         * include/ext/rc_string_base.h (__rc_string_base(__rc_string_base&&)):
1078         Add.
1079         (__rc_string_base()): Use _Alloc_hider(_CharT*).
1080         * include/ext/vstring_util.h (_Alloc_hider::_Alloc_hider(_CharT*)):
1081         Add.
1082         * testsuite/ext/vstring/moveable.cc: Add.
1083
1084         * include/bits/stl_tree.h (_Rb_tree(_Rb_tree&&)): Add.
1085         * include/bits/stl_map.h (map<>::map(map&&)): Forward to the latter.
1086         * include/bits/stl_set.h (set<>::set(set&&)): Likewise.
1087         * include/bits/stl_multimap.h (multimap<>::multimap(multimap&&)):
1088         Likewise.
1089         * include/bits/stl_multiset.h (multiset<>::multiset(multiset&&)):
1090         Likewise.
1091         * include/bits/stl_deque.h (_Deque_base<>::_Deque_base(_Deque_base&&)):
1092         Add.
1093         (deque<>::deque(deque&&)): Forward to the latter.
1094         * include/bits/stl_list.h (_List_base<>::_List_base(_List_base&&)):
1095         Add.
1096         (list<>::list(list&&)): Forward to the latter.
1097         * include/bits/stl_vector.h
1098         (_Vector_base<>::_Vector_base(_Vector_base&&)): Add.
1099         (vector<>::vector(vector&&)): Forward to the latter.
1100         * include/bits/stl_bvector.h
1101         (_Bvector_base<>::_Bvector_base(_Bvector_base&&)): Add.
1102         (vector<bool>::vector(vector&&)): Forward to the latter.
1103
1104         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
1105         Adjust dg-error lines.
1106         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
1107         Likewise.
1108         * testsuite/23_containers/vector/requirements/dr438/
1109         constructor_1_neg.cc: Likewise.
1110         * testsuite/23_containers/vector/requirements/dr438/
1111         constructor_2_neg.cc: Likewise.
1112         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
1113         Likewise.
1114         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
1115         Likewise.
1116         * testsuite/23_containers/deque/requirements/dr438/
1117         constructor_1_neg.cc: Likewise.
1118         * testsuite/23_containers/deque/requirements/dr438/
1119         constructor_2_neg.cc: Likewise.
1120         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
1121         Likewise.
1122         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
1123         Likewise.
1124         * testsuite/23_containers/list/requirements/dr438/
1125         constructor_1_neg.cc: Likewise.
1126         * testsuite/23_containers/list/requirements/dr438/
1127         constructor_2_neg.cc: Likewise.
1128
1129 2007-10-15  Paolo Carlini  <pcarlini@suse.de>
1130
1131         * include/debug/set.h (set<>::cbegin, cend, crbegin, crend): Add.
1132         * include/debug/multiset.h (set<>::cbegin, cend, crbegin, crend):
1133         Likewise.
1134         * include/debug/vector (vector<>::cbegin, cend, crbegin, crend):
1135         Likewise.
1136         * include/debug/map.h (map<>::cbegin, cend, crbegin, crend):
1137         Likewise.
1138         * include/debug/deque (deque<>::cbegin, cend, crbegin, crend): 
1139         Likewise.
1140         * include/debug/list (list<>::cbegin, cend, crbegin, crend):
1141         Likewise.
1142         * include/debug/multimap.h (multimap<>::cbegin, cend, crbegin,
1143         crend): Likewise.
1144         * include/tr1_impl/array (array<>::cbegin, cend, crbegin, crend):
1145         Likewise.
1146         * include/ext/vstring.h (__versa_string<>::cbegin, cend, crbegin,
1147         crend): Likewise.
1148         * include/bits/stl_list.h (list<>::cbegin, cend, crbegin, crend):
1149         Likewise.
1150         * include/bits/stl_map.h (map<>::cbegin, cend, crbegin, crend):
1151         Likewise.
1152         * include/bits/stl_set.h (set<>::cbegin, cend, crbegin, crend):
1153         Likewise.
1154         * include/bits/stl_multimap.h (multimap<>::cbegin, cend, crbegin,
1155         crend): Likewise.
1156         * include/bits/stl_vector.h (vector<>::cbegin, cend, crbegin, crend):
1157         Likewise.
1158         * include/bits/stl_deque.h (deque<>::cbegin, cend, crbegin, crend):
1159         Likewise.
1160         * include/bits/stl_multiset.h (multiset<>::cbegin, cend, crbegin,
1161         crend): Likewise.
1162         * include/bits/stl_bvector.h (vector<bool>::cbegin, cend, crbegin,
1163         crend): Likewise.
1164         * include/tr1_impl/hashtable (_Hashtable<>::cbegin, cend): Add. 
1165
1166         * testsuite/ext/vstring/requirements/citerators.cc: Add.
1167         * testsuite/23_containers/unordered_map/requirements/citerators.cc:
1168         Likewise.
1169         * testsuite/23_containers/multimap/requirements/citerators.cc:
1170         Likewise.
1171         * testsuite/23_containers/set/requirements/citerators.cc: Likewise.
1172         * testsuite/23_containers/unordered_multimap/requirements/
1173         citerators.cc: Likewise.
1174         * testsuite/23_containers/unordered_set/requirements/citerators.cc:
1175         Likewise.
1176         * testsuite/23_containers/vector/requirements/citerators.cc: Likewise.
1177         * testsuite/23_containers/vector/bool/requirements/citerators.cc:
1178         Likewise.
1179         * testsuite/23_containers/deque/requirements/citerators.cc: Likewise.
1180         * testsuite/23_containers/multiset/requirements/citerators.cc:
1181         Likewise.
1182         * testsuite/23_containers/list/requirements/citerators.cc: Likewise.
1183         * testsuite/23_containers/unordered_multiset/requirements/
1184         citerators.cc: Likewise.
1185         * testsuite/23_containers/map/requirements/citerators.cc: Likewise.
1186         * testsuite/23_containers/array/requirements/citerators.cc: Likewise.
1187
1188         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
1189         Adjust dg-error lines.
1190         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
1191         Likewise.
1192         * testsuite/23_containers/vector/requirements/dr438/
1193         constructor_1_neg.cc: Likewise.
1194         * testsuite/23_containers/vector/requirements/dr438/
1195         constructor_2_neg.cc: Likewise.
1196         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
1197         Likewise.
1198         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
1199         Likewise.
1200         * testsuite/23_containers/deque/requirements/dr438/
1201         constructor_1_neg.cc: Likewise.
1202         * testsuite/23_containers/deque/requirements/dr438/
1203         constructor_2_neg.cc: Likewise.
1204         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
1205         Likewise.
1206         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
1207         Likewise.
1208         * testsuite/23_containers/list/requirements/dr438/
1209         constructor_1_neg.cc: Likewise.
1210         * testsuite/23_containers/list/requirements/dr438/
1211         constructor_2_neg.cc: Likewise.
1212
1213 2007-10-15  Paolo Carlini  <pcarlini@suse.de>
1214
1215         PR libstdc++/33773 (cont)
1216         * testsuite/21_strings/headers/cwchar/macros.cc: Guard with
1217         _GLIBCXX_USE_WCHAR_T, instead.
1218
1219 2007-10-15  Paolo Carlini  <pcarlini@suse.de>
1220
1221         PR libstdc++/33771
1222         PR libstdc++/33773
1223         * testsuite/21_strings/headers/cwchar/macros.cc: Guard test with
1224         _GLIBCXX_HAVE_WCHAR_H.
1225         * testsuite/21_strings/headers/cwctype/macros.cc: Likewise with
1226         _GLIBCXX_HAVE_WCTYPE_H.
1227         * testsuite/17_intro/headers/c++200x/all.cc: Guard inclusions
1228         of <wchar.h> and <wctype.h>.
1229         * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc:
1230         Likewise.
1231         * testsuite/17_intro/headers/c++1998/all.cc: Likewise.
1232         * testsuite/17_intro/headers/c++1998/all_multiple_inclusion.cc:
1233         Likewise.
1234
1235 2007-10-14  Paolo Carlini  <pcarlini@suse.de>
1236
1237         * include/bits/stl_algo.h (is_sorted, is_sorted_until): Add.
1238         * include/bits/algorithmfwd.h: Add.
1239         * include/ext/algorithm: Adjust.
1240         * testsuite/25_algorithms/is_sorted/requirements/
1241         explicit_instantiation/2.cc: New.
1242         * testsuite/25_algorithms/is_sorted/requirements/
1243         explicit_instantiation/pod.cc: Likewise.
1244         * testsuite/25_algorithms/is_sorted/1.cc: Likewise.
1245         * testsuite/25_algorithms/is_sorted_until/requirements/
1246         explicit_instantiation/2.cc: Likewise.
1247         * testsuite/25_algorithms/is_sorted_until/requirements/
1248         explicit_instantiation/pod.cc: Likewise.
1249         * testsuite/25_algorithms/is_sorted_until/1.cc: Likewise.
1250         * testsuite/25_algorithms/headers/algorithm/synopsis.cc:
1251         Add is_sorted and is_sorted_until.
1252
1253         * include/bits/stl_heap.h (is_heap_until): Add concept and
1254         debug-mode checks.
1255
1256 2007-10-12  Paolo Carlini  <pcarlini@suse.de>
1257
1258         * include/bits/stl_heap.h (__is_heap_until): Add.
1259         (__is_heap(_RandomAccessIterator, _Distance),
1260         __is_heap(_RandomAccessIterator, _Compare, _Distance)):
1261         Adjust, call the latter.
1262         (is_heap, is_heap_until): Add, call the above.
1263         * include/bits/algorithmfwd.h: Add.
1264         * testsuite/25_algorithms/is_heap/requirements/
1265         explicit_instantiation/2.cc: New.
1266         * testsuite/25_algorithms/is_heap/requirements/
1267         explicit_instantiation/pod.cc: Likewise.
1268         * testsuite/25_algorithms/is_heap/1.cc: Likewise.
1269         * testsuite/25_algorithms/is_heap_until/requirements/
1270         explicit_instantiation/2.cc: Likewise.
1271         * testsuite/25_algorithms/is_heap_until/requirements/
1272         explicit_instantiation/pod.cc: Likewise.
1273         * testsuite/25_algorithms/is_heap_until/1.cc: Likewise.
1274         * testsuite/25_algorithms/headers/algorithm/synopsis.cc:
1275         Add is_heap and is_heap_until.
1276
1277 2007-10-12  Benjamin Kosnik  <bkoz@redhat.com>
1278
1279         * docs/doxygen/user.cfg.in: Scan tr1_impl/hashtable.
1280         * include/tr1_impl/hashtable: Correct comment.
1281
1282         * include/ext/hash_map: Remove extraneous public markers.
1283         * include/ext/hash_set: Same.
1284
1285         * testsuite/25_algorithms/headers/parallel_algorithm.cc: Move
1286         inside algorithm directory.     
1287         * testsuite/25_algorithms/headers/algorithm_parallel_mode.cc: Same.
1288         * testsuite/25_algorithms/headers/parallel_algorithm_mixed1.cc: Same.
1289         * testsuite/25_algorithms/headers/parallel_algorithm_mixed2.cc: Same.
1290         * testsuite/25_algorithms/headers/algorithm/parallel_algorithm.cc:
1291         To this.        
1292         * testsuite/25_algorithms/headers/algorithm/
1293         algorithm_parallel_mode.cc: Same.
1294         * testsuite/25_algorithms/headers/algorithm/
1295         parallel_algorithm_mixed1.cc: Same.
1296         * testsuite/25_algorithms/headers/algorithm/
1297         parallel_algorithm_mixed2.cc: Same.
1298
1299         * testsuite/21_strings/basic_string/requirements/
1300         explicit_instantiation/debug.cc: Remove exception text.
1301         
1302         * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc:
1303         Fix for debug mode testing.     
1304         * testsuite/23_containers/vector/bool/capacity/29134.cc: Same.
1305         
1306 2007-10-12  Jesper Nilsson  <jesper.nilsson@axis.com>
1307
1308        * testsuite/tr1/5_numerical_facilities/special_functions/
1309        20_riemann_zeta/check_value_neg.c (MAX_ITERATIONS): Add limit
1310        when target is simulator.
1311        * testsuite/tr1/5_numerical_facilities/special_functions/
1312        20_riemann_zeta/check_value_pos.c (MAX_ITERATIONS): Likewise.
1313
1314 2007-10-11  Roger Sayle  <roger@eyesopen.com>
1315
1316         * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Add EOVERFLOW for Tru64.
1317         * configure: Regenerate.
1318         * config/os/generic/error_constants.h: Guard.
1319         * testsuite/19_diagnostics/headers/system_error/
1320         types_std_c++0x.cc: Same.
1321
1322 2007-10-11  Benjamin Kosnik  <bkoz@redhat.com>
1323
1324         Convert ext/hash_map, set to tr1/functional, tr1/unordered_map, set.
1325         * include/ext/rope: Use tr1/functional hash instead of ext/hash_fun.h.
1326         * include/ext/pb_ds/detail/standard_policies.hpp: Same.
1327         * include/precompiled/extc++.h: Remove hash_map, hash_set.
1328         * testsuite/util/testsuite_abi.h (__gnu_cxx): Use unordered_map
1329         instead of hash_map. Remove hash specialization for string.
1330         * testsuite/util/testsuite_abi.cc: Include <vector>.
1331         * testsuite/util/native_type/assoc/native_hash_set.hpp: Remove
1332         hash_set code.
1333         * testsuite/util/native_type/assoc/native_hash_map.hpp: Remove
1334         hash_map code.
1335         * testsuite/util/native_type/assoc/native_hash_multimap.hpp:
1336         Change hash_multimap to unordered_multimap.
1337         * testsuite/util/testsuite_common_types.h: Remove hash_map, hash_set.
1338         * testsuite/ext/headers.cc: Same.
1339         * testsuite/17_intro/headers/all_c++200x_compatibility.cc: Remove
1340         hash_map.h, hash_set.h.
1341         * testsuite/17_intro/headers/all.cc: Same.
1342         * testsuite/17_intro/headers/all_pedantic_errors.cc: Same.
1343
1344         * include/ext/pb_ds/detail/standard_policies.hpp: Format.
1345         * testsuite/util/native_type/assoc/native_set.hpp: Same, 
1346         update comment.
1347         * testsuite/util/native_type/assoc/native_map.hpp: Same.
1348         * testsuite/util/native_type/assoc/native_multimap.hpp: Same.
1349         * testsuite/util/performance/assoc/timing/
1350         multimap_insert_test.hpp: Same.
1351         * testsuite/util/performance/assoc/timing/multimap_find_test.hpp: Same.
1352
1353 2007-10-11  Chris Jefferson  <chris@bubblescope.net>
1354             Paolo Carlini  <pcarlini@suse.de>
1355
1356         * include/bits/stl_heap.h (__push_heap, push_heap, __adjust_heap,
1357         make_heap): Use _GLIBCXX_MOVE.
1358         (__pop_heap): Likewise, adjust signature.
1359         (pop_heap): Adjust __pop_heap call.
1360         * include/bits/stl_algo.h (__heap_select): Likewise.
1361         * testsuite/25_algorithms/heap/moveable.cc: Remove dg-require-rvalref.
1362         * testsuite/25_algorithms/partial_sort/moveable.cc: Likewise.
1363
1364 2007-10-11  Paolo Carlini  <pcarlini@suse.de>
1365
1366         PR libstdc++/33734
1367         * include/ext/codecvt_specializations.h (encoding_state::good,
1368         init, destroy): Use cast notation instead of reinterpret_cast.
1369
1370 2007-10-11  Paolo Carlini  <pcarlini@suse.de>
1371
1372         * testsuite/25_algorithms/heap/moveable.cc: Fix and extend.
1373
1374 2007-10-11  Danny Smith  <dannysmith@users.sourceforge.net>
1375
1376         PR libstdc++/33578
1377         * include/parallel/compatibility.h.  Use POSIX sched_yield on
1378         __CYGWIN__ 
1379         (Sleep): Add prototype for __MINGW32__.
1380
1381 2007-10-10  Jason Merrill  <jason@redhat.com>
1382
1383         * libsupc++/guard.cc (struct mutex_wrapper): Move into
1384         anonymous namespace.
1385
1386 2007-10-10  Paolo Carlini  <pcarlini@suse.de>
1387
1388         * include/debug/list (list<>::list(list&&)): Fix.
1389         * include/debug/vector (vector<>::vector(vector&&)): Likewise.
1390         * include/debug/deque (deque<>::deque(deque&&)): Likewise.
1391         * include/debug/set.h (set<>::set(set&&)): Likewise.
1392         * include/debug/map.h (map<>::map(map&&)): Likewise.
1393         * include/debug/multiset.h (multiset<>::multiset(multiset&&)):Likewise.
1394         * include/debug/multimap.h (multimap<>::multimap(multimap&&)):Likewise.
1395
1396 2007-10-10  Benjamin Kosnik  <bkoz@redhat.com>
1397
1398         PR libstdc++/33633
1399         * include/debug/hash_multimap.h: Change _GLIBCXX_EXT to _GLIBCXX_EXT_D.
1400         * include/debug/hash_set.h: Same.
1401         * include/debug/hash_multiset.h: Same.
1402         * include/debug/hash_map.h: Same.
1403
1404 2007-10-10  Benjamin Kosnik  <bkoz@redhat.com>
1405
1406         * include/parallel/losertree.h (loser_tree_traits_unguarded): To 
1407         loser_tree_unguarded_traits.
1408         * include/parallel/multiway_merge.h (__gnu_parallel): Same.
1409
1410 2007-10-10  Paolo Carlini  <pcarlini@suse.de>
1411             Chris Fairles  <chris.fairles@gmail.com>
1412
1413         * include/bits/stl_algobase.h (swap): Move...
1414         * include/bits/stl_move.h: ... here.
1415         * include/bits/stl_pair.h (pair<>::pair(_U1&&, _U2&&),
1416         pair<>::pair(pair<>&&), pair<>::operator=(pair<>&&),
1417         pair<>::swap(pair&&), swap(&, &), swap(&&, &), swap(&, &&),
1418         make_pair(_T1&&, _T2&&)): Add.
1419         * testsuite/20_util/pair/swap.cc: Add.
1420
1421 2007-10-09  Wolfgang Bangerth  <bangerth@dealii.org>
1422
1423         PR libstdc++/33485 continued.
1424         * include/parallel/multiway_mergesort.h: Use __builtin_alloca.
1425         
1426 2007-10-09  Zhou Drangon  <drangon.mail@gmail.com>
1427
1428         PR libstdc++/33682
1429         * libsupc++/guard.cc: Make single conditional variable
1430         implementation dependent to __GTHREAD_HAS_COND.
1431
1432 2007-10-09  Benjamin Kosnik  <bkoz@redhat.com>
1433
1434         PR libstdc++/33489 continued.           
1435         * include/parallel/features.h (_GLIBCXX_LOSER_TREE): Set to zero.
1436         (_GLIBCXX_LOSER_TREE_POINTER): Set to one.
1437         (_GLIBCXX_LOSER_TREE_UNGUARDED): Set to zero.
1438         (_GLIBCXX_LOSER_TREE_POINTER_UNGUARDED): Set to one.
1439         * include/parallel/multiway_merge.h (parallel_multiway_merge):
1440         Change array of value_type to array of value_type pointers.
1441         (multiway_merge_bubble): Same.
1442         (multiway_merge_loser_tree): Same.
1443         * include/parallel/merge.h (merge_advance_movc): Change to avoid
1444         default construction.
1445         * include/parallel/multiseq_selection.h (multiseq_partition):
1446         Replace value_type, bool pair with value_type*, null-initialized.
1447         * include/parallel/multiway_mergesort.h (parallel_sort_mwms):
1448         Don't use array form of operator new for value_types.
1449         (parallel_sort_mwms_pu): Same.
1450         * include/parallel/quicksort.h (parallel_sort_qs_divide): Don't
1451         use array form to construct pointer to value_type on stack,
1452         instead use __builtin_alloca.   
1453         * include/parallel/random_shuffle.h (sequential_random_shuffle): Same,
1454         but use operator new.
1455         (parallel_random_shuffle_drs_pu): Same.
1456         * include/parallel/partial_sum.h ( parallel_partial_sum_linear): Same.
1457
1458         * include/parallel/losertree.h: Format.
1459         * include/parallel/settings.h: Format.
1460
1461         * include/parallel/multiway_merge.h: Move traits to....
1462         * include/parallel/losertree.h: ... here.       
1463         
1464 2007-10-09  Paolo Carlini  <pcarlini@suse.de>
1465
1466         * include/tr1_impl/type_traitsfwd.h (add_reference): Remove.
1467         * include/tr1/type_traits (add_reference): Add forward declaration.
1468         * include/tr1_impl/functional (class _Mu<>): Fix.
1469
1470 2007-10-09  Paolo Carlini  <pcarlini@suse.de>
1471
1472         * include/bits/boost_concept_check.h (*AssociativeContainerConcept):
1473         Remove, unused.
1474
1475 2007-10-08  Johannes Singler  <singler@ira.uka.de>
1476
1477         * include/parallel/base.h: Added plus and multiplies functor
1478        for differently typed objects.
1479         * include/parallel/numeric: Use it.
1480         * include/parallel/for_each_selectors.h: Allowed different types.
1481         * include/parallel/partial_sum.h: Fixed return value.
1482         * testsuite/26_numerics/accumulate/1.cc: Tests for accumulate.
1483         * testsuite/26_numerics/inner_product/1.cc: Tests for inner_product.
1484
1485 2007-10-08  Paolo Carlini  <pcarlini@suse.de>
1486
1487         * include/bits/stl_move.h (_GLIBCXX_MOVE): Add.
1488         * include/bits/stl_algobase.h: Adjust.
1489         * include/bits/stl_pair.h: Likewise.
1490
1491         * include/bits/stl_algo.h: Minor formatting fixes.
1492
1493 2007-10-08  Benjamin Kosnik  <bkoz@redhat.com>
1494
1495         PR libstdc++/33489      
1496         * include/parallel/multiseq_selection.h: Remove default constructed
1497         value_type.
1498         * include/parallel/partition.h: 
1499         * include/parallel/partial_sum.h: Format.
1500
1501 2007-10-08  Johannes Singler  <singler@ira.uka.de>
1502
1503         * include/parallel/multiway_merge.h: Added reference to paper.
1504         * include/parallel/multiseq_selection.h: Added reference to paper.
1505         * include/parallel/workstealing.h: Added reference to paper.
1506         * include/parallel/balanced_quicksort.h: Added reference to paper.
1507         * include/parallel/tree.h: Added reference to paper.
1508         * docs/html/parallel_mode.html: Added reference to MCSTL.
1509         More documentation on compile-time settings and tuning.
1510
1511 2007-10-08  Paolo Carlini  <pcarlini@suse.de>
1512
1513         * include/std/utility (identity, move, forward): Move to...
1514         * include/bits/stl_move.h: ... here.
1515         * include/Makefile.am: Add.
1516         * include/bits/stl_algobase.h: Include the latter.
1517         * include/Makefile.in: Regenerate.
1518         * testsuite/20_util/pair/moveable.cc: Remove dg-require-rvalref.
1519
1520 2007-10-08  Chris Jefferson  <chris@bubblescope.net>
1521             Paolo Carlini  <pcarlini@suse.de>
1522
1523         * include/bits/stl_pair.h (pair<>:pair(pair&&),
1524         pair<>::operator=(pair&&)): Add.
1525
1526 2007-10-07  Chris Jefferson  <chris@bubblescope.net>
1527             Paolo Carlini  <pcarlini@suse.de>
1528
1529         * include/debug/list (list<>::list(list&&),
1530         list<>::operator=(list&&)): Add.
1531         (list<>::swap): Adjust.
1532         (swap(list&&, list& __y), swap(list&, list&& __y)): Add.
1533         * include/debug/vector (vector<>::vector(vector&&),
1534         vector<>::operator=(vector&&)): Add.
1535         (vector<>::swap): Adjust.
1536         (swap(vector&&, vector& __y), swap(vector&, vector&& __y)): Add.
1537         * include/debug/deque (deque<>::deque(deque&&),
1538         deque<>::operator=(deque&&)): Add.
1539         (deque<>::swap): Adjust.
1540         (swap(deque&&, deque& __y), swap(deque&, deque&& __y)): Add.
1541         * include/debug/set.h (set<>::set(set&&),
1542         set<>::operator=(set&&)): Add.
1543         (set<>::swap): Adjust.
1544         (swap(set&&, set& __y), swap(set&, set&& __y)): Add.
1545         * include/debug/map.h (map<>::map(map&&),
1546         map<>::operator=(map&&)): Add.
1547         (map<>::swap): Adjust.
1548         (swap(map&&, map& __y), swap(map&, map&& __y)): Add.
1549         * include/debug/multiset.h (multiset<>::multiset(multiset&&),
1550         multiset<>::operator=(multiset&&)): Add.
1551         (smultiet<>::swap): Adjust.
1552         (swap(multiset&&, multiset& __y),
1553         swap(multiset&, multiset&& __y)): Add.
1554         * include/debug/multimap.h (multimap<>::multimap(multimap&&),
1555         multimap<>::operator=(multimap&&)): Add.
1556         (multimap<>::swap): Adjust.
1557         (swap(multimap&&, multimap& __y),
1558         swap(multimap&, multimap&& __y)): Add.
1559
1560 2007-10-07  Paolo Carlini  <pcarlini@suse.de>
1561
1562         * include/bits/stl_algobase.h (_GLIBCXX_MOVE): Add.
1563         (swap, __iter_swap): Use it.
1564         * testsuite/25_algorithms/rotate/moveable.cc: Remove 
1565         dg-require-rvalref.
1566         * testsuite/25_algorithms/remove/moveable.cc: Likewise.
1567         * testsuite/25_algorithms/partition/moveable.cc: Likewise. 
1568         * testsuite/25_algorithms/swap_ranges/moveable.cc: Likewise.
1569         * testsuite/25_algorithms/reverse/moveable.cc: Likewise. 
1570         * testsuite/25_algorithms/unique/moveable.cc: Likewise. 
1571         * testsuite/25_algorithms/remove_if/moveable.cc: Likewise. 
1572
1573         * include/bits/stl_algobase.h (lexicographical_compare):
1574         Clean up.
1575
1576 2007-10-07  Chris Jefferson  <chris@bubblescope.net>
1577             Paolo Carlini  <pcarlini@suse.de>
1578
1579         * include/bits/stl_algo.h (remove, remove_if, unique,
1580         __rotate(_RandomAccessIterator, _RandomAccessIterator,
1581         _RandomAccessIterator, random_access_iterator_tag)): Use _GLIBCXX_MOVE.
1582         (__rotate(_ForwardIterator, _ForwardIterator, _ForwardIterator,
1583         forward_iterator_tag), __rotate(_BidirectionalIterator,
1584         _BidirectionalIterator, _BidirectionalIterator,
1585         bidirectional_iterator_tag), __partition(_ForwardIterator,
1586         _ForwardIterator, _Predicate, forward_iterator_tag)): Use iter_swap.
1587
1588 2007-10-06  Benjamin Kosnik  <bkoz@redhat.com>
1589
1590         PR libstdc++/33678      
1591         * libsupc++/typeinfo (typeinfo): Revert ordering of virtual components.
1592
1593 2007-10-06  Benjamin Kosnik  <bkoz@redhat.com>
1594
1595         PR libstdc++/33487
1596         * include/parallel/algorithmfwd.h (for_each, generate, generate_n,
1597         transform, replace, replace_if, max_element, min_element, count,
1598         count_if): Consistently construct overloads.
1599         * include/parallel/numericfwd.h (accumulate, adjacent_difference,
1600         inner_product): Same.
1601         * include/parallel/algobase.h: Same.
1602         * include/parallel/algo.h: Same.
1603         * include/parallel/numeric: Same.
1604
1605         * include/bits/algorithmfwd.h: Correct find_end placement.
1606
1607         * docs/html/parallel_mode.html: Document some of the interface
1608         conventions.
1609
1610         * include/parallel/search.h (calc_borders): Only use operator ==.
1611         
1612         * include/parallel/algorithmfwd.h: Move __gnu_sequential bits to...
1613         * include/parallel/tags.h: ...here, and use a using directive.
1614
1615         * include/parallel/random_shuffle.h: Include stl_numeric. Qualify
1616         uses of partial_num with __gnu_sequential.
1617
1618         * include/parallel/tree.h: Formatting.
1619         
1620 2007-10-05  Benjamin Kosnik  <bkoz@redhat.com>
1621
1622         Fixes for --disable-libstdcxx-pch.
1623         * include/ext/rc_string_base.h: Include stl_iterator_base_funcs.h.
1624         * include/ext/vstring_util.h: Include stl_iterator.h and
1625         numeric_traits.h.
1626         * include/tr1/functional: Include new.
1627         * testsuite/util/testsuite_api.h: Include exception.
1628         * testsuite/lib/libstdc++.exp (libstdc++_init): Set
1629         PCH_CXXFLAGS via cxxpchflags.
1630
1631         * testsuite/25_algorithms/binary_search/requirements/
1632         explicit_instantiation/2.cc: Same.: Fix includes.
1633         * testsuite/25_algorithms/count_if/requirements/
1634         explicit_instantiation/2.cc: Same.
1635         * testsuite/25_algorithms/equal_range/requirements/
1636         explicit_instantiation/2.cc: Same.
1637         * testsuite/25_algorithms/find_end/requirements/
1638         explicit_instantiation/2.cc: Same.
1639         * testsuite/25_algorithms/find_first_of/requirements/
1640         explicit_instantiation/2.cc: Same.
1641         * testsuite/25_algorithms/find_if/requirements/
1642         explicit_instantiation/2.cc: Same.
1643         * testsuite/25_algorithms/for_each/requirements/
1644         explicit_instantiation/2.cc: Same.
1645         * testsuite/25_algorithms/includes/requirements/
1646         explicit_instantiation/2.cc: Same.
1647         * testsuite/25_algorithms/inplace_merge/requirements/
1648         explicit_instantiation/2.cc: Same.
1649         * testsuite/25_algorithms/lexicographical_compare/
1650         requirements/explicit_instantiation/2.cc: Same.
1651         * testsuite/25_algorithms/lower_bound/requirements/
1652         explicit_instantiation/2.cc: Same.
1653         * testsuite/25_algorithms/make_heap/requirements/
1654         explicit_instantiation/2.cc: Same.
1655         * testsuite/25_algorithms/max_element/requirements/
1656         explicit_instantiation/2.cc: Same.
1657         * testsuite/25_algorithms/max/requirements/
1658         explicit_instantiation/2.cc: Same.
1659         * testsuite/25_algorithms/merge/requirements/
1660         explicit_instantiation/2.cc: Same.
1661         * testsuite/25_algorithms/min_element/requirements/
1662         explicit_instantiation/2.cc: Same.
1663         * testsuite/25_algorithms/min/requirements/
1664         explicit_instantiation/2.cc: Same.
1665         * testsuite/25_algorithms/next_permutation/
1666         requirements/explicit_instantiation/2.cc: Same.
1667         * testsuite/25_algorithms/nth_element/requirements/
1668         explicit_instantiation/2.cc: Same.
1669         * testsuite/25_algorithms/partial_sort_copy/
1670         requirements/explicit_instantiation/2.cc: Same.
1671         * testsuite/25_algorithms/partial_sort/requirements/
1672         explicit_instantiation/2.cc: Same.
1673         * testsuite/25_algorithms/partition/requirements/
1674         explicit_instantiation/2.cc: Same.
1675         * testsuite/25_algorithms/pop_heap/requirements/
1676         explicit_instantiation/2.cc: Same.
1677         * testsuite/25_algorithms/prev_permutation/requirements/
1678         explicit_instantiation/2.cc: Same.
1679         * testsuite/25_algorithms/push_heap/requirements/
1680         explicit_instantiation/2.cc: Same.
1681         * testsuite/25_algorithms/random_shuffle/requirements/
1682         explicit_instantiation/2.cc: Same.
1683         * testsuite/25_algorithms/remove_copy_if/requirements/
1684         explicit_instantiation/2.cc: Same.
1685         * testsuite/25_algorithms/remove_if/requirements/
1686         explicit_instantiation/2.cc: Same.
1687         * testsuite/25_algorithms/replace_copy_if/requirements/
1688         explicit_instantiation/2.cc: Same.
1689         * testsuite/25_algorithms/replace_if/requirements/
1690         explicit_instantiation/2.cc: Same.
1691         * testsuite/25_algorithms/search_n/requirements/
1692         explicit_instantiation/2.cc: Same.
1693         * testsuite/25_algorithms/search/requirements/
1694         explicit_instantiation/2.cc: Same.
1695         * testsuite/25_algorithms/set_difference/requirements/
1696         explicit_instantiation/2.cc: Same.
1697         * testsuite/25_algorithms/set_intersection/requirements/
1698         explicit_instantiation/2.cc: Same.
1699         * testsuite/25_algorithms/set_symmetric_difference/requirements/
1700         explicit_instantiation/2.cc: Same.
1701         * testsuite/25_algorithms/set_union/requirements/
1702         explicit_instantiation/2.cc: Same.
1703         * testsuite/25_algorithms/sort_heap/requirements/
1704         explicit_instantiation/2.cc: Same.
1705         * testsuite/25_algorithms/sort/requirements/
1706         explicit_instantiation/2.cc: Same.
1707         * testsuite/25_algorithms/stable_partition/requirements/
1708         explicit_instantiation/2.cc: Same.
1709         * testsuite/25_algorithms/stable_sort/requirements/
1710         explicit_instantiation/2.cc: Same.
1711         * testsuite/25_algorithms/transform/requirements/
1712         explicit_instantiation/2.cc: Same.
1713         * testsuite/25_algorithms/unique_copy/requirements/
1714         explicit_instantiation/2.cc: Same.
1715         * testsuite/25_algorithms/unique/requirements/
1716         explicit_instantiation/2.cc: Same.
1717         * testsuite/25_algorithms/upper_bound/requirements/
1718         explicit_instantiation/2.cc: Same.
1719
1720         * testsuite/25_algorithms/remove/requirements/
1721         explicit_instantiation/pod.cc: Provide a hint to the compiler.
1722
1723 2007-10-05  Paolo Carlini  <pcarlini@suse.de>
1724
1725         * testsuite/23_containers/map/moveable.cc: Remove dg-require-rvalref.
1726         * testsuite/23_containers/multimap/moveable.cc: Likewise.
1727         * testsuite/23_containers/set/moveable.cc: Likewise. 
1728         * testsuite/23_containers/multiset/moveable.cc: Likewise.
1729         * testsuite/23_containers/deque/moveable.cc: Likewise. 
1730         * testsuite/23_containers/list/moveable.cc: Likewise. 
1731         * testsuite/23_containers/vector/moveable.cc: Likewise. 
1732         * include/std/utility: Use _GLIBCXX_BEGIN_NAMESPACE.
1733
1734 2007-10-05  Paolo Carlini  <pcarlini@suse.de>
1735             Chris Jefferson  <chris@bubblescope.net>
1736
1737         * include/bits/stl_iterator.h (class move_iterator,
1738         make_move_iterator): Add.
1739
1740 2007-10-04  Doug Kwan  <dougkwan@google.com>
1741
1742         * include/ext/concurrent.h (class __mutex,
1743         class __recursive_mutex): Add new method gthread_mutex to access
1744         inner gthread mutex.
1745         [__GTHREAD_HAS_COND] (class __concurrence_broadcast_error,
1746         class __concurrence_wait_error, class __cond): Add.
1747         * libsupc++/guard.cc (recursive_push, recursive_pop): Delete.
1748         (init_in_progress_flag, set_init_in_progress_flag): Add to
1749         replace recursive_push and recursive_pop.
1750         (throw_recursive_init_exception): Add.
1751         (acquire, __cxa_guard_acquire, __cxa_guard_abort and
1752         __cxa_guard_release): [__GTHREAD_HAS_COND] Use a conditional
1753         for synchronization of static variable initialization.
1754         The global mutex is only held briefly when guards are
1755         accessed. [!__GTHREAD_HAS_COND] Fall back to the old code,
1756         which deadlocks.
1757         * testsuite/thread/guard.cc: Add new test. It deadlocks with the
1758         old locking code in libstdc++-v3/libsup++/guard.cc.
1759
1760 2007-10-04  Paolo Carlini  <pcarlini@suse.de>
1761
1762         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
1763         Adjust dg-error line number.
1764         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
1765         Likewise.
1766         * testsuite/23_containers/vector/requirements/dr438/
1767         constructor_1_neg.cc: Likewise.
1768         * testsuite/23_containers/vector/requirements/dr438/
1769         constructor_2_neg.cc: Likewise.
1770         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
1771         Adjust dg-error line number.
1772         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
1773         Likewise.
1774         * testsuite/23_containers/deque/requirements/dr438/
1775         constructor_1_neg.cc: Likewise.
1776         * testsuite/23_containers/deque/requirements/dr438/
1777         constructor_2_neg.cc: Likewise.
1778         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
1779         Adjust dg-error line number.
1780         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
1781         Likewise.
1782         * testsuite/23_containers/list/requirements/dr438/
1783         constructor_1_neg.cc: Likewise.
1784         * testsuite/23_containers/list/requirements/dr438/
1785         constructor_2_neg.cc: Likewise.
1786
1787 2007-10-04  Chris Jefferson  <chris@bubblescope.net>
1788             Paolo Carlini  <pcarlini@suse.de>
1789
1790         * include/bits/stl_list.h (list<>::list(list&&),
1791         list<>::operator=(list&&)): Add.
1792         (list<>::swap): Adjust.
1793         (swap(list&&, list& __y), swap(list&, list&& __y)): Add.
1794         * include/bits/stl_vector.h (vector<>::vector(vector&&),
1795         vector<>::operator=(vector&&)): Add.
1796         (vector<>::swap): Adjust.
1797         (swap(vector&&, vector& __y), swap(vector&, vector&& __y)): Add.
1798         * include/bits/stl_bvector.h (vector<>::vector(vector&&),
1799         vector<>::operator=(vector&&)): Add.
1800         (vector<>::swap): Adjust.
1801         * include/bits/stl_deque.h (deque<>::deque(deque&&),
1802         deque<>::operator=(deque&&)): Add.
1803         (deque<>::swap): Adjust.
1804         (swap(deque&&, deque& __y), swap(deque&, deque&& __y)): Add.
1805         * include/bits/stl_set.h (set<>::set(set&&),
1806         set<>::operator=(set&&)): Add.
1807         (set<>::swap): Adjust.
1808         (swap(set&&, set& __y), swap(set&, set&& __y)): Add.
1809         * include/bits/stl_map.h (map<>::map(map&&),
1810         map<>::operator=(map&&)): Add.
1811         (map<>::swap): Adjust.
1812         (swap(map&&, map& __y), swap(map&, map&& __y)): Add.
1813         * include/bits/stl_multiset.h (multiset<>::multiset(multiset&&),
1814         multiset<>::operator=(multiset&&)): Add.
1815         (smultiet<>::swap): Adjust.
1816         (swap(multiset&&, multiset& __y),
1817         swap(multiset&, multiset&& __y)): Add.
1818         * include/bits/stl_multimap.h (multimap<>::multimap(multimap&&),
1819         multimap<>::operator=(multimap&&)): Add.
1820         (multimap<>::swap): Adjust.
1821         (swap(multimap&&, multimap& __y),
1822         swap(multimap&, multimap&& __y)): Add.
1823
1824 2007-10-04  Paolo Carlini  <pcarlini@suse.de>
1825
1826         Avoid copying some allocator objects.
1827         * include/bits/stl_list.h (_List_impl::_List_impl(),
1828         _List_base::_List_base(), list<>::list()): Add.
1829         * include/bits/stl_vector.h  (_Vector_impl::_Vector_impl(),
1830         _Vector_base::_Vector_base(), vector<>::vector()): Add.
1831         * include/bits/stl_bvector.h (_Bvector_impl::_Bvector_impl(),
1832         _Bvector_base::_Bvector_base(), vector<>::vector()): Add.
1833         * include/bits/stl_deque.h  (_Deque_impl::_Deque_impl(),
1834         _Deque_base::_Deque_base(), deque<>::deque()): Add.
1835         * include/bits/stl_tree.h (_Rb_tree_impl<>::_Rb_tree_impl(),
1836         _Rb_tree_impl<>::_M_initialize): Add.
1837         (_Rb_tree<>::_Rb_tree(const _Compare&, const allocator_type&),
1838         _Rb_tree(const _Rb_tree&)): Adjust.
1839         * include/bits/stl_set.h (set<>::set(),
1840         set(_InputIterator, _InputIterator)): Use _M_t default constructor. 
1841         * include/bits/stl_map.h (map<>::map(), set(_InputIterator,
1842         _InputIterator)): Use _M_t default constructor. 
1843         * include/bits/stl_multiset.h (multiset<>::multiset(),
1844         multiset(_InputIterator, _InputIterator)): Use _M_t default
1845         constructor. 
1846         * include/bits/stl_multimap.h (multimap<>::multimap(),
1847         multimap(_InputIterator, _InputIterator)): Use _M_t default
1848         constructor.
1849
1850 2007-10-03  Chris Jefferson  <chris@bubblescope.net>
1851             Benjamin Kosnik  <bkoz@redhat.com>
1852
1853         * testsuite/20_util/pair/moveable.cc: New. Merge from 
1854         libstdcxx_so_7-branch.
1855         * testsuite/23_containers/deque/capacity/moveable.cc: Same.
1856         * testsuite/23_containers/deque/cons/moveable.cc: Same.
1857         * testsuite/23_containers/deque/modifiers/moveable.cc: Same.
1858         * testsuite/23_containers/deque/moveable.cc: Same.
1859         * testsuite/23_containers/list/moveable.cc: Same.
1860         * testsuite/23_containers/map/moveable.cc: Same.
1861         * testsuite/23_containers/multimap/moveable.cc: Same.
1862         * testsuite/23_containers/multiset/moveable.cc: Same.
1863         * testsuite/23_containers/set/moveable.cc: Same.
1864         * testsuite/23_containers/vector/cons/moveable.cc: Same.
1865         * testsuite/23_containers/vector/modifiers/moveable.cc: Same.
1866         * testsuite/23_containers/vector/moveable.cc: Same.
1867         * testsuite/23_containers/vector/resize/moveable.cc: Same.
1868         * testsuite/25_algorithms/heap/moveable.cc: Same.
1869         * testsuite/25_algorithms/nth_element/moveable.cc: Same.
1870         * testsuite/25_algorithms/partial_sort/moveable.cc: Same.
1871         * testsuite/25_algorithms/partition/moveable.cc: Same.
1872         * testsuite/25_algorithms/remove_if/moveable.cc: Same.
1873         * testsuite/25_algorithms/remove/moveable.cc: Same.
1874         * testsuite/25_algorithms/reverse/moveable.cc: Same.
1875         * testsuite/25_algorithms/rotate/moveable.cc: Same.
1876         * testsuite/25_algorithms/sort/moveable.cc: Same.
1877         * testsuite/25_algorithms/swap_ranges/moveable.cc: Same.
1878         * testsuite/25_algorithms/unique/moveable.cc: Same.
1879         * testsuite/util/testsuite_rvalref.h: New.
1880
1881         * testsuite/25_algorithms/equal/equal.cc: Move to...
1882         * testsuite/25_algorithms/equal/no_operator_ne.cc: ...this.
1883         * testsuite/25_algorithms/heap/heap.cc: Move to...
1884         * testsuite/25_algorithms/heap/1.cc: ...this.
1885         * testsuite/25_algorithms/lower_bound/lower_bound.cc: Move to...
1886         * testsuite/25_algorithms/lower_bound/no_operator_ne.cc: ...this.
1887         * testsuite/25_algorithms/partition/partition.cc: Move to...
1888         * testsuite/25_algorithms/partition/1.cc: ...this.
1889         * testsuite/25_algorithms/stable_partition/1.cc: ... and this.
1890         
1891         * testsuite/25_algorithms/search/1.cc: Update from merge.
1892         * testsuite/25_algorithms/search/check_type.cc: Same.
1893
1894         * testsuite/lib/dg-options.exp (dg-require-rvalref): New.
1895         * testsuite/lib/libstdc++.exp (check_v3_target_rvalref): New.
1896         
1897 2007-10-03  Richard Sandiford  <richard@codesourcery.com>
1898
1899         * acinclude.m4 (GLIBCXX_ENABLE_C99): Temporarily add
1900         -fno-exceptions to CXXFLAGS.  Use GCC_TRY_COMPILE_OR_LINK.
1901         Make the tests assign results to volatile variables.  Use -lm
1902         for link tests in GCC_TRY_COMPILE_OR_LINK.  Fall back to
1903         compile-only tests if -lm is not available.
1904         * configure: Regenerate.
1905
1906 2007-10-03  Paolo Carlini  <pcarlini@suse.de>
1907
1908         PR libstdc++/33613
1909         * include/debug/functions.h (__check_partitioned): Rename to...
1910         (__check_partioned_lower): ... this.
1911         (__check_partioned_upper): Add.
1912         * include/debug/macros.h (__glibcxx_check_partitioned): Rename to...
1913         (__glibcxx_check_partitioned_lower): ... this, adjust.
1914         (__glibcxx_check_partitioned_upper): Add.
1915         * include/debug/debug.h (__glibcxx_requires_partitioned): Rename to...
1916         (__glibcxx_requires_partitioned_lower): ... this, adjust.
1917         (__glibcxx_requires_partitioned_upper): Add.
1918         * include/bits/stl_algo.h (lower_bound, upper_bound, equal_range,
1919         binary search): Use the above.
1920         * testsuite/25_algorithms/lower_bound/33613.cc: New.
1921         * testsuite/25_algorithms/upper_bound/33613.cc: Likewise.
1922
1923 2007-10-03  Kazu Hirata  <kazu@codesourcery.com>
1924
1925         Revert:
1926         2007-10-02  Richard Sandiford  <richard@codesourcery.com>
1927         * acinclude.m4 (GLIBCXX_ENABLE_C99): Temporarily add
1928         -fno-exceptions to CXXFLAGS.  Use GCC_TRY_COMPILE_OR_LINK.
1929         Make the tests assign results to volatile variables.
1930         * configure: Regenerate.
1931
1932 2007-10-02  Richard Sandiford  <richard@codesourcery.com>
1933
1934         * acinclude.m4 (GLIBCXX_ENABLE_C99): Temporarily add
1935         -fno-exceptions to CXXFLAGS.  Use GCC_TRY_COMPILE_OR_LINK.
1936         Make the tests assign results to volatile variables.
1937         * configure: Regenerate.
1938
1939 2007-10-02  Benjamin Kosnik  <bkoz@redhat.com>
1940
1941         * testsuite/25_algorithms/binary_search/2.cc: Split into...
1942         * testsuite/25_algorithms/upper_bound/2.cc: ... this.
1943         * testsuite/25_algorithms/lower_bound/2.cc: ... this.
1944         * testsuite/25_algorithms/equal_range/2.cc: ... and this.
1945
1946 2007-10-02  Chris Jefferson  <chris@bubblescope.net>
1947
1948         * testsuite/25_algorithms/search/1.cc: Merge from 
1949         libstdcxx_so_7-branch.
1950         * testsuite/25_algorithms/search/check_type.cc: Same.
1951         * testsuite/25_algorithms/sort/vectorbool.cc: Same.
1952
1953 2007-09-30  Jonathan Wakely  <jwakely.gcc@gmail.com>
1954
1955         * src/valarray-inst.cc, include/ext/atomicity.h,
1956         include/ext/concurrence.h, include/bits/basic_string.h,
1957         include/bits/fstream.tcc, include/ext/vstring.h: Fix comment typos.
1958
1959 2007-09-29  Jonathan Wakely  <jwakely.gcc@gmail.com>
1960
1961         * docs/html/test.html, docs/html/ext/mt_allocator.html,
1962         docs/html/ext/tr1.html, docs/html/17_intro/contribute.html,
1963         docs/html/documentation.html, docs/html/20_util/allocator.html:
1964         Update docs to refer to Subversion not CVS. Fix markup.
1965
1966 2007-09-29  Jonathan Wakely  <jwakely.gcc@gmail.com>
1967
1968         * docs/html/Makefile: Follow up to libstdc++/14991, remove target.
1969
1970 2007-09-28  Benjamin Kosnik  <bkoz@redhat.com>
1971
1972         * include/parallel/algorithmfwd.h: Spacing.
1973         * include/parallel/tags.h: Correct comment.
1974         
1975         * testsuite/Makefile.am (AM_MAKEFLAGS, AM_RUNTESTFLAGS): Remove.
1976         * testsuite/Makefile.in: Regenerate.
1977         
1978 2007-09-27  Benjamin Kosnik  <bkoz@redhat.com>
1979
1980         * testsuite/util/testsuite_hooks.cc (set_memory_limits): Adjust
1981         x86_64 virtual memory setting for libgomp.
1982         
1983 2007-09-26  Benjamin Kosnik  <bkoz@redhat.com>
1984
1985         * include/bits/stl_algo.h: Add return type information to comments.
1986         * include/bits/algorithmfwd.h: Formatting.
1987         * testsuite/util/testsuite_hooks.h (NonDefaultConstructible): Move..
1988         * testsuite/util/testsuite_api.h: ...here. Add necessary operators
1989         for use in testing chapters 25 and 26.
1990         * testsuite/util/testsuite_character.h: Same.
1991
1992         * testsuite/25_algorithms/*/requirements/explicit_instantiation/
1993         2.cc, pod.cc: New.
1994
1995         * testsuite/26_numerics/accumulate, adjacent_difference, inner_product,
1996         partial_sum/requirements/explicit_instantiation/2.cc, pod.cc: New.
1997         
1998         * testsuite/26_numerics/numeric_arrays/*: Move contents into
1999         testsuite/26_numerics.
2000
2001         * testsuite/26_numerics/numeric_operations: Same.
2002         
2003         * testsuite/23_containers/*/requirements/explicit_instantiation/2.cc:
2004         Adjust includes from testsuite_eh.h to testsuite_api.h.
2005
2006 2007-09-25  Richard Sandiford  <rsandifo@nildram.co.uk>
2007
2008         * testsuite/lib/libstdc++.exp (check_v3_target_fileio): Test lseek.
2009
2010 2007-09-18  Benjamin Kosnik  <bkoz@redhat.com>
2011             Chalathip Thumkanon  <chalathip@gmail.com>
2012
2013         PR libstdc++/32819
2014         PR libstdc++/32822
2015         * docs/html/ext/pb_ds/hash_based_containers.html: Correct.
2016         
2017 2007-09-17  Benjamin Kosnik  <bkoz@redhat.com>
2018
2019         * configure.host: Set atomic_flags on i486.
2020
2021         * include/Makefile.am: Remove parallel-mode pch.        
2022         * include/Makefile.in: Regenerate.
2023
2024         * testsuite/lib/libstdc++.exp: Set ld_library_flags for libgomp if
2025         present.
2026
2027         * acinclude.m4 (GLIBCXX_ENABLE_PARALLEL): Comment.
2028         * configure: Regenerate.
2029
2030 2007-09-17  Johannes Singler  <singler@ira.uka.de>
2031
2032         * include/parallel/for_each.h: Fixed comment/doxygen markup typos.
2033         * include/parallel/base.h: Same.
2034         * include/parallel/numeric: Same.
2035         * include/parallel/quicksort.h: Same.
2036         * include/parallel/compiletime_settings.h: Same.
2037         * include/parallel/random_shuffle.h: Same.
2038         * include/parallel/balanced_quicksort.h: Same.
2039         * include/parallel/tree.h: Same.
2040         * include/parallel/settings.h: Same.
2041         * include/parallel/search.h: Same.
2042         * include/parallel/partition.h: Same.
2043         * include/parallel/partial_sum.h: Same.
2044
2045 2007-09-17  Paolo Carlini  <pcarlini@suse.de>
2046
2047         * include/tr1_impl/type_traitsfwd.h (aligned_storage): Remove
2048         declaration.
2049         * include/tr1_impl/type_traits (aligned_storage): Remove.
2050         * include/std/type_traits (aligned_storage, __aligned_storage_msa):
2051         Add.
2052         * include/tr1/type_traits (aligned_storage): Add.
2053         * testsuite/20_util/aligned_storage/value.cc: New.
2054         * testsuite/20_util/aligned_storage/requirements/
2055         explicit_instantiation.cc: Likewise.
2056         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
2057         dg-error lines.
2058         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
2059         Likewise.
2060
2061 2007-09-16  Paolo Carlini  <pcarlini@suse.de>
2062             Douglas Gregor  <doug.gregor@gmail.com>
2063
2064         * include/tr1_impl/type_traits (aligned_storage): Implement
2065         in the neat and general way.
2066
2067 2007-09-14  Benjamin Kosnik  <bkoz@redhat.com>
2068         
2069         * include/parallel/base.h (__gnu_parallel::less<Tp>): Add partial
2070         specialization for one argument. 
2071         (__gnu_parallel::less): Add operator.
2072
2073         * include/parallel/multiway_merge.h: Use __builtin_alloca. 
2074         * include/parallel/partial_sum.h: Same.
2075         * include/parallel/find.h: Same.        
2076         
2077 2007-09-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
2078
2079         * include/tr1_impl/boost_shared_ptr.h: (__weak_ptr::lock()): Add
2080         missing template argument.
2081         * testsuite/tr1/2_general_utilities/shared_ptr/requirements/
2082         explicit_instantiation/2.cc: New.
2083         * testsuite/tr1/2_general_utilities/weak_ptr/requirements/
2084         explicit_instantiation/2.cc: New.
2085
2086 2007-09-14  Benjamin Kosnik  <bkoz@redhat.com>
2087
2088         * testsuite/17_intro/headers/all_pedantic_errors.cc: New.
2089         * include/tr1_impl/cinttypes: Add pragma GCC system_header.
2090         * include/tr1_impl/cfenv: Same.
2091         * include/tr1_impl/cstdint: Same.
2092         * include/tr1/cstdbool: Same.
2093         * include/ext/pb_ds/detail/resize_policy/
2094         hash_prime_size_policy_imp.hpp: Same.
2095         * include/parallel/partial_sum.h: Avoid VLA error with
2096         __builtin_alloca.
2097
2098 2007-09-14  Thiemo Seufer  <ths@mips.com>
2099
2100         * crossconfig.m4 (mips*-sde-elf*): New stanza.
2101         * configure: Regenerate.
2102
2103 2007-09-12  Benjamin Kosnik  <bkoz@redhat.com>
2104
2105         * include/ext/pb_ds/*: Change namespace pb_ds to __gnu_pbds.
2106         * docs/html/ext/pb_ds/*: Same.
2107         * testsuite/ext/pb_ds/*: Same.
2108         * testsuite/performance/ext/pb_ds/*: Same.
2109         * testsuite/util/*: Same.
2110         
2111 2007-09-12  Benjamin Kosnik  <bkoz@redhat.com>
2112
2113         * include/parallel/find.h: Doxygen fixups.
2114         * include/bits/hashtable.h: Same.
2115
2116 2007-09-11  Johannes Singler  <singler@ira.uka.de>
2117             Leonor Frias Moya  <lfrias@lsi.upc.edu>
2118             Felix Putze  <kontakt@felix-putze.de>
2119             Marius Elvert  <marius.elvert@ira.uka.de>
2120             Felix Bondarenko  <f.bondarenko@web.de>
2121             Robert Geisberger  <robert.geisberger@stud.uni-karlsruhe.de>
2122             Robin Dapp  <r.dapp@freenet.de>
2123             Benjamin Kosnik  <bkoz@redhat.com>
2124
2125         Add parallel mode.
2126         * include/parallel: New.
2127         * include/parallel/iterator.h: New.
2128         * include/parallel/multiway_merge.h: New.
2129         * include/parallel/parallel.h: New.
2130         * include/parallel/algorithm
2131         * include/parallel/find_selectors.h: New.
2132         * include/parallel/losertree.h: New.
2133         * include/parallel/list_partition.h: New.
2134         * include/parallel/types.h: New.
2135         * include/parallel/for_each.h: New.
2136         * include/parallel/multiseq_selection.h: New.
2137         * include/parallel/workstealing.h: New.
2138         * include/parallel/base.h: New.
2139         * include/parallel/par_loop.h: New.
2140         * include/parallel/numeric
2141         * include/parallel/features.h: New.
2142         * include/parallel/quicksort.h: New.
2143         * include/parallel/algorithmfwd.h: New.
2144         * include/parallel/equally_split.h: New.
2145         * include/parallel/compiletime_settings.h: New.
2146         * include/parallel/for_each_selectors.h: New.
2147         * include/parallel/basic_iterator.h: New.
2148         * include/parallel/omp_loop_static.h: New.
2149         * include/parallel/random_shuffle.h: New.
2150         * include/parallel/balanced_quicksort.h: New.
2151         * include/parallel/set_operations.h: New.
2152         * include/parallel/tags.h: New.
2153         * include/parallel/merge.h: New.
2154         * include/parallel/tree.h: New.
2155         * include/parallel/settings.h: New.
2156         * include/parallel/unique_copy.h: New.
2157         * include/parallel/multiway_mergesort.h: New.
2158         * include/parallel/numericfwd.h: New.
2159         * include/parallel/search.h: New.
2160         * include/parallel/partition.h: New.
2161         * include/parallel/compatibility.h: New.
2162         * include/parallel/algobase.h: New.
2163         * include/parallel/find.h: New.
2164         * include/parallel/partial_sum.h: New.
2165         * include/parallel/algo.h: New.
2166         * include/parallel/omp_loop.h: New.
2167         * include/parallel/queue.h: New.
2168         * include/parallel/timing.h: New.
2169         * include/parallel/sort.h: New.
2170         * include/parallel/checkers.h: New.
2171         * include/parallel/random_number.h: New.
2172         * include/bits/algorithmfwd.h: New.
2173
2174         * acinclude.m4 (GLIBCXX_ENABLE_PARALLEL): New.
2175         * configure.host: Add atomic_flags.
2176         * configure.ac: Export ATOMIC_FLAGS, call GLIBCXX_ENABLE_PARALLEL.
2177         * src/Makefile.am: Add parallel_list rules.
2178         * include/Makefile.am: Add parallel files.
2179         * testsuite/Makefile.am (check-parallel): Add.
2180         (check-performance-parallel): Add.
2181         * config.h.in: Regenerate.
2182         * configure: Same.
2183         * libsupc++/Makefile.in: Same.
2184         * testsuite/Makefile.in: Same.
2185         * Makefile.in: Same.
2186         * libmath/Makefile.in: Same.
2187         * include/Makefile.in: Same.
2188         * src/Makefile.in: Same.
2189         * po/Makefile.in: Same.
2190         
2191         * config/abi/pre/gnu.ver: Export parallel list bits.
2192
2193         * docs/html/parallel_mode.html: New.
2194         * docs/html/documentation.html: Add link.
2195         * docs/doxygen/user.cfg.in: Adjust for new files and directory.
2196         * docs/doxygen/doxygroups.cc: Adjust namespace markup.
2197
2198         * include/debug/set.h: Adjust for _GLIBCXX_STD_D or _P change.
2199         * include/debug/bitset: Same.
2200         * include/debug/multiset.h: Same.
2201         * include/debug/vector: Same.
2202         * include/debug/map.h: Same.
2203         * include/debug/deque: Same.
2204         * include/debug/list: Same.
2205         * include/debug/debug.h: Same.
2206         * include/debug/multimap.h: Same.
2207         * include/std/algorithm: Same.
2208         * include/std/numeric: Same.
2209         * include/std/bitset: Same.
2210         * include/std/string: Same.
2211         * include/ext/hash_map: Same.
2212         * include/ext/hash_set: Same.
2213         * include/bits/stl_list.h: Same.
2214         * include/bits/stl_map.h: Same.
2215         * include/bits/stl_algobase.h: Same.
2216         * include/bits/stl_set.h: Same.
2217         * include/bits/stl_multimap.h: Same.
2218         * include/bits/stl_vector.h: Same.
2219         * include/bits/stl_numeric.h: Same.
2220         * include/bits/stl_deque.h: Same.
2221         * include/bits/stl_multiset.h: Same.
2222         * include/bits/char_traits.h: Same.
2223         * include/bits/stl_algo.h: Same.
2224         * include/bits/c++config: Same.
2225         * include/bits/vector.tcc: Same.
2226         * include/bits/deque.tcc: Same.
2227         * include/bits/stl_bvector.h: Same.
2228         * include/bits/list.tcc: Same.
2229         * src/list.cc: Same.
2230         * src/parallel_list.cc: New.
2231
2232         * testsuite/lib/libstdc++.exp (check_v3_target_parallel_mode): New.
2233         * testsuite/lib/dg-options.exp (dg-require-parallel-mode): New.
2234         * scripts/testsuite_flags.in (--cxxparallelflags): New.
2235         * scripts/check_performance: Adjust.
2236         * testsuite/25_algorithms/headers/parallel_algorithm.cc: New.
2237         * testsuite/25_algorithms/headers/algorithm_parallel_mode.cc: New.
2238         * testsuite/25_algorithms/headers/parallel_algorithm_mixed1.cc: New.
2239         * testsuite/25_algorithms/headers/parallel_algorithm_mixed2.cc: New.
2240         * testsuite/26_numerics/headers/numeric/parallel_numeric.cc: New.
2241         * testsuite/26_numerics/headers/numeric/numeric_parallel_mode.cc: New.
2242         * testsuite/26_numerics/headers/numeric/
2243         parallel_numeric_mixed1.cc: New.
2244         * testsuite/26_numerics/headers/numeric/
2245         parallel_numeric_mixed2.cc: New.
2246         
2247 2007-09-11  Daniel Jacobowitz  <dan@codesourcery.com>
2248
2249         * testsuite/lib/libstdc++.exp (libstdc++_init): Revert part of
2250         2007-09-06 change.
2251
2252 2007-09-09  Roger Sayle  <roger@eyesopen.com>
2253
2254         * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Add ECANCELED for cygwin.
2255         * configure: Regenerate.
2256         * config/os/generic/error_constants.h: Guard.
2257         * testsuite/19_diagnostics/headers/system_error/
2258         types_std_c++0x.cc: Same.
2259
2260 2007-09-09  Benjamin Kosnik  <bkoz@redhat.com>
2261         
2262         * testsuite/25_algorithms/binary_search.cc: Move...
2263         * testsuite/25_algorithms/binary_search/2.cc: ...here.
2264
2265         * testsuite/25_algorithms/sort.cc: Move...      
2266         * testsuite/25_algorithms/sort/1.cc: ...here.
2267         * testsuite/25_algorithms/partial_sort_copy/2.cc: ...here.
2268         * testsuite/25_algorithms/nth_element/3.cc: ...here.
2269         * testsuite/25_algorithms/partial_sort/2.cc: ...here.
2270         * testsuite/25_algorithms/stable_sort/2.cc: ...here.
2271
2272         * testsuite/25_algorithms/min_max.cc: Move...
2273         * testsuite/25_algorithms/min/1.cc: ...here.
2274         * testsuite/25_algorithms/min/2.cc: ...here.
2275         * testsuite/25_algorithms/max/1.cc: ...here.
2276         * testsuite/25_algorithms/max/2.cc: ...here.
2277
2278 2007-09-09  Joseph Myers  <joseph@codesourcery.com>
2279
2280         * testsuite/lib/libstdc++.exp (v3-build-support): Specify output
2281         file for preprocessing.  Use remote_exec to call ar and ranlib.
2282
2283 2007-09-08  Benjamin Kosnik  <bkoz@redhat.com>
2284
2285         * include/bits/functional_hash.h: Add ext/numeric_traits.h.
2286         * include/tr1/functional_hash.h Same.
2287         * include/tr1/functional: Remove string, ext/type_traits.h includes.
2288         * include/tr1_impl/functional_hash.h: Move string, wstring
2289         definitions for std::<hash>::operator into separate file.
2290         * include/std/functional
2291         * src/hash.cc: New, move definitions here.
2292         * src/hash_c++0x.cc: Same.
2293         * src/Makefile.am: Add new source files.
2294         * configure: Regenerate.
2295         * Makefile.in: Same.
2296         * src/Makefile.in: Same.
2297         * po/Makefile.in: Same.
2298         * libmath/Makefile.in: Same.
2299         * libsupc++/Makefile.in: Same.
2300         * testsuite/Makefile.in: Same.
2301         * config/abi/pre/gnu.ver: Add symbols.
2302         * config/abi/pre/gnu-versioned-namespace.ver: Same, fix.
2303         
2304 2007-09-07  Benjamin Kosnik  <bkoz@redhat.com>
2305
2306         * testsuite/19_diagnostics/error_category/cons/copy_neg.cc:
2307         Correct line number.
2308
2309 2007-09-07  Danny Smith  <dannysmith@users.sourceforge.net>
2310
2311         PR libstdc++/33203
2312         * configure.host (error_constants_dir):  New variable,
2313         defaulting to os/generic.
2314         ( mingw32*): Overide default.
2315         * configure.ac (ERROR_CONSTANTS_SRCDIR): New.
2316         * configure: Regenerate.
2317         * include/Makefile.am (host_headers): Add
2318         $(ERROR_CONSTANTS_SRCDIR)/error_constants.h .
2319         * include/Makefile.in: Regenerate.
2320         * include/std/system_error (enum posix_errno): Remove.
2321         Include <bits/error_constants.h> instead.
2322         * config/os/mingw32/error_constants.h: New.
2323         * config/os/generic/error_constants.h: New.
2324
2325 2007-09-06  Benjamin Kosnik  <bkoz@redhat.com>
2326
2327         * testsuite/lib/libstdc++.exp: Check CXXFLAGS.
2328         * scripts/testsuite_flags.in: CXXFLAGS_default, matching dejagnu.
2329
2330         * include/std/ostream: Spacing tweak.
2331         * include/ext/hashtable.h: Use <algorithm>.
2332         * include/ext/slist: Same.
2333         * include/ext/rope: Same.
2334         * include/bits/stl_function.h: Format.
2335         * include/tr1_impl/array: Remove section number in doxygen markup.
2336         * src/list.cc: Comment tweak.   
2337         
2338         * docs/doxygen/user.cfg.in: Update for include/tr1_impl.
2339         
2340         * testsuite/25_algorithms/search_n/iterator.cc: Add using declaration.
2341         * testsuite/25_algorithms/nth_element/1.cc:  Same.
2342         * testsuite/21_strings/char_traits/requirements/short/1.cc: Use
2343         char_type typedef to the underlying character type.     
2344         * testsuite/21_strings/char_traits/requirements/wchar_t/typedefs.cc:
2345         Remove -ansi -pedantic-errors.
2346         * testsuite/21_strings/char_traits/requirements/char/typedefs.cc: Same.
2347         * testsuite/tr1/6_containers/headers/functional/synopsis.cc:
2348         Remove specializations.
2349         
2350 2007-09-06  Paolo Carlini  <pcarlini@suse.de>
2351
2352         * include/bits/stl_vector.h (_Vector_base<>::_M_allocate):
2353         Do not call _M_impl.allocate when __n == 0.
2354         * testsuite/23_containers/vector/zero_sized_allocations.cc: New.
2355
2356 2007-09-06  Benjamin Kosnik  <bkoz@redhat.com>
2357         
2358         PR libstdc++/29367
2359         * include/ext/pb_ds/detail/map_debug_base.hpp: From this..
2360         * include/ext/pb_ds/detail/debug_map_base.hpp: ...to this.
2361         Rename map_debug_base to debug_map_base, add std::pair output
2362         extractors, change duplicate map_debug_base typedef in containers
2363         to debug_base. Use m_store_extra_indicator for m_store_hash_indicator.
2364         * include/ext/pb_ds/*: Likewise.
2365         * include/Makefile.am: Same.
2366         * include/Makefile.in: Regenerate.
2367         
2368 2007-09-06  Matthias Klose  <doko@debian.org>
2369
2370         * testsuite/27_io/headers/cstdlib: Remove empty directory.
2371
2372 2007-09-05  Roger Sayle  <roger@eyesopen.com>
2373
2374         * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Add EBADMSG for darwin.
2375         * configure: Regenerate.
2376         * include/std/system_error: Guard.
2377         * testsuite/19_diagnostics/headers/system_error/
2378         types_std_c++0x.cc: Same.
2379         * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Adjust
2380         line numbers.
2381
2382 2007-09-03  Paolo Carlini  <pcarlini@suse.de>
2383
2384         PR libstdc++/33293
2385         * include/bits/stl_numeric.h (accumulate, inner_product):
2386         Add inline function-specifier.
2387
2388 2007-08-31  Douglas Gregor  <doug.gregor@gmail.com>
2389
2390         * testsuite/abi/demangle/cxx0x/rref.cc: New.
2391
2392 2007-08-29  Benjamin Kosnik  <bkoz@redhat.com>
2393
2394         * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Add ENODATA, ENOSR,
2395         ENOSTR, ETIME for freebsd.      
2396         * configure: Regenerate.
2397         * include/std/system_error: Guard.      
2398         * testsuite/19_diagnostics/headers/system_error/
2399         types_std_c++0x.cc: Same.
2400         * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Adjust
2401         line numbers.
2402
2403 2007-08-28  Paolo Carlini  <pcarlini@suse.de>
2404
2405         PR libstdc++/33128
2406         * include/tr1_impl/random (uniform_int<>::_M_call): Deal with
2407         __urng() returning negative values.
2408         * testsuite/tr1/5_numerical_facilities/random/uniform_int/33128.cc:
2409         New.
2410
2411 2007-08-24  Benjamin Kosnik  <bkoz@redhat.com>
2412
2413         * acinclude.m4: Fix duplicate variable names.
2414         * configure: Regenerate.
2415
2416 2007-08-24  Benjamin Kosnik  <bkoz@redhat.com>
2417
2418         * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Add ENOLINK, EPROTO
2419         for netbsd.
2420         * configure: Regenerate.
2421         * include/std/system_error: Guard.      
2422         * testsuite/19_diagnostics/headers/system_error/
2423         types_std_c++0x.cc: Same.
2424         * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Adjust
2425         line numbers.
2426
2427 2007-08-23  Benjamin Kosnik  <bkoz@redhat.com>
2428
2429         * include/std/system_error: New file.
2430         * src/system_error.cc: New file.
2431         * src/Makefile.am (sources): Add.
2432         * src/Makefile.in: Regenerate.  
2433         * include/Makefile.am (std_headers): Add system_error.
2434         * include/Makefile.in: Regenerate.
2435         * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): New.
2436         * configure.ac: Call it.
2437         * config.h.in: Regenerate.
2438         * include/bits/functional_hash.h: Add hash<error_code>.
2439         * include/std/ostream: Add inserters for error_code.
2440         
2441         * docs/doxygen/user.cfg.in: Add system_error.
2442
2443         * config/abi/pre/gnu.ver(GLIBCXX_3.4.10): Add new symbols.
2444
2445         * testsuite/19_diagnostics/error_code: New.
2446         * testsuite/19_diagnostics/error_code/cons: Same.
2447         * testsuite/19_diagnostics/error_code/cons/1.cc: Same.
2448         * testsuite/19_diagnostics/error_code/operators: Same.
2449         * testsuite/19_diagnostics/error_code/operators/bool.cc: Same.
2450         * testsuite/19_diagnostics/error_code/operators/bool_neg.cc: Same.
2451         * testsuite/19_diagnostics/error_code/operators/equal.cc: Same.
2452         * testsuite/19_diagnostics/error_code/operators/not_equal.cc: Same.
2453         * testsuite/19_diagnostics/error_category: Same.
2454         * testsuite/19_diagnostics/error_category/cons: Same.
2455         * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Same.
2456         * testsuite/19_diagnostics/error_category/cons/default.cc: Same.
2457         * testsuite/19_diagnostics/error_category/operators: Same.
2458         * testsuite/19_diagnostics/error_category/operators/equal.cc: Same.
2459         * testsuite/19_diagnostics/error_category/operators/not_equal.cc: Same.
2460         * testsuite/19_diagnostics/headers/system_error: Same.
2461         * testsuite/19_diagnostics/headers/system_error/
2462         types_std_c++0x.cc: Same.
2463         * testsuite/19_diagnostics/headers/system_error/std_c++0x_neg.cc: Same.
2464         * testsuite/19_diagnostics/system_error: Same.
2465         * testsuite/19_diagnostics/system_error/
2466         cons_virtual_derivation.cc: Same.
2467         * testsuite/19_diagnostics/system_error/cons-1.cc: Same.
2468         * testsuite/19_diagnostics/system_error/what-1.cc: Same.
2469         * testsuite/19_diagnostics/system_error/what-2.cc: Same.
2470         * testsuite/19_diagnostics/system_error/what-big.cc: Same.
2471         * testsuite/19_diagnostics/system_error/what-3.cc: Same.
2472         * testsuite/19_diagnostics/system_error/what-4.cc: Same.
2473         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
2474         error_code.cc: Same.
2475         * testsuite/27_io/basic_ostream/inserters_other/char/
2476         error_code.cc: Same.
2477         * testsuite/tr1/6_containers/hash/operators: New.
2478         * testsuite/tr1/6_containers/hash/operators/size_t.cc: Same.
2479         
2480         * testsuite/23_containers/hash: Move...
2481         * testsuite/20_util/hash: ... here.
2482         * testsuite/20_util/hash/operators: New.
2483         * testsuite/20_util/hash/operators/size_t.cc: New.
2484
2485         * testsuite/20_util/function_objects/bad_function_call: Move...
2486         * testsuite/20_util/bad_function_call: ...here.
2487         
2488 2007-08-21  Benjamin Kosnik  <bkoz@montsouris.artheist.org>
2489
2490         * include/Makefile.am (install-data-local): Remove pch-install rules.
2491         (host_headers): Add stdc++.h, stdtr1c++.h, extc++.h.
2492         * include/Makefile.in: Regenerate.
2493         * config.h.in: Same.
2494
2495         * scripts/check_compile: Remove space between outputs.  
2496         * include/ext/throw_allocator.h: Correct doxygen markup.        
2497         * include/bits/char_traits.h: Correct spacing.
2498         * include/bits/stl_function.h: Same, for 80 column.
2499         * include/std/valarray: Same.
2500         * testsuite/util/testsuite_iterators.h: Same.   
2501         * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Format.
2502         
2503 2007-08-17  Daniel Jacobowitz  <dan@codesourcery.com>
2504
2505         PR testsuite/31884
2506         * testsuite/ext/pb_ds/example/priority_queue_dijkstra.cc (main): Do
2507         not access deleted nodes.
2508
2509         * testsuite/25_algorithms/copy/streambuf_iterators/char/4.cc,
2510         testsuite/25_algorithms/find/istreambuf_iterators/char/2.cc,
2511         testsuite/27_io/basic_filebuf/open/char/4.cc,
2512         testsuite/27_io/objects/char/9.cc: Use dg-require-fileio.
2513         * testsuite/ext/forced_exception_error/cons_virtual_derivation.cc,
2514         testsuite/ext/pb_ds/regression/hash_data_map_rand.cc,
2515         testsuite/ext/pb_ds/regression/trie_data_map_rand.cc,
2516         testsuite/ext/pb_ds/regression/list_update_no_data_map_rand.cc,
2517         testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc,
2518         testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc,
2519         testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc,
2520         testsuite/ext/pb_ds/regression/priority_queue_rand.cc,
2521         testsuite/ext/pb_ds/regression/tree_data_map_rand.cc,
2522         testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc,
2523         testsuite/ext/throw_allocator/deallocate_global.cc,
2524         testsuite/ext/throw_allocator/check_delete.cc,
2525         testsuite/ext/throw_allocator/check_allocate_max_size.cc,
2526         testsuite/ext/throw_allocator/check_deallocate_null.cc,
2527         testsuite/ext/throw_allocator/check_new.cc,
2528         testsuite/ext/throw_allocator/deallocate_local.cc,
2529         testsuite/tr1/5_numerical_facilities/random/subtract_with_carry_01/
2530         cons/gen1.cc,
2531         testsuite/tr1/5_numerical_facilities/random/subtract_with_carry/cons/
2532         gen1.cc,
2533         testsuite/tr1/5_numerical_facilities/random/linear_congruential/cons/
2534         gen1.cc,
2535         testsuite/tr1/5_numerical_facilities/random/mersenne_twister/cons/
2536         gen1.cc,
2537         testsuite/23_containers/list/modifiers/insert/25288.cc: Use
2538         dg-require-time.
2539
2540 2007-08-17  Paolo Carlini  <pcarlini@suse.de>
2541
2542         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
2543         dg-error lines.
2544         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Ditto.
2545
2546 2007-08-17  Chris Fairles  <chris.fairles@gmail.com>
2547
2548         PR libstdc++/33098
2549         * include/std/type_traits (__is_convertible_helper):
2550         Use add_lvalue_reference.
2551
2552 2007-08-17  Johannes Willkomm  <willkomm@sc.rwth-aachen.de>
2553
2554         PR libstdc++/33084
2555         * include/std/valarray (operator _Op(const _Tp&,
2556         const valarray<>&)): Fix typo.
2557         * testsuite/26_numerics/numeric_arrays/valarray/33084.cc: New.
2558
2559 2007-08-07  Jim Blandy  <jimb@codesourcery.com>
2560
2561         * src/Makefile.am (libstdc++-symbol.ver): Make
2562         sure the build tree copy of libstdc++-symbol.ver is writeable.
2563         * src/Makefile.in: Regenerated.
2564
2565 2007-08-02  Paolo Carlini  <pcarlini@suse.de>
2566
2567         DR 660, [Ready] in Toronto.
2568         * include/bits/stl_function.h (bit_and, bit_or, bit_xor): Add.
2569         * testsuite/20_util/function_objects/dr660.cc: New.
2570         * docs/html/ext/howto.html: Add an entry for DR 660, update.
2571
2572         * docs/html/ext/lwg-closed.html, docs/html/ext/lwg-active.html,
2573         docs/html/ext/lwg-defects.html: Import Revision 49.
2574
2575 2007-07-30  Paolo Carlini  <pcarlini@suse.de>
2576
2577         PR libstdc++/32908
2578         * include/bits/stl_algobase.h (struct __lc_rai): New.
2579         (lexicographical_compare(_II1, _II1, _II2, _II2),
2580         lexicographical_compare(_II1, _II1, _II2, _II2, _Compare)): Use it.
2581         * testsuite/performance/25_algorithms/lexicographical_compare.cc: New.
2582
2583 2007-07-27  Paolo Carlini  <pcarlini@suse.de>
2584
2585         PR libstdc++/32907
2586         * include/bits/basic_string.h (operator==(const basic_string<_CharT>&,
2587         const basic_string<_CharT>&)): Add.
2588         (operator!=): Forward to operator==.
2589         * include/ext/vstring.h(operator==(const __versa_string<_CharT,
2590         std::char_traits<_CharT>, std::allocator<_CharT>, _Base>&,
2591         const __versa_string<_CharT, std::char_traits<_CharT>,
2592         std::allocator<_CharT>, _Base>&)): Add.
2593         (operator!=): Forward to operator==.
2594
2595         * include/ext/sso_string_base.h (_M_compare): Remove.
2596
2597 2007-07-25  Stephen M. Webb  <stephenw@xandros.com>
2598
2599         Fixed abi_check for missing symbol size changes.
2600         * testsuite/util/testsuite_abi.cc: Changed local variable name to
2601         prevent member variable hiding.
2602
2603 2007-07-25  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2604
2605         PR libstdc++/31836
2606         * config/locale/generic/c_locale.cc (__convert_to_v): Don't use
2607         strtold if _GLIBCXX_HAVE_BROKEN_STRTOLD is defined.
2608         * config/os/hpux/os_defines.h (_GLIBCXX_HAVE_BROKEN_STRTOLD): Define
2609         if __hppa__ is defined.
2610
2611 2007-07-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2612
2613         PR bootstrap/3456
2614         * testsuite/22_locale/locale/cons/12658_thread-1.cc: Enable on
2615         mips-sgi-irix6*.
2616         * testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise.
2617         * testsuite/thread/18185.cc: Likewise.
2618         * testsuite/thread/pthread1.cc: Likewise.
2619         * testsuite/thread/pthread2.cc: Likewise.
2620         * testsuite/thread/pthread3.cc: Likewise.
2621         * testsuite/thread/pthread4.cc: Likewise.
2622         * testsuite/thread/pthread5.cc: Likewise.
2623         * testsuite/thread/pthread6.cc: Likewise.
2624         * testsuite/thread/pthread7-rope.cc: Likewise.
2625         * testsuite/tr1/2_general_utilities/shared_ptr/thread/
2626         default_weaktoshared.cc: Likewise.
2627         * testsuite/tr1/2_general_utilities/shared_ptr/thread/
2628         mutex_weaktoshared.cc: Likewise.
2629
2630 2007-07-16  Danny Smith  <dannysmith@users.sourceforge.net>
2631
2632         * config/os/mingw32/ctype_base.h: Use the generic libstdc++ masks
2633         rather than MSVCRT defines.
2634         * config/os/mingw32/ctype_noninline.h (classic_table): Construct
2635         and return a static classic table based on generic libstdc++ masks.
2636
2637 2007-07-12  Douglas Gregor  <doug.gregor@gmail.com>
2638
2639         * testsuite/tr1/3_function_objects/bind/all_bound.cc: Disambiguate
2640         uses of TR1/C++0x facilities.
2641         * testsuite/tr1/3_function_objects/bind/nested.cc: Ditto.
2642         * testsuite/tr1/3_function_objects/bind/placeholders.cc: Ditto.
2643         * testsuite/tr1/6_containers/unordered_multimap/requirements/
2644         explicit_instantiation.cc: Ditto. 
2645         * testsuite/tr1/6_containers/unordered_multimap/swap/1.cc: Ditto.
2646         * testsuite/tr1/6_containers/unordered_multimap/swap/2.cc: Ditto.
2647         * testsuite/tr1/6_containers/unordered_set/requirements/
2648         explicit_instantiation.cc: Ditto.
2649         * testsuite/tr1/6_containers/unordered_set/swap/1.cc: Ditto.
2650         * testsuite/tr1/6_containers/unordered_set/swap/2.cc: Ditto.
2651         * testsuite/tr1/6_containers/utility/pair.cc: Ditto.
2652         * testsuite/tr1/6_containers/unordered_map/requirements/
2653         explicit_instantiation.cc: Ditto. 
2654         * testsuite/tr1/6_containers/unordered_map/24064.cc: Ditto.
2655         * testsuite/tr1/6_containers/unordered_map/swap/1.cc: Ditto.
2656         * testsuite/tr1/6_containers/unordered_map/swap/2.cc: Ditto.
2657         * testsuite/tr1/6_containers/tuple/cons/big_tuples.cc: Ditto.
2658         * testsuite/tr1/6_containers/tuple/cons/constructor.cc: Ditto.
2659         * testsuite/tr1/6_containers/tuple/cons/assignment.cc: Ditto.
2660         * testsuite/tr1/6_containers/tuple/tuple_element.cc: Ditto.
2661         * testsuite/tr1/6_containers/tuple/tuple_size.cc: Ditto.
2662         * testsuite/tr1/6_containers/tuple/comparison_operators/
2663         comparisons.cc: Ditto. 
2664         * testsuite/tr1/6_containers/tuple/element_access/get.cc: Ditto.
2665         * testsuite/tr1/6_containers/tuple/creation_functions/23978.cc: Ditto.
2666         * testsuite/tr1/6_containers/tuple/creation_functions/tie.cc: Ditto.
2667         * testsuite/tr1/6_containers/tuple/creation_functions/make_tuple.cc:
2668         Ditto.
2669         * testsuite/tr1/6_containers/unordered_multiset/requirements/
2670         explicit_instantiation.cc: Ditto.
2671         * testsuite/tr1/6_containers/unordered_multiset/swap/1.cc: Ditto.
2672         * testsuite/tr1/6_containers/unordered_multiset/swap/2.cc: Ditto.
2673
2674 2007-07-10  Bob Wilson  <bob.wilson@acm.org>
2675         
2676         * configure.ac: Check if $atomicity_dir is cpu/generic/atomicity_mutex
2677         instead of the non-existent cpu/generic/atomic_mutex.
2678         * configure: Regenerate.
2679         
2680 2007-07-10  Paolo Carlini  <pcarlini@suse.de>
2681
2682         * include/std/utility (identity, move, forward): Add.
2683         * testsuite/20_util/move/requirements/explicit_instantiation.cc: New.
2684         * testsuite/20_util/move/1.cc: New.
2685         * testsuite/20_util/identity/value.cc: New.
2686         * testsuite/20_util/identity/requirements/typedefs.cc: New.
2687         * testsuite/20_util/identity/requirements/explicit_instantiation.cc:
2688         New.
2689         * testsuite/20_util/forward/requirements/explicit_instantiation.cc:
2690         New.
2691         * testsuite/20_util/forward/1.cc: New.
2692         * testsuite/20_util/forward/1_neg.cc: New.
2693         
2694 2007-07-09  Paolo Carlini  <pcarlini@suse.de>
2695
2696         * testsuite/27_io/ios_base/failure/what-1.cc: Include <stdexcept>.
2697
2698 2007-07-09  Jim Xochellis  <jimxoch@yahoo.gr>
2699             Paolo Carlini  <pcarlini@suse.de>
2700
2701         * include/bits/stl_algo.h (search(_ForwardIterator1,
2702         _ForwardIterator1, _ForwardIterator2, _ForwardIterator2)): Tidy.
2703         (search(_ForwardIterator1, _ForwardIterator1, _ForwardIterator2,
2704         _ForwardIterator2, _BinaryPredicate)): Likewise.
2705
2706 2007-07-06  Hans-Peter Nilsson  <hp@axis.com>
2707
2708         * testsuite/lib/libstdc++.exp (v3-build_support): Use env(AR)
2709         and env(RANLIB), not env(AR_FOR_TARGET) and env(RANLIB_FOR_TARGET).
2710
2711 2007-07-05  Joerg Richter  <joerg.richter@pdv-fs.de>
2712
2713         PR libstdc++/31957
2714         * include/Makefile.am: Work around an AIX sed oddity.
2715         * include/Makefile.in: Regenerate.
2716         
2717 2007-07-04  Jim Xochellis  <jimxoch@yahoo.gr>
2718
2719         * include/bits/stl_algo.h (search(_ForwardIterator1,
2720         _ForwardIterator1, _ForwardIterator2, _ForwardIterator2)): Simplify
2721         general case loop to a for(;;).
2722         (search(_ForwardIterator1, _ForwardIterator1, _ForwardIterator2,
2723         _ForwardIterator2, _BinaryPredicate)): Likewise; remove redundant
2724         inner loop.
2725         
2726 2007-07-03  Paolo Carlini  <pcarlini@suse.de>
2727
2728         PR libstdc++/31518
2729         * include/debug/formatter.h (_Error_formatter::_M_get_max_length): New.
2730         (_Error_formatter::_Error_formatter): Use it.
2731         * src/debug.cc: Define.
2732         (_Error_formatter::_M_error): Tweak.
2733         * configure.ac: Adjust version to 6:10:0.
2734         * config/abi/pre/gnu.ver: Export _Error_formatter::_M_get_max_length
2735         at GLIBCXX_3.4.10.
2736         * testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.10.
2737         * docs/html/debug.html: Document.
2738         * configure: Regenerate.
2739
2740 2007-07-02  Douglas Gregor  <doug.gregor@gmail.com>
2741
2742         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
2743         Tweak line numbers.
2744         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
2745         Ditto.
2746         * testsuite/20_util/make_unsigned/requirements/typedefs-1.cc:
2747         Don't try to create an unsigned wchar_t.
2748         * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc:
2749         Don't try to create an unsigned wchar_t.
2750         * testsuite/util/testsuite_hooks.h: Remove a stray semicolon.
2751
2752 2007-07-01  Douglas Gregor  <doug.gregor@gmail.com>
2753
2754         * include/std/type_traits (__make_unsigned): Remove invalid
2755         wchar_t specialization.
2756         (__make_signed): Remove invalid wchar_t specialization.
2757         
2758 2007-06-29  Douglas Gregor  <doug.gregor@gmail.com>
2759
2760         * testsuite/18_support/headers/cstdbool/std_c++0x_neg.cc: Force
2761         C++98 mode.  
2762         * testsuite/18_support/headers/cstdint/std_c++0x_neg.cc: Ditto.
2763         * testsuite/20_util/headers/type_traits/std_c++0x_neg.cc: Ditto.
2764         * testsuite/23_containers/headers/array/std_c++0x_neg.cc: Ditto.
2765         * testsuite/23_containers/headers/tuple/std_c++0x_neg.cc: Ditto.
2766         * testsuite/23_containers/headers/unordered_map/std_c++0x_neg.cc:
2767         Ditto. 
2768         * testsuite/23_containers/headers/unordered_set/std_c++0x_neg.cc:
2769         Ditto. 
2770         * testsuite/26_numerics/headers/ccomplex/std_c++0x_neg.cc: Ditto.
2771         * testsuite/26_numerics/headers/cfenv/std_c++0x_neg.cc: Ditto.
2772         * testsuite/26_numerics/headers/ctgmath/std_c++0x_neg.cc: Ditto.
2773         * testsuite/26_numerics/headers/random/std_c++0x_neg.cc: Ditto.
2774         * testsuite/27_io/headers/cinttypes/std_c++0x_neg.cc: Ditto.
2775         * testsuite/28_regex/headers/regex/std_c++0x_neg.cc: Ditto.
2776
2777 2007-06-28  Paolo Carlini  <pcarlini@suse.de>
2778
2779         PR libstdc++/32509
2780         * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Carry out the checks
2781         involving the de_DE locale only if an auto locale config is
2782         used for a target suitable for the gnu locale model.
2783         * docs/html/install.html: Update.
2784         * configure: Regenerated.
2785
2786 2007-06-26  Benjamin Kosnik  <bkoz@redhat.com>
2787
2788         * testsuite/util/testsuite_api.h: New.
2789         * testsuite/27_io/ios_base/failure: Add.
2790         * testsuite/27_io/ios_base/failure/cons_virtual_derivation.cc: New.
2791         * testsuite/27_io/ios_base/failure/what-1.cc: Same.
2792         * testsuite/27_io/ios_base/failure/what-2.cc: Same.
2793         * testsuite/27_io/ios_base/failure/what-big.cc: Same.
2794         * testsuite/27_io/ios_base/failure/what-3.cc: Same.
2795         * testsuite/19_diagnostics/logic_error/
2796         cons_virtual_derivation.cc: Same.
2797         * testsuite/19_diagnostics/runtime_error/
2798         cons_virtual_derivation.cc: Same.
2799         * testsuite/18_support/bad_alloc/cons_virtual_derivation.cc: Same.
2800         * testsuite/18_support/bad_cast/cons_virtual_derivation.cc: Same.
2801         * testsuite/18_support/bad_exception/cons_virtual_derivation.cc: Same.
2802         * testsuite/18_support/bad_typeid/cons_virtual_derivation.cc: Same.
2803         * testsuite/ext/concurrence_lock_error: New.
2804         * testsuite/ext/concurrence_lock_error/
2805         cons_virtual_derivation.cc: Same.
2806         * testsuite/ext/forced_exception_error: New.
2807         * testsuite/ext/forced_exception_error/
2808         cons_virtual_derivation.cc: Same.
2809         * testsuite/ext/concurrence_unlock_error: New.
2810         * testsuite/ext/concurrence_unlock_error/
2811         cons_virtual_derivation.cc: Same.
2812         * testsuite/20_util/function_objects/bad_function_call: New.
2813         * testsuite/20_util/function_objects/bad_function_call/
2814         cons_virtual_derivation.cc: Same.
2815         
2816 2007-06-26  Benjamin Kosnik  <bkoz@redhat.com>  
2817
2818         * include/ext/throw_allocator.h: Fixes for -fno-exceptions.
2819         * testsuite/util/testsuite_shared.cc: Same.
2820         * testsuite/util/io/illegal_input_error.hpp: Same.
2821         * testsuite/util/io/verified_cmd_line_input.cc: Same.
2822
2823         * libsupc++/typeinfo (type_info): Correct comment formatting,
2824         clarify member access and public interface.
2825         * libsupc++/exception: Less compressed comments.
2826         * libsupc++/new: Same.
2827         
2828 2007-06-18  Paolo Carlini  <pcarlini@suse.de>
2829
2830         * include/bits/stl_list.h: Rename guard macro consistently with
2831         file name.
2832         * include/bits/stl_algobase.h: Likewise.
2833         * include/bits/stl_map.h: Likewise.
2834         * include/bits/stl_queue.h: Likewise.
2835         * include/bits/stl_set.h: Likewise.
2836         * include/bits/stl_stack.h: Likewise.
2837         * include/bits/stl_iterator_base_types.h: Likewise.
2838         * include/bits/stl_multimap.h: Likewise.
2839         * include/bits/stl_pair.h: Likewise.
2840         * include/bits/stl_vector.h: Likewise.
2841         * include/bits/stl_deque.h: Likewise.
2842         * include/bits/stl_multiset.h: Likewise.
2843         * include/bits/stl_iterator_base_funcs.h: Likewise.
2844         * include/bits/stl_algo.h: Likewise.
2845         * include/bits/stl_iterator.h: Likewise.
2846         * include/bits/stl_tempbuf.h: Likewise.
2847         * include/bits/stl_bvector.h: Likewise.
2848         * include/bits/stl_function.h: Likewise.
2849         * include/bits/stl_tree.h: Likewise.
2850
2851 2007-06-17  Nathan Sidwell  <nathan@codesourcery.com>
2852
2853         * config/cpu/m68k/atomicity.h: Use __mcfisaa__, __mcfisaaplus__,
2854         __mcfisab__ & __mcfisac__ instead of obsolete cpu #defines.
2855
2856 2007-06-13  Richard Earnshaw  <rearnsha@arm.com>
2857
2858         * libsupc++/eh_arm.cc (__cxa_type_match): Handle foreign
2859         exceptions.
2860         * libsubpc++/eh_personality.cc: Don't try to set up foreign or
2861         forced unwind types here when using the ARM EABI unwinder.
2862
2863 2007-06-13  Paolo Carlini  <pcarlini@suse.de>
2864
2865         * include/c_global/cmath: Tweak includes.
2866         * include/std/memory: Likewise.
2867         * include/std/complex: Likewise.
2868         * include/tr1/memory: Likewise.
2869         * include/tr1/complex: Likewise.
2870         * include/tr1/cmath: Likewise; do not wrap special functions
2871         in #ifndef __GXX_EXPERIMENTAL_CXX0X__.
2872
2873 2007-06-10  Benjamin Kosnik  <bkoz@redhat.com>
2874
2875         * testsuite/util/testsuite_performance.h: Add cstring include for
2876         memset.
2877
2878 2007-06-08  Paolo Carlini  <pcarlini@suse.de>
2879
2880         * docs/html/install.html: Adjust consistently with libstdc++/31717.
2881
2882 2007-06-08  Francesco Palagi  <palagi@arcetri.astro.it>
2883
2884         * include/std/fstream: Add Table 92 in comment.
2885
2886 2007-06-06  Paolo Carlini  <pcarlini@suse.de>
2887
2888         PR libstdc++/32233
2889         * include/bits/stl_vector.h (_M_fill_initialize): Fix return type.
2890         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
2891         Adjust dg-error line.
2892         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
2893         Likewise.
2894
2895 2007-06-06  Benjamin Kosnik  <bkoz@redhat.com>
2896             Frank Mori Hess  <frank.hess@nist.gov>
2897         
2898         * docs/html/debug.html: Correct link.
2899
2900 2007-06-02  Paolo Carlini  <pcarlini@suse.de>
2901
2902         * include/tr1_impl/type_traits (is_reference, add_reference,
2903         remove_reference): Remove.
2904         * include/tr1/type_traits (is_reference, add_reference,
2905         remove_reference): Add.
2906         * include/std/type_traits (is_lvalue_reference, is_rvalue_reference,
2907         is_reference, remove_reference, add_lvalue_reference,
2908         add_rvalue_reference): Add.
2909         * include/tr1_impl/boost_shared_ptr.h (operator*): Adjust.
2910         * testsuite/20_util/add_lvalue_reference/requirements/
2911         explicit_instantiation.cc: New.
2912         * testsuite/20_util/add_lvalue_reference/value.cc: Likewise.
2913         * testsuite/20_util/add_rvalue_reference/requirements/
2914         explicit_instantiation.cc: Likewise.
2915         * testsuite/20_util/add_rvalue_reference/value.cc: Likewise.
2916         * testsuite/20_util/is_lvalue_reference/requirements/
2917         explicit_instantiation.cc: Likewise.
2918         * testsuite/20_util/is_lvalue_reference/requirements/
2919         typedefs.cc: Likewise.
2920         * testsuite/20_util/is_lvalue_reference/value.cc: Likewise.
2921         * testsuite/20_util/is_rvalue_reference/requirements/
2922         explicit_instantiation.cc: Likewise.
2923         * testsuite/20_util/is_rvalue_reference/requirements/
2924         typedefs.cc: Likewise.
2925         * testsuite/20_util/is_rvalue_reference/value.cc: Likewise.
2926         * testsuite/20_util/is_reference/requirements/
2927         explicit_instantiation.cc: Likewise.
2928         * testsuite/20_util/is_reference/requirements/typedefs.cc: Likewise.
2929         * testsuite/20_util/is_reference/value.cc: Likewise.
2930         * testsuite/20_util/remove_reference/requirements/
2931         explicit_instantiation.cc: New.
2932         * testsuite/20_util/remove_reference/value.cc: Likewise.
2933
2934         * testsuite/tr1/4_metaprogramming/add_const/requirements/
2935         typedefs.cc: Move...
2936         * testsuite/tr1/4_metaprogramming/add_const/value.cc: ... here.
2937         * testsuite/tr1/4_metaprogramming/add_cv/requirements/
2938         typedefs.cc: Move...
2939         * testsuite/tr1/4_metaprogramming/add_cv/value.cc: ... here.
2940         * testsuite/tr1/4_metaprogramming/add_pointer/requirements/
2941         typedefs.cc: Move...
2942         * testsuite/tr1/4_metaprogramming/add_pointer/value.cc: ... here.
2943         * testsuite/tr1/4_metaprogramming/add_reference/requirements/
2944         typedefs.cc: Move...
2945         * testsuite/tr1/4_metaprogramming/add_reference/value.cc: ... here.
2946         * testsuite/tr1/4_metaprogramming/add_volatile/requirements/
2947         typedefs.cc: Move...
2948         * testsuite/tr1/4_metaprogramming/add_volatile/value.cc: ... here.
2949         * testsuite/tr1/4_metaprogramming/aligned_storage/requirements/
2950         typedefs.cc: Move...
2951         * testsuite/tr1/4_metaprogramming/aligned_storage/value.cc: ... here.
2952
2953 2007-06-02  Paolo Bonzini  <bonzini@gnu.org>
2954
2955         * configure: Regenerate.
2956
2957 2007-06-01  Benjamin Kosnik  <bkoz@redhat.com>
2958         
2959         * testsuite/19_diagnostics/logic_error/what-big.cc: New.
2960         * testsuite/19_diagnostics/logic_error/what-3.cc: Same.
2961         * testsuite/19_diagnostics/runtime_error/what-big.cc: Same.
2962         * testsuite/19_diagnostics/runtime_error/what-3.cc: Same.
2963
2964         * testsuite/18_support/14493.cc: Break into...
2965         * testsuite/18_support/exception/what.cc: ...this.
2966         * testsuite/18_support/bad_cast/what.cc: ...this.
2967         * testsuite/18_support/bad_alloc/what.cc: ...this.
2968         * testsuite/18_support/bad_typeid/what.cc: ...this.
2969         * testsuite/18_support/bad_exception/what.cc: ...this.
2970
2971         * testsuite/19_diagnostics/bad_exception/23591_thread-1.c: Move...
2972         * testsuite/18_support/bad_exception/23591_thread-1.c: ...here.
2973
2974         * testsuite/18_support/14026.cc: Move...
2975         * testsuite/18_support/uncaught_exception/14026.cc: ...here.
2976
2977 2007-06-01  Benjamin Kosnik  <bkoz@redhat.com>
2978
2979         * include/ext/throw_allocator.h (__throw_allocator::allocate):
2980         Throw bad_alloc for out of memory conditions.   
2981         * testsuite/ext/throw_allocator/deallocate_global.cc: New.
2982         * testsuite/ext/throw_allocator/check_delete.cc: Same.
2983         * testsuite/ext/throw_allocator/check_allocate_max_size.cc: Same.
2984         * testsuite/ext/throw_allocator/check_deallocate_null.cc: Same.
2985         * testsuite/ext/throw_allocator/explicit_instantiation.cc: Same.
2986         * testsuite/ext/throw_allocator/check_new.cc: Same.
2987         * testsuite/ext/throw_allocator/deallocate_local.cc: Same.
2988
2989 2007-05-31  Paolo Carlini  <pcarlini@suse.de>
2990
2991         PR libstdc++/31426
2992         * include/bits/c++config: Remove namespace association bits
2993         from tr1 to std.
2994
2995         * include/ext/type_traits.h (__promote, __promote2,
2996         __promote3, __promote4): Add.
2997
2998         * include/bits/hashtable.h: New.
2999         * include/bits/functional_hash.h: Likewise.
3000         * include/tr1/hashtable.h: Likewise.
3001
3002         * include/tr1_impl/random: New.
3003         * include/tr1_impl/cinttypes: Likewise.
3004         * include/tr1_impl/cstdlib: Likewise.
3005         * include/tr1_impl/unordered_map: Likewise.
3006         * include/tr1_impl/cstdio: Likewise.
3007         * include/tr1_impl/boost_shared_ptr.h: Likewise.
3008         * include/tr1_impl/cctype: Likewise.
3009         * include/tr1_impl/random.tcc: Likewise.
3010         * include/tr1_impl/tuple: Likewise.
3011         * include/tr1_impl/functional_hash.h: Likewise.
3012         * include/tr1_impl/hashtable: Likewise.
3013         * include/tr1_impl/cmath: Likewise.
3014         * include/tr1_impl/type_traitsfwd.h: Likewise.
3015         * include/tr1_impl/hashtable_policy.h: Likewise.
3016         * include/tr1_impl/cfenv: Likewise.
3017         * include/tr1_impl/unordered_set: Likewise.
3018         * include/tr1_impl/functional: Likewise.
3019         * include/tr1_impl/utility: Likewise.
3020         * include/tr1_impl/complex: Likewise.
3021         * include/tr1_impl/type_traits: Likewise.
3022         * include/tr1_impl/cwchar: Likewise.
3023         * include/tr1_impl/cstdint: Likewise.
3024         * include/tr1_impl/regex: Likewise.
3025         * include/tr1_impl/array: Likewise.
3026         * include/tr1_impl/cwctype: Likewise.
3027
3028         * include/tr1/type_traitsfwd.h: Remove.
3029         * include/tr1/boost_shared_ptr.h: Likewise.
3030         * include/tr1/common.h: Likewise.
3031         * include/tr1/hashtable: Likewise.
3032         * include/tr1/hashtable_policy.h: Likewise.
3033         * include/tr1/random.tcc: Likewise.
3034
3035         * include/c_global/cinttypes: Include tr1_impl/cinttypes.
3036         * include/c_global/cstdlib: Likewise for cstdlib.
3037         * include/c_global/cstdio: Likewise for cstdio.
3038         * include/c_global/cctype: Likewise for cctype.
3039         * include/c_global/cmath: Likewise for cmath.
3040         * include/c_global/cfenv: Likewise for cfenv.
3041         * include/c_global/cwchar: Likewise for cwchar.
3042         * include/c_global/cstdint: Likewise for cstdint.
3043         * include/c_global/cwctype: Likewise for cwctype.
3044         * include/tr1/cinttypes: Likewise for cinttypes.
3045         * include/tr1/cstdlib: Likewise for cstdlib.
3046         * include/tr1/cstdio: Likewise for cstdio.
3047         * include/tr1/cctype: Likewise for cctype.
3048         * include/tr1/cmath: Likewise for cmath.
3049         * include/tr1/cfenv: Likewise for cfenv.
3050         * include/tr1/cwchar: Likewise for cwchar.
3051         * include/tr1/cstdint: Likewise for cstdint.
3052         * include/tr1/cwctype: Likewise for cwctype.
3053         * include/tr1/functional_hash.h: Likewise for functional_hash.
3054
3055         * include/std/tuple: Include tr1_impl/tuple.
3056         * include/std/utility: Likewise for utility.
3057         * include/std/type_traits: Likewise for type_traits.
3058         (is_pod): Just forward to __is_pod.
3059         (has_trivial_default_constructor): Just forward to
3060         __has_trivial_constructor.
3061         (has_trivial_copy_constructor): Just forward to __has_trivial_copy.
3062         (has_trivial_assign): Just forward to __has_trivial_assign.
3063         (has_trivial_destructor): Just forward to __has_trivial_destructor.
3064         (has_nothrow_default_constructor): Just forward to
3065         __has_nothrow_constructor.
3066         (has_nothrow_copy_constructor): Just forward to __has_nothrow_copy.
3067         (has_nothrow_assign): Just forward to __has_nothrow_assign.
3068         (is_base_of): Just forward to __is_base_of.
3069         (is_signed, is_unsigned): Implement according to the C++0x
3070         specifications.
3071         * include/std/memory: Likewise for memory.
3072         * include/std/regex: Likewise for regex.
3073         * include/std/random: Likewise for random.
3074         * include/std/unordered_map: Likewise for unordered_map.
3075         * include/std/unordered_set: Likewise for unordered_set.
3076         * include/std/functional: Likewise for functional.
3077         * include/std/complex: Likewise for complex.
3078         * include/std/array: Likewise for array.
3079         * include/tr1/tuple: Likewise for tuple.
3080         * include/tr1/utility: Likewise for utility.
3081         * include/tr1/type_traits: Likewise for type_traits
3082         * include/tr1/memory: Likewise for memory.
3083         * include/tr1/regex: Likewise for regex.
3084         * include/tr1/random: Likewise for random.
3085         * include/tr1/unordered_map: Likewise for unordered_map.
3086         * include/tr1/unordered_set: Likewise for unordered_set.
3087         * include/tr1/functional: Likewise for functional.
3088         * include/tr1/complex: Likewise for complex.
3089         * include/tr1/array: Likewise for array.
3090
3091         * include/c_global/ctgmath: Tweak.
3092         * include/c_global/cstdarg: Likewise.
3093         * include/c_global/ctime: Likewise.
3094         * include/c_global/climits: Likewise.
3095         * include/c_global/cfloat: Likewise.    
3096         * include/c_global/ccomplex: Likewise.
3097         * include/c_global/cstdbool: Likewise.
3098
3099         * include/tr1/poly_laguerre.tcc: Tweak, don't use _GLIBCXX_TR1.
3100         * include/tr1/riemann_zeta.tcc: Likewise.
3101         * include/tr1/beta_function.tcc: Likewise.
3102         * include/tr1/exp_integral.tcc: Likewise.
3103         * include/tr1/hypergeometric.tcc: Likewise.
3104         * include/tr1/modified_bessel_func.tcc: Likewise.
3105         * include/tr1/legendre_function.tcc: Likewise.
3106         * include/tr1/special_function_util.h: Likewise.
3107         * include/tr1/bessel_function.tcc: Likewise.
3108         * include/tr1/poly_hermite.tcc: Likewise.
3109         * include/tr1/ell_integral.tcc: Likewise.
3110         * include/tr1/gamma.tcc: Likewise.
3111         * include/tr1/stdlib.h: Likewise.
3112         * include/tr1/math.h: Likewise.
3113
3114         * include/tr1/complex.h: Minor tweaks.
3115         * include/tr1/wctype.h: Likewise.
3116         * include/tr1/wchar.h: Likewise.
3117         * include/tr1/inttypes.h: Likewise.
3118         * include/tr1/tgmath.h: Likewise.
3119         * include/tr1/cstdbool: Likewise.
3120         * include/tr1/cfloat: Likewise.
3121         * include/tr1/ccomplex: Likewise.
3122         * include/tr1/ctime: Likewise.
3123         * include/tr1/climits: Likewise.
3124         * include/tr1/ctgmath: Likewise.
3125         * include/tr1/cstdarg: Likewise.
3126
3127         * testsuite/tr1/headers.cc: Move...
3128         * testsuite/tr1/headers/all.cc: ... here.
3129         * testsuite/tr1/using_namespace_std_tr1.cc: Move...
3130         * testsuite/tr1/headers/c++200x/using_namespace_std_tr1.cc: ... here.
3131         * testsuite/tr1/headers/using_namespace_std_tr1.cc ... here.
3132         * testsuite/tr1/headers/c++200x/using_namespace_std_tr1.cc: New.
3133
3134         * testsuite/20_util/tuple/requirements/explicit_instantiation.cc:
3135         Adjust namespace.
3136         * testsuite/20_util/has_nothrow_copy_constructor/value.cc: Adjust to
3137         the C++0x requirements.
3138         * testsuite/20_util/has_nothrow_default_constructor/value.cc: Likewise.
3139         * testsuite/20_util/has_trivial_copy_constructor/value.cc: Likewise.
3140         * testsuite/20_util/has_trivial_default_constructor/value.cc: Likewise.
3141
3142         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
3143         dg-error lines.
3144         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
3145         Likewise.
3146         * testsuite/20_util/headers/type_traits/types_std_c++0x_neg.cc:
3147         Un-xfail.
3148
3149         * testsuite/20_util/is_signed/value.cc: New.
3150         * testsuite/20_util/is_signed/requirements/typedefs.cc: Likewise.
3151         * testsuite/20_util/is_signed/requirements/explicit_instantiation.cc:
3152         Likewise.
3153         * testsuite/20_util/is_unsigned/value.cc: Likewise..
3154         * testsuite/20_util/is_unsigned/requirements/typedefs.cc: Likewise.
3155         * testsuite/20_util/is_unsigned/requirements/explicit_instantiation.cc:
3156         Likewise.
3157
3158         * include/Makefile.am: Adjust.  
3159         * include/Makefile.in: Regenerate.
3160
3161 2007-05-31  Paolo Carlini  <pcarlini@suse.de>
3162
3163         PR c++/32158 (libstdc++ bits)
3164         * include/bits/stl_uninitialized.h (__uninitialized_copy_aux,
3165         __uninitialized_fill_aux, __uninitialized_fill_n_aux):
3166         Remove.
3167         (struct __uninitialized_copy, struct __uninitialized_fill,
3168         struct __uninitialized_fill_n): Add.
3169         (uninitialized_copy, uninitialized_fill, uninitialized_fill_n):
3170         Adjust.
3171         * testsuite/20_util/specialized_algorithms/32158.cc: New.
3172
3173         * include/bits/stl_uninitialized.h (uninitialized_copy(_InputIterator,
3174         _InputIterator, _ForwardIterator)): Robustify vs non-POD input.
3175
3176         * include/bits/stl_vector.h (_M_fill_initialize): New.
3177         (vector(size_type, const value_type&, const allocator_type&),
3178         _M_initialize_dispatch(_Integer, _Integer, __true_type)): Use it.
3179         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
3180         Adjust dg-error line.
3181         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
3182         Likewise.
3183         * testsuite/23_containers/vector/requirements/dr438/
3184         constructor_1_neg.cc: Likewise.
3185         * testsuite/23_containers/vector/requirements/dr438/
3186         constructor_2_neg.cc: Likewise.
3187
3188 2007-05-29  Paolo Carlini  <pcarlini@suse.de>
3189
3190         * aclocal.m4: Regenerate.
3191
3192         * testsuite/17_intro/headers/c++1998/c++_for_c.tar: Remove.
3193         * testsuite/17_intro/headers/c++1998/c++.tar: Likewise.
3194
3195 2007-05-28  Benjamin Kosnik  <bkoz@redhat.com>
3196
3197         PR libstdc++/31717 
3198         * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Re-organize. Sanity check
3199         gnu locale model requests to make sure it will work for the requested
3200         target. Add checks for strxfrm_l, strerror_l when in gnu locale,
3201         and strerror_r everywhere.
3202         * aclocal.m4: Regenerated.
3203         * configure: Regenerated.
3204         * config.h.in: Regenerated.
3205         
3206 2007-05-27  Paolo Carlini  <pcarlini@suse.de>
3207
3208         * include/tr1/boost_shared_ptr.h
3209         (_Sp_counted_base<_S_mutex>::_M_add_ref_lock()): Do not wrap in
3210         #ifdef __GTHREADS.
3211
3212 2007-05-27  Paolo Carlini  <pcarlini@suse.de>
3213
3214         * include/c_global/cwchar: Do not include <ctime>.
3215         * include/c_std/cwchar: Likewise.
3216         * include/ext/throw_allocator.h: Do it here.
3217         
3218 2007-05-25  Paolo Carlini  <pcarlini@suse.de>
3219
3220         * config/locale/gnu/c_locale.h (__convert_from_v): Fix typo.
3221
3222 2007-05-24  Paolo Carlini  <pcarlini@suse.de>
3223
3224         * include/ext/concurrence.h: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_*.
3225
3226 2007-05-24  Steve Ellcey  <sje@cup.hp.com>
3227
3228         * Makefile.in: Regenerate.
3229         * configure: Regenerate.
3230         * aclocal.m4: Regenerate.
3231         * include/Makefile.in: Regenerate.
3232         * libmath/Makefile.in: Regenerate.
3233         * libsupc++/Makefile.in: Regenerate.
3234         * po/Makefile.in: Regenerate.
3235         * src/Makefile.in: Regenerate.
3236         * testsuite/Makefile.in: Regenerate.
3237
3238 2007-05-24  Paolo Carlini  <pcarlini@suse.de>
3239
3240         * config/locale/gnu/c_locale.h (__convert_from_v): Only switch to the
3241         "C" locale if the current one isn't already "C" (for old glibcs).
3242         * config/os/gnu-linux/ctype_noninline.h (ctype<char>::classic_table,
3243         ctype<char>::ctype(__c_locale, const mask*, bool, size_t),
3244         ctype<char>::ctype(const mask*, bool, size_t)): Likewise, for generic
3245         locale model.
3246         * config/locale/gnu/messages_members.h
3247         (messages<>::messages(__c_locale, const char*, size_t),
3248         messages_byname<_CharT>::messages_byname(const char*, size_t)):
3249         Only dynamically allocate memory if __s != "C".
3250         * config/locale/gnu/time_members.h
3251         (__timepunct<_CharT>::__timepunct(__c_locale, const char*, size_t)):
3252         Likewise.
3253         * config/locale/generic/time_members.h
3254         (__timepunct<_CharT>::__timepunct(__c_locale, const char*, size_t)):
3255         Likewise.
3256
3257         * testsuite/util/testsuite_allocator.h: Revert last change.
3258
3259 2007-05-22  Paolo Carlini  <pcarlini@suse.de>
3260
3261         * testsuite/util/testsuite_allocator.h (check_new): Assign false
3262         to new_called.
3263         (check_delete