* MAINTAINERS: Move myself into the write after approval list.
[official-gcc.git] / libstdc++-v3 / ChangeLog
blobc1387acafcda81a81264ac1e486ffe75a59ba2f1
1 2009-03-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
3         * include/bits/shared_ptr.h: Add include guards.
4         * include/tr1/shared_ptr.h: Likewise.
6 2009-03-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
8         * include/std/iostream: Fix doxygen link.
9         * include/bits/forward_list.h: Fix doxygen markup.
10         * include/ext/vstring.h: Escape backslash in doxygen comment.
11         * include/bits/basic_string.h: Likewise.
13 2009-03-10  Paolo Carlini  <paolo.carlini@oracle.com>
15         * doc/xml/faq.xml: Fix links to implementation status pages.
17 2009-03-10  Paolo Carlini  <paolo.carlini@oracle.com>
19         * include/std/complex (operator+(const complex<>&, const _Tp&),
20         operator+(const _Tp&, const complex<>&),
21         operator-(const complex<>&, const _Tp&),
22         operator-(const _Tp&, const complex<>&)): Do not assume real()
23         returns a reference (against DR 387).
24         * testsuite/26_numerics/complex/dr387_2.cc: New.
26 2009-03-02  Benjamin Kosnik  <bkoz@redhat.com>
28         * testsuite/thread/pthread4.cc: Move...
29         * testsuite/21_strings/basic_string/pthread4.cc: ...here.
30         * testsuite/thread/pthread5.cc: Move...
31         * testsuite/23_containers/list/pthread5.cc: ...here.
32         * testsuite/thread/pthread6.cc: Move...
33         * testsuite/23_containers/map/pthread6.cc: ...here.
34         * testsuite/thread/pthread7-rope.cc: Move...
35         * testsuite/ext/rope/pthread7-rope.cc: ...here.
36         * testsuite/thread/guard.cc: Move...
37         * testsuite/18_support/pthread_guard.cc: ...here.
38         * testsuite/thread/18185.cc: Move...
39         * testsuite/21_strings/basic_string/pthread18185.cc: ...here.
40         * testsuite/thread/pthread1.cc: Move...
41         * testsuite/23_containers/list/pthread1.cc: ...here.
42         * testsuite/thread/pthread2.cc: Move...
43         * testsuite/27_io/basic_ofstream/pthread2.cc: ...here.
44         * testsuite/thread/pthread3.cc: Move...
45         * testsuite/27_io/basic_ostringstream/pthread3.cc: ...here.
47         * testsuite/libstdc++-dg/conformance.exp: Remove thread directory.
48         * testsuite/thread: Remove.
50 2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
52         * configure: Regenerate.
54 2009-02-23  Adam Nemet  <anemet@caviumnetworks.com>
56         * testsuite/libstdc++-abi/abi.exp: Add multilib support.
57         * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Remove MULTISUBDIR
58         from baseline_dir.
59         * configure: Regenerate.
60         * testsuite/Makefile.am (baseline_file): Remove variable.
61         (site.exp): Set baseline_dir rather than baseline_file.
62         (check-abi): Pass AM_RUNTESTFLAGS and RUNTESTFLAGS to runtest.
63         * testsuite/Makefile.in: Regenerate.
65 2009-02-20  Benjamin Kosnik  <bkoz@redhat.com>
67         * testsuite/30_threads/thread/this_thread: Move...
68         * testsuite/30_threads/this_thread: ...here.
69         * testsuite/20_util/unique_ptr/assign/assign.cc: Move...
70         * testsuite/20_util/unique_ptr/assign/assign_neg.cc: ...here.
71         * testsuite/20_util/ratio/cons/cons_overflow.cc: Move...
72         * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: ...here.
73         * testsuite/20_util/ratio/operations/ops_overflow.cc: Move...
74         * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: ...here.
76 2009-02-20  Benjamin Kosnik  <bkoz@redhat.com>
78         * doc/doxygen/user.cfg.in: Tweaks.
79         * doc/doxygen/doxygroups.cc: Prefer markup that can be elsewhere,
80         be elsewhere.
82         * include/tr1_impl/unordered_map: Just use most specialized
83         container module.
84         * include/tr1_impl/unordered_set: Same.
85         * include/tr1_impl/array: Same.
86         * include/bits/stl_list.h: Same.
87         * include/bits/stl_map.h: Same.
88         * include/bits/stl_queue.h: Same.
89         * include/bits/stl_set.h: Same.
90         * include/bits/stl_stack.h: Same.
91         * include/bits/forward_list.h: Same.
92         * include/bits/basic_string.h: Same.
93         * include/bits/stl_multimap.h: Same.
94         * include/bits/stl_vector.h: Same.
95         * include/bits/stl_deque.h: Same.
96         * include/bits/stl_multiset.h: Same.
97         * include/bits/stl_bvector.h: Same.
99         * include/backward/binders.h: Change binder module to binders.
101         * include/std/complex: Add complex_numers module.
102         * include/tr1_impl/complex: Same.
104         * include/std/valarray: Add numeric_arrays module.
105         * include/bits/gslice_array.h: Same.
106         * include/bits/gslice.h: Same.
107         * include/bits/mask_array.h: Same.
108         * include/bits/slice_array.h: Same.
109         * include/bits/indirect_array.h: Same.
111         * include/bits/allocator.h: Add allocators module.
112         * include/ext/throw_allocator.h
113         * include/ext/pool_allocator.h
114         * include/ext/bitmap_allocator.h
115         * include/ext/new_allocator.h
116         * include/ext/malloc_allocator.h
117         * include/ext/array_allocator.h
118         * include/ext/mt_allocator.h
119         * include/ext/debug_allocator.h
120         * include/ext/extptr_allocator.h
122         * include/tr1_impl/functional: Move namespace markup here.
123         * include/tr1_impl/regex: Same.
125         * include/tr1_impl/type_traits: Add metaprogramming module.
126         * include/std/type_traits: Same.
128         * include/std/memory: Add memory module.
130         * include/std/ratio: Add ratio module.
132         * include/std/chrono: Move namespace markup here, add time module.
134         * include/std/thread: Move namespace markup here, add concurrency
135         module.
136         * include/std/mutex: Use concurrency module.
137         * include/std/condition_variable: Same.
140         * include/bits/ios_base.h: Refine io module.
141         * include/bits/basic_ios.h: Same.
142         * include/std/fstream: Same.
143         * include/std/istream: Same.
144         * include/std/ostream: Same.
145         * include/std/sstream: Same.
147         * include/ext/vstring.h: Correct parameter markup.
149         * include/bits/shared_ptr.h: Add pointer_abstractions module.
150         * include/bits/unique_ptr.h: Same.
152         * include/bits/algorithmfwd.h: Add mutating_algorithms,
153         non_mutating_algorithms, sorting_algorithms. Adjust nesting.
154         * include/bits/stl_heap.h: Add markup for new groupings.
155         * include/bits/stl_algobase.h: Same.
156         * include/bits/stl_algo.h: Same.
158         * include/c_compatibility/stdatomic.h: Add atomics module.
159         * include/c_global/cstdatomic: Same.
161         * libsupc++/exception: Add exceptions module.
162         * libsupc++/typeinfo: Same.
163         * libsupc++/new: Same.
164         * libsupc++/exception_ptr.h: Same.
165         * include/std/system_error: Same.
166         * include/std/stdexcept: Same.
168         * libsupc++/cxxabi.h: Move doxygroups.cc markup here.
169         * libsupc++/cxxabi-forced.h: Same.
171         * testsuite/27_io/ios_base/cons/assign_neg.cc: Fix up line numbers.
172         * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
173         * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc: Same.
174         * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc: Same.
175         * testsuite/30_threads/mutex/cons/assign_neg.cc: Same.
176         * testsuite/30_threads/mutex/cons/copy_neg.cc: Same.
177         * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Same.
178         * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Same.
179         * testsuite/30_threads/thread/cons/assign_neg.cc: Same.
180         * testsuite/30_threads/thread/cons/copy_neg.cc: Same.
181         * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Same.
182         * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Same.
183         * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Same.
184         * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Same.
185         * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc: Same.
186         * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc: Same.
187         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
188         * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
189         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Same.
190         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
191         * testsuite/23_containers/vector/requirements/dr438/
192         constructor_1_neg.cc: Same.
193         * testsuite/23_containers/vector/requirements/dr438/
194         constructor_2_neg.cc: Same.
195         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
196         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
197         * testsuite/23_containers/deque/requirements/dr438/
198         constructor_1_neg.cc: Same.
199         * testsuite/23_containers/deque/requirements/dr438/
200         constructor_2_neg.cc: Same.
201         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
202         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
203         * testsuite/23_containers/list/requirements/dr438/
204         constructor_1_neg.cc: Same.
205         * testsuite/23_containers/list/requirements/dr438/
206         constructor_2_neg.cc: Same.
207         * testsuite/20_util/duration/cons/1_neg.cc: Same.
208         * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Same.
209         * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same.
210         * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same.
211         * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Same.
212         * testsuite/20_util/unique_ptr/assign/assign.cc: Same.
213         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
214         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
215         * testsuite/20_util/ratio/cons/cons_overflow.cc: Same.
216         * testsuite/20_util/ratio/operations/ops_overflow.cc: Same.
218 2009-02-18  Benjamin Kosnik  <bkoz@redhat.com>
220         * doc/doxygen/doxygroups.cc: Move algorithm groups into algorithmfwd.h.
221         * doc/doxygen/user.cfg.in: Update.
222         * scripts/run_doxygen: Adjust for new group names.
224         * include/tr1_impl/random: Update doxygen group markup.
225         * include/tr1_impl/unordered_map: Same.
226         * include/tr1_impl/unordered_set: Same.
227         * include/tr1_impl/array: Same.
228         * include/std/numeric: Same.
229         * include/std/utility: Same.
230         * include/std/bitset: Same.
231         * include/std/iosfwd: Same.
232         * include/bits/stl_list.h: Same.
233         * include/bits/stl_map.h: Same.
234         * include/bits/stl_algobase.h: Same.
235         * include/bits/stl_queue.h: Same.
236         * include/bits/stl_set.h: Same.
237         * include/bits/stl_stack.h: Same.
238         * include/bits/stl_iterator_base_types.h: Same.
239         * include/bits/forward_list.h: Same.
240         * include/bits/basic_string.h: Same.
241         * include/bits/stl_multimap.h: Same.
242         * include/bits/stl_vector.h: Same.
243         * include/bits/stl_deque.h: Same.
244         * include/bits/stl_multiset.h: Same.
245         * include/bits/stl_algo.h: Same.
246         * include/bits/stl_bvector.h: Same.
247         * include/bits/algorithmfwd.h: Same.
248         * include/bits/stl_function.h: Same.
249         * include/tr1/cmath: Same.
250         * include/backward/binders.h: Same.
252 2009-02-17  Benjamin Kosnik  <bkoz@redhat.com>
254         * include/std/system_error (system_category): To system_category().
255         (generic_category): To generic_category. DR 890.
256         * src/system_error.cc: Define.
257         * include/bits/functexcept.h: Only one __throw_system_error.
258         * src/functexcept.cc: Same.
259         * include/std/mutex: Fixup for changes above.
260         * testsuite/19_diagnostics/error_condition/cons/1.cc: Same.
261         * testsuite/19_diagnostics/error_code/cons/1.cc: Same.
262         * testsuite/19_diagnostics/system_error/cons-1.cc: Same.
263         * config/abi/pre/gnu.ver: Clean up exports.
265 2009-02-17  Jonathan Wakely  <jwakely.gcc@gmail.com>
267         * include/std/thread: Fix typo.
268         * src/thread.cc (thread::join): Use NULL.
270 2009-02-15  Paolo Carlini  <paolo.carlini@oracle.com>
272         PR libstdc++/39168
273         * src/locale_facets.cc (__verify_grouping(const char*, size_t,
274         const string&)): Also check that the value != CHAR_MAX.
275         * include/bits/locale_facets.tcc (__numpunct_cache<>::
276         _M_cache(const locale&), __add_grouping(_CharT*, _CharT,
277         const char*, size_t, const _CharT*, const _CharT*)): Likewise.
278         * include/bits/locale_facets_nonio.tcc (__moneypunct_cache<>::
279         _M_cache(const locale&)): Likewise.
280         * testsuite/22_locale/money_put/put/wchar_t/39168.cc: New.
281         * testsuite/22_locale/money_put/put/char/39168.cc: Likewise.
282         * testsuite/22_locale/money_get/get/wchar_t/39168.cc: Likewise.
283         * testsuite/22_locale/money_get/get/char/39168.cc: Likewise.
284         * testsuite/22_locale/num_get/get/wchar_t/39168.cc: Likewise.
285         * testsuite/22_locale/num_get/get/char/39168.cc: Likewise.
287 2009-02-13  Chris Fairles  <cfairles@gcc.gnu.org>
288             Benjamin Kosnik  <bkoz@redhat.com>
290         * include/std/thread (_Impl_base): Move _M_id out and into ...
291         (thread): ...here. Call _M_make_routine in body of constructors.
292         Adjust data member usage to reflect changes.
293         (_M_make_routine): From _M_make_shared_data.
294         (_M_start_thread): Add __shared_base_type argument.
295         * src/thread.cc: Fixups for above.
296         * config/abi/pre/gnu.ver: Adjust exports.
297         * testsuite/30_threads/thread/native_handle/typesizes.cc: Enable.
298         * testsuite/30_threads/thread/cons/assign_neg.cc: Adjust line numbers.
299         * testsuite/30_threads/thread/cons/copy_neg.cc: Same.
301 2009-02-12  Benjamin Kosnik  <bkoz@redhat.com>
303         * testsuite/util/thread/all.h (compare_type_to_native_type_sizes): To...
304         (compare_type_to_native_type): ...this, add alignment check.
305         * testsuite/30_threads/condition_variable_any/native_handle/
306         typesizes.cc: Modify as above.
307         * testsuite/30_threads/mutex/native_handle/typesizes.cc: Same.
308         * testsuite/30_threads/timed_mutex/native_handle/typesizes.cc: Same.
309         * testsuite/30_threads/thread/native_handle/typesizes.cc: Same.
310         * testsuite/30_threads/recursive_mutex/native_handle/typesizes.cc: Same.
311         * testsuite/30_threads/condition_variable/native_handle/
312         typesizes.cc: Same.
313         * testsuite/30_threads/recursive_timed_mutex/native_handle/
314         typesizes.cc: Same.
316         * testsuite/30_threads/thread/cons/1.cc: Add comments.
317         * testsuite/30_threads/thread/cons/2.cc: Same.
318         * testsuite/30_threads/thread/cons/3.cc: Same.
319         * testsuite/30_threads/thread/cons/4.cc: Same.
320         * testsuite/30_threads/thread/cons/5.cc: Same.
321         * testsuite/30_threads/thread/cons/6.cc: Same.
322         * testsuite/30_threads/thread/cons/7.cc: Same.
323         * testsuite/30_threads/thread/cons/8.cc: Same.
325         * testsuite/30_threads/thread/cons/9.cc: New.
326         * testsuite/30_threads/thread/cons/moveable.cc: New.
328         * src/condition_variable.cc: Clean up whitespace.
329         * include/std/condition_variable: Same.
331 2009-02-09  Benjamin Kosnik  <bkoz@redhat.com>
333         * include/std/condition_variable (condition_variable): Remove
334         _M_internal_mutex. Add private __native_type typedef.
335         * src/condition_variable.cc (condition_variable::notify_one):
336         Remove _M_internal_mutex use. Use typedef.
337         (condition_variable::notify_all): Same.
338         * include/std/mutex (mutex): Add private __native_type typedef. Use it.
339         (recursive_mutex): Same.
340         (timed_mutex): Same.
341         (recursive_timed_mutex): Same.
342         (once_flag): Make __native_type typedef private.
344         * include/std/thread (this_thread): Add minimal markup.
346         * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc:
347         Adjust line numbers.
348         * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc: Same.
349         * testsuite/30_threads/mutex/cons/assign_neg.cc: Same.
350         * testsuite/30_threads/mutex/cons/copy_neg.cc: Same.
351         * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Same.
352         * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Same.
353         * testsuite/30_threads/thread/cons/assign_neg.cc: Same.
354         * testsuite/30_threads/thread/cons/copy_neg.cc: Same.
355         * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Same.
356         * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Same.
357         * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Same.
358         * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Same.
359         * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc: Same.
360         * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc: Same.
362         * testsuite/util/thread/all.h: Testsuite utilities for testing thread.
363         * testsuite/30_threads/condition_variable_any/native_handle/
364         typesizes.cc: New.
365         * testsuite/30_threads/mutex/native_handle/typesizes.cc: Same.
366         * testsuite/30_threads/timed_mutex/native_handle/typesizes.cc: Same.
367         * testsuite/30_threads/thread/native_handle/typesizes.cc: Same.
368         * testsuite/30_threads/recursive_mutex/native_handle/typesizes.cc: Same.
369         * testsuite/30_threads/condition_variable/native_handle/
370         typesizes.cc: Same.
371         * testsuite/30_threads/recursive_timed_mutex/native_handle/
372         typesizes.cc: Same.
374 2009-02-09  Jack Howarth  <howarth@bromo.med.uc.edu>
376         PR testsuite/33300
377         * libstdc++-v3/testsuite/27_io/ios_base/storage/2.cc: Skip
378         on darwin for lp64.
380 2009-02-09  Adam Nemet  <anemet@caviumnetworks.com>
382         * configure.host: Set abi_baseline_pair for mips64*-linux.
383         * config/abi/post/mips64-linux-gnu/baseline_symbols.txt: New file.
385 2009-02-08  Chris Fairles  <cfairles@gcc.gnu.org>
387         * include/std/thread (this_thread::get_id): Inline.
389 2009-02-08  Chris Fairles  <cfairles@gcc.gnu.org>
391         * include/std/thread (thread<>::thread(_Callable)): Explicitly use
392         _Callable as template argument for _M_make_shared_data.
393         * testsuite/30_threads/thread/cons/6.cc: New.
394         * testsuite/30_threads/thread/cons/7.cc: New.
395         * testsuite/30_threads/thread/cons/8.cc: New.
397 2009-02-07  Benjamin Kosnik  <bkoz@redhat.com>
399         * testsuite/30_threads/thread/member: To..
400         * testsuite/30_threads/thread/members: ...this.
401         * testsuite/30_threads/condition_variable/member: To...
402         * testsuite/30_threads/condition_variable/members: ...this.
404 2009-02-06  Benjamin Kosnik  <bkoz@redhat.com>
406         * include/std/thread (thread::id): Move definition inside thread.
407         Use native_handle_type. Remove this_thread::get_id friend.
408         Change __thread_data_ptr to __shared_base_ptr.
409         (thread::id::id(native_handle_type): Make public. Still explicit.
410         Use native_handle_type. Change _M_thread_id to _M_thread.
411         (thread::__thread_data_base): Rename to _Impl_base. Use id, change
412         _M_thread_handle to _M_id.
413         (thread::__thread_data): Rename to _Impl.
414         Fixup for renames.
415         (thread::_M_make_thread_data): Return derived type.
416         (thread::hardware_concurrency): Add definition for default case.
417         (thread::get_id): Now can define inline.
418         (thread): Change _M_thread_data to _M_data.
419         (this_thread::get_id): Now can define inline.
420         * src/thread.cc (__thread_proxy): Rename to
421         execute_native_thread_routine.
422         Fixup for other renames.
423         * testsuite/30_threads/thread/cons/assign_neg.cc: New.
424         * testsuite/30_threads/thread/cons/copy_neg.cc: New.
425         * testsuite/30_threads/thread/algorithm: Move to..
426         * testsuite/30_threads/thread/swap: ...this.
427         * testsuite/30_threads/thread/member/hardware_concurrency.cc: Add.
428         * testsuite/30_threads/thread/id/operators.cc: New.
430 2009-02-05  Chris Fairles  <cfairles@gcc.gnu.org>
432         * include/std/tuple (_Head_base<>::_Head_base(_UHead&&)): Formatting.
433         (_Head_base<>::__swap_impl): Rename to _M_swap_impl.
434         (_Tuple_impl<>::__swap_impl): Likewise and make protected to avoid
435         exposing it in public std::tuple interface.
437 2009-02-05  Chris Fairles  <cfairles@gcc.gnu.org>
438             Benjamin Kosnik  <bkoz@redhat.com>
440         * include/std/thread (__thread_data_base): Nest class in std::thread.
441         (__thread_data): Likewise.
442         (__thread_data_ptr): Nest typedef in std::thread.
443         * src/thread.cc (__thread_proxy): Qualify the above names.
444         * config/abi/pre/gnu.ver: Remove unused exports.
446 2009-02-04  Benjamin Kosnik  <bkoz@redhat.com>
448         * include/bits/unique_ptr.h: Remove private __this_type typedef.
449         * include/bits/stl_vector.h: Remove private vector_type typedef.
450         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
451         Fix line numbers.
452         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
453         * testsuite/23_containers/vector/requirements/dr438/
454         constructor_1_neg.cc: Same.
455         * testsuite/23_containers/vector/requirements/dr438/
456         constructor_2_neg.cc: Same.
457         * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Same.
458         * testsuite/20_util/unique_ptr/assign/assign.cc: Same.
460 2009-02-03  Paolo Carlini  <paolo.carlini@oracle.com>
462         PR libstdc++/25191
463         * libsupc++/exception_defines.h: Depending on __EXCEPTIONS,
464         deal consistently with __try and __catch too.
465         * src/localename.cc: Replace try -> __try, catch -> __catch.
466         * src/ios.cc: Likewise.
467         * src/locale.cc: Likewise.
468         * src/istream.cc: Likewise.
469         * src/thread.cc: Likewise.
470         * src/compatibility.cc: Likewise.
471         * src/bitmap_allocator.cc: Likewise.
472         * src/ios_init.cc: Likewise.
473         * include/debug/deque: Likewise.
474         * include/debug/list: Likewise.
475         * include/tr1_impl/hashtable: Likewise.
476         * include/std/bitset: Likewise.
477         * include/ext/pb_ds/detail/resize_policy/
478         hash_load_check_resize_trigger_imp.hpp: Likewise.
479         * include/ext/pb_ds/detail/resize_policy/
480         hash_standard_resize_policy_imp.hpp: Likewise.
481         * include/ext/pb_ds/detail/cc_hash_table_map_/
482         resize_fn_imps.hpp: Likewise.
483         * include/ext/pb_ds/detail/cc_hash_table_map_/
484         constructor_destructor_fn_imps.hpp: Likewise.
485         * include/ext/pb_ds/detail/pat_trie_/
486         split_join_branch_bag.hpp: Likewise.
487         * include/ext/pb_ds/detail/pat_trie_/
488         constructors_destructor_fn_imps.hpp: Likewise.
489         * include/ext/pb_ds/detail/bin_search_tree_/
490         constructors_destructor_fn_imps.hpp: Likewise.
491         * include/ext/pb_ds/detail/gp_hash_table_map_/
492         resize_fn_imps.hpp: Likewise.
493         * include/ext/pb_ds/detail/gp_hash_table_map_/
494         constructor_destructor_fn_imps.hpp: Likewise.
495         * include/ext/pb_ds/detail/binary_heap_/
496         constructors_destructor_fn_imps.hpp: Likewise.
497         * include/ext/pb_ds/detail/binary_heap_/
498         erase_fn_imps.hpp: Likewise.
499         * include/ext/pb_ds/detail/binary_heap_/
500         split_join_fn_imps.hpp: Likewise.
501         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
502         constructors_destructor_fn_imps.hpp: Likewise.
503         * include/ext/pb_ds/detail/debug_map_base.hpp: Likewise.
504         * include/ext/pb_ds/detail/list_update_map_/
505         constructor_destructor_fn_imps.hpp: Likewise.
506         * include/ext/slist: Likewise.
507         * include/ext/memory: Likewise.
508         * include/ext/rc_string_base.h: Likewise.
509         * include/ext/ropeimpl.h: Likewise.
510         * include/ext/vstring.tcc: Likewise.
511         * include/ext/rope: Likewise.
512         * include/ext/sso_string_base.h: Likewise.
513         * include/bits/shared_ptr.h: Likewise.
514         * include/bits/stl_list.h: Likewise.
515         * include/bits/locale_classes.tcc: Likewise.
516         * include/bits/locale_facets.tcc: Likewise.
517         * include/bits/locale_classes.h: Likewise.
518         * include/bits/forward_list.h: Likewise.
519         * include/bits/stl_vector.h: Likewise.
520         * include/bits/stl_deque.h: Likewise.
521         * include/bits/istream.tcc: Likewise.
522         * include/bits/stl_uninitialized.h: Likewise.
523         * include/bits/ostream.tcc: Likewise.
524         * include/bits/vector.tcc: Likewise.
525         * include/bits/stl_tempbuf.h: Likewise.
526         * include/bits/deque.tcc: Likewise.
527         * include/bits/basic_string.tcc: Likewise.
528         * include/bits/ostream_insert.h: Likewise.
529         * include/bits/locale_facets_nonio.tcc: Likewise.
530         * include/bits/stl_tree.h: Likewise.
531         * include/bits/fstream.tcc: Likewise.
532         * include/tr1/shared_ptr.h: Likewise.
533         * include/tr1/hypergeometric.tcc: Likewise.
534         * include/backward/hashtable.h: Likewise.
535         * libsupc++/exception_ptr.h: Likewise.
536         * libsupc++/eh_personality.cc: Likewise.
537         * libsupc++/eh_call.cc: Likewise.
538         * config/locale/gnu/monetary_members.cc: Likewise.
539         * config/locale/gnu/time_members.h: Likewise.
540         * config/locale/generic/time_members.h: Likewise.
542 2009-02-03  Johannes Singler  <singler@ira.uka.de>
544         * include/parallel/algorithmfwd.h:
545         Add parallelism default for many declarations.
546         * include/parallel/numericfwd.h: Likewise.
547         * include/parallel/iterator.h: Use iterator_traits as usual.
548         * include/parallel/par_loop.h:
549         Include equally_split.h.
550         (for_each_template_random_access_ed):
551         Avoid calling the Result default constructor.
552         * include/parallel/numeric: Replace
553         for_each_template_random_access by
554         for_each_template_random_access_ed in numeric functions.
556 2009-02-02  Benjamin Kosnik  <bkoz@redhat.com>
558         * config/os/gnu-linux/os_defines.h: Remove superfluous
559         __NO_STRING_INLINES.
561 2009-02-02  Jakub Jelinek  <jakub@redhat.com>
563         * testsuite/21_strings/c_strings/char/3.cc: New test.
564         * testsuite/21_strings/c_strings/wchar_t/3.cc: New test.
566 2009-01-30  Ulrich Drepper  <drepper@redhat.com>
567             Jakub Jelinek  <jakub@redhat.com>
569         PR libstdc++/30928 (partial, works together with recent glibcs)
570         * include/c_std/cstring (memchr, strchr, strpbrk, strrchr, strstr):
571         Provide inlines only if __CORRECT_ISO_CPP_STRING_H_PROTO is not
572         defined.
573         * include/c_std/cwchar (wcschr, wcspbrk, wcsrchr, wcsstr, wmemchr):
574         Provide inlines only if __CORRECT_ISO_CPP_WCHAR_H_PROTO is not
575         defined.
576         * include/c_global/cstring (memchr, strchr, strpbrk, strrchr, strstr):
577         Provide inlines only if __CORRECT_ISO_CPP_STRING_H_PROTO is not
578         defined.
579         * include/c_global/cwchar (wcschr, wcspbrk, wcsrchr, wcsstr, wmemchr):
580         Provide inlines only if __CORRECT_ISO_CPP_WCHAR_H_PROTO is not
581         defined.
582         * testsuite/21_strings/c_strings/char_t/2.cc (test02): If first
583         argument is const char *, assign result to const char * var, not
584         char *.
585         * testsuite/21_strings/c_strings/wchar_t/2.cc (test02): If first
586         argument is const wchar_t *, assign result to const wchar_t * var, not
587         wchar_t *.
589 2009-01-29  Jonathan Wakely  <jwakely.gcc@gmail.com>
591         * include/std/thread: Remove unused headers.
592         (__thread_data_base): Remove unused mutex and base.
593         (thread::~thread): Only detach if joinable.
594         (thread::joinable): Test if thread data ptr is empty.
595         (thread::_M_thread_data_mutex): Remove.
596         (thread::_M_get_thread_data): Remove.
597         (thread::_M_make_thread_data): Remove overload, use make_shared.
598         (thread::id::id): Make constructor explicit.
599         * src/thread.cc (thread::join,thread::detach): Throw if not joinable.
600         (thread::_M_start_thread): Break shared_ptr cycle on error.
601         (__thread_proxy): Use shared_ptr swap instead of copy and reset.
602         * testsuite/30_threads/thread/member/4.cc: New.
603         * testsuite/30_threads/thread/member/5.cc: New.
605 2009-01-28  Benjamin Kosnik  <bkoz@redhat.com>
607         * testsuite/util/testsuite_common_types.h (has_trivial_cons_dtor): New.
608         (standard_layout): Just use !has_virtual_destructor for now.
609         * testsuite/30_threads/mutex/requirements/standard_layout.cc: New.
610         * testsuite/30_threads/timed_mutex/requirements/standard_layout.cc: New.
611         * testsuite/30_threads/recursive_mutex/requirements/
612         standard_layout.cc: New.
613         * testsuite/30_threads/condition_variable/requirements/
614         standard_layout.cc: New.
615         * testsuite/29_atomics/atomic_address/requirements/
616         standard_layout.cc: Adjust.
617         * testsuite/29_atomics/atomic_flag/requirements/
618         standard_layout.cc: Same.
619         * testsuite/29_atomics/atomic_address/requirements/trivial.cc: New.
620         * testsuite/29_atomics/atomic_integral/requirements/trivial.cc: Same.
621         * testsuite/29_atomics/atomic_flag/requirements/trivial.cc: Same.
622         * testsuite/30_threads/condition_variable/requirements/typedefs.cc: New.
623         * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: Adjust
624         line numbers.
625         * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Same.
626         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
627         * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
628         * testsuite/29_atomics/atomic/requirements/standard_layout.cc:
629         Remove, not required.
631 2009-01-22  Jonathan Wakely  <jwakely.gcc@gmail.com>
633         * include/std/thread (__thread_data_base, thread): Rename member
634         functions to match coding style.
635         (thread::thread,thread::operator=): Define move operations.
636         * src/thread.cc (__thread_data_base, thread): Rename member functions.
637         * config/abi/pre/gnu.ver: Adjust.
639 2009-01-22  Benjamin Kosnik  <bkoz@redhat.com>
641         PR libstdc++/38384
642         * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Disable symbol versioning
643         on HPUX.
644         * configure: Regenerate.
646 2009-01-22  Dodji Seketeli  <dodji@redhat.com>
648         * include/ext/bitmap_allocator.h: Reverting changes related to PR
649         c++/26693.
651 2009-01-21  Benjamin Kosnik  <bkoz@redhat.com>
653         * testsuite/29_atomics/headers/stdatomic.h/functions.c: Remove
654         atomic_flag_fence.
656 2009-01-21  Dodji Seketeli  <dodji@redhat.com>
658         * include/ext/bitmap_allocator.h: the typedefs should be made public
659         if we want them to be accessible. This has been revealed by the patch
660         that fixes PR c++/26693 in g++.
662 2009-01-20  Benjamin Kosnik  <bkoz@redhat.com>
663             Uros Bizjak  <ubizjak@gmail.com>
665         PR libstdc++/38834
666         * config/abi/pre/gnu.ver: Correct char16_t and char32_t exports.
667         * config/os/gnu-linux/ldbl-extra.ver: Tweak.
669 2009-01-20  Benjamin Kosnik  <bkoz@redhat.com>
670             Rainer Emrich  <r.emrich@de.tecosim.com>
672         PR libstdc++/38919
673         * crossconfig.m4: Use GLIBCXX_CHECK_MATH_SUPPORT and
674         GLIBCXX_CHECK_STDLIB_SUPPORT for mingw crosses.
675         * configure: Regenerate.
677 2009-01-18  Jonathan Wakely  <jwakely.gcc@gmail.com>
679         * include/std/thread (__thread_data_base::__run): Make non-const.
680         * testsuite/30_threads/thread/cons/5.cc: New.
682 2009-01-16  Benjamin Kosnik  <bkoz@redhat.com>
684         * src/Makefile.am (sources): Add math_stubs_float.cc.
685         * src/Makefile.in: Regenerate.
686         * src/math_stubs_float.cc: New, from libmath/stubs.c.
688 2009-01-15  Benjamin Kosnik  <bkoz@redhat.com>
690         * src/Makefile.am (sources): Add math_stubs_long_double.cc.
691         * src/Makefile.in: Regenerate.
692         * src/math_stubs_long_double.cc: New, from libmath/stubs.c.
694 2009-01-15  Benjamin Kosnik  <bkoz@redhat.com>
696         PR libstdc++/32666
697         * config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Update.
699 2009-01-15  Benjamin Kosnik  <bkoz@redhat.com>
701         PR libstdc++/32666
702         * Makefile.am (hosted_source): Remove libmath directory.
703         * Makefile.in: Regenerate.
704         * linkage.m4 (GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT): Remove.
705         (AC_REPLACE_MATHFUNCS): Remove.
706         (GLIBCXX_CHECK_MATH_SUPPORT): Remove copysign, copysignl checks as done
707         in GLIBCXX_CHECK_C99_TR1.
708         * acinclude.m4: Remove libmath, need_math.
709         * crossconfig.m4: Remove use of HAVE_COPYSIGN, HAVE_COPYSIGNL,
710         HAVE_COPYSIGNF, GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT, need_libmath.
711         * configure.ac: Same.
712         * configure: Regenerate.
713         * fragment.am: Fix comment.
714         * config.h.in: Regenerate.
715         * src/Makefile.in: Regenerate.
716         * src/Makefile.am: Remove libmath references.
717         * doc/Makefile.in: Regenerate.
718         * po/Makefile.in: Regenerate.
719         * include/Makefile.in: Regenerate.
720         * libsupc++/Makefile.in: Regenerate.
721         * testsuite/Makefile.in: Regenerate.
723         * src/compatibility.cc: Also export long double versions of "C" math
724         library if hppa-linux.
725         * config/abi/pre/gnu.ver: Remove unused __signbit exports.
726         * doc/xml/manual/appendix_contributing.xml: Remove libmath reference.
728         * libmath: Remove.
729         * libmath/signbit.c: Same.
730         * libmath/stubs.c: Same.
731         * libmath/Makefile.in: Same.
732         * libmath/copysignf.c: Same.
733         * libmath/mathconf.h: Same.
734         * libmath/signbitf.c: Same.
735         * libmath/Makefile.am: Same.
736         * libmath/signbitl.c: Same.
738 2009-01-15  Chris Fairles  <cfairles@gcc.gnu.org>
739             Paolo Carlini  <paolo.carlini@oracle.com>
741         * acinclude.m4 ([GLIBCXX_ENABLE_CLOCK_GETTIME],
742         [GLIBCXX_CHECK_NANOSLEEP]): Remove.
743         ([GLIBCXX_ENABLE_LIBSTDCXX_TIME]): Add.
744         * configure.ac: Adjust.
745         * doc/xml/manual/configure.xml: Update.
746         * testsuite/lib/libstdc++.exp (check_v3_target_sched_yield): Add.
747         * testsuite/lib/dg-options.exp (dg-require-sched-yield): Add.
748         * testsuite/30_threads/thread/this_thread/2.cc: Use the latter.
749         * configure: Regenerate.
750         * config.h.in: Likewise.
752         * src/thread.cc (thread::thread(), thread::~thread, thread::get_id,
753         thread::joinable, thread::swap, this_thread::get_id,
754         this_thread::yield): Define inline...
755         * include/std/thread: ... here.
756         * config/abi/pre/gnu.ver: Adjust.
758 2009-01-13  Uros Bizjak  <ubizjak@gmail.com>
760         * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc:
761         Add dg-timeout-factor 2.0.
762         * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Ditto.
763         * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Ditto.
764         * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Ditto.
765         * testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Ditto.
766         * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Ditto.
767         * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Ditto.
769 2009-01-13  Uros Bizjak  <ubizjak@gmail.com>
771         * scripts/extract_symvers: Add sed script to remove ' [<other>: xx] '
772         field from readelf output.
774 2009-01-12  Benjamin Kosnik  <bkoz@redhat.com>
776         PR libstdc++/38384
777         * crossconfig.m4 (hpux): Update for 10.20, 11, 11.20.
778         * configure: Regenerate.
780 2009-01-12  Benjamin Kosnik  <bkoz@redhat.com>
782         * crossconfig.m4 (linux): Add GCC_CHECK_TLS to define
783         _GLIBCXX_HAVE_TLS.
784         Use GLIBCXX_CHECK_COMPILER_FEATURES to compute SECTION_FLAGS.
786 2009-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
788         * include/tr1_impl/regex (basic_regex::basic_regex): Use range
789         constructor for _M_pattern.
790         * testsuite/tr1/7_regular_expressions/basic_regex/ctors/char/
791         string.cc: Test construction from different basic_string type.
792         * testsuite/tr1/7_regular_expressions/basic_regex/ctors/wchar_t/
793         string.cc: Likewise.
795 2009-01-07  Benjamin Kosnik  <bkoz@redhat.com>
796             Jonathan Larmour  <jifl@eCosCentric.com>
798         PR libstdc++/36801
799         * config/cpu/generic/atomicity_mutex/atomicity.h (get_atomic_mutex):
800         New.
801         (__gnu_cxx::__exchange_and_add): Use it.
802         * src/atomic.cc (get_atomic_mutex): New.
803         * src/debug.cc (get_safe_base_mutex): New.
804         * src/locale.cc (get_locale_cache_mutex): New.
805         * src/mt_allocator.cc (get_freelist): New.
806         (get_freelist_mutex): New.
807         * src/pool_allocator.cc (get_palloc_mutex): New.
808         * include/std/mutex (__once_functor_lock): To
809         (__get_once_functor_lock): ...this.
810         * src/mutex.cc (__once_mutex): Don't export, use
811         (get_once_mutex): ...this.
812         * config/abi/pre/gnu.ver: Adjust exports.
814 2009-01-07  Jakub Jelinek  <jakub@redhat.com>
816         PR libstdc++/38732
817         * libsupc++/unwind-cxx.h (__cxxabiv1::__cxa_exception): Remove
818         referenceCount field again.
819         (__cxxabiv1::__cxa_refcounted_exception): New struct.
820         (__cxxabiv1::__get_refcounted_exception_header_from_obj,
821         __cxxabiv1::__get_refcounted_exception_header_from_ue): New static
822         inline functions.
823         * libsupc++/eh_alloc.cc (__cxxabiv1::__cxa_allocate_exception,
824         __cxxabiv1::__cxa_free_exception): Use __cxa_refcounted_exception
825         instead of __cxa_exception.
826         * libsupc++/eh_throw.cc (__gxx_exception_cleanup,
827         __cxxabiv1::__cxa_throw): Likewise.
828         * libsupc++/eh_ptr.cc (std::rethrow_exception,
829         std::__exception_ptr::exception_ptr::_M_addref,
830         std::__exception_ptr::exception_ptr::_M_release,
831         __gxx_dependent_exception_cleanup): Likewise.
832         * testsuite/18_support/exception/38732.cc: New test.
834         PR libstdc++/38092
835         * acinclude.m4 (HAVE_AS_SYMVER_DIRECTIVE): New test.
836         * src/compatibility.cc: Don't use .symver directives if
837         _GLIBCXX_HAVE_AS_SYMVER_DIRECTIVE is not defined.
838         * config.h.in: Regenerated.
839         * configure: Likewise.
841 2009-01-07  Paolo Carlini  <paolo.carlini@oracle.com>
843         PR libstdc++/38466
844         * include/bits/stl_pair.h: Document C++03 pair vs swap.
846 2009-01-06  Benjamin Kosnik  <bkoz@redhat.com>
848         * src/locale_init.cc (locale::_S_initialize_once): Move construction
849         of classic locale...
850         (locale::classic): Here.
852 2009-01-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
854         * include/tr1_impl/regex: Fix bad return statements and typos.
856 2009-01-05  Benjamin Kosnik  <bkoz@redhat.com>
858         * include/tr1_impl/regex: Remove unimplemented function definitions.
859         * testsuite/28_regex/init-list.cc: Compile only.
860         * testsuite/tr1/7_regular_expressions/regex/cons/char/
861         c_string_extended.cc: Same.
862         * testsuite/tr1/7_regular_expressions/basic_regex/assign/*: Same.
863         * testsuite/tr1/7_regular_expressions/basic_regex/ctors/*: Same.
865 2009-01-05  Benjamin Kosnik  <bkoz@redhat.com>
867         PR libstdc++/38384
868         * crossconfig.m4: Define HAVE_FABSF for hpux crosses.
869         * configure: Regenerate.
871 2009-01-05  Ben Elliston  <bje@au.ibm.com>
873         * configure.ac (GLIBCXX_CHECK_STANDARD_LAYOUT): Remove invocation.
874         * configure: Regenerate.
876 2009-01-05  Ben Elliston  <bje@au.ibm.com>
878         * configure.ac: Exchange the order of GLIBCXX_ENABLE_THREADS and
879         GLIBCXX_ENABLE_ATOMIC_BUILTINS macro invocations.
880         * configure: Regenerate.
882 2009-01-04  Richard Guenther  <rguenther@suse.de>
884         PR libstdc++/38720
885         * include/ext/pointer.h (_Relative_pointer_impl): Use an unsigned
886         integer type for storage, arithmetic and comparisons.
887         * testsuite/ext/ext_pointer/1_neg.cc: Adjust line numbers.
889 2009-01-04  Paolo Carlini  <paolo.carlini@oracle.com>
891         PR libstdc++/38719
892         * include/bits/forward_list.h (_Fwd_list_iterator<>::_M_next,
893         _Fwd_list_const_iterator::_M_next): Fix return type.
895 2009-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
897         * Revert last commit, reopen and suspend libstdc++/38678.
899 2009-01-01  Paolo Carlini  <paolo.carlini@oracle.com>
901         PR libstdc++/38678
902         * include/std/istream (basic_istream<>::_M_read): New.
903         * include/bits/istream.tcc (basic_istream<>::_M_read): Define.
904         (basic_istream<>::read, basic_istream<>::readsome): Use it.
905         * include/std/ostream (basic_ostream<>::_M_write_): New.
906         (basic_ostream<>::_M_write): Adjust.
907         * include/bits/ostream.tcc (basic_ostream<>::_M_write_): Define.
908         * testsuite/27_io/basic_istream/read/char/38678.cc: New.
909         * testsuite/27_io/basic_istream/read/wchar_t/38678.cc: Likewise.
910         * testsuite/27_io/basic_ostream/write/char/38678.cc: Likewise.
911         * testsuite/27_io/basic_ostream/write/wchar_t/38678.cc: Likewise.
913 2008-12-22  Jonathan Larmour  <jifl@eCosCentric.com>
915         * include/ext/concurrence.h: Fix __gthread_cond_t initialisation
916         function macro name.
918 2008-12-22  Benjamin Kosnik  <bkoz@redhat.com>
920         * doc/doxygen/stdheader.cc: Add cstdlib.
921         * doc/doxygen/user.cfg.in: Regenerate for doxygen 1.5.7.
923 2008-12-21  Andrew Pinski  <pinskia@gmail.com>
925         PR target/38300
926         * configure: Regenerate.
928 2008-12-21  Paolo Carlini  <paolo.carlini@oracle.com>
930         PR libstdc++/38596
931         * include/tr1_impl/functional (function<>::target,
932         function<>::target_type): Provide only when __GXX_RTTI is defined.
933         (_Function_base::_M_manager, _Ref_manager<>::_M_manager,
934         _Function_handler<void(_ArgTypes...), _Member _Class::*>::_M_manager):
935         Adjust.
937 2008-12-19  Ben Elliston  <bje@au.ibm.com>
939         * acinclude.m4: Guard a variable test against an empty string.
940         * configure: Regenerate.
942 2008-12-18  Jack Howarth  <howarth@bromo.med.uc.edu>
944         * testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc:
945         Add xfail on all targets except darwin.
946         * libstdc++-v3/testsuite/21_strings/basic_string/element_access/char/
947         1674.cc: Same.
948         * libstdc++-v3/testsuite/22_locale/ctype/is/char/2.cc: Correct syntax
949         for xfailing on all targets except linux.
951 2008-12-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
953         * configure: Regenerate.
955 2008-12-17  Jack Howarth  <howarth@bromo.med.uc.edu>
957         * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
958         Don't xfail test on darwin8 or later.
960 2008-12-16  Jack Howarth  <howarth@bromo.med.uc.edu>
962         * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
963         Don't xfail excessive errors on darwin8 or later.
965 2008-12-15  Benjamin Kosnik  <bkoz@redhat.com>
967         * include/c_global/cstdatomic: Remove assert include.
968         * include/debug/debug.h: Consolidate __replacement_assert...
969         * include/parallel/base.h: Consolidate __replacement_assert...
970         * include/bits/c++config: ...here.
971         * include/bits/atomic_0.h: Use it.
972         * include/bits/atomic_2.h: Same.
973         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers.
974         * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
976 2008-12-13  Benjamin Kosnik  <bkoz@redhat.com>
978         * src/atomic.cc: Revert last change.
979         * include/bits/atomic_2.h: Move cassert include to...
980         * include/c_global/cstdatomic: ...here.
981         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers.
982         * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
984 2008-12-12  Benjamin Kosnik  <bkoz@redhat.com>
986         * src/Makefile.am: Remove -x c++ for atomic build rules.
987         * src/Makefile.in: Regenerate.
988         * src/atomic.cc: Move mutex include before cstdatomic.
990 2008-12-12  H.J. Lu  <hongjiu.lu@intel.com>
992         PR libstdc++/37144
993         * testsuite/util/regression/trait/assoc/type_trait.hpp
994         (regression_test_type_traits): Add const to pair_type_rebind.
996 2008-12-12  Benjamin Kosnik  <bkoz@redhat.com>
998         * src/atomic.cc: Correct guards to match mutex.cc.
1000 2008-12-11  Benjamin Kosnik  <bkoz@redhat.com>
1001             Richard Henderson  <rth@redhat.com>
1003         * include/c_global/cstdatomic: Update to N2798.
1004         (atomic): Remove explicit constructors as per DR 845.
1005         * include/bits/atomic_0.h: New. Switchable implementation.
1006         * include/bits/atomic_2.h: New. Lock-free implementation.
1007         * include/c_compatibility/stdatomic.h: Use foward headers.
1008         * include/bits/atomicfwd_cxx.h: New.
1009         * include/bits/atomicfwd_c.h: New.
1010         * src/atomic.cc: Adjust.
1011         * acinclude.m4 (GLIBCXX_CHECK_STANDARD_LAYOUT): Remove,
1012         unconditionally use default/deleted syntax.
1013         (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Check for 2, 8.
1014         * include/Makefile.am (bits_headers): Add atomicfwd_c.h,
1015         atomicfwd_cxx.h, atomic_0.h, atomic_2.h.
1016         * include/Makefile.in: Regenerate.
1017         * configure: Regenerate.
1018         * config.h.in: Regenerate.
1019         * config/abi/pre/gnu.ver: Adjust exports.
1021         * testsuite/27_io/ios_base/types/fmtflags/bitmask_operators.cc: Adjust.
1022         * testsuite/27_io/ios_base/types/openmode/bitmask_operators.cc: Same.
1023         * testsuite/27_io/ios_base/types/iostate/bitmask_operators.cc: Same.
1024         * testsuite/29_atomics/atomic_address/cons/assign_neg.cc: Same.
1025         * testsuite/29_atomics/atomic_address/cons/explicit_value.cc: Move to..
1026         * testsuite/29_atomics/atomic_address/cons/single_value.cc: ...this.
1027         * testsuite/29_atomics/atomic_address/cons/copy_neg.cc
1028         * testsuite/29_atomics/atomic_integral/cons/single_value.cc: New.
1029         * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: New.
1030         * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: New.
1031         * testsuite/29_atomics/atomic_integral/cons/default.cc: New.
1032         * testsuite/29_atomics/atomic_integral/cons/direct_list.cc: New.
1033         * testsuite/29_atomics/atomic_integral/cons/copy_list.cc: New.
1034         * testsuite/29_atomics/atomic_integral/requirements/
1035         standard_layout.cc: New.
1036         * testsuite/29_atomics/atomic_integral/operators/
1037         integral_assignment.cc: New.
1038         * testsuite/29_atomics/atomic_integral/operators/increment_neg.cc: New.
1039         * testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc: New.
1040         * testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc: New.
1041         * testsuite/29_atomics/atomic_integral/operators/increment.cc: New.
1042         * testsuite/29_atomics/atomic_integral/operators/decrement.cc: New.
1043         * testsuite/29_atomics/atomic_integral/operators/bitwise.cc: New.
1044         * testsuite/29_atomics/atomic_integral/operators/
1045         integral_conversion.cc: New.
1046         * testsuite/29_atomics/atomic_flag/cons/assign_neg.cc: Adjust.
1047         * testsuite/29_atomics/atomic_flag/cons/copy_neg.cc: Same.
1048         * testsuite/29_atomics/atomic_flag/requirements/
1049         standard_layout.cc: Same.
1050         * testsuite/29_atomics/atomic_flag/
1051         atomic_global_fence_compatibility.cc: Kill.
1052         * testsuite/29_atomics/headers/cstdatomic/types_std_c++0x.cc: Adjust.
1053         * testsuite/29_atomics/headers/cstdatomic/functions_std_c++0x.cc: Same.
1054         * testsuite/29_atomics/headers/cstdatomic/macros.cc: Same.
1055         * testsuite/29_atomics/headers/stdatomic.h/macros.c: Same.
1056         * testsuite/29_atomics/headers/stdatomic.h/types.c: Same.
1057         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
1058         * testsuite/29_atomics/atomic/cons/explicit_value.cc: Move to...
1059         * testsuite/29_atomics/atomic/cons/single_value.cc: ...this.
1060         * testsuite/29_atomics/atomic/cons/copy_neg.cc
1061         * testsuite/29_atomics/atomic/cons/direct_list.cc: New.
1062         * testsuite/29_atomics/atomic/cons/copy_list.cc: New.
1063         * testsuite/29_atomics/atomic/requirements/standard_layout.cc: New.
1064         * testsuite/29_atomics/atomic/requirements/base_classes.cc: New.
1065         * testsuite/29_atomics/atomic/operators/integral_assignment.cc: New.
1066         * testsuite/29_atomics/atomic/operators/integral_conversion.cc: New.
1067         * testsuite/util/testsuite_hooks.h (bitmask_operators): Move...
1068         * testsuite/util/testsuite_common_types.h: ...here.
1069         (atomic_integrals_no_bool): New.
1070         (atomic_integrals): New.
1071         (has_increment_operators, has_decrement_operators)
1072         (direct_list_initializable, single_value_constructible)
1073         (standard_layout, has_bitwise_operators, integral_convertable)
1074         (integral_assignable): Add.
1076 2008-12-11  Jakub Jelinek  <jakub@redhat.com>
1078         PR c++/37582
1079         * testsuite/26_numerics/headers/cmath/37582.cc: New.
1081 2008-12-08  Paolo Carlini  <paolo.carlini@oracle.com>
1083         * include/tr1_impl/cmath: Undef remquof / remquol too; add using
1084         declarations.
1085         * acinclude.m4 [GLIBCXX_CHECK_C99_TR1]: Check remquof / remquol too.
1086         * testsuite/tr1/8_c_compatibility/cmath/functions.cc: Adjust.
1087         * configure: Regenerate.
1089 2008-12-08  Edward Smith-Rowland  <3dw4rd@verizon.net>
1091         * include/bits/forward_list.h: Fixed spurious "forward_swap" in doxy.
1093 2008-12-06  Paolo Carlini  <paolo.carlini@oracle.com>
1095         PR libstdc++/38421
1096         * include/tr1/ell_integral.tcc: Avoid __ea, future SPU badname.
1097         * doc/xml/manual/appendix_contributing.xml: Add __ea to the list
1098         of badnames.
1100 2008-12-05  Tom Tromey  <tromey@redhat.com>
1102         * include/tr1_impl/functional (_Mu): Fix typo.
1104 2008-12-05  Paolo Carlini  <paolo.carlini@oracle.com>
1106         PR libstdc++/38399
1107         * include/bits/locale_facets_nonio.tcc (money_get<>::
1108         _M_extract(iter_type, iter_type, ios_base&, ios_base::iostate&,
1109         string&)): Fix, reject decimal point when frac_digits <= 0.
1110         * testsuite/22_locale/money_get/get/char/38399.cc: New.
1111         * testsuite/22_locale/money_get/get/wchar_t/38399.cc: Likewise.
1112         * testsuite/22_locale/money_get/get/char/5.cc: Adjust.
1113         * testsuite/22_locale/money_get/get/wchar_t/5.cc: Likewise.
1115 2008-12-05  Paolo Carlini  <paolo.carlini@oracle.com>
1117         PR libstdc++/38411
1118         * testsuite/22_locale/numpunct/members/char/2.cc: Use is_IS instead
1119         of fr_FR.
1120         * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Likewise.
1121         * testsuite/22_locale/locale/cons/7.cc: Likewise.
1123 2008-12-04  Paolo Carlini  <paolo.carlini@oracle.com>
1125         PR libstdc++/38368
1126         * config/locale/gnu/numeric_members.cc (numpunct<char>::
1127         _M_initialize_numpunct, numpunct<wchar_t>::_M_initialize_numpunct):
1128         Fix for THOUSANDS_SEP == '\0' consistently with "C" locale.
1129         * config/locale/gnu/monetary_members.cc (moneypunct<char, true>::
1130         _M_initialize_moneypunct, moneypunct<char, false>::
1131         _M_initialize_moneypunct, moneypunct<wchar_t, true>::
1132         _M_initialize_moneypunct, moneypunct<wchar_t, false>::
1133         _M_initialize_moneypunct): Fix for __MON_DECIMAL_POINT == '\0' or
1134         __MON_THOUSANDS_SEP == '\0' consistently with "C" locale.
1135         * testsuite/22_locale/locale/cons/38368.cc: New.
1137 2008-12-02  Paolo Carlini  <paolo.carlini@oracle.com>
1139         PR libstdc++/38365 (cont)
1140         * src/localename.cc (locale::locale(const locale&, const locale&,
1141         category)): Revert last changes.
1142         (locale::_Impl::_M_replace_categories(const _Impl*, category)):
1143         Fix here instead; rework.
1145 2008-12-02  Paolo Carlini  <paolo.carlini@oracle.com>
1147         PR libstdc++/38365
1148         * src/localename.cc (locale::locale(const locale&, const locale&,
1149         category)): Fix.
1150         * testsuite/22_locale/locale/cons/38365.cc: New.
1152 2008-12-01  Benjamin Kosnik  <bkoz@redhat.com>
1154         PR libstdc++/38080
1155         * include/std/iostream: Correct URL.
1156         * include/std/streambuf: Same.
1157         * include/std/bitset: Same.
1158         * include/std/iosfwd: Same.
1159         * include/std/fstream: Same.
1160         * include/std/istream: Same.
1161         * include/std/ostream: Same.
1162         * include/std/sstream: Same.
1163         * include/bits/basic_ios.h: Same.
1164         * include/bits/stl_map.h: Same.
1165         * include/bits/stl_set.h: Same.
1166         * include/bits/stl_multimap.h: Same.
1167         * include/bits/ios_base.h: Same.
1168         * include/bits/stl_multiset.h: Same.
1169         * include/bits/char_traits.h: Same.
1170         * include/bits/stl_relops.h: Same.
1171         * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
1172         * testsuite/27_io/ios_base/cons/copy_neg.cc: Ditto.
1174 2008-11-26  Janis Johnson  <janis187@us.ibm.com>
1176         PR testsuite/28870
1177         * testsuite/lib/libstdc++.exp: Include new timeout library files.
1178         (libstdc++_init): Define tool_timeout.
1179         (dg-test): Override DejaGnu proc.
1180         (v3_target_compile): Set timeout value from new proc.
1181         (v3_target_compile_as_c): Ditto.
1183 2008-11-24  Paolo Carlini  <paolo.carlini@oracle.com>
1185         PR libstdc++/38244 (cont, debug bits)
1186         * include/debug/bitset (bitset<>::bitset(const char*, char, char)):
1187         Remove, do not implement DR 778.
1189 2008-11-24  Paolo Carlini  <paolo.carlini@oracle.com>
1191         PR libstdc++/38244
1192         * include/std/bitset (bitset<>::bitset(const char*, char, char)):
1193         Remove, do not implement DR 778.
1194         * doc/xml/manual/intro.xml: Remove entry for DR 778.
1195         * testsuite/23_containers/bitset/cons/2.cc: Remove.
1196         * testsuite/23_containers/bitset/cons/dr396.cc: Tweak.
1197         * testsuite/23_containers/bitset/cons/38244.cc: Add.
1199 2008-11-21  Paolo Carlini  <paolo.carlini@oracle.com>
1201         * testsuite/22_locale/num_put/put/char/38210.cc: Tweak.
1202         * testsuite/22_locale/num_put/put/wchar_t/38210.cc: Likewise.
1204 2008-11-21  Paolo Carlini  <paolo.carlini@oracle.com>
1206         PR libstdc++/38210
1207         * include/bits/locale_facets.tcc (num_put<>::do_put(iter_type,
1208         ios_base&, char_type, const void*)): Fix.
1209         * testsuite/22_locale/num_put/put/char/38210.cc: New.
1210         * testsuite/22_locale/num_put/put/wchar_t/38210.cc: Likewise.
1212 2008-11-20  Paolo Carlini  <paolo.carlini@oracle.com>
1214         PR libstdc++/38196
1215         * include/bits/locale_facets.tcc (num_put<>::do_put(iter_type,
1216         ios_base&, char_type, bool)): Fix.
1217         * testsuite/22_locale/num_put/put/char/38196.cc: New.
1218         * testsuite/22_locale/num_put/put/wchar_t/38196.cc: Likewise.
1220 2008-11-18  Paolo Carlini  <paolo.carlini@oracle.com>
1222         * include/tr1_impl/cinttypes: Remove redundant pragma system_header.
1223         * include/tr1_impl/cfenv: Likewise.
1224         * include/tr1_impl/cstdint: Likewise.
1226 2008-11-13  Paolo Carlini  <paolo.carlini@oracle.com>
1228         PR libstdc++/38000
1229         * include/c_global/csignal: Do not use include_next.
1230         * include/c_global/cstdlib: Likewise.
1231         * include/c_global/cstdio: Likewise.
1232         * include/c_global/cstdarg: Likewise.
1233         * include/c_global/cctype: Likewise.
1234         * include/c_global/cerrno: Likewise.
1235         * include/c_global/cmath: Likewise.
1236         * include/c_global/clocale: Likewise.
1237         * include/c_global/climits: Likewise.
1238         * include/c_global/cassert: Likewise.
1239         * include/c_global/csetjmp: Likewise.
1240         * include/c_global/cwchar: Likewise.
1241         * include/c_global/cfloat: Likewise.
1242         * include/c_global/cstdbool: Likewise.
1243         * include/c_global/cstring: Likewise.
1244         * include/c_global/cstddef: Likewise.
1245         * include/c_global/cwctype: Likewise.
1246         * include/tr1/cstdbool: Likewise.
1247         * include/tr1_impl/cinttypes: Do not include <inttypes.h>.
1248         * include/c_global/cinttypes: Do it here.
1249         * include/tr1/cinttypes: Likewise.
1250         * include/tr1_impl/cfenv: Do not include <fenv.h>.
1251         * include/c_global/cfenv: Do it here.
1252         * include/tr1/cfenv: Likewise.
1253         * include/tr1_impl/cstdint: Do not include <stdint.h>.
1254         * include/c_global/cstdint: Do it here.
1255         * include/tr1/cstdint: Likewise.
1256         * include/c_compatibility/fenv.h: Include <tr1_impl/cfenv>.
1257         * include/c_compatibility/stdint.h: Include <tr1_impl/cstdint>.
1258         * include/c_compatibility/inttypes.h: Include <tr1_impl/cinttypes>.
1260         * include/c_compatibility/math.h: Minor tweak, add comment.
1262 2008-11-12  Steve Ellcey  <sje@cup.hp.com>
1264         * configure.ac: Move call to GCC_CHECK_UNWIND_GETIPINFO.
1265         * configure: Regenerate to get new GCC_CHECK_UNWIND_GETIPINFO.
1267 2008-11-12  Paolo Carlini  <paolo.carlini@oracle.com>
1269         PR libstdc++/37986 (cont)
1270         * include/tr1_impl/random (struct _Adaptor): Use only remove_reference
1271         on _Engine.
1272         (struct _Adaptor<_Engine*, _Distribution>): Add.
1273         * testsuite/tr1/5_numerical_facilities/random/variate_generator/
1274         37986.cc: Extend.
1276 2008-11-11  Paolo Carlini  <paolo.carlini@oracle.com>
1278         PR libstdc++/37986
1279         * include/tr1_impl/random (struct _Adaptor): Use remove_pointer
1280         and remove_reference on _Engine.
1281         * testsuite/tr1/5_numerical_facilities/random/variate_generator/
1282         37986.cc: New.
1284 2008-11-11  Paolo Carlini  <paolo.carlini@oracle.com>
1286         * testsuite/ext/ext_pointer/1_neg.cc: Adjust dg-error line numbers.
1288 2008-11-11  Paolo Carlini  <paolo.carlini@oracle.com>
1290         * testsuite/23_containers/vector/ext_pointer/modifiers/erase.cc: Fix.
1291         * testsuite/23_containers/vector/ext_pointer/modifiers/element.cc:
1292         Likewise.
1294 2008-11-11  Bob Walters  <bob.s.walters@gmail.com>
1296         * include/bits/forward_list.h: Support non-standard pointer types
1297         (_Fwd_list_node_base): Add _Alloc template parameter.
1298         (_Fwd_list_node<>): Likewise.
1299         (_Fwd_list_iterator<>): Likewise.
1300         (_Fwd_list_const_iterator<>): Likewise.
1301         (_Fwd_list_node_base::_M_next, _M_transfer_after, _M_reverse_after):
1302         Use _Alloc<_Tp>::pointer.
1303         (_Fwd_list_iterator<>::_M_node): Use _Node_base::_Pointer.
1304         (_Fwd_list_base<>::_M_get_node, _M_create_node, _M_create_node,
1305         _M_insert_after, _M_put_node, _M_erase_after): Likewise.
1306         (_Fwd_list_const_iterator<>::_M_node): use _Node_base::_Const_pointer.
1307         (forward_list<>): Use __static_pointer_cast in place of static_cast,
1308         and __const_pointer_cast in place of const_cast.
1309         * include/bits/forward_list.tcc
1310         (_Fwd_list_node<>::_M_sort_after): Using _Pointer typedefs in place
1311         of standard pointers, __static_pointer_cast in place of static_cast.
1312         (_Fwd_list_base<>::_Fwd_list_base, _M_insert_after, _M_erase_after):
1313         Likewise.
1314         (forward_list<>::_M_initialize_dispatch, _M_fill_initialize,
1315         splice_after, remove, remove_if, merge): Likewise.
1316         * testsuite/23_containers/forward_list/ext_pointer/modifiers/1.cc: New.
1317         * testsuite/23_containers/forward_list/ext_pointer/modifiers/2.cc:
1318         Likewise.
1319         * testsuite/23_containers/forward_list/ext_pointer/modifiers/3.cc:
1320         Likewise.
1321         * testsuite/23_containers/forward_list/ext_pointer/modifiers/4.cc:
1322         Likewise.
1323         * testsuite/23_containers/forward_list/ext_pointer/modifiers/5.cc:
1324         Likewise.
1325         * testsuite/23_containers/forward_list/ext_pointer/operations/1.cc:
1326         Likewise.
1327         * testsuite/23_containers/forward_list/ext_pointer/operations/2.cc:
1328         Likewise.
1329         * testsuite/23_containers/forward_list/ext_pointer/operations/3.cc:
1330         Likewise.
1331         * testsuite/23_containers/forward_list/ext_pointer/operations/4.cc:
1332         Likewise.
1333         * testsuite/23_containers/forward_list/ext_pointer/operations/5.cc:
1334         Likewise.
1335         * testsuite/23_containers/forward_list/ext_pointer/operations/6.cc:
1336         Likewise.
1337         * testsuite/23_containers/forward_list/ext_pointer/operations/7.cc:
1338         Likewise.
1339         * testsuite/23_containers/forward_list/ext_pointer/requirements/1.cc:
1340         Likewise.
1341         * testsuite/23_containers/forward_list/ext_pointer/requirements/
1342         explicit_instantiation/1.cc: Likewise.
1343         * testsuite/23_containers/forward_list/ext_pointer/requirements/
1344         explicit_instantiation/3.cc: Likewise.
1345         * testsuite/23_containers/forward_list/ext_pointer/1.cc: Likewise.
1347 2008-11-11  Paolo Carlini  <paolo.carlini@oracle.com>
1349         * include/ext/extptr_allocator.h: Minor tweaks.
1350         * include/ext/pointer.h: Likewise.
1351         * include/ext/cast.h: Likewise.
1353 2008-11-10  Paolo Carlini  <paolo.carlini@oracle.com>
1355         PR libstdc++/38067
1356         * config/locale/gnu/monetary_members.cc (moneypunct<>::
1357         _M_initialize_moneypunct(__c_locale, const char*)): Use correct vector
1358         delete for __wcs_ps and __wcs_ns.
1360 2008-11-07  Bob Walters  <bob.s.walters@gmail.com>
1362         * include/ext/pointer.h: New, add experimental support for non-standard
1363         pointer types in containers via the allocator::pointer typedef.
1364         (Currently only supported/working with std::vector)
1365         * include/ext/cast.h: New, add overload-able pointer casting functions
1366         for use in containers supporting non-standard pointer types.
1367         * include/ext/extptr_allocator.h: New, add _ExtPtr_allocator.
1368         * include/Makefile.am: Update.
1369         * include/precompiled/extc++.h: Likewise.
1370         * include/Makefile.in: Regenerate.
1371         * testsuite/ext/ext_pointer/1.cc: New.
1372         * testsuite/ext/ext_pointer/1_neg.cc: Likewise.
1373         * testsuite/23_containers/vector/ext_pointer/citerators.cc: New.
1374         * testsuite/23_containers/vector/ext_pointer/data_access.cc: Likewise.
1375         * testsuite/23_containers/vector/ext_pointer/resize.cc: Likewise.
1376         * testsuite/23_containers/vector/ext_pointer/types/1.cc: Likewise.
1377         * testsuite/23_containers/vector/ext_pointer/modifiers/element.cc:
1378         Likewise.
1379         * testsuite/23_containers/vector/ext_pointer/modifiers/erase.cc:
1380         Likewise.
1381         * testsuite/23_containers/vector/ext_pointer/modifiers/insert.cc:
1382         Likewise.
1383         * testsuite/23_containers/vector/ext_pointer/explicit_instantiation/
1384         1.cc: Likewise.
1385         * testsuite/23_containers/vector/ext_pointer/explicit_instantiation/
1386         3.cc: Likewise.
1388 2008-11-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
1390         PR libstdc++/38017
1391         Revert:
1392         * include/tr1_impl/functional (result_of,reference_wrapper): Update
1393         to use C++0x features.
1394         * testsuite/20_util/function_objects/return_types/result_of.cc: New.
1395         * testsuite/20_util/function_objects/return_types/result_of_neg.cc:
1396         New.
1397         * testsuite/20_util/function_objects/return_types/result_of_ref.cc:
1398         New.
1399         * testsuite/20_util/reference_wrapper/24803.cc: Uncomment FIXMEs.
1401 2008-11-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
1403         PR libstdc++/24803
1404         PR libstdc++/37351
1405         * include/tr1_impl/functional (result_of,reference_wrapper): Update
1406         to use C++0x features.
1407         * testsuite/20_util/function_objects/return_types/result_of.cc: New.
1408         * testsuite/20_util/function_objects/return_types/result_of_neg.cc:
1409         New.
1410         * testsuite/20_util/function_objects/return_types/result_of_ref.cc:
1411         New.
1412         * testsuite/20_util/reference_wrapper/24803.cc: Uncomment FIXMEs.
1414 2008-11-03  Paolo Carlini  <paolo.carlini@oracle.com>
1416         * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
1417         iter_type, ios_base&, ios_base::iostate&, bool&): Tidy.
1418         * testsuite/22_locale/num_get/get/char/37958.cc: Extend.
1419         * testsuite/22_locale/num_get/get/wchar_t/37958.cc: Likewise.
1421 2008-11-01  Paolo Carlini  <paolo.carlini@oracle.com>
1423         PR libstdc++/37958 (cont again)
1424         * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
1425         iter_type, ios_base&, ios_base::iostate&, bool&): Fix again.
1426         * testsuite/22_locale/num_get/get/char/37958.cc: Extend.
1427         * testsuite/22_locale/num_get/get/wchar_t/37958.cc: Likewise.
1429 2008-11-01  Paolo Carlini  <paolo.carlini@oracle.com>
1431         * include/bits/locale_facets.tcc (num_get<>::do_get(, long&),
1432         num_get<>::do_get(, unsigned short&),
1433         num_get<>::do_get(, unsigned int&),
1434         num_get<>::do_get(, unsigned long&),
1435         num_get<>::do_get(, long long&),
1436         num_get<>::do_get(, unsigned long long&),
1437         num_put<>::do_put(, long), num_put<>::do_put(, unsigned long),
1438         num_put<>::do_put(, long long),
1439         num_put<>::do_put(, unsigned long long)): Move inline...
1440         * include/bits/locale_facets.h: ... here.
1442 2008-11-01  Paolo Carlini  <paolo.carlini@oracle.com>
1444         PR libstdc++/37958 (cont)
1445         * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
1446         iter_type, ios_base&, ios_base::iostate&, bool&): Fix again.
1448 2008-11-01  Jonathan Wakely  <jwakely.gcc@gmail.com>
1450         * include/bits/shared_ptr.h: Update comparisons to match WP.
1451         (_Sp_counted_ptr): Make copy and assignment members deleted.
1452         (_Sp_counted_deleter): Remove private copy and assignment members.
1453         (__shared_count::_M_less,__weak_count::_M_less,operator<): Replace
1454         friend operator< with overloaded _M_less member functions to allow
1455         comparison with either shared_count or weak_count.
1456         (__shared_ptr::_M_less,__weak_ptr::_M_less): Replace with...
1457         (__shared_ptr::owner_before,__weak_ptr::owner_before): New overloads
1458         for ownership-based ordering.
1459         (operator<(__shared_ptr,__shared_ptr)): Compare stored pointers,
1460         make non-friend.
1461         (operator==(__shared_ptr,__shared_ptr)): Make non-friend.
1462         (operator!=(__shared_ptr,__shared_ptr)): Likewise.
1463         (less<__shared_ptr<>>,less<shared_ptr<>>,_Sp_less): Explicitly call
1464         pointer specialization.
1465         (__weak_ptr::operator<,weak_ptr::operator<=,weak_ptr::operator>,
1466         weak_ptr::operator>=): Remove operator< and delete all comparisons.
1467         (_Sp_owner_less,owner_less): Predicate for ownership-based ordering.
1468         (operator<(shared_ptr,shared_ptr): Overload for derived shared_ptr.
1469         (operator==(shared_ptr,shared_ptr): Likewise.
1470         (operator!=(shared_ptr,shared_ptr): Likewise.
1471         (swap(shared_ptr,shared_ptr)): Fix parameter types.
1472         (swap(weak_ptr,weak_ptr)): Add missing overload.
1473         * testsuite/20_util/owner_less/cmp.cc: New.
1474         * testsuite/20_util/shared_ptr/comparison/cmp.cc: Test other ops.
1475         * testsuite/20_util/shared_ptr/comparison/less.cc: New.
1476         * testsuite/20_util/shared_ptr/observers/owner_before.cc: New.
1477         * testsuite/20_util/weak_ptr/observers/owner_before.cc: New.
1478         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: New.
1480 2008-10-31  Paolo Carlini  <paolo.carlini@oracle.com>
1482         PR libstdc++/37958
1483         * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
1484         iter_type, ios_base&, ios_base::iostate&, bool&): Fix.
1485         * testsuite/22_locale/num_get/get/char/37958.cc: New.
1486         * testsuite/22_locale/num_get/get/wchar_t/37958.cc: Likewise.
1488 2008-10-27  Paolo Carlini  <paolo.carlini@oracle.com>
1490         PR libstdc++/37919
1491         Revert:
1492         2008-10-18  Douglas Gregor  <doug.gregor@gmail.com>
1494         * include/bits/stl_pair.h (__may_be_null_pointer_init): New.
1495         (pair::pair): Eliminate the redundant pair(U1&&, U2&&) constructor.
1496         Add lvalue pair<U1, U2> constructor to handle non-const pair lvalues.
1497         Remove the old variadic constructor, and instead provide several
1498         variadic constructors that avoid failing when attempting to
1499         initialize a pointer from a null pointer constant.
1500         * testsuite/20_util/pair/moveable.cc (test3): Add new tests with
1501         initialization of pointers from the null pointer constant.
1503 2008-10-27  Paolo Carlini  <paolo.carlini@oracle.com>
1505         PR libstdc++/37522
1506         * config/os/mingw32/os_defines.h: Define _GLIBCXX_HAVE_BROKEN_VSWPRINTF
1507         * include/bits/basic_string.h: Guard string conversions with
1508         !defined(_GLIBCXX_HAVE_BROKEN_VSWPRINTF) too.
1509         * testsuite/lib/libstdc++.exp (check_v3_target_string_conversions):
1510         New.
1511         * testsuite/lib/dg-options.exp (dg-require-string-conversions): New.
1512         * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
1513         Use the latter.
1514         * testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc:
1515         Likewise.
1516         * testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
1517         Likewise.
1518         * testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
1519         Likewise.
1520         * testsuite/21_strings/basic_string/numeric_conversions/char/
1521         stoull.cc: Likewise.
1522         * testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc:
1523         Likewise.
1524         * testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
1525         Likewise.
1526         * testsuite/21_strings/basic_string/numeric_conversions/char/
1527         to_string.cc: Likewise.
1528         * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
1529         Likewise.
1531 2008-10-24  Paolo Carlini  <paolo.carlini@oracle.com>
1533         * config/os/generic/error_constants.h (enum errc): Remove
1534         no_posix_equivalent.
1535         * config/os/mingw32/error_constants.h (enum errc): Likewise.
1536         * testsuite/19_diagnostics/headers/system_error/errc_std_c++0x.cc:
1537         Adjust.
1539 2008-10-24  Jakub Jelinek  <jakub@redhat.com>
1541         * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Remove dejagnu.
1542         (RUNTESTDEFAULTFLAGS, EXPECT, check_DEJAGNU_normal_targets): New
1543         variables.
1544         (%/site.exp, check-DEJAGNU%): New targets.
1545         (check-am): Run $(MAKE) check-DEJAGNU.
1546         * testsuite/Makefile.in: Regenerated.
1548 2008-10-23  Chris Fairles  <cfairles@gcc.gnu.org>
1550         * config/os/generic/error_constants.h (errc): Use long type.
1551         * config/os/mingw32/error_constants.h (errc): Likewise.
1553 2008-10-22  Chris Fairles  <cfairles@gcc.gnu.org>
1555         * include/std/system_error (is_error_code_enum): Specialize for errc.
1556         (error_category::error_category): Defaulted and protected.
1557         (error_category::~error_category): New, virtual.
1558         (error_category::error_category(const error_category&),
1559         error_category::operator=(const error_category&)): Deleted.
1560         (get_system_category, get_posix_category): Remove (DR 890).
1561         (system_category): External linkage (DR 890).
1562         (posix_category): Remove.
1563         (generic_category): Add. External linkage (DR 890).
1564         (error_code::error_code<>(_ErrorCodeEnum)): Use generic_category.
1565         (error_code::clear, error_code::operator=<>(_ErrorCodeEnum)): Forward to
1566         error_code::assign, use generic_category.
1567         (error_condition::error_condition,
1568         error_condition::error_condition<>(_ErrorConditionEnum)): Use
1569         generic_category.
1570         (error_condition::clear,
1571         error_condition::operator=<>(_ErrorConditionEnum)): Forward to
1572         error_code::assign, use generic_category.
1573         (make_error_code, make_error_condition): Define in namespace std.
1574         * include/std/mutex (unique_lock<>::lock, unique_lock<>::try_lock,
1575         unique_lock<>::try_lock_until<>(duration),
1576         unique_lock<>::try_lock_for<>(duration)): Replace posix_error with errc.
1577         * src/system_error.cc (system_error_category, generic_error_category):
1578         New.
1579         (gnu_error_category): Remove.
1580         (get_system_category, get_posix_category): Remove (DR 890).
1581         (system_category, generic_category): Define.
1582         * src/functexcept.cc (__throw_system_error): Use generic_category.
1583         * config/abi/pre/gnu.ver: Export system_category and generic_category,
1584         remove get_system_category and get_generic_category (DR 890).
1585         * config/os/generic/error_constants.h (posix_errno): Rename to errc, use
1586         enum class type. Fix spelling.
1587         * config/os/mingw32/error_constants.h (posix_errno): Likewise.
1588         * testsuite/19_diagnostics/error_code/cons/1.cc: Use errc and
1589         generic_category.
1590         * testsuite/19_diagnostics/error_code/operators/bool.cc: Use errc.
1591         * testsuite/19_diagnostics/error_code/operators/equal.cc: Likewise.
1592         * testsuite/19_diagnostics/error_code/operators/not_equal.cc: Likewise.
1593         * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Update
1594         dg-error line numbers.
1595         * testsuite/19_diagnostics/error_condition/cons/1.cc: Use
1596         generic_category.
1597         * testsuite/19_diagnostics/error_condition/operators/bool.cc: Use errc.
1598         * testsuite/19_diagnostics/error_condition/operators/equal.cc: Likewise.
1599         * testsuite/19_diagnostics/error_condition/operators/not_equal.cc:
1600         Likewise.
1601         * testsuite/19_diagnostics/headers/system_error/errc_std_c++0x.cc: New.
1602         * testsuite/19_diagnostics/headers/system_error/types_std_c++0x.cc:
1603         Remove using tests since errc is not a namespace.
1604         * testsuite/19_diagnostics/system_error/cons-1.cc: Use errc.
1605         * testsuite/19_diagnostics/system_error/what-4.cc: Likewise.
1606         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/error_code.cc:
1607         Likewise.
1608         * testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc:
1609         Likewise.
1610         * testsuite/30_threads/unique_lock/locking/2.cc: Likewise.
1612 2008-10-20  Paolo Carlini  <paolo.carlini@oracle.com>
1614         * include/tr1_impl/hashtable_policy.h (_Hash_node<>::_Hash_node<>
1615         (_Args&&...)): Add in C++0x mode.
1616         * include/tr1_impl/hashtable (_Hashtable<>::_M_allocate_node,
1617         _Hashtable<>::_M_deallocate_node): Use _M_get_Node_allocator in
1618         C++0x mode.
1620         * include/tr1_impl/hashtable (_Hashtable<>::max_size): Use
1621         Node_allocator for improved accuracy.
1622         * testsuite/tr1/6_containers/unordered_multimap/capacity/
1623         29134-multimap.cc: Adjust.
1624         * testsuite/tr1/6_containers/unordered_multimap/capacity/
1625         29134-map.cc: Likewise.
1626         * testsuite/tr1/6_containers/unordered_multimap/capacity/
1627         29134-multiset.cc: Adjust.
1628         * testsuite/tr1/6_containers/unordered_multimap/capacity/
1629         29134-set.cc: Likewise.
1631 2008-10-19  Paolo Carlini  <paolo.carlini@oracle.com>
1633         * include/bits/stl_tree.h (_Rb_tree_node<>::_Rb_tree_node<>
1634         (_Args&&...)): Add in C++0x mode.
1635         (_Rb_tree<>::_M_create_node<>(_Args&&...)): Add in C++0x mode,
1636         use _M_get_Node_allocator.
1637         (_Rb_tree<>::_M_destroy_node(_Link_type): Use _M_get_Node_allocator
1638         in C++0x mode.
1639         * testsuite/23_containers/set/operators/1_neg.cc: Adjust dg-error
1640         line numbers.
1641         * testsuite/23_containers/map/operators/1_neg.cc: Likewise.
1643 2008-10-18  Douglas Gregor  <doug.gregor@gmail.com>
1645         * include/bits/stl_pair.h (__may_be_null_pointer_init): New.
1646         (pair::pair): Eliminate the redundant pair(U1&&, U2&&) constructor.
1647         Add lvalue pair<U1, U2> constructor to handle non-const pair lvalues.
1648         Remove the old variadic constructor, and instead provide several
1649         variadic constructors that avoid failing when attempting to
1650         initialize a pointer from a null pointer constant.
1651         * testsuite/20_util/pair/moveable.cc (test3): Add new tests with
1652         initialization of pointers from the null pointer constant.
1654 2008-10-17  Paolo Carlini  <paolo.carlini@oracle.com>
1656         * include/bits/forward_list.tcc (forward_list<>::
1657         _M_initialize_dispatch(_InputIterator, _InputIterator, __false_type)):
1658         Simplify.
1660 2008-10-17  Paolo Carlini  <paolo.carlini@oracle.com>
1662         * include/bits/forward_list.h (forward_list<>::
1663         forward_list(size_type)): Tweak, use _Base default constructor.
1665 2008-10-17  Paolo Carlini  <paolo.carlini@oracle.com>
1667         * include/bits/forward_list.h (forward_list<>::insert_after): Minor
1668         cosmetic changes.
1670 2008-10-16  Edward Smith-Rowland  <3dw4rd@verizon.net>
1672         * include/bits/forward_list.h: Factor list construction to dispatch
1673         routines.
1674         * include/bits/forward_list.tcc: Likewise.
1675         * testsuite/23_containers/forward_list/modifiers/2.cc:
1677 2008-10-16  Paolo Carlini  <paolo.carlini@oracle.com>
1679         * include/bits/forward_list.tcc (operator==): Use auto.
1681 2008-10-16  Paolo Carlini  <paolo.carlini@oracle.com>
1683         * include/bits/forward_list.h (_Fwd_list_base<>::_M_insert_after):
1684         Move out of line, tweak to return _Fwd_list_node_base*.
1685         (forward_list<>::insert_after(const_iterator, const _Tp&),
1686         forward_list<>::insert_after(const_iterator, _Tp&&)): Use it.
1687         * include/bits/forward_list.tcc (_Fwd_list_base<>::_M_insert_after):
1688         Define.
1690         * include/bits/forward_list.h (forward_list<>): Consistently qualify
1691         calls of base class functions with this->.
1692         * include/bits/forward_list.tcc (forward_list<>): Likewise.
1694         * include/bits/forward_list.h: Move some functions out of line...
1695         * include/bits/forward_list.tcc: ... here.
1697         * include/bits/forward_list.h (forward_list<>::resize(size_type)): Fix.
1699 2008-10-15  Paolo Carlini  <paolo.carlini@oracle.com>
1701         * include/bits/forward_list.h: Remove pointless const qualifiers in
1702         const_casts.
1703         * include/bits/forward_list.tcc: Likewise.
1705         * include/bits/forward_list.h (forward_list<>::pointer,
1706         const_pointer, reference, const_reference): Fix, use _Tp_alloc_type.
1707         * testsuite/23_containers/forward_list/requirements/
1708         explicit_instantiation/1.cc: New.
1709         * testsuite/23_containers/forward_list/requirements/
1710         explicit_instantiation/1.cc: Likewise.
1712 2008-10-15  Paolo Carlini  <paolo.carlini@oracle.com>
1714         * include/bits/forward_list.h (forward_list<>::max_size): Use
1715         Node_allocator; minor cosmetic changes.
1716         * testsuite/23_containers/forward_list/capacity/1.cc: Adjust.
1718 2008-10-15  Edward Smith-Rowland  <3dw4rd@verizon.net>
1720         * include/std/forward_list: New.
1721         * include/bits/forward_list.h: Likewise.
1722         * include/bits/forward_list.tcc: Likewise.
1723         * include/precompiled/stdc++.h: Modified to include forward_list.
1724         * include/Makefile.am: Add forward_list, forward_list.h, and
1725         forward_list.tcc.
1726         * include/Makefile.in: Regenerate.
1727         * testsuite/23_containers/forward_list/modifiers/1.cc: New.
1728         * testsuite/23_containers/forward_list/modifiers/2.cc: Likewise.
1729         * testsuite/23_containers/forward_list/modifiers/3.cc: Likewise.
1730         * testsuite/23_containers/forward_list/modifiers/4.cc: Likewise.
1731         * testsuite/23_containers/forward_list/modifiers/5.cc: Likewise.
1732         * testsuite/23_containers/forward_list/cons/1.cc: Likewise.
1733         * testsuite/23_containers/forward_list/cons/2.cc: Likewise.
1734         * testsuite/23_containers/forward_list/cons/3.cc: Likewise.
1735         * testsuite/23_containers/forward_list/cons/4.cc: Likewise.
1736         * testsuite/23_containers/forward_list/cons/5.cc: Likewise.
1737         * testsuite/23_containers/forward_list/cons/6.cc: Likewise.
1738         * testsuite/23_containers/forward_list/cons/7.cc: Likewise.
1739         * testsuite/23_containers/forward_list/cons/8.cc: Likewise.
1740         * testsuite/23_containers/forward_list/cons/9.cc: Likewise.
1741         * testsuite/23_containers/forward_list/requirements/1.cc: Likewise.
1742         * testsuite/23_containers/forward_list/operations/1.cc: Likewise.
1743         * testsuite/23_containers/forward_list/operations/2.cc: Likewise.
1744         * testsuite/23_containers/forward_list/operations/3.cc: Likewise.
1745         * testsuite/23_containers/forward_list/operations/4.cc: Likewise.
1746         * testsuite/23_containers/forward_list/operations/5.cc: Likewise.
1747         * testsuite/23_containers/forward_list/operations/6.cc: Likewise.
1748         * testsuite/23_containers/forward_list/operations/7.cc: Likewise.
1749         * testsuite/23_containers/forward_list/capacity/1.cc: Likewise.
1750         * testsuite/23_containers/forward_list/comparable.cc: Likewise.
1751         * testsuite/23_containers/forward_list/moveable.cc: Likewise.
1752         * testsuite/23_containers/headers/forward_list/synopsis.cc: Likewise.
1753         * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Update.
1754         * testsuite/17_intro/headers/c++200x/all: Likewise.
1756 2008-10-14  Paolo Carlini  <paolo.carlini@oracle.com>
1758         * include/bits/stl_list.h (_List_node<>::_List_node<>(_Args&&...)):
1759         Add in C++0x mode.
1760         (list<>::_M_create_node<>(_Args&&...)): Use _M_get_Node_allocator.
1761         (list<>::_M_erase(iterator): Likewise, in C++0x mode.
1762         * include/bits/list.tcc (_List_base<>::_M_clear): Likewise.
1763         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
1764         Adjust dg-error line number.
1765         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
1766         Likewise.
1767         * testsuite/23_containers/list/requirements/dr438/
1768         constructor_1_neg.cc: Likewise.
1769         * testsuite/23_containers/list/requirements/dr438/
1770         constructor_2_neg.cc: Likewise.
1772 2008-10-14  Paolo Carlini  <paolo.carlini@oracle.com>
1774         * include/bits/stl_tree.h (_Rb_tree<>::max_size): Use Node_allocator
1775         for improved accuracy.
1776         * include/bits/stl_list.h (list<>::max_size): Likewise.
1777         * testsuite/23_containers/multimap/capacity/29134.cc: Adjust.
1778         * testsuite/23_containers/set/capacity/29134.cc: Likewise.
1779         * testsuite/23_containers/multiset/capacity/29134.cc: Likewise.
1780         * testsuite/23_containers/list/capacity/29134.cc: Likewise.
1781         * testsuite/23_containers/map/capacity/29134.cc: Likewise.
1783 2008-10-10  Paolo Carlini  <paolo.carlini@oracle.com>
1785         * testsuite/20_util/reference_wrapper/24803.cc: Avoid uninitialized
1786         warnings.
1788 2008-10-10  Paolo Carlini  <paolo.carlini@oracle.com>
1790         * include/std/system_error (native_category): Remove.
1791         (posix_category): Add.
1792         (error_code::error_code(_ErrorCodeEnum, typename enable_if<>:type*):
1793         Fix _M_cat initialization.
1794         (error_code::operator=(_ErrorCodeEnum)): Assign _M_cat too.
1795         (error_condition::_M_cat, error_condtion::operator=
1796         (_ErrorConditionEnum)): Implement resolution of DR 804.
1797         (error_condition::error_condition(_ErrorConditionEnum, typename
1798         enable_if<>:type*): Fix.
1799         (error_condition::clear, error_condition::assign): Implement.
1800         (operator==, operator!=): Fix uglification of parameters.
1801         (make_error_code, make_error_condition): Define in namespace
1802         posix_error.
1803         (operator<<(basic_ostream<>&, const error_code&)): Define here.
1804         * include/std/ostream (operator<<(basic_ostream<>&,
1805         const error_code&)): Do not define here.
1806         * testsuite/19_diagnostics/error_condition/cons/1.cc: New.
1807         * testsuite/19_diagnostics/error_condition/operators/bool.cc: Likewise.
1808         * testsuite/19_diagnostics/error_condition/operators/bool_neg.cc:
1809         Likewise.
1810         * testsuite/19_diagnostics/error_condition/operators/equal.cc:
1811         Likewise.
1812         * testsuite/19_diagnostics/error_condition/operators/not_equal.cc:
1813         Likewise.
1814         * testsuite/19_diagnostics/error_code/cons/1.cc: Tweak.
1815         * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Adjust
1816         dg-error line numbers.
1817         * testsuite/30_threads/unique_lock/locking/2.cc: Tweak.
1819         * testsuite/util/testsuite_error.h: Minor tweaks.
1820         * testsuite/util/testsuite_hooks.cc: Avoid uninitialized warning.
1822 2008-10-10  Chris Fairles  <cfairles@gcc.gnu.org>
1824         * testsuite/20_util/duration/cons/1.cc: Remove invalid check of
1825         uninitialized duration.
1827 2008-10-08  Bob Walters  <bob.s.walters@gmail.com>
1829         * include/bits/stl_vector.h (_Vector_base<>::_Vector_impl::_M_start,
1830         _M_finish, _M_end_of_storage, _Vector_base<>::_M_allocate,
1831         _M_deallocate): Use _Tp_alloc_type::pointer.
1833 2008-10-07  Jason Merrill  <jason@redhat.com>
1835         PR libstdc++/37761
1836         * testsuite/abi/demangle/abi_examples/20.cc: Adjust expected spacing.
1837         * testsuite/abi/demangle/abi_text/02.cc: Likewise.
1838         * testsuite/abi/demangle/regression/cw-16.cc: Likewise.
1840 2008-10-07  Paolo Carlini  <paolo.carlini@oracle.com>
1842         * include/bits/stl_iterator.h (operator-(const reverse_iterator<>&,
1843         const reverse_iterator<>&), operator-(const __normal_iterator<>&,
1844         const __normal_iterator<>&), operator-(const move_iterator<>&,
1845         const move_iterator<>&)): Use the auto -> return type syntax,
1846         implement DR 685.
1848 2008-10-06  Jason Merrill  <jason@redhat.com>
1850         * config/abi/pre/gnu.ver: Update char16/32_t manglings.
1852 2008-10-05  Paolo Carlini  <paolo.carlini@oracle.com>
1854         * testsuite/20_util/reference_wrapper/invoke.cc: New.
1855         * testsuite/20_util/reference_wrapper/24803.cc: Likewise.
1856         * testsuite/20_util/reference_wrapper/typedefs.cc: Likewise.
1858 2008-10-01  Andrew Pinski  <andrew_pinski@playstation.sony.com>
1860         * config/locale/generic/c_locale.cc (__convert_to_v): Fix
1861         !__FLT_HAS_INFINITY__ case.
1863 2008-09-30  Chris Fairles  <cfairles@gcc.gnu.org>
1865         * include/std/tuple (tuple<>::swap): Implement swap for tuple as per
1866         DR 522 [Ready].
1867         * testsuite/20_util/tuple/swap.cc: New.
1869 2008-09-30  Paolo Carlini  <paolo.carlini@oracle.com>
1871         PR libstdc++/30085 (again)
1872         * include/debug/unordered_map (unordered_map<>, unordered_multimap<>):
1873         Do not derive from _Safe_association, derive from _GLIBCXX_STD_D::
1874         unordered_map / unordered_multimap; add missing member functions.
1875         * include/debug/unordered_set (unordered_set<>, unordered_multiset<>):
1876         Likewise for _GLIBCXX_STD_D::unordered_set / unordered_multiset.
1877         * include/debug/safe_association.h: Remove.
1878         * include/Makefile.am: Adjust.
1879         * include/Makefile.in: Regenerate.
1880         * testsuite/23_containers/unordered_multimap/init-list.cc: Remove
1881         xfail.
1883 2008-09-28  Paolo Carlini  <paolo.carlini@oracle.com>
1885         * include/bits/unique_ptr.h (unique_ptr<_Tp[]>::template<typename U>
1886         void reset(U)): Add as deleted function, per DR 821 [Ready].
1887         * include/bits/unique_ptr.h: Prefer everywhere deleted to private
1888         member function declarations; minor formatting tweaks.
1889         * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: New.
1890         * testsuite/20_util/unique_ptr/assign/assign.cc: Adjust DejaGNU
1891         directives.
1893 2008-09-28  Chris Fairles  <cfairles@gcc.gnu.org>
1895         * include/std/mutex (try_lock): Implement generic try_lock.
1896         * testsuite/30_threads/try_lock/1.cc: New.
1897         * testsuite/30_threads/try_lock/2.cc: Likewise.
1898         * testsuite/30_threads/try_lock/3.cc: Likewise.
1899         * testsuite/30_threads/mutex/cons/assign_neg.cc: Adjust line numbers.
1900         * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise.
1901         * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Likewise.
1902         * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Likewise.
1903         * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
1904         * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
1905         * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc:
1906         Likewise.
1907         * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc: Likewise.
1909 2008-09-26  Peter O'Gorman  <pogma@thewrittenword.com>
1910             Steve Ellcey  <sje@cup.hp.com>
1912         * configure: Regenerate for new libtool.
1913         * aclocal.m4: Ditto.
1914         * Makefile.in: Ditto.
1915         * src/Makefile.in: Ditto.
1916         * doc/Makefile.in: Ditto.
1917         * po/Makefile.in: Ditto.
1918         * libmath/Makefile.in: Ditto.
1919         * include/Makefile.in: Ditto.
1920         * libsupc++/Makefile.in: Ditto.
1921         * testsuite/Makefile.in: Ditto.
1923 2008-09-24  Paolo Carlini  <paolo.carlini@oracle.com>
1925         * include/std/bitset: Adjust comment to reflect DR 853.
1926         * include/debug/bitset: Likewise.
1927         * doc/xml/manual/intro.xml: Add an entry for DR 853.
1929 2008-09-23  Paolo Carlini  <paolo.carlini@oracle.com>
1931         Implement DR 396 [Ready].
1932         * include/std/bitset (bitset<>::bitset(const std::basic_string<>&,
1933         size_t, size_t, _CharT, _CharT), bitset<>::bitset(const char*,
1934         char, char), bitset<>::to_string(_CharT, _CharT),
1935         bitset<>::_M_copy_from_string(const std::basic_string<>&, size_t,
1936         size_t, _CharT, _CharT), bitset<>::_M_copy_to_string
1937         (std::basic_string<>&, _CharT, _CharT), bitset<>::_M_copy_from_ptr(
1938         const _CharT*, size_t, size_t, size_t, _CharT, _CharT)): Add.
1939         (operator>>(std::basic_istream<>&, bitset<_Nb>&), operator<<(
1940         std::basic_ostream<>&, const bitset<_Nb>&)): Adjust.
1941         * include/debug/bitset (bitset<>::bitset(const std::basic_string<>&,
1942         size_t, size_t, _CharT, _CharT), bitset<>::bitset(const char*,
1943         char, char), bitset<>::to_string(_CharT, _CharT)): Add.
1944         * doc/xml/manual/intro.xml: Add an entry for DR 396.
1945         * testsuite/23_containers/bitset/cons/dr396.cc: Add.
1946         * testsuite/23_containers/bitset/to_string/dr396.cc: Likewise.
1948 2008-09-23  Chris Fairles  <cfairles@gcc.gnu.org>
1950         * testsuite/25_algorithms/min/37547.cc: Return void to avoid warnings.
1951         * testsuite/25_algorithms/max/37547.cc: Likewise.
1952         * testsuite/25_algorithms/minmax/37547.cc: Likewise.
1954 2008-09-23  Chris Fairles  <cfairles@gcc.gnu.org>
1956         * include/std/chrono: If _GLIBCXX_USE_MONOTONIC_CLOCK is defined, don't
1957         typedef monotonic_clock to system_clock and instead declare new class.
1958         * src/chrono.cc: Conditionally define monotonic_clock::now().
1959         * include/std/condition_variable (wait_until): Throw exception if
1960         __gthread_cond_timedwait returns with error other than timed_out. Use
1961         system_clock as known clock type (__clock_t) and add overloads for known
1962         and unknown clocks. In the unknown case, sync to the known clock.
1963         Implement overload taking a predicate.
1964         (wait_for): Implement overload taking a predicate.
1965         * config/abi/pre/gnu.ver: Add exports for monotonic_clock.
1966         * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc: Modify
1967         line numbers.
1968         * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
1969         Likewise.
1970         * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Likewise.
1971         * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Likewise.
1972         * testsuite/30_threads/condition_variable/member/1.cc: New.
1973         * testsuite/30_threads/condition_variable/member/2.cc: Likewise.
1975 2008-09-23  Paolo Carlini  <paolo.carlini@oracle.com>
1977         PR libstdc++/37624
1978         * testsuite/22_locale/num_get/get/char/10.cc: Skip long double case
1979         when strtold is not available.
1980         * testsuite/22_locale/num_get/get/wchar_t/10.cc: Likewise.
1982 2008-09-23  Benjamin Kosnik  <bkoz@redhat.com>
1984         PR libstdc++/37391 continued.
1985         * doc/html/ext/pb_ds/assoc_examples.html: Don't use base tag,
1986         specify full path for source file links.
1987         * doc/html/ext/pb_ds/pq_examples.html: Same.
1989 2008-09-23  Paolo Carlini  <paolo.carlini@oracle.com>
1991         * include/bits/locale_facets.tcc (__pad<>::_S_pad): Don't use const
1992         by value parameters.
1993         * include/bits/locale_facets.h (__pad<>::_S_pad): Likewise.
1995 2008-09-22  Paolo Carlini  <paolo.carlini@oracle.com>
1997         PR libstdc++/32422, DR 23 [Ready in R60]
1998         * config/locale/gnu/c_locale.cc (__convert_to_v(const char*, float&,
1999         ios_base::iostate&, const __c_locale&), __convert_to_v(const char*,
2000         double&, ios_base::iostate&, const __c_locale&), __convert_to_v(const
2001         char*, long double&, ios_base::iostate&, const __c_locale&)): Implement
2002         DR 23 and deal correctly with broken exponents.
2003         * config/locale/generic/c_locale.cc (__convert_to_v(const char*,
2004         float&, ios_base::iostate&, const __c_locale&), __convert_to_v(const
2005         char*, double&, ios_base::iostate&, const __c_locale&),
2006         __convert_to_v(const char*, long double&, ios_base::iostate&, const
2007         __c_locale&)): Likewise.
2008         * include/bits/locale_facets.tcc (num_get<>::_M_extract_int(_InIter,
2009         _InIter, ios_base&, ios_base::iostate&, _ValueT&)): Likewise.
2010         (num_get<>::_M_extract_float(_InIter, _InIter, ios_base&,
2011         ios_base::iostate&, string&): Change grouping check to set instead of
2012         OR failbit; do not check for eofbit here...
2013         (num_get<>::do_get(iter_type, iter_type, ios_base&,
2014         ios_base::iostate&, float&), num_get<>::do_get(iter_type, iter_type,
2015         ios_base&, ios_base::iostate&, double&), num_get<>::do_get(iter_type,
2016         iter_type, ios_base&, ios_base::iostate&, long double&),
2017         num_get<>::__do_get(iter_type, iter_type, ios_base&,
2018         ios_base::iostate&, double&)): ... do it here instead.
2019         (num_get<>::do_get(iter_type, iter_type, ios_base&,
2020         ios_base::iostate&, bool&)): Implement DR 23.
2021         (num_get<>::do_get(iter_type, iter_type, ios_base&,
2022         ios_base::iostate&, void*&)): Adjust.
2023         * doc/xml/manual/intro.xml: Add and entry for DR 23.
2024         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/10.cc:
2025         Adjust.
2026         * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc:
2027         Likewise.
2028         * testsuite/22_locale/num_get/get/wchar_t/22131.cc: Likewise.
2029         * testsuite/22_locale/num_get/get/wchar_t/10.cc: Likewise.
2030         * testsuite/22_locale/num_get/get/wchar_t/12.cc: Likewise.
2031         * testsuite/22_locale/num_get/get/wchar_t/15.cc: Likewise.
2032         * testsuite/22_locale/num_get/get/wchar_t/16.cc: Likewise.
2033         * testsuite/22_locale/num_get/get/char/22131.cc: Likewise.
2034         * testsuite/22_locale/num_get/get/char/10.cc: Likewise.
2035         * testsuite/22_locale/num_get/get/char/12.cc: Likewise.
2036         * testsuite/22_locale/num_get/get/char/15.cc: Likewise.
2037         * testsuite/22_locale/num_get/get/char/16.cc: Likewise.
2039 2008-09-22  Benjamin Kosnik  <bkoz@redhat.com>
2041         PR libstdc++/37391
2042         * doc/html/ext/pb_ds/*.html: Fix external links.
2044 2008-09-22  Benjamin Kosnik  <bkoz@redhat.com>
2046         * doc/doxygen/user.cfg.in: Define _GLIBCXX_HAS_GTHREADS for mutex,
2047         condition_variable, and thread output.
2049 2008-09-22  Paolo Carlini  <paolo.carlini@oracle.com>
2051         * doc/html/ext/lwg-closed.html: Update to Revision R59.
2052         * doc/html/ext/lwg-active.html: Likewise.
2053         * doc/html/ext/lwg-defects.html: Likewise.
2054         * doc/xml/manual/intro.xml: Adjust.
2056 2008-09-21  Paolo Carlini  <paolo.carlini@oracle.com>
2058         * include/bits/stl_algo.h (minmax(initializer_list<>): Use make_pair,
2059         consistently with the other overload for initializer_list.
2061 2008-09-19  Johannes Singler  <singler@ira.uka.de>
2063         PR libstdc++/37470
2064         * include/parallel/base.h: Rename log2 to __log2.
2065           (__log2) Avoid infinite loop for n <= 0, return 0.
2066         * include/parallel/losertree.h: Rename log2 to __log2.
2067         * include/parallel/multiseq_selection.h: Likewise.
2068         * include/parallel/random_shuffle.h: Likewise.
2070 2008-09-18  Paolo Carlini  <paolo.carlini@oracle.com>
2072         * include/bits/shared_ptr.h (__shared_count<>::
2073         __shared_count(_Ptr, _Deleter), __shared_count<>::
2074         __shared_count(_Ptr, _Deleter, _Alloc), __shared_count<>::
2075         __shared_count(_Sp_make_shared_tag, _Tp*, _Alloc, _Args&&...)):
2076         Qualify new with ::.
2078 2008-09-17  Paolo Carlini  <paolo.carlini@oracle.com>
2080         PR libstdc++/37547
2081         * include/bits/stl_algo.h (min(initializer_list<>),
2082         min(initializer_list<>, Compare), max(initializer_list<>),
2083         max(initializer_list<>, Compare), minmax(initializer_list<>),
2084         minmax(initializer_list<>, Compare)): Fix return type.
2085         * include/bits/algorithmfwd.h: Adjust.
2086         * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
2087         * testsuite/25_algorithms/max/requirements/explicit_instantiation/3.cc:
2088         Likewise.
2089         * testsuite/25_algorithms/max/requirements/explicit_instantiation/
2090         pod2.cc: Likewise.
2091         * testsuite/25_algorithms/min/requirements/explicit_instantiation/3.cc:
2092         Likewise.
2093         * testsuite/25_algorithms/min/requirements/explicit_instantiation/
2094         pod2.cc: Likewise.
2095         * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
2096         3.cc: Likewise.
2097         * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
2098         pod2.cc: Likewise.
2099         * testsuite/25_algorithms/max/37547.cc: New.
2100         * testsuite/25_algorithms/min/37547.cc: Likewise.
2101         * testsuite/25_algorithms/minmax/37547.cc: Likewise.
2103 2008-09-16  Chris Fairles  <chris.fairles@gmail.com>
2105         * testsuite/25_algorithms/min/requirements/explicit_instantiation/3.cc:
2106         New.
2107         * testsuite/25_algorithms/min/requirements/explicit_instantiation/
2108         pod2.cc: Likewise.
2109         * testsuite/25_algorithms/min/3.cc: Likewise.
2110         * testsuite/25_algorithms/min/4.cc: Likewise.
2111         * testsuite/25_algorithms/max/requirements/explicit_instantiation/3.cc:
2112         Likewise.
2113         * testsuite/25_algorithms/max/requirements/explicit_instantiation/
2114         pod2.cc: Likewise.
2115         * testsuite/25_algorithms/max/3.cc: Likewise.
2116         * testsuite/25_algorithms/max/4.cc: Likewise.
2117         * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
2118         3.cc: Likewise.
2119         * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
2120         pod2.cc: Likewise.
2121         * testsuite/25_algorithms/minmax/2.cc: Likewise.
2122         * testsuite/25_algorithms/minmax/3.cc: Likewise.
2124 2008-09-16  Paolo Carlini  <paolo.carlini@oracle.com>
2126         * include/bits/stl_algo.h (min(initializer_list<>),
2127         min(initializer_list<>, Compare), max(initializer_list<>),
2128         max(initializer_list<>, Compare), minmax(initializer_list<>),
2129         minmax(initializer_list<>, Compare)): Add in C++0x mode.
2130         * include/bits/algorithmfwd.h: Add.
2131         * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
2133 2008-09-13  Chris Fairles  <chris.fairles@gmail.com>
2135         * testsuite/30_threads/thread/algorithm/1.cc: Join thread before
2136         program exits.
2137         * testsuite/30_threads/thread/algorithm/2.cc: Likewise.
2138         * testsuite/30_threads/thread/this_thread/3.cc: Define test variable.
2139         * testsuite/30_threads/thread/this_thread/4.cc: Likewise.
2141 2008-09-12  Chris Fairles  <chris.fairles@gmail.com>
2142             Benjamin Kosnik  <bkoz@redhat.com>
2144         * include/std/thread: New.
2145         * include/Makefile.am: Update.
2146         * include/Makefile.in: Regenerate.
2147         * src/thread.cc: New.
2148         * src/Makefile.am: Update.
2149         * src/Makefile.in: Regenerate.
2150         * acinclude.m4: Add check for nanosleep.
2151         * configure.ac: Call it.
2152         * configure: Regenerate.
2153         * config.h.in: Likewise.
2154         * config/abi/pre/gnu.ver: Add exports.
2155         * doc/doxygen/user.cfg.in: Add thread header.
2156         * testsuite/lib/libstdc++.exp (check_v3_target_nanosleep): Add.
2157         * testsuite/lib/dg-options.exp (dg-require-nanosleep): Add.
2158         * testsuite/30_threads/thread/cons/1.cc: New.
2159         * testsuite/30_threads/thread/cons/2.cc: Likewise.
2160         * testsuite/30_threads/thread/cons/3.cc: Likewise.
2161         * testsuite/30_threads/thread/cons/4.cc: Likewise.
2162         * testsuite/30_threads/thread/algorithm/1.cc: Likewise.
2163         * testsuite/30_threads/thread/algorithm/2.cc: Likewise.
2164         * testsuite/30_threads/thread/member/1.cc: Likewise.
2165         * testsuite/30_threads/thread/member/2.cc: Likewise.
2166         * testsuite/30_threads/thread/member/3.cc: Likewise.
2167         * testsuite/30_threads/thread/this_thread/1.cc: Likewise.
2168         * testsuite/30_threads/thread/this_thread/2.cc: Likewise.
2169         * testsuite/30_threads/thread/this_thread/3.cc: Likewise.
2170         * testsuite/30_threads/thread/this_thread/4.cc: Likewise.
2171         * testsuite/30_threads/headers/thread/types_std_c++0x.cc: Likewise.
2172         * testsuite/30_threads/headers/thread/std_c++0x_neg.cc: Likewise.
2173         * testsuite/17_intro/headers/c++200x/all.cc: Add thread.
2174         * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc:
2175         Add thread, condition_variable and mutex.
2177 2008-09-10  Paolo Carlini  <paolo.carlini@oracle.com>
2179         * src/ctype.cc (use_facet<ctype<char> >, use_facet<ctype<wchar_t>):
2180         Remove specializations.
2181         * src/locale-inst.cc (use_facet<ctype<C> >): Instantiate.
2182         * include/bits/locale_facets.tcc (use_facet<ctype<char> >,
2183         use_facet<ctype<wchar_t>): Declare as extern template.
2184         * include/bits/locale_facets.h (use_facet<ctype<char> >,
2185         use_facet<ctype<wchar_t>): Do not declare as specializations.
2187 2008-09-10  Paolo Carlini  <paolo.carlini@oracle.com>
2189         * config/locale/darwin/ctype_members.cc (ctype<char>::_M_narrow_init,
2190         ctype<char>::_M_widen_init): Don't define here.
2191         * config/locale/gnu/ctype_members.cc: Likewise.
2192         * config/locale/generic/ctype_members.cc: Likewise.
2193         * src/ctype.cc: Define here.
2195 2008-09-10  Paolo Carlini  <paolo.carlini@oracle.com>
2197         PR libstdc++/37455
2198         * include/bits/locale_facets.h (ctype<char>::_M_narrow_init,
2199         ctype<char>::_M_widen_init): Don't define inline.
2200         * config/locale/darwin/ctype_members.cc: ... define here.
2201         * config/locale/gnu/ctype_members.cc: ... likewise.
2202         * config/locale/generic/ctype_members.cc: ... likewise.
2203         * config/abi/pre/gnu.ver: Export.
2205 2008-09-09  Benjamin Kosnik  <bkoz@redhat.com>
2207         * doc/xml/manual/abi.xml: Update for new releases.
2208         * doc/doxygen/user.cfg.in: Include C compatibility headers.
2209         * doc/html/*: Regenerate.
2211 2008-09-09  Paolo Carlini  <paolo.carlini@oracle.com>
2213         * include/tr1_impl/cinttypes: Restore __STDC_FORMAT_MACROS after
2214         inclusion of <inttypes.h>.
2215         * include/tr1_impl/cstdint: Likewise for __STDC_LIMIT_MACROS and
2216         __STDC_CONSTANT_MACROS after <stdint.h>.
2217         * include/bits/postypes.h: Likewise.
2219 2008-09-09  Andreas Schwab  <schwab@suse.de>
2221         * acinclude.m4 (GLIBCXX_CHECK_STANDARD_LAYOUT): Fix compile check
2222         not to redefine main.
2224 2008-09-07  Paolo Carlini  <paolo.carlini@oracle.com>
2226         * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Check wcstoimax and
2227         wcstoumax, define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1.
2228         * include/tr1_impl/cinttypes: Use the latter.
2229         * testsuite/tr1/8_c_compatibility/cinttypes/functions.cc: Likewise.
2230         * configure: Regenerate.
2231         * config.h.in: Likewise.
2233 2008-09-05  Peter Dimov  <pdimov@mmltd.net>
2235         * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref_2.cc: New.
2237 2008-09-05  Paolo Carlini  <paolo.carlini@oracle.com>
2239         * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref.cc: Rename
2240         to...
2241         * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref_1.cc: ...
2242         this.
2244 2008-09-04  Jonathan Wakely  <jwakely.gcc@gmail.com>
2246         PR libstdc++/36962
2247         * include/Makefile.am: Update headers.
2248         * include/Makefile.in: Regenerate.
2249         * include/std/memory: Update headers.
2250         * include/tr1/memory: Likewise.
2251         * include/tr1_impl/boost_shared_ptr.h: Remove, splitting into
2252         separate implementations for std and tr1.
2253         * include/bits/boost_sp_shared_count.h: Remove.
2254         * include/tr1/boost_sp_shared_count.h: Remove.
2255         * include/bits/shared_ptr.h: New. Combines boost_sp_shared_count.h
2256         and boost_shared_ptr.h into one file.
2257         (__shared_count,__shared_ptr,shared_ptr,swap): Add unique_ptr
2258         and rvalue-reference support as per current WP.
2259         * include/tr1/shared_ptr.h: New. Combines boost_sp_shared_count.h
2260         and boost_shared_ptr.h into one file.
2261         * testsuite/20_util/shared_ptr/cons/unique_ptr.cc: New.
2262         * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter.cc: New.
2263         * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref.cc: New.
2264         * testsuite/20_util/shared_ptr/cons/unique_ptr_neg.cc: New.
2265         * testsuite/20_util/shared_ptr/assign/auto_ptr_rvalue.cc: New.
2266         * testsuite/20_util/shared_ptr/assign/unique_ptr_lvalue_neg.cc: New.
2267         * testsuite/20_util/shared_ptr/assign/unique_ptr_rvalue.cc: New.
2268         * testsuite/20_util/shared_ptr/modifiers/swap_rvalue.cc: New.
2269         * testsuite/20_util/shared_ptr/assign/auto_ptr_rvalue_neg.cc: Remove.
2271 2008-09-04  Jonathan Wakely  <jwakely.gcc@gmail.com>
2273         * doc/xml/manual/locale.xml: Fix typo.
2275 2008-09-04  Paolo Carlini  <paolo.carlini@oracle.com>
2277         * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Tidy checks in case of
2278         POSIX threads.
2279         * configure: Regenerate.
2281 2008-09-04  Chris Fairles  <chris.fairles@gmail.com>
2283         * include/std/mutex (once_flag): Construct __gthread_once_t in a
2284         temporary variable before assigning to _M_once to avoid initialization
2285         errors.
2287 2008-09-03  Paolo Carlini  <paolo.carlini@oracle.com>
2289         * config/abi/pre/gnu.ver: Also export __once_functor_lock; tighten
2290         GLIBCXX_3.4 exports (necessary in case of undef _GLIBCXX_HAVE_TLS).
2292         * Makefile.in: Regenerate.
2293         * src/Makefile.in: Likewise.
2294         * doc/Makefile.in: Likewise.
2295         * po/Makefile.in: Likewise.
2296         * libmath/Makefile.in: Likewise.
2297         * include/Makefile.in: Likewise.
2298         * libsupc++/Makefile.in: Likewise.
2299         * testsuite/Makefile.in: Likewise.
2301 2008-09-03  Paolo Carlini  <paolo.carlini@oracle.com>
2303         * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Fix typo in last commit,
2304         check _POSIX_TIMEOUTS, not _POSIX_TIMERS.
2305         * configure: Regenerate.
2307 2008-09-03  Paolo Carlini  <paolo.carlini@oracle.com>
2309         * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Check _POSIX_TIMERS too.
2310         * configure: Regenerate.
2312 2008-09-03  Chris Fairles  <chris.fairles@gmail.com>
2314         * include/std/condition_variable: Use new deleted ctors.
2315         * include/std/mutex: Likewise plus implement timed_mutex,
2316         recursive_timed_mutex and call_once.
2317         * src/condition_variable.cc: Implement wait(). Use gthread types.
2318         Remove _GTHREADS_HAS_COND checks in favor of global
2319         _GLIBCXX_HAS_GTHREADS.
2320         * src/mutex.cc (call_once): Implementation using TLS with mutex
2321         fallback.
2322         * config/abi/pre/gnu.ver: Add exported symbols.
2323         * testsuite/lib/libstdc++.exp (check_v3_target_gthreads): New.
2324         * testsuite/lib/dg-options.exp (dg-require-gthreads): Likewise.
2325         * testsuite/30_threads/lock_guard/requirements/typedefs.cc: Use
2326         dg-require-gthreads and dg-require-cstdint.
2327         * testsuite/30_threads/lock_guard/requirements/
2328         explicit_instantiation.cc: Likewise.
2329         * testsuite/30_threads/mutex/dest/destructor_locked.cc: Likewise.
2330         * testsuite/30_threads/mutex/native_handle/1.cc: Likewise.
2331         * testsuite/30_threads/mutex/cons/1.cc: Likewise.
2332         * testsuite/30_threads/mutex/requirements/typedefs.cc: Likewise.
2333         * testsuite/30_threads/mutex/try_lock/1.cc: Likewise.
2334         * testsuite/30_threads/mutex/try_lock/2.cc: Likewise.
2335         * testsuite/30_threads/mutex/lock/1.cc: Likewise.
2336         * testsuite/30_threads/mutex/unlock/1.cc: Likewise.
2337         * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc:
2338         Likewise.
2339         * testsuite/30_threads/recursive_mutex/native_handle/1.cc: Likewise.
2340         * testsuite/30_threads/recursive_mutex/cons/1.cc: Likewise.
2341         * testsuite/30_threads/recursive_mutex/requirements/typedefs.cc:
2342         Likewise.
2343         * testsuite/30_threads/recursive_mutex/try_lock/1.cc: Likewise.
2344         * testsuite/30_threads/recursive_mutex/try_lock/2.cc: Likewise.
2345         * testsuite/30_threads/recursive_mutex/lock/1.cc: Likewise.
2346         * testsuite/30_threads/recursive_mutex/unlock/1.cc: Likewise.
2347         * testsuite/30_threads/unique_lock/requirements/
2348         explicit_instantiation.cc: Likewise.
2349         * testsuite/30_threads/unique_lock/requirements/typedefs.cc: Likewise.
2350         * testsuite/30_threads/mutex/cons/assign_neg.cc: Also adjust dg-error
2351         lines for deleted members.
2352         * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise.
2353         * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
2354         * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
2355         * testsuite/30_threads/call_once/once_flag.cc: New.
2356         * testsuite/30_threads/call_once/call_once1.cc: Likewise.
2357         * testsuite/30_threads/condition_variable/cons/1.cc: Likewise.
2358         * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Likewise
2359         * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Likewise.
2360         * testsuite/30_threads/condition_variable_any/cons/1.cc: Likewise.
2361         * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
2362         Likewise.
2363         * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc:
2364         Likewise.
2365         * testsuite/30_threads/timed_mutex/dest/destructor_locked.cc: Likewise.
2366         * testsuite/30_threads/timed_mutex/native_handle/1.cc: Likewise.
2367         * testsuite/30_threads/timed_mutex/try_lock_until/1.cc: Likewise.
2368         * testsuite/30_threads/timed_mutex/try_lock_until/2.cc: Likewise.
2369         * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Likewise.
2370         * testsuite/30_threads/timed_mutex/cons/1.cc: Likewise.
2371         * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Likewise.
2372         * testsuite/30_threads/timed_mutex/requirements/typedefs.cc: Likewise.
2373         * testsuite/30_threads/timed_mutex/try_lock/1.cc: Likewise.
2374         * testsuite/30_threads/timed_mutex/try_lock/2.cc: Likewise.
2375         * testsuite/30_threads/timed_mutex/lock/1.cc: Likewise.
2376         * testsuite/30_threads/timed_mutex/unlock/1.cc: Likewise.
2377         * testsuite/30_threads/timed_mutex/try_lock_for/1.cc: Likewise.
2378         * testsuite/30_threads/timed_mutex/try_lock_for/2.cc: Likewise.
2379         * testsuite/30_threads/timed_mutex/try_lock_for/3.cc: Likewise.
2380         * testsuite/30_threads/recursive_timed_mutex/dest/destructor_locked.cc:
2381         Likewise.
2382         * testsuite/30_threads/recursive_timed_mutex/try_lock_until/1.cc:
2383         Likewise.
2384         * testsuite/30_threads/recursive_timed_mutex/try_lock_until/2.cc:
2385         Likewise.
2386         * testsuite/30_threads/recursive_timed_mutex/native_handle/1.cc:
2387         Likewise.
2388         * testsuite/30_threads/recursive_timed_mutex/cons: Likewise.
2389         * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc:
2390         Likewise.
2391         * testsuite/30_threads/recursive_timed_mutex/cons/1.cc: Likewise.
2392         * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc:
2393         Likewise.
2394         * testsuite/30_threads/recursive_timed_mutex/requirements/typedefs.cc:
2395         Likewise.
2396         * testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc: Likewise.
2397         * testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc: Likewise.
2398         * testsuite/30_threads/recursive_timed_mutex/lock/1.cc: Likewise.
2399         * testsuite/30_threads/recursive_timed_mutex/lock/2.cc: Likewise.
2400         * testsuite/30_threads/recursive_timed_mutex/unlock/1.cc: Likewise.
2401         * testsuite/30_threads/recursive_timed_mutex/try_lock_for/1.cc:
2402         Likewise.
2403         * testsuite/30_threads/recursive_timed_mutex/try_lock_for/2.cc:
2404         Likewise.
2405         * testsuite/30_threads/recursive_timed_mutex/try_lock_for/3.cc:
2406         Likewise.
2407         * testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise.
2408         * testsuite/30_threads/unique_lock/modifiers/2.cc: Likewise.
2409         * testsuite/30_threads/unique_lock/cons/1.cc: Likewise.
2410         * testsuite/30_threads/unique_lock/cons/2.cc: Likewise.
2411         * testsuite/30_threads/unique_lock/cons/3.cc: Likewise.
2412         * testsuite/30_threads/unique_lock/cons/4.cc: Likewise.
2413         * testsuite/30_threads/unique_lock/cons/5.cc: Likewise.
2414         * testsuite/30_threads/unique_lock/cons/6.cc: Likewise.
2415         * testsuite/30_threads/unique_lock/locking/1.cc: Likewise.
2416         * testsuite/30_threads/unique_lock/locking/2.cc: Likewise.
2417         * testsuite/30_threads/unique_lock/locking/3.cc: Likewise.
2418         * testsuite/30_threads/unique_lock/locking/4.cc: Likewise.
2420 2008-09-01  Mark Mitchell  <mark@codesourcery.com>
2422         * include/std/type_traits (__make_unsigned_selector<>): Consider
2423         enums of size smaller than short.
2424         (__make_signed_selector<>): Likewise.
2425         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
2426         Adjust line numbers.
2427         * testsuite/20_util/make_usigned/requirements/typedefs_neg.cc:
2428         Adjust line numbers.
2429         * testsuite/20_util/make_signed/requirements/typedefs-2.cc:
2430         Ensure test_enum is the same size as short.
2431         * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc:
2432         Ensure test_enum is the same size as short.
2434 2008-08-31  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
2436         * acinclude.m4 <enable_symvers>: Don't use symvers on Windows.
2437         * configure: Regenerated.
2438         * Makefile.in: Regenerated.
2439         * src/Makefile.in: Regenerated.
2440         * doc/Makefile.in: Regenerated.
2441         * po/Makefile.in: Regenerated.
2442         * libmath/Makefile.in: Regenerated.
2443         * include/Makefile.in: Regenerated.
2444         * libsupc++/Makefile.in: Regenerated.
2445         * testsuite/Makefile.in: Regenerated.
2447 2008-08-29  Mark Mitchell  <mark@codesourcery.com>
2449         * testsuite/25_algorithms/nth_element/2.cc: Constrain iterations
2450         when testing on a simultor.
2452 2008-08-28  Paolo Carlini  <paolo.carlini@oracle.com>
2454         * testsuite/tr1/6_containers/unordered_set/requirements/typedef.cc:
2455         Rename to .../typedefs.cc.
2456         * testsuite/tr1/6_containers/unordered_map/requirements/typedef.cc:
2457         Likewise.
2458         * testsuite/tr1/6_containers/unordered_multiset/requirements/
2459         typedef.cc: Likewise.
2460         * testsuite/tr1/6_containers/unordered_multimap/requirements/
2461         typedef.cc: Likewise.
2462         * testsuite/23_containers/unordered_set/requirements/typedef.cc:
2463         Likewise.
2464         * testsuite/23_containers/unordered_map/requirements/typedef.cc:
2465         Likewise.
2466         * testsuite/23_containers/unordered_multiset/requirements/typedef.cc:
2467         Likewise.
2468         * testsuite/23_containers/unordered_multimap/requirements/typedef.cc:
2469         Likewise.
2471 2008-08-28  Chris Fairles  <chris.fairles@gmail.com>
2473         * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): New. Checks for gthread
2474         support used by c++0x thread library.
2475         * configure.ac: Test unconditionally.
2476         * configure: Regenerate.
2477         * config.h.in: Regenerate.
2479 2008-08-27  Benjamin Kosnik  <bkoz@redhat.com>
2481         * doc/Makefile.am: Edit xml file list.
2482         * doc/Makefile.in: Regenerate.
2483         * configure: Regenerate.
2484         * doc/xml/manual/intro.xml: Edit, correct links, structure.
2485         * doc/xml/manual/configure.xml: Same.
2486         * doc/xml/manual/debug.xml: Same.
2487         * doc/xml/manual/test.xml: Same.
2488         * doc/xml/manual/build.xml: Remove.
2489         * doc/xml/manual/prerequisites.xml: Add.
2490         * doc/html/*: Regenerate.
2492 2008-08-27  Paolo Carlini  <paolo.carlini@oracle.com>
2494         * include/tr1_impl/hashtable (_Hashtable<>): Add missing pointer and
2495         const_pointer typedefs.
2496         * testsuite/tr1/6_containers/unordered_set/requirements/typedef.cc:
2497         Add.
2498         * testsuite/tr1/6_containers/unordered_map/requirements/typedef.cc:
2499         Likewise.
2500         * testsuite/tr1/6_containers/unordered_multiset/requirements/
2501         typedef.cc: Likewise.
2502         * testsuite/tr1/6_containers/unordered_multimap/requirements/
2503         typedef.cc: Likewise.
2504         * testsuite/23_containers/unordered_set/requirements/typedef.cc:
2505         Likewise.
2506         * testsuite/23_containers/unordered_map/requirements/typedef.cc:
2507         Likewise.
2508         * testsuite/23_containers/unordered_multiset/requirements/typedef.cc:
2509         Likewise.
2510         * testsuite/23_containers/unordered_multimap/requirements/typedef.cc:
2511         Likewise.
2513 2008-08-27  Paul Brook  <paul@codesourcery.com>
2515         * libsupc++/eh_call.cc (__cxa_call_unexpected): Fix name of
2516         __get_object_from_ambiguous_exception.
2518 2008-08-26  Ben Elliston  <bje@au.ibm.com>
2520         * src/mt_allocator.cc (__pool): Fix error in comment.
2522 2008-08-25  Paolo Carlini  <paolo.carlini@oracle.com>
2524         * linkage.m4 ([GLIBCXX_CHECK_BUILTIN_MATH_DECL_AND_LINKAGE_1],
2525         [GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT]): Remove
2526         * configure.ac: Do not call the latter.
2527         * crossconfig.m4: Likewise.
2528         * libmath/mathconf.h: Adjust.
2529         * configure: Regenerate.
2530         * config.h.in: Likewise.
2532 2008-08-24  Paolo Carlini  <paolo.carlini@oracle.com>
2534         * acinclude.m4 ([GLIBCXX_CHECK_RANDOM_TR1]): Simplify, just use
2535         two test -r instead of an AC_TRY_RUN.
2536         * configure: Regenerate.
2537         * config.h.in: Likewise.
2539 2008-08-24  Paolo Carlini  <paolo.carlini@oracle.com>
2541         * acinclude.m4 ([GLIBCXX_ENABLE_CLOCK_GETTIME]): Improve documentation.
2542         * doc/xml/manual/configure.xml: Likewise.
2544 2008-08-23  Paolo Carlini  <paolo.carlini@oracle.com>
2546         * acinclude.m4 ([GLIBCXX_ENABLE_CLOCK_GETTIME]): Use [=KIND] in
2547         GLIBCXX_ENABLE.
2548         * configure: Regenerate.
2550 2008-08-23  Paolo Carlini  <paolo.carlini@oracle.com>
2552         * acinclude.m4 ([GLIBCXX_CHECK_GETTIMEOFDAY]): Change to use
2553         GCC_TRY_COMPILE_OR_LINK.
2554         ([GLIBCXX_CHECK_CLOCK_GETTIME]): Rename to
2555         [GLIBCXX_ENABLE_CLOCK_GETTIME], a versatile configure-time option,
2556         [no] by default, since it includes TRY_LINK checks.  librt is also
2557         searched, if requested.
2558         * doc/xml/manual/configure.xml: Document the latter.
2559         * configure.ac: Move the above checks outside native-only.
2560         * configure: Regenerate.
2562 2008-08-23  Paolo Carlini  <paolo.carlini@oracle.com>
2564         * testsuite/lib/libstdc++.exp (check_v3_target_atomic_builtins): Add.
2565         * testsuite/lib/dg-options.exp (dg-require-atomic-builtins): Likewise.
2566         * testsuite/18_support/exception_ptr/current_exception.cc: Use it.
2567         * testsuite/18_support/exception_ptr/rethrow_exception.cc: Likewise.
2568         * testsuite/18_support/exception_ptr/lifespan.cc: Likewise.
2570 2008-08-23  Sebastian Redl <sebastian.redl@getdesigned.at>
2572         Add (again) exception propagation support as per N2179.  Feature is
2573         available only when _GLIBCXX_ATOMIC_BUILTINS_4 is defined.
2574         * libsupc++/exception_ptr.h (exception_ptr, current_exception,
2575         copy_exception, rethrow_exception): New file, implement exception
2576         propagation.
2577         * libsupc++/eh_ptr.cc (exception_ptr, current_exception,
2578         rethrow_exception, __gxx_dependent_exception_cleanup): Likewise.
2579         * libsupc++/unwind-cxx.h (__cxa_exception): Add reference count.
2580         (__cxa_dependent_exception, __cxa_allocate_dependent_exception,
2581         __cxa_free_dependent_exception, __get_dependent_exception_from_ue,
2582         __GXX_INIT_DEPENDENT_EXCEPTION_CLASS, __is_dependent_exception,
2583         __gxx_dependent_exception_class, __get_object_from_ue,
2584         __get_object_from_ambiguous_exception): Add.
2585         (__GXX_INIT_EXCEPTION_CLASS, __gxx_exception_class): Rename.
2586         (__is_gxx_exception_class): Handle dependent exceptions.
2587         * libsupc++/eh_arm.cc (__cxa_type_match): Likewise.
2588         * libsupc++/eh_call.cc (__cxa_call_unexpected): Likewise.
2589         * libsupc++/eh_personality.cc (__gxx_personality_*): Likewise.
2590         * libsupc++/eh_type.cc (__cxa_current_exception_type): Likewise.
2591         * libsupc++/eh_alloc.cc (__cxa_allocate_dependent_exception,
2592         __cxa_free_dependent_exception): Add.
2593         * libsupc++/eh_throw.cc (__gxx_exception_cleanup): Handle reference
2594         counting.
2595         * libsupc++/exception: Conditionally include exception_ptr.h.
2596         * libsupc++/Makefile.am: Register new files.
2597         * libsupc++/Makefile.in: Regenerate.
2598         * config/abi/pre/gnu.ver: Add new symbols.
2599         * testsuite/18_support/exception_ptr/current_exception.cc: Test the
2600         core functionality of current_exception().
2601         * testsuite/18_support/exception_ptr/rethrow_exception.cc: Test the
2602         core functionality of rethrow_exception().
2603         * testsuite/18_support/exception_ptr/lifespan.cc: Test the life span of
2604         exception objects during exception propagation.
2606 2008-08-22  Paolo Carlini  <paolo.carlini@oracle.com>
2608         Revert again the N2179 patch.
2610 2008-08-21  Sebastian Redl <sebastian.redl@getdesigned.at>
2612         * libsupc++/eh_ptr.cc (__gxx_dependent_exception_cleanup): Call
2613         __cxa_free_dependent_exception.
2615 2008-08-20  Paolo Carlini  <paolo.carlini@oracle.com>
2617         * include/bits/char_traits.h (char_traits<char16_t>::
2618         assign(char_type*, size_t, char_type), char_traits<char32_t>::
2619         assign(char_type*, size_t, char_type)): For now, just open-code.
2621 2008-08-20  Paolo Carlini  <paolo.carlini@oracle.com>
2623         PR c++/33979 (partial)
2624         * include/bits/postypes.h (u16streampos, u32streampos): Add.
2625         * include/bits/char_traits.h (char_traits<char16_t>,
2626         char_traits<char32_t>): Add.
2627         * include/bits/stringfwd.h (u16string, u32string): Add.
2628         * include/ext/vstring_fwd.h: Add typedefs for char16_t/char32_t.
2629         * testsuite/21_strings/char_traits/requirements/char32_t/typedefs.cc:
2630         New.
2631         * testsuite/21_strings/char_traits/requirements/
2632         explicit_instantiation/short/1.cc: Likewise.
2633         * testsuite/21_strings/char_traits/requirements/
2634         explicit_instantiation/char32_t/1.cc: Likewise.
2635         * testsuite/21_strings/char_traits/requirements/
2636         explicit_instantiation/wchar_t/1.cc: Likewise.
2637         * testsuite/21_strings/char_traits/requirements/
2638         explicit_instantiation/char16_t/1.cc: Likewise.
2639         * testsuite/21_strings/char_traits/requirements/
2640         explicit_instantiation/char/1.cc: Likewise.
2641         * testsuite/21_strings/char_traits/requirements/char16_t/typedefs.cc:
2642         Likewise.
2643         * testsuite/21_strings/basic_string/requirements/
2644         explicit_instantiation/char32_t/1.cc: Likewise.
2645         * testsuite/21_strings/basic_string/requirements/
2646         explicit_instantiation/wchar_t/1.cc: Likewise.
2647         * testsuite/21_strings/basic_string/requirements/
2648         explicit_instantiation/char16_t/1.cc: Likewise.
2649         * testsuite/21_strings/basic_string/requirements/
2650         explicit_instantiation/char/1.cc: Likewise.
2651         * testsuite/21_strings/headers/string/types_std_c++0x.cc: Likewise.
2652         * testsuite/ext/vstring/requirements/explicit_instantiation/
2653         char32_t/1.cc: Likewise.
2654         * testsuite/ext/vstring/requirements/explicit_instantiation/
2655         char16_t/1.cc: Likewise.
2657 2008-08-18  Paolo Carlini  <paolo.carlini@oracle.com>
2659         PR libstdc++/37149
2660         * testsuite/27_io/basic_ostream/inserters_other/char/4.cc: Include
2661         <cstdio>.
2662         * testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc:
2663         Likewise.
2664         * testsuite/27_io/objects/char/12048-1.cc: Likewise.
2665         * testsuite/27_io/objects/char/12048-3.cc: Likewise.
2666         * testsuite/27_io/objects/wchar_t/12048-1.cc: Likewise.
2667         * testsuite/27_io/objects/wchar_t/12048-3.cc: Likewise.
2668         * testsuite/ext/malloc_allocator/deallocate_global.cc: Likewise.
2669         * testsuite/ext/malloc_allocator/deallocate_local.cc: Likewise.
2670         * testsuite/ext/mt_allocator/deallocate_global-2.cc: Likewise.
2671         * testsuite/ext/mt_allocator/deallocate_global-4.cc: Likewise.
2672         * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Likewise.
2673         * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Likewise.
2674         * testsuite/ext/mt_allocator/deallocate_local-2.cc: Likewise.
2675         * testsuite/ext/mt_allocator/deallocate_local-4.cc: Likewise.
2676         * testsuite/ext/mt_allocator/deallocate_local-6.cc: Likewise.
2677         * testsuite/ext/mt_allocator/deallocate_local-8.cc: Likewise.
2678         * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Likewise.
2679         * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Likewise.
2680         * testsuite/ext/mt_allocator/deallocate_local_thread-5.cc: Likewise.
2681         * testsuite/ext/mt_allocator/deallocate_local_thread-7.cc: Likewise.
2682         * testsuite/ext/new_allocator/deallocate_global.cc: Likewise.
2683         * testsuite/ext/new_allocator/deallocate_local.cc: Likewise.
2684         * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Likewise.
2685         * include/std/regex: Include <sstream>.
2686         * include/tr1/regex: Likewise.
2688 2008-08-18  Paolo Carlini  <paolo.carlini@oracle.com>
2690         * configure.ac: Do not hardcode HAVE_S_ISREG and HAVE_S_IFREG for
2691         newlib.
2692         * configure: Regenerate.
2694 2008-08-18  Paolo Carlini  <paolo.carlini@oracle.com>
2696         PR libstdc++/37147
2697         * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Tighten checks on stdint.h,
2698         check the macros too.
2699         * configure: Regenerate.
2701 2008-08-17  Paolo Carlini  <paolo.carlini@oracle.com>
2703         * acinclude.m4 ([AC_LC_MESSAGES]): Use AC_TRY_COMPILE instead of
2704         AC_TRY_LINK.
2705         * configure.ac: Run unconditionally AC_LC_MESSAGES.
2706         * crossconfig.m4: Adjust.
2707         * configure: Regenerate.
2709 2008-08-17  Paolo Carlini  <paolo.carlini@oracle.com>
2711         * acinclude.m4 ([GLIBCXX_CHECK_LFS], [GLIBCXX_CHECK_POLL],
2712         [GLIBCXX_CHECK_S_ISREG_OR_S_IFREG], [GLIBCXX_CHECK_WRITEV]):
2713         Use GCC_TRY_COMPILE_OR_LINK instead of AC_TRY_LINK, in C++,
2714         with -fno-exceptions as flags.
2715         * configure.ac: Run unconditionally GLIBCXX_CHECK_LFS,
2716         GLIBCXX_CHECK_POLL, GLIBCXX_CHECK_S_ISREG_OR_S_IFREG,
2717         GLIBCXX_CHECK_WRITEV and commonized AC_CHECK_HEADERS.
2718         * crossconfig.m4: Adjust; remove AC_CHECK_HEADERS commonized
2719         in configure.ac.
2720         * configure: Regenerate.
2722 2008-08-13  Paolo Carlini  <paolo.carlini@oracle.com>
2724         Re-instate last patch, amended to use __exchange_and_add_dispatch
2725         and __atomic_add_dispatch in eh_ptr.cc and eh_throw.cc.
2727 2008-08-13  Paolo Carlini  <paolo.carlini@oracle.com>
2729         Revert the last patch.
2731 2008-08-13  Sebastian Redl <sebastian.redl@getdesigned.at>
2733         Add exception propagation support as per N2179.
2734         * libsupc++/exception_ptr.h (exception_ptr, current_exception,
2735         copy_exception, rethrow_exception): New file, implement exception
2736         propagation.
2737         * libsupc++/eh_ptr.cc (exception_ptr, current_exception,
2738         rethrow_exception, __gxx_dependent_exception_cleanup): Likewise.
2739         * libsupc++/unwind-cxx.h (__cxa_exception): Add reference count.
2740         (__cxa_dependent_exception, __cxa_allocate_dependent_exception,
2741         __cxa_free_dependent_exception, __get_dependent_exception_from_ue,
2742         __GXX_INIT_DEPENDENT_EXCEPTION_CLASS, __is_dependent_exception,
2743         __gxx_dependent_exception_class, __get_object_from_ue,
2744         __get_object_from_ambiguous_exception): Add.
2745         (__GXX_INIT_EXCEPTION_CLASS, __gxx_exception_class): Rename.
2746         (__is_gxx_exception_class): Handle dependent exceptions.
2747         * libsupc++/eh_arm.cc (__cxa_type_match): Likewise.
2748         * libsupc++/eh_call.cc (__cxa_call_unexpected): Likewise.
2749         * libsupc++/eh_personality.cc (__gxx_personality_*): Likewise.
2750         * libsupc++/eh_type.cc (__cxa_current_exception_type): Likewise.
2751         * libsupc++/eh_alloc.cc (__cxa_allocate_dependent_exception,
2752         __cxa_free_dependent_exception): Add.
2753         * libsupc++/eh_throw.cc (__gxx_exception_cleanup): Handle reference
2754         counting.
2755         * libsupc++/exception: Conditionally include exception_ptr.h.
2756         * libsupc++/Makefile.am: Register new files.
2757         * libsupc++/Makefile.in: Regenerate.
2758         * config/abi/pre/gnu.ver: Add new symbols.
2759         * testsuite/18_support/exception_ptr/current_exception.cc: Test the
2760         core functionality of current_exception().
2761         * testsuite/18_support/exception_ptr/rethrow_exception.cc: Test the
2762         core functionality of rethrow_exception().
2763         * testsuite/18_support/exception_ptr/lifespan.cc: Test the life span of
2764         exception objects during exception propagation.
2766 2008-08-12  Paolo Carlini  <paolo.carlini@oracle.com>
2768         PR libstdc++/37100
2769         * include/bits/stl_pair.h: Fix documentation URL in comment.
2771 2008-08-12  Johannes Singler  <singler@ira.uka.de>
2773         * include/paralle/losertree.h
2774         (LoserTreePointerBase<>::~LoserTreePointerBase):
2775         Replace delete by appropriate delete[].
2777 2008-08-12  Paolo Carlini  <paolo.carlini@oracle.com>
2779         * configure.ac: Run unconditionally GLIBCXX_CHECK_INT64_T and
2780         GLIBCXX_CHECK_C99_TR1; remove sigsetjmp and mmap checks (unused).
2781         * crossconfig.m4: Adjust; remove HAVE_GETPAGESIZE defines (unused).
2782         * configure: Regenerate.
2783         * config.h.in: Likewise.
2785         * acinclude.m4: Minor formatting fixes.
2787 2008-08-11  Stephen M. Webb  <stephenw@xandros.com>
2789         * include/tr1_impl/regex: Formatting fixes.
2790         * testsuite/tr1/7_regular_expressions/regex_traits/char/value.cc:
2791           New test.
2792         * testsuite/tr1/7_regular_expressions/regex_traits/wchar_t/value.cc:
2793           New test.
2795 2008-08-11  Paolo Carlini  <paolo.carlini@oracle.com>
2797         * config/locale/generic/c_locale.cc: Include <cstdio>.
2799 2008-08-11  Paolo Carlini  <paolo.carlini@oracle.com>
2801         * configure.ac: Run GLIBCXX_CHECK_STDIO_MACROS unconditionally.
2802         * configure: Regenerate.
2804 2008-08-10  Paolo Carlini  <paolo.carlini@oracle.com>
2806         * include/tr1_impl/type_traits (_DEFINE_SPEC*): Simplify.
2807         (_DEFINE_SPEC_BODY): Remove.
2808         (__is_void_helper, __is_integral_helper, __is_floating_point_helper,
2809         __is_member_object_pointer_helper, __is_member_function_pointer_helper,
2810         __remove_pointer_helper): Add.
2811         (is_void, is_integral, is_floating_point, is_member_object_pointer,
2812         is_member_function_pointer, remove_pointer): Use the latter.
2813         * include/tr1/type_traits (_DEFINE_SPEC): Simplify.
2814         (_DEFINE_SPEC_HELPER): Remove.
2815         (__is_signed_helper, __is_unsigned_helper): Add.
2816         (is_signed, is_unsigned): Use the latter.
2818 2008-08-09  Paolo Carlini  <paolo.carlini@oracle.com>
2820         Revert fix for libstdc++/35637, thanks to other/36901.
2821         * include/tr1_impl/type_traits (__is_function_helper): New, uses
2822         variadic templates.
2823         (is_function): Forward to the latter.
2824         (__in_array): Remove.
2826 2008-08-09  Paolo Carlini  <paolo.carlini@oracle.com>
2828         * config/locale/darwin/ctype_members.cc: Include <cstdio>.
2830 2008-08-08  Paolo Carlini  <paolo.carlini@oracle.com>
2832         * include/bits/ios_base.h: Undef _IOS_BASE_SEEK_CUR and
2833         _IOS_BASE_SEEK_END at the end of the file.
2834         * include/bits/char_traits.h: Likewise for _CHAR_TRAITS_EOF.
2836 2008-08-07  Stephen M. Webb  <stephenw@xandros.com>
2838         * include/tr1_impl/regex (match_results<>::cbegin, cend): Add, per
2839         N2691 WD.
2841 2008-08-06  Paolo Carlini  <paolo.carlini@oracle.com>
2843         * acinclude.m4 ([GLIBCXX_CHECK_STDIO_MACROS]): New, checks for
2844         common values of EOF, SEEK_CUR, SEEK_END.
2845         * configure.ac: Use it.
2846         * include/bits/ios_base.h: Likewise.
2847         * include/bits/char_traits.h: Likewise.
2848         * config/locale/gnu/ctype_members.cc: Include <cstdio>.
2849         * config/locale/generic/ctype_members.cc: Likewise.
2850         * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust dg-error lines.
2851         * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
2852         * configure: Regenerate.
2853         * config.h.in: Likewise.
2855 2008-08-06  Paolo Carlini  <paolo.carlini@oracle.com>
2857         * acinclude.m4 ([GLIBCXX_CHECK_INT64_T]): Also check whether int64_t
2858         is actually a typedef to long or long long.
2859         * include/bits/postypes.h: If int64_t is actually a typedef for
2860         long or long long don't include <stdint.h> unnecessarily.
2861         * configure: Regenerate.
2862         * config.h.in: Likewise.
2864 2008-08-05  Paolo Carlini  <paolo.carlini@oracle.com>
2866         * testsuite/util/testsuite_api.h (diamond_derivation<>::test):
2867         Expect ambiguity together with the standard exception classes.
2868         * testsuite/27_io/ios_base/failure/cons_virtual_derivation.cc: Remove
2869         xfail.
2870         * testsuite/19_diagnostics/logic_error/cons_virtual_derivation.cc:
2871         Likewise.
2872         * testsuite/19_diagnostics/runtime_error/cons_virtual_derivation.cc:
2873         Likewise.
2874         * testsuite/19_diagnostics/system_error/cons_virtual_derivation.cc:
2875         Likewise.
2876         * testsuite/18_support/bad_alloc/cons_virtual_derivation.cc: Likewise.
2877         * testsuite/18_support/bad_cast/cons_virtual_derivation.cc: Likewise.
2878         * testsuite/18_support/bad_exception/cons_virtual_derivation.cc:
2879         Likewise.
2880         * testsuite/18_support/bad_typeid/cons_virtual_derivation.cc:
2881         Likewise.
2882         * testsuite/ext/concurrence_lock_error/cons_virtual_derivation.cc:
2883         Likewise.
2884         * testsuite/ext/forced_exception_error/cons_virtual_derivation.cc:
2885         Likewise.
2886         * testsuite/ext/concurrence_unlock_error/cons_virtual_derivation.cc:
2887         Likewise.
2888         * testsuite/20_util/bad_function_call/cons_virtual_derivation.cc:
2889         Likewise.
2891 2008-08-04  Paolo Carlini  <paolo.carlini@oracle.com>
2893         * include/bits/postypes.h: Reinstate inclusion of <stdint.h>;
2894         also define the __STDC_* macros.
2895         (streamoff): Adjust.
2897         * include/tr1_impl/cstdint: Check that the __STDC_* macros are
2898         not defined before defining.
2900 2008-08-01  Paolo Bonzini  <bonzini@gnu.org>
2901             Chris Fairles  <chris.fairles@gmail.com>
2903         * acinclude.m4 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Reinstate clock_gettime
2904         search, but only in libposix4, never link librt.
2905         * src/Makefile.am: Reinstate previous change to add GLIBCXX_LIBS.
2906         * configure: Regenerate.
2907         * configure.in: Likewise.
2908         * Makefile.in: Likewise.
2909         * src/Makefile.in: Likewise.
2910         * libsup++/Makefile.in: Likewise.
2911         * po/Makefile.in: Likewise.
2912         * doc/Makefile.in: Likewise.
2914 2008-07-31  Chris Fairles <chris.fairles@gmail.com>
2916         * include/std/chrono (duration): Use explicitly defaulted ctor, cctor,
2917         dtor and assignment. Add diagnostics as per 20.8.3 paragraphs 2, 3
2918         and 4 in WD. Other minor tweaks.
2919         * testsuite/20_util/duration/cons/1_neg.cc: Adjust line numbers.
2920         * testsuite/20_util/duration/requirements/typedefs_neg1.cc: New.
2921         * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Likewise.
2922         * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Likewise.
2924 2008-07-31  Paolo Carlini  <paolo.carlini@oracle.com>
2926         * testsuite/lib/libstdc++.exp (libstdc++_init): Set v3-libgomp.
2927         (check_v3_target_parallel_mode): Robustify, just follow the
2928         structure of testsuite/Makefile.am.
2930 2008-07-29  Paolo Carlini  <paolo.carlini@oracle.com>
2932         * include/debug/set.h: Minor formatting fixes.
2933         * include/debug/multiset.h: Likewise.
2934         * include/debug/safe_association.h: Likewise.
2935         * include/debug/vector: Likewise.
2936         * include/debug/map.h: Likewise.
2937         * include/debug/string: Likewise.
2938         * include/debug/multimap.h: Likewise.
2939         * include/bits/stl_list.h: Likewise.
2940         * include/bits/stl_map.h: Likewise.
2941         * include/bits/stl_set.h: Likewise.
2942         * include/bits/stl_multimap.h: Likewise.
2943         * include/bits/stl_vector.h: Likewise.
2944         * include/bits/stl_multiset.h: Likewise.
2945         * include/bits/stl_bvector.h: Likewise.
2947 2008-07-29  Paolo Carlini  <paolo.carlini@oracle.com>
2949         * include/std/utility: Include <initializer_list>, per the current WP.
2951         * testsuite/lib/libstdc++.exp (check_v3_target_cstdint): Tweak,
2952         don't use -std=gnu++0x unnecessarily.
2953         * testsuite/18_support/numeric_limits/char16_32_t.cc: Use
2954         dg-require-cstdint.
2955         * testsuite/18_support/headers/cstdint/types_std_c++0x.cc: Likewise.
2956         * testsuite/tr1/8_c_compatibility/cstdint/types_std_tr1.cc: Likewise.
2958 2008-07-28  Paolo Carlini  <paolo.carlini@oracle.com>
2960         PR libstdc++/36949
2961         * include/tr1_impl/boost_shared_ptr.h
2962         (__shared_ptr(_Sp_make_shared_tag, _Alloc, _Args&&...): Call
2963         __enable_shared_from_this_helper.
2964         * testsuite/20_util/shared_ptr/creation/36949.cc: New.
2966 2008-07-24  Paolo Carlini  <paolo.carlini@oracle.com>
2968         PR libstdc++/36924
2969         Revert:
2970         2008-07-23  Chris Fairles <chris.fairles@gmail.com>
2972         * acinclude.m4 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Define GLIBCXX_LIBS.
2973         Holds the lib that defines clock_gettime (-lrt or -lposix4).
2974         * src/Makefile.am: Use it.
2975         * configure: Regenerate.
2976         * configure.in: Likewise.
2977         * Makefile.in: Likewise.
2978         * src/Makefile.in: Likewise.
2979         * libsup++/Makefile.in: Likewise.
2980         * po/Makefile.in: Likewise.
2981         * doc/Makefile.in: Likewise.
2983 2008-07-23  Chris Fairles <chris.fairles@gmail.com>
2985         * include/std/condition_variable: Update to N2691 WD.
2986         * include/std/mutex: Likewise.
2987         * testsuite/30_threads/mutex/cons/assign_neg.cc: Adjust line numbers.
2988         * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise.
2989         * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
2990         * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
2992 2008-07-23  Chris Fairles <chris.fairles@gmail.com>
2994         * acinclude.m4 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Define GLIBCXX_LIBS.
2995         Holds the lib that defines clock_gettime (-lrt or -lposix4).
2996         * src/Makefile.am: Use it.
2997         * configure: Regenerate.
2998         * configure.in: Likewise.
2999         * Makefile.in: Likewise.
3000         * src/Makefile.in: Likewise.
3001         * libsup++/Makefile.in: Likewise.
3002         * po/Makefile.in: Likewise.
3003         * doc/Makefile.in: Likewise.
3005 2008-07-22  Paolo Carlini  <paolo.carlini@oracle.com>
3007         * include/ext/sso_string_base.h
3008         (__sso_string_base<>::__sso_string_base(std::initializer_list<_CharT>,
3009         const _Alloc&)): Remove.
3010         * include/ext/rc_string_base.h
3011         (__rc_string_base<>::__rc_string_base(std::initializer_list<_CharT>,
3012         const _Alloc&)): Likewise.
3013         * include/ext/vstring.h
3014         (__versa_string<>::__versa_string(std::initializer_list<_CharT>,
3015         const _Alloc&)): Adjust.
3017 2008-07-21  Jason Merrill  <jason@redhat.com>
3019         Add initializer_list support as per N2679.
3020         * include/debug/unordered_map: Add initializer_list support.
3021         * include/debug/safe_association.h: Likewise.
3022         * include/debug/unordered_set: Likewise.
3023         * include/debug/vector: Likewise.
3024         * include/debug/deque: Likewise.
3025         * include/debug/map.h: Likewise.
3026         * include/debug/set.h: Likewise.
3027         * include/debug/string: Likewise.
3028         * include/debug/list: Likewise.
3029         * include/debug/multimap.h: Likewise.
3030         * include/tr1_impl/unordered_map: Likewise.
3031         * include/tr1_impl/hashtable: Likewise.
3032         * include/tr1_impl/unordered_set: Likewise.
3033         * include/tr1_impl/regex: Likewise.
3034         * include/std/valarray: Likewise.
3035         * include/std/unordered_map: Likewise.
3036         * include/std/unordered_set: Likewise.
3037         * include/bits/stl_list.h: Likewise.
3038         * include/bits/stl_map.h: Likewise.
3039         * include/bits/stl_set.h: Likewise.
3040         * include/bits/basic_string.h: Likewise.
3041         * include/bits/basic_string.tcc: Likewise.
3042         * include/bits/stl_multimap.h: Likewise.
3043         * include/bits/stl_vector.h: Likewise.
3044         * include/bits/stl_deque.h: Likewise.
3045         * include/bits/stl_multiset.h: Likewise.
3046         * include/bits/stl_bvector.h: Likewise.
3047         * include/ext/vstring.h: Likewise.
3048         * include/ext/rc_string_base.h: Likewise.
3049         * include/ext/sso_string_base.h: Likewise.
3050         * src/Makefile.am (w?string-inst): Build with -std=gnu++0x.
3051         * src/Makefile.in: Likewise.
3052         * config/abi/pre/gnu.ver: Add new w?string exports.
3053         * testsuite/21_strings/basic_string/init-list.cc: New test.
3054         * testsuite/23_containers/vector/init-list.cc: New test.
3055         * testsuite/23_containers/deque/init-list.cc: New test.
3056         * testsuite/23_containers/list/init-list.cc: New test.
3057         * testsuite/23_containers/map/init-list.cc: New test.
3058         * testsuite/23_containers/multimap/init-list.cc: New test.
3059         * testsuite/23_containers/set/init-list.cc: New test.
3060         * testsuite/23_containers/multiset/init-list.cc: New test.
3061         * testsuite/23_containers/unordered_map/init-list.cc: New test.
3062         * testsuite/23_containers/unordered_multimap/init-list.cc: New test.
3063         * testsuite/23_containers/unordered_set/init-list.cc: New test.
3064         * testsuite/23_containers/unordered_multiset/init-list.cc: New test.
3065         * testsuite/26_numerics/valarray/init-list.cc: New test.
3066         * testsuite/28_regex/init-list.cc: New test.
3067         * testsuite/ext/vstring/init-list.cc: New test.
3068         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
3069         Update error lineno.
3070         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
3071         Update error lineno.
3072         * testsuite/23_containers/vector/requirements/dr438/
3073         constructor_1_neg.cc: Update error lineno.
3074         * testsuite/23_containers/vector/requirements/dr438/
3075         constructor_2_neg.cc: Update error lineno.
3076         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
3077         Update error lineno.
3078         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
3079         Update error lineno.
3080         * testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc:
3081         Update error lineno.
3082         * testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc:
3083         Update error lineno.
3084         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
3085         Update error lineno.
3086         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
3087         Update error lineno.
3088         * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
3089         Update error lineno.
3090         * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
3091         Update error lineno.
3093 2008-07-21  Mark Mitchell  <mark@codesourcery.com>
3095         * config/os/gnu-linux/arm-eabi-extra.ver: New file.
3096         * configure.host: Use it for arm*-*-linux-*eabi.
3098 2008-07-19  Paolo Carlini  <paolo.carlini@oracle.com>
3100         * include/ext/pb_ds/detail/binomial_heap_base_/debug_fn_imps.hpp
3101         (assert_node_consistent): Avoid ambiguous else warning.
3103         * include/ext/pb_ds/detail/debug_map_base.hpp: Include <iostream>.
3105         * include/bits/c++config: In debug-mode (and parallel-mode) set
3106         _GLIBCXX_EXTERN_TEMPLATE to -1, not 0, thus disabling extern
3107         templates only for basic_string (per libstdc++/21674).
3108         * include/bits/basic_string.tcc: Use extern templates when
3109         _GLIBCXX_EXTERN_TEMPLATE > 0.
3111 2008-07-18  Kris Van Hees  <kris.van.hees@oracle.com>
3112             Holger Hopp  <holger.hopp@sap.com>
3114         * config/abi/pre/gnu.ver: Support char16_t and char32_t.
3115         * testsuite/util/testsuite_abi.cc (check_version): Add
3116         CXXABI_1.3.3 to known_versions.
3118 2008-07-16  Paolo Carlini  <paolo.carlini@oracle.com>
3120         * include/debug/vector (insert(iterator, _Tp&&), push_back(_Tp&&)):
3121         Enable only when _Tp != bool.
3123         * testsuite/25_algorithms/heap/1.cc: Avoid unused variable warnings.
3125 2008-07-18  Paolo Carlini  <paolo.carlini@oracle.com>
3127         * testsuite/lib/libstdc++.exp (check_v3_target_c_std): Avoid unused
3128         variable warnings leading to spurious fails of the test.
3130 2008-07-16  Paolo Carlini  <paolo.carlini@oracle.com>
3132         * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Adjust
3133         dg-error lines.
3134         * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
3135         * testsuite/20_util/duration/cons/1_neg.cc: Likewise.
3137         * include/tr1_impl/type_traits: Fix comment typo.
3139 2008-07-16  Paolo Carlini  <paolo.carlini@oracle.com>
3141         * include/bits/unique_ptr.h: Remove stray character.
3143 2008-07-15  Benjamin Kosnik  <bkoz@redhat.com>
3145         * doc/doxygen/user.cfg.in: Add complex, ratio,
3146         intializer_list.
3147         (PREDEFINED): Add _GLIBCXX_USE_C99_STDINT_TR1.
3148         * doc/doxygen/doxygroups.cc: Add std::chrono.
3149         * include/bits/unique_ptr.h (default_delete, unique_ptr): Add markup.
3150         * libsupc++/initializer_list (initializer_list): Same.
3151         * include/std/ratio: Same.
3152         * include/std/chrono: Same.
3153         * include/std/complex: Disambiguate file markup.
3155 2008-07-15  Chris Fairles  <chris.fairles@gmail.com>
3157         * include/std/chrono: New, as per N2661.
3158         * src/chrono.cc: New.
3159         * include/Makefile.am: Update.
3160         * src/Makefile.am: Likewise.
3161         * include/Makefile.in: Regenerate.
3162         * src/Makefile.in: Likewise.
3163         * acinclude.m4: Add tests for clock_gettime and gettimeofday that
3164         define _GLIBCXX_HAS_CLOCK_GETTIME and/or _GLIBCXX_HAS_GETTIMEOFDAY.
3165         * configure.ac: Use them.
3166         * configure: Regenerate.
3167         * config.h.in: Likewise.
3168         * config/abi/pre/gnu.ver: Add symbols for system_clock::now() and
3169         system_clock::is_monotonic.
3170         * testsuite/20_util/duration/cons/1.cc: New.
3171         * testsuite/20_util/duration/cons/2.cc: Likewise.
3172         * testsuite/20_util/duration/cons/1_neg.cc: Likewise.
3173         * testsuite/20_util/duration/requirements/explicit_instantiation/
3174         explicit_instantiation.cc: Likewise.
3175         * testsuite/20_util/duration/arithmetic/1.cc: Likewise.
3176         * testsuite/20_util/duration/arithmetic/2.cc: Likewise.
3177         * testsuite/20_util/duration/comparisons/1.cc: Likewise.
3178         * testsuite/20_util/time_point/requirements/explicit_instantiation/
3179         explicit_instantiation.cc: Likewise.
3180         * testsuite/20_util/time_point/1.cc: Likewise.
3181         * testsuite/20_util/time_point/2.cc: Likewise.
3182         * testsuite/20_util/time_point/3.cc: Likewise.
3183         * testsuite/20_util/clocks/1.cc: Likewise.
3184         * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Add
3185         missing headers.
3186         * testsuite/17_intro/headers/c++200x/all.cc: Likewise.
3187         * include/precompiled/stdc++.h: Likewise and remove <date_time>.
3188         * doc/doxygen/user.cfg.in: Likewise.
3190 2008-07-15  Paolo Carlini  <paolo.carlini@oracle.com>
3192         PR libstdc++/36832
3193         * include/ext/rope (_Destroy_const): Add.
3194         (rope<>::copy): Call it.
3195         * testsuite/ext/rope/36832.cc: New.
3197 2008-07-15  Johannes Singler  <singler@ira.uka.de>
3199         * include/parallel/find_selectors.h:
3200         Correct name for include guard #ifndef.
3201         * include/parallel/balanced_quicksort.h: Likewise.
3202         * include/parallel/unique_copy.h: Likewise.
3203         * include/parallel/multiway_mergesort.h: Likewise.
3204         * include/parallel/checkers.h: Likewise.
3205         * include/parallel/[various files]:
3206         Add/correct comment for #endif of include guard (at end of file)
3208 2008-07-12  Paolo Carlini  <paolo.carlini@oracle.com>
3210         * include/std/date_time: Remove, per N2549, in WP.
3211         * src/date_time.cc: Likewise.
3212         * config/abi/pre/gnu.ver: Remove <date_time> symbols.
3213         * include/Makefile.am: Remove date_time in std headers.
3214         * src/Makefile.am: Remove date_time.cc to source files.
3215         * include/Makefile.in: Regenerate.
3216         * src/Makefile.in: Likewise.
3217         * testsuite/31_date_time/headers/date_time/types_std.cc: Remove.
3218         * testsuite/31_date_time/headers/date_time/std_c++0x_neg.cc: Likewise.
3219         * testsuite/31_date_time/headers/date_time/functions_std.cc: Likewise.
3220         * testsuite/31_date_time/headers/date_time/synopsis.cc: Likewise.
3221         * testsuite/31_date_time/nanoseconds/requirements/traits.cc: Likewise.
3222         * testsuite/31_date_time/nanoseconds/requirements/duration.cc: Likewise.
3223         * testsuite/31_date_time/system_time/requirements: Likewise.
3224         * testsuite/31_date_time/system_time/requirements/traits.cc: Likewise.
3225         * testsuite/17_intro/headers/c++200x/all.cc: Adjust.
3226         * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Adjust.
3228 2008-07-10  Johannes Singler  <singler@ira.uka.de>
3230         * include/parallel/balanced_quicksort.h:
3231         (qsb_divide) Replace "*end" by "*(end - 1)" in assertion.
3233 2008-07-09  Benjamin Kosnik  <bkoz@redhat.com>
3235         PR libstdc++/36451
3236         * doc/xml/manual/allocator.xml: Fix links.
3237         * doc/html/*: Regenerate.
3239 2008-07-09  Joseph Myers  <joseph@codesourcery.com>
3241         * libsupc++/unwind-cxx.h (__is_gxx_forced_unwind_class,
3242         __GXX_INIT_FORCED_UNWIND_CLASS): Define for ARM EABI unwinder.
3243         * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Call
3244         __GXX_INIT_FORCED_UNWIND_CLASS for forced unwind with ARM EABI
3245         unwinder.
3246         * libsupc++/eh_arm.cc (__cxa_type_match): Use
3247         __is_gxx_forced_unwind_class to check for forced unwind.
3249 2008-07-09  Andreas Beckmann  <gcc@abeckmann.de>
3251         PR libstdc++/36552
3252         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
3253         null_metadata.hpp: Remove self-include.
3255 2008-07-09  Joseph Myers  <joseph@codesourcery.com>
3257         * testsuite/20_util/make_signed/requirements/typedefs-2.cc,
3258         testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Use
3259         -Wl,--no-enum-size-warning for arm*-*-linux*eabi.
3261 2008-07-09  Johannes Singler  <singler@ira.uka.de>
3263         PR libstdc++/36729
3264         * include/parallel/random_shuffle.h:
3265         (sequential_random_shuffle) Copy data back.
3266         * testsuite/25_algorithms/random_shuffle/1.cc:
3267         New. Generic random_shuffle functionality test.
3269 2008-07-08  Chris Fairles  <chris.fairles@gmail.com>
3271         * include/std/type_traits: Add common_type.
3272         * testsuite/20_util/common_type/requirements/
3273         explicit_instantiation.cc: New.
3274         * testsuite/20_util/common_type/requirements/
3275         typedefs-1.cc: Likewise.
3277 2008-07-07  Paolo Carlini  <paolo.carlini@oracle.com>
3279         * testsuite/lib/libstdc++.exp (check_v3_target_stdint): New.
3280         * testsuite/lib/dg-options.exp (dg-require-cstdint): New.
3281         * testsuite/20_util/ratio/cons/cons1.cc: Use it.
3282         * testsuite/20_util/ratio/cons/cons_overflow.cc: Likewise.
3283         * testsuite/20_util/ratio/operations/ops1.cc: Likewise.
3284         * testsuite/20_util/ratio/operations/ops2.cc: Likewise.
3285         * testsuite/20_util/ratio/operations/ops3.cc: Likewise.
3286         * testsuite/20_util/ratio/operations/ops_overflow.cc: Likewise.
3287         * testsuite/20_util/ratio/comparisons/comp1.cc: Likewise.
3288         * testsuite/20_util/ratio/comparisons/comp2.cc: Likewise.
3290         * include/std/type_traits: Fix comment typo.
3292 2008-07-06  Roger Sayle  <roger@eyesopen.com>
3294         * include/std/system_error (is_error_code_enum): Use identifier
3295         _Tp instead of _T to avoid conflict with system macro on Darwin.
3296         (is_error_condition_enum): Likewise.
3298 2008-07-05  Paolo Carlini  <paolo.carlini@oracle.com>
3300         * include/bits/postypes.h: Do not include <stdint.h>.
3302         * include/Makefile.am: Reorder.
3304 2008-07-05  Paolo Carlini  <paolo.carlini@oracle.com>
3306         * include/std/ratio: Prefer __INTMAX_MAX__ to INTMAX_MAX (INTMAX_MIN).
3308 2008-07-05  Chris Fairles  <chris.fairles@gmail.com>
3310         * include/std/ratio: Documentation for std::ratio class. Add conditions
3311         to ratio_less to prevent overflow.
3312         * testsuite/20_util/ratio/comparisons/comp2.cc: New.
3313         * testsuite/20_util/ratio/cons/cons_overflow.cc: Update dg-error line
3314         numbers.
3316 2008-07-04  Chris Fairles  <chris.fairles@gmail.com>
3318         * include/std/ratio: New, per N2661.
3319         * include/Makefile.am: Update.
3320         * include/Makefile.in: Regenerate.
3321         * testsuite/20_util/ratio/cons/cons1.cc: New.
3322         * testsuite/20_util/ratio/cons/cons_overflow.cc: Likewise.
3323         * testsuite/20_util/ratio/operations/ops1.cc: Likewise.
3324         * testsuite/20_util/ratio/operations/ops2.cc: Likewise.
3325         * testsuite/20_util/ratio/operations/ops3.cc: Likewise.
3326         * testsuite/20_util/ratio/operations/ops_overflow.cc: Likewise.
3327         * testsuite/20_util/ratio/comparisons/comp1.cc: Likewise.
3329 2008-07-04  Paolo Carlini  <paolo.carlini@oracle.com>
3331         PR libstdc++/36616
3332         * testsuite/22_locale/time_put/put/char/4.cc: Just use es_ES instead.
3333         * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
3335 2008-07-03  Paolo Carlini  <paolo.carlini@oracle.com>
3337         * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
3338         Improve check on long double limits.
3339         * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
3340         Likewise.
3341         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3342         stof.cc: Likewise.
3343         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3344         stod.cc: Likewise.
3346 2008-07-03  Paolo Carlini  <paolo.carlini@oracle.com>
3348         * libsupc++/Makefile.am: Add initializer_list to the headers.
3349         * libsupc++/Makefile.in: Regenerate.
3351         * libsupc++/initializer_list: Minor cosmetic changes.
3353 2008-07-02  Jason Merrill  <jason@redhat.com>
3355         * libsupc++/initializer_list: Uglify and wrap in
3356         __GXX_EXPERIMENTAL_CXX0X__.
3357         * include/bits/stl_map.h (insert(initializer_list)): Wrap.
3359 2008-07-02  Jason Merrill  <jason@redhat.com>
3361         * libsupc++/initializer_list: New file.
3362         * include/bits/stl_map.h (insert(initializer_list)): New method.
3364 2008-06-30  Alfred E. Heggestad  <aeh@db.org>
3366         * include/backward/backward_warning.h: Fix typo.
3368 2008-06-29  Paolo Carlini  <paolo.carlini@oracle.com>
3370         * src/string_conversions.cc: Remove.
3371         * config/abi/pre/gnu.ver: Delete exports.
3372         * src/Makefile.am: Update.
3373         * include/ext/string_conversions.h: Add.
3374         * include/Makefile.am: Update.
3375         * include/bits/basic_string.h: Include string_conversions.h,
3376         define numeric conversion functions.
3377         * include/ext/vstring.h: Likewise.
3378         * src/Makefile.in: Regenerate.
3379         * include/Makefile.in: Regenerate.
3381 2008-06-29  Paolo Carlini  <paolo.carlini@oracle.com>
3383         * include/bits/stl_algo.h (copy_n): Add in C++0x mode.
3384         * include/bits/algorithmfwd.h: Add.
3385         * include/bits/stl_uninitialized.h (uninitialized_copy_n): Add
3386         in C++0x mode.
3387         * testsuite/20_util/specialized_algorithms/uninitialized_copy_n/
3388         move_iterators/1.cc: New
3389         * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
3390         * testsuite/25_algorithms/copy_n/1.cc: New.
3391         * testsuite/25_algorithms/copy_n/2.cc: Likewise.
3392         * testsuite/25_algorithms/copy_n/3.cc: Likewise.
3393         * testsuite/25_algorithms/copy_n/4.cc: Likewise.
3394         * testsuite/25_algorithms/copy_n/move_iterators/1.cc: Likewise.
3395         * testsuite/25_algorithms/copy_n/requirements/
3396         explicit_instantiation/2.cc: Likewise.
3397         * testsuite/25_algorithms/partition_point/requirements/
3398         explicit_instantiation/pod.cc: Likewise.
3400 2008-06-28  Paolo Carlini  <paolo.carlini@oracle.com>
3402         * include/bits/stl_algo.h (partition_point): Add in C++0x mode.
3403         * include/bits/algorithmfwd.h: Add.
3404         * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
3405         * testsuite/25_algorithms/partition_point/1.cc: New.
3406         * testsuite/25_algorithms/partition_point/check_type.cc: Likewise.
3407         * testsuite/25_algorithms/partition_point/requirements/
3408         explicit_instantiation/2.cc: Likewise.
3409         * testsuite/25_algorithms/partition_point/requirements/
3410         explicit_instantiation/pod.cc: Likewise.
3412 2008-06-28  Paolo Carlini  <paolo.carlini@oracle.com>
3414         PR libstdc++/36660
3415         * include/ext/pb_ds/detail/resize_policy/
3416         sample_resize_trigger.hpp: Remove spurious namespace end.
3418 2008-06-27  Mark Mitchell  <mark@codesourcery.com>
3420         * libsupc++/vec.cc (__aeabi_vec_dtor_cookie): Handle NULL array
3421         address.
3422         (__aeabi_vec_delete): Likewise.
3423         (__aeabi_vec_delete3): Likewise.
3424         (__aeabi_vec_delete3_nodtor): Likewise.
3426 2008-06-27  Paolo Carlini  <paolo.carlini@oracle.com>
3428         * include/bits/stl_algo.h (is_partitioned): Add in C++0x mode.
3429         * include/bits/algorithmfwd.h: Add.
3430         * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
3431         * testsuite/25_algorithms/is_partitioned/1.cc: New.
3432         * testsuite/25_algorithms/is_partitioned/check_type.cc: Likewise.
3433         * testsuite/25_algorithms/is_partitioned/requirements/
3434         explicit_instantiation/2.cc: Likewise.
3435         * testsuite/25_algorithms/is_partitioned/requirements/
3436         explicit_instantiation/pod.cc: Likewise.
3438 2008-06-27  Paolo Carlini  <paolo.carlini@oracle.com>
3440         * include/bits/stl_numeric.h (iota): Add in C++0x mode.
3441         * testsuite/util/testsuite_character.h (pod_int): Add operator++
3442         in C++0x mode.
3443         * testsuite/util/testsuite_api.h (NonDefaultConstructible): Likewise.
3444         * testsuite/26_numerics/iota/1.cc: New.
3445         * testsuite/26_numerics/iota/requirements/explicit_instantiation/
3446         2.cc: Likewise.
3447         * testsuite/26_numerics/iota/requirements/explicit_instantiation/
3448         pod.cc: Likewise.
3450         * include/ext/algorithm: Do not fiddle with the legacy headers.
3452         * testsuite/26_numerics/partial_sum/1.cc: Minor changes, comments,
3453         style.
3454         * testsuite/26_numerics/accumulate/1.cc: Likewise.
3455         * testsuite/26_numerics/adjacent_difference/1.cc: Likewise.
3456         * testsuite/26_numerics/inner_product/1.cc: Likewise.
3458 2008-06-26  Paolo Carlini  <paolo.carlini@oracle.com>
3460         * include/bits/stl_algo.h (partition_copy): Add in C++0x mode.
3461         * include/bits/algorithmfwd.h: Add.
3462         * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
3463         * testsuite/25_algorithms/partition_copy/1.cc: New.
3464         * testsuite/25_algorithms/partition_copy/check_type.cc: Likewise.
3465         * testsuite/25_algorithms/partition_copy/requirements/
3466         explicit_instantiation/2.cc: Likewise.
3467         * testsuite/25_algorithms/partition_copy/requirements/
3468         explicit_instantiation/pod.cc: Likewise.
3470 2008-06-26  Chris Fairles  <chris.fairles@gmail.com>
3472         * testsuite/20_util/unique_ptr/cons/pointer_array.cc: New.
3473         * testsuite/20_util/unique_ptr/cons/pointer.cc: Likewise.
3474         * testsuite/20_util/unique_ptr/cons/pointer_array_convertible.cc:
3475         Likewise.
3476         * testsuite/20_util/unique_ptr/assign/move_array.cc: Likewise.
3477         * testsuite/20_util/unique_ptr/assign/move.cc: Likewise.
3478         * testsuite/20_util/unique_ptr/specialized_algorithms/
3479         comparisons_array.cc: Likewise.
3480         * testsuite/20_util/unique_ptr/specialized_algorithms/comparisons.cc:
3481         Likewise
3482         * testsuite/20_util/unique_ptr/specialized_algorithms/swap.cc:
3483         Likewise.
3485 2008-06-26  Paolo Carlini  <paolo.carlini@oracle.com>
3487         * include/parallel/base.h (plus, multiplies): Use __typeof__,
3488         not typeof.
3490 2008-06-25  Paolo Carlini  <paolo.carlini@oracle.com>
3492         * testsuite/29_atomics/atomic_flag/cons/default.cc: Avoid -Wall
3493         warnings.
3494         * testsuite/29_atomics/atomic_flag/cons/aggregate.cc: Likewise.
3495         * testsuite/29_atomics/headers/cstdatomic/types_std_c++0x.cc:
3496         Likewise.
3497         * testsuite/29_atomics/headers/stdatomic.h/types.c: Likewise.
3498         * testsuite/util/testsuite_common_types.h (struct assignable,
3499         struct default_constructible, struct copy_constructible,
3500         struct explicit_value_constructible): Use a tad of simulated
3501         concept checking techniques to avoid spurious warnings.
3502         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust dg-error
3503         markers.
3504         * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
3506 2008-06-25  Paolo Carlini  <paolo.carlini@oracle.com>
3508         * include/bits/stl_algo.h (__find_if_not, find_if_not, all_of,
3509         any_of, none_of): Add in C++0x, per N2666.
3510         * include/bits/algorithmfwd.h: Update.
3511         * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
3512         * testsuite/25_algorithms/all_of/check_type.cc: New.
3513         * testsuite/25_algorithms/all_of/1.cc: Likewise.
3514         * testsuite/25_algorithms/all_of/requirements/explicit_instantiation/
3515         2.cc: Likewise.
3516         * testsuite/25_algorithms/all_of/requirements/explicit_instantiation/
3517         pod.cc: Likewise.
3518         * testsuite/25_algorithms/any_of/check_type.cc: Likewise.
3519         * testsuite/25_algorithms/any_of/1.cc: Likewise.
3520         * testsuite/25_algorithms/any_of/requirements/explicit_instantiation/
3521         2.cc: Likewise.
3522         * testsuite/25_algorithms/any_of/requirements/explicit_instantiation/
3523         pod.cc: Likewise.
3524         * testsuite/25_algorithms/none_of/check_type.cc: Likewise.
3525         * testsuite/25_algorithms/none_of/1.cc: Likewise.
3526         * testsuite/25_algorithms/none_of/requirements/explicit_instantiation/
3527         2.cc: Likewise.
3528         * testsuite/25_algorithms/none_of/requirements/explicit_instantiation/
3529         pod.cc: Likewise.
3530         * testsuite/25_algorithms/find_if_not/check_type.cc: Likewise.
3531         * testsuite/25_algorithms/find_if_not/1.cc: Likewise.
3532         * testsuite/25_algorithms/find_if_not/requirements/
3533         explicit_instantiation/2.cc: Likewise.
3534         * testsuite/25_algorithms/find_if_not/requirements/
3535         explicit_instantiation/pod.cc: Likewise.
3536         * testsuite/25_algorithms/copy_if/check_type.cc: Likewise.
3537         * testsuite/25_algorithms/remove_copy_if/check_type.cc: Likewise.
3538         * testsuite/25_algorithms/find_if/1.cc: Minor tweaks.
3540 2008-06-24  Benjamin Kosnik  <bkoz@redhat.com>
3542         * doc/xml/manual/parallel_mode.xml: Clarify use of explicit
3543         parallel algorithms.
3544         * doc/xml/manual/using.xml: Markup fixes caught by validation check.
3545         * doc/xml/manual/test.xml: Remove empty para tags.
3547         * doc/html/*: Regenerate.
3549 2008-06-24  Paolo Carlini  <paolo.carlini@oracle.com>
3551         * include/bits/stl_algo.h (remove_if): Cast __pred result to bool.
3552         (copy_if): Add, per N2666.
3553         * testsuite/25_algorithms/copy_if/requirements/explicit_instantiation/
3554         2.cc: New.
3555         * testsuite/25_algorithms/copy_if/requirements/explicit_instantiation/
3556         pod.cc: Likewise.
3557         * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
3559 2008-06-24  Paolo Carlini  <paolo.carlini@oracle.com>
3560             Chalathip Thumkanon  <chalathip@gmail.com>
3562         PR libstdc++/36612
3563         * include/ext/pb_ds/exception.hpp (__throw_container_error,
3564         __throw_insert_error, __throw_join_error, __throw_resize_error):
3565         Mark inline.
3567 2008-06-22  Paolo Carlini  <paolo.carlini@oracle.com>
3569         * include/bits/move.h (swap(_Tp (&)[_Nm], _Tp (&)[_Nm])): Add,
3570         per DR 809.
3571         * include/bits/algorithmfwd.h: Add.
3572         * doc/xml/manual/intro.xml: Add an entry for DR 809.
3573         * testsuite/25_algorithms/swap/dr809.cc: New.
3575         * testsuite/25_algorithms/swap/requirements/explicit_instantiation/
3576         2.cc: Remove stray empty line.
3578 2008-06-21  Paolo Carlini  <paolo.carlini@oracle.com>
3580         * include/bits/stl_move.h: Rename to move.h.
3581         * include/std/utility: Adjust.
3582         * include/ext/vstring_util.h: Likewise.
3583         * include/ext/throw_allocator.h: Likewise.
3584         * include/ext/pool_allocator.h: Likewise.
3585         * include/ext/bitmap_allocator.h: Likewise.
3586         * include/ext/new_allocator.h: Likewise.
3587         * include/ext/malloc_allocator.h: Likewise.
3588         * include/ext/array_allocator.h: Likewise.
3589         * include/ext/mt_allocator.h: Likewise.
3590         * include/bits/stl_algobase.h: Likewise.
3591         * include/bits/stl_heap.h: Likewise.
3592         * include/bits/stl_pair.h: Likewise.
3593         * include/bits/stl_iterator.h: Likewise.
3594         * testsuite/util/testsuite_allocator.h: Likewise.
3595         * testsuite/util/testsuite_iterators.h: Likewise.
3596         * include/Makefile.am: Likewise.
3597         * include/Makefile.in: Regenerate.
3599 2008-06-21  Chris Fairles  <chris.fairles@gmail.com>
3601         * include/bits/unique_ptr.h: New.
3602         * include/std/memory: Adjust.
3603         * include/Makefile.am: Add.
3604         * testsuite/20_util/unique_ptr/requirements/explicit_instantiation/
3605         explicit_instantiation.cc: New.
3606         * testsuite/20_util/unique_ptr/assign/assign.cc: Likewise.
3607         * include/Makefile.in: Regenerate.
3609 2008-06-21  Jonathan Wakely  <jwakely.gcc@gmail.com>
3611         * include/c_global/climits, include/tr1/climits: Add parentheses.
3613 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3615         * configure: Regenerate.
3617 2008-06-17  Chris Fairles  <chris.fairles@gmail.com>
3619         * include/bits/stl_iterator_base_funcs.h (next, prev): Add in
3620         C++0x mode.
3621         * testsuite/24_iterators/operations/next.cc: New.
3622         * testsuite/24_iterators/operations/prev.cc: Likewise.
3624 2008-06-17  Paolo Carlini  <paolo.carlini@oracle.com>
3626         * src/string_conversions.cc (__to_xstring<>): New.
3627         (to_string, to_wstring): Use it.
3629 2008-06-16  Paolo Carlini  <paolo.carlini@oracle.com>
3631         * include/bits/basic_string.h (stod, stof, stoi, stol, stold, stoll,
3632         stoul, stoull, to_string, to_wstring): Declare in C++0x mode.
3633         * src/string_conversions.cc: Add.
3634         * src/Makefile.am: Update.
3635         * config/abi/pre/gnu.ver: Adjust exports.
3636         * src/Makefile.in: Regenerate.
3637         * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
3638         New.
3639         * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
3640         Likewise.
3641         * testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
3642         Likewise.
3643         * testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
3644         Likewise.
3645         * testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc:
3646         Likewise.
3647         * testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc:
3648         Likewise.
3649         * testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
3650         Likewise.
3651         * testsuite/21_strings/basic_string/numeric_conversions/char/stoull.cc:
3652         Likewise.
3653         * testsuite/21_strings/basic_string/numeric_conversions/char/
3654         to_string.cc: Likewise.
3655         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3656         stod.cc: New.
3657         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3658         stof.cc: Likewise.
3659         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3660         stoi.cc: Likewise.
3661         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3662         stol.cc: Likewise.
3663         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3664         stold.cc: Likewise.
3665         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3666         stoll.cc: Likewise.
3667         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3668         stoul.cc: Likewise.
3669         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3670         stoull.cc: Likewise.
3671         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3672         to_wstring.cc: Likewise.
3674 2008-06-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3676         * include/Makefile.am: Remove trailing white space, fix typo.
3677         (parallel_headers): Remove duplicate file, sort entries.
3678         * include/Makefile.in: Regenerate.
3680 2008-06-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3682         * src/condition_variable.cc (~condition_variable): Drop unused
3683         variable.
3685 2008-06-13  Paolo Carlini  <paolo.carlini@oracle.com>
3687         * include/bits/stl_deque.h (deque<>::push_back(_Args&&...),
3688         deque<>::push_front(_Args&&...)): Remove.
3689         (deque<>::push_back(value_type&&),
3690         deque<>::push_front(value_type&&)): Add.
3691         (deque<>::push_back(const value_type&),
3692         deque<>::push_front(const value_type&)): Add back.
3693         (deque<>::emplace_back(_Args&&...),
3694         deque<>::emplace_front(_Args&&...)): Declare...
3695         * include/bits/deque.tcc: ... and define.
3696         * include/bits/stl_list.h (list<>::push_back(_Args&&...),
3697         list<>::push_front(_Args&&...)): Remove.
3698         (list<>::push_back(value_type&&), list<>::push_front(value_type&&),
3699         list<>::emplace_back(_Args&&...), list<>::emplace_front(_Args&&...)):
3700         Add.
3701         (list<>::push_back(const value_type&),
3702         list<>::push_front(const value_type&)): Add back.
3703         * include/bits/stl_vector.h (vector<>::push_back(_Args&&...)): Remove.
3704         (vector<>::push_back(value_type&&)): Add.
3705         (vector<>::push_back(const value_type&)): Add back.
3706         (vector<>::emplace_back(_Args&&...)): Declare...
3707         * include/bits/vector.tcc: ... and define.
3708         * include/bits/stl_queue.h (queue<>::push(_Args&&...),
3709         priority_queue<>::push(_Args&&...)): Remove.
3710         (queue<>::push(value_type&&), queue<>::emplace(_Args&&...),
3711         priority_queue<>::push(value_type&&),
3712         priority_queue<>::emplace(_Args&&...)): Add.
3713         (queue<>::push(const value_type&),
3714         priority_queue<>::push(const value_type&)): Add back.
3715         * include/bits/stl_stack.h (stack<>::push(_Args&&...)): Remove.
3716         (stack<>::push(value_type&&), stack<>::emplace(_Args&&...)): Add.
3717         (stack<>::push(const value_type&)): Add back.
3718         * include/debug/deque (deque<>::push_back(_Args&&...),
3719         deque<>::push_front(_Args&&...)): Remove.
3720         (deque<>::push_back(value_type&&), deque<>::push_front(value_type&&),
3721         deque<>::emplace_back(_Args&&...), deque<>::emplace_front(_Args&&...)):
3722         Add.
3723         (deque<>::push_back(const value_type&),
3724         deque<>::push_front(const value_type&)): Add back.
3725         * include/debug/list (list<>::push_back(_Args&&...),
3726         list<>::push_front(_Args&&...)): Remove.
3727         (list<>::push_back(value_type&&), list<>::push_front(value_type&&),
3728         list<>::emplace_back(_Args&&...), list<>::emplace_front(_Args&&...)):
3729         Add.
3730         (list<>::push_back(const value_type&),
3731         list<>::push_front(const value_type&)): Add back.
3732         * include/debug/vector (vector<>::push_back(_Args&&...)): Remove.
3733         (vector<>::push_back(value_type&&),
3734         vector<>::emplace_back(_Args&&...)): Add.
3735         (vector<>::push_back(const value_type&)): Add back.
3736         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
3737         Adjust dg-error line numbers.
3738         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
3739         Likewise.
3740         * testsuite/23_containers/deque/requirements/dr438/
3741         constructor_1_neg.cc: Likewise.
3742         * testsuite/23_containers/deque/requirements/dr438/
3743         constructor_2_neg.cc: Likewise.
3744         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
3745         Adjust dg-error line numbers.
3746         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
3747         Likewise.
3748         * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
3749         Likewise.
3750         * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
3751         Likewise.
3752         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
3753         Adjust dg-error line numbers.
3754         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
3755         Likewise.
3756         * testsuite/23_containers/vector/requirements/dr438/
3757         constructor_1_neg.cc: Likewise.
3758         * testsuite/23_containers/vector/requirements/dr438/
3759         constructor_2_neg.cc: Likewise.
3761 2008-06-13  Paolo Carlini  <paolo.carlini@oracle.com>
3763         * include/tr1_impl/array (array<>::assign): Do not define in
3764         C++0x mode, per DR 776...
3765         (array<>::fill): ... define instead.
3766         * doc/xml/manual/intro.xml: Add an entry for DR 776.
3767         * testsuite/23_containers/array/requirements/fill.cc: New.
3769 2008-06-12  Paolo Carlini  <paolo.carlini@oracle.com>
3771         * include/std/complex (pow(const complex<>&, int)): Do not define in
3772         C++0x mode, per DR 844.
3773         * include/tr1/complex (pow(const complex<>&, int)): Remove.
3774         * doc/xml/manual/intro.xml: Add an entry for DR 844.
3775         * testsuite/26_numerics/complex/dr844.cc: New.
3776         * testsuite/tr1/8_c_compatibility/complex/overloads_int.cc: Adjust.
3778 2008-06-11  Paolo Carlini  <paolo.carlini@oracle.com>
3780         * include/tr1_impl/hashtable (_Hashtable<>::cbegin(size_type),
3781         cend(size_type)): Add per DR 691.
3782         * testsuite/23_containers/unordered_map/requirements/cliterators.cc:
3783         New.
3784         * testsuite/23_containers/unordered_multimap/requirements/
3785         cliterators.cc: Likewise.
3786         * testsuite/23_containers/unordered_set/requirements/cliterators.cc:
3787         Likewise.
3788         * testsuite/23_containers/unordered_multiset/requirements/
3789         cliterators.cc: Likewise.
3790         * doc/xml/manual/intro.xml: Add an entry for DR 691.
3792 2008-06-11  Matthias Klose  <doko@ubuntu.com>
3794         * testsuite/30_threads/lock_error, testsuite/30_threads/once_flag:
3795         Remove empty directories.
3797 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
3799         * configure.host (xscale, ep9312, m680[246]0, solaris2.5,
3800         solaris2.5.[0-9], solaris2.6, windiss*): Remove.
3801         * crossconfig.m4 (*-solaris2.5, *-solaris2.6, *-windiss*): Remove.
3802         * configure: Regenerate.
3803         * config/os/solaris/solaris2.5: Remove directory.
3804         * config/os/solaris/solaris2.6: Remove directory.
3805         * config/os/windiss: Remove directory.
3807 2008-06-06  Benjamin Kosnik  <bkoz@redhat.com>
3809         * doc/xml/manual/using.xml: Outline exception topics.
3811         * include/ext/pb_ds/detail/binary_heap_/insert_fn_imps.hpp: Format.
3812         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
3813         policy_access_fn_imps.hpp: Same.
3814         * include/ext/pb_ds/priority_queue.hpp: Same.
3815         * include/ext/throw_allocator.h: Same.
3817         * include/ext/pb_ds/tag_and_trait.hpp (string_tag): New tag.
3818         (sequence_tag): New tag. Doxygen markup fixes.
3820         * testsuite/lib/libstdc++.exp: Remove twister_ran_gen.cc source file.
3822         * testsuite/performance/ext/pb_ds/text_find_timing.cc: Fix
3823         comment typo, include paths, format.
3824         * testsuite/performance/ext/pb_ds/tree_text_insert_timing.cc: Same.
3825         * testsuite/performance/ext/pb_ds/
3826         hash_random_int_erase_mem_usage.cc: Same.
3827         * testsuite/performance/ext/pb_ds/
3828         random_int_subscript_find_timing.cc: Same.
3829         * testsuite/performance/ext/pb_ds/
3830         priority_queue_text_push_timing.cc: Same.
3831         * testsuite/performance/ext/pb_ds/tree_split_join_timing.cc: Same.
3832         * testsuite/performance/ext/pb_ds/random_int_find_timing.cc: Same.
3833         * testsuite/performance/ext/pb_ds/multimap_text_insert_mem_usage.hpp
3834         * testsuite/performance/ext/pb_ds/multimap_text_find_timing.hpp
3835         * testsuite/performance/ext/pb_ds/
3836         priority_queue_random_int_push_timing.cc: Same.
3837         * testsuite/performance/ext/pb_ds/priority_queue_text_modify_timing.hpp
3838         * testsuite/performance/ext/pb_ds/tree_order_statistics_timing.cc: Same.
3839         * testsuite/performance/ext/pb_ds/
3840         priority_queue_text_push_pop_timing.cc: Same.
3841         * testsuite/performance/ext/pb_ds/
3842         priority_queue_text_join_timing.cc: Same.
3843         * testsuite/performance/ext/pb_ds/
3844         priority_queue_random_int_push_pop_timing.cc: Same.
3845         * testsuite/performance/ext/pb_ds/
3846         random_int_subscript_insert_timing.cc: Same.
3847         * testsuite/performance/ext/pb_ds/tree_text_lor_find_timing.cc: Same.
3848         * testsuite/performance/ext/pb_ds/multimap_text_insert_timing.hpp
3849         * testsuite/performance/ext/pb_ds/
3850         priority_queue_text_pop_mem_usage.cc: Same.
3851         * testsuite/performance/ext/pb_ds/
3852         hash_zlob_random_int_find_timing.cc: Same.
3853         * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Same.
3854         * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
3855         * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand.cc: Same.
3856         * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
3857         * testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc: Same.
3858         * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
3859         * testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Same.
3860         * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
3861         * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
3862         * testsuite/util/regression/trait/priority_queue/trait.hpp: Same.
3863         * testsuite/util/regression/trait/erase_if_fn.hpp: Same.
3864         * testsuite/util/regression/trait/assoc/native_type_trait.hpp: Same.
3865         * testsuite/util/regression/trait/assoc/node_update_trait.hpp: Same.
3866         * testsuite/util/regression/trait/assoc/get_set_load_trait.hpp: Same.
3867         * testsuite/util/regression/trait/assoc/get_set_loads_trait.hpp: Same.
3868         * testsuite/util/regression/trait/assoc/trait.hpp: Same.
3869         * testsuite/util/regression/trait/assoc/resize_trait.hpp: Same.
3870         * testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
3871         * testsuite/util/regression/trait/assoc/to_string.hpp: Same.
3872         * testsuite/util/regression/basic_type.hpp: Same.
3873         * testsuite/util/common_type/priority_queue/string_form.hpp: Same.
3874         * testsuite/util/common_type/priority_queue/detail/
3875         ds_string_form.hpp: Same.
3876         * testsuite/util/common_type/assoc/string_form.hpp: Same.
3877         * testsuite/util/common_type/assoc/detail/
3878         resize_policy_string_form.hpp: Same.
3879         * testsuite/util/common_type/assoc/detail/
3880         trigger_policy_string_form.hpp: Same.
3881         * testsuite/util/common_type/assoc/detail/
3882         comb_hash_fn_string_form.hpp: Same.
3883         * testsuite/util/common_type/assoc/detail/ds_string_form.hpp: Same.
3884         * testsuite/util/common_type/assoc/detail/
3885         size_policy_string_form.hpp: Same.
3886         * testsuite/util/common_type/assoc/detail/
3887         probe_fn_string_form.hpp: Same.
3888         * testsuite/util/common_type/assoc/detail/
3889         list_update_policy_string_form.hpp: Same.
3890         * testsuite/util/common_type/assoc/detail/
3891         store_hash_string_form.hpp: Same.
3892         * testsuite/util/common_type/assoc/native_set.hpp: Same.
3893         * testsuite/util/io/prog_bar.cc: Same.
3895         * testsuite/util/regression/rand/io: Remove.
3896         * testsuite/util/regression/rand/io/priority_queue: Same.
3897         * testsuite/util/regression/rand/io/assoc: Same.
3898         * testsuite/util/regression/rand/io/priority_queue/
3899         xml_formatter.hpp: Consolidate this...
3900         * testsuite/util/regression/rand/io/assoc/xml_formatter.hpp: ...this
3901         * testsuite/util/regression/rand/io/xml_formatter.hpp: ... and this
3902         * testsuite/util/regression/rand/xml_formatter.hpp: ...here.
3904         * testsuite/util/regression/rand/priority_queue/
3905         container_rand_regression_test.hpp:To ...
3906         container_rand_regression_test.h: ... this.
3907         * testsuite/util/regression/rand/priority_queue/detail/*.hpp:To ...
3908         * testsuite/util/regression/rand/priority_queue/
3909         container_rand_regression_test.tcc: ... this.
3910         PB_DS_THROW_IF_FAIL: Change to _GLIBCXX_THROW_IF, adjust predicate.
3911         PB_DS_SET_DESTRUCT_PRINT: Fold inline.
3912         PB_DS_CANCEL_DESTRUCT_PRINT: Fold inline.
3913         * testsuite/util/regression/rand/priority_queue/
3914         rand_regression_test.hpp: Adjust includes.
3916         * testsuite/util/regression/rand/assoc/
3917         container_rand_regression_test.hpp: To ...
3918         * testsuite/util/regression/rand/assoc/
3919         container_rand_regression_test.h: ... this.
3920         * testsuite/util/regression/rand/assoc/detail/*.hpp:To ...
3921         * testsuite/util/regression/rand/assoc/
3922         container_rand_regression_test.tcc: ...this.
3923         * testsuite/util/regression/rand/assoc/rand_regression_test.hpp: Adjust
3924         includes.
3926         * testsuite/util/regression/priority_queue: Remove.
3927         * testsuite/util/regression/assoc: Remove.
3928         * testsuite/util/regression/priority_queue/
3929         common_type.hpp: Consolidate this...
3930         * testsuite/util/regression/assoc/common_type.hpp: ... and this
3931         * testsuite/util/regression/common_type.hpp: ...here.
3933         * testsuite/util/rng: Remove.
3934         * testsuite/util/rng/twister_rand_gen.cc: Consolidate...
3935         * testsuite/util/rng/twister_rand_gen.hpp: ... and this
3936         * testsuite/util/testsuite_rng.h: ...here.
3938         * testsuite/util/native_type/priority_queue: Remove.
3939         * testsuite/util/native_type/priority_queue/
3940         native_priority_queue.hpp: To...
3941         * testsuite/util/native_type/native_priority_queue.hpp: ...here.
3943         * testsuite/util/native_type/assoc: Remove.
3944         * testsuite/util/native_type/assoc/native_multimap.hpp: To...
3945         * testsuite/util/native_type/assoc/native_tree_tag.hpp: To...
3946         * testsuite/util/native_type/assoc/native_hash_multimap.hpp: To...
3947         * testsuite/util/native_type/assoc/native_set.hpp: To...
3948         * testsuite/util/native_type/assoc/native_map.hpp: To...
3949         * testsuite/util/native_type/assoc/native_hash_set.hpp: To...
3950         * testsuite/util/native_type/assoc/native_hash_tag.hpp: To...
3951         * testsuite/util/native_type/assoc/native_hash_map.hpp: To...
3952         * testsuite/util/native_type/native_multimap.hpp: ...here.
3953         * testsuite/util/native_type/native_tree_tag.hpp: ...here.
3954         * testsuite/util/native_type/native_hash_multimap.hpp: ...here.
3955         * testsuite/util/native_type/native_set.hpp: ...here.
3956         * testsuite/util/native_type/native_map.hpp: ...here.
3957         * testsuite/util/native_type/native_hash_set.hpp: ...here.
3958         * testsuite/util/native_type/native_hash_tag.hpp: ...here.
3959         * testsuite/util/native_type/native_hash_map.hpp: ...here.
3961         * testsuite/util/common_type/priority_queue/common_type.hpp:
3962         Make include guard distinct.
3963         * testsuite/util/common_type/assoc/common_type.hpp: Same.
3965 2008-06-06  Joseph Myers  <joseph@codesourcery.com>
3967         * configure.ac: Do not check for gconv.h.
3968         * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Do not test for gconv.h or
3969         gconf.h.  For glibc and uClibc systems, define
3970         _GLIBCXX_USE_RANDOM_TR1 and HAVE_MMAP and use AC_LC_MESSAGES and
3971         AM_ICONV.
3972         * configure, config.h.in: Regenerate.
3974 2008-06-06  Joseph Myers  <joseph@codesourcery.com>
3976         * testsuite/17_intro/headers/all.cc,
3977         testsuite/17_intro/headers/all_c++200x_compatibility.cc,
3978         testsuite/17_intro/headers/all_pedantic_errors.cc,
3979         testsuite/ext/headers.cc: Only include
3980         <ext/codecvt_specializations.h> and <ext/enc_filebuf.h> if
3981         _GLIBCXX_HAVE_ICONV.
3983 2008-06-05  Johannes Singler  <singler@ira.uka.de>
3985         * include/parallel/random_shuffle.h:
3986         (parallel_random_shuffle_drs) Get the actual number of
3987         threads after entering the parallel region. Indentation.
3988         * include/parallel/algo.h: (random_shuffle(begin, end))
3989         Add namespace qualification to avoid ambiguity.
3991 2008-06-04  Benjamin Kosnik  <bkoz@redhat.com>
3993         * include/ext/pb_ds/assoc_container.hpp: Change allocator typedef
3994         to allocator_type, as per existing conventions.
3995         * include/ext/pb_ds/detail/binomial_heap_base_/
3996         binomial_heap_base_.hpp: Same.
3997         * include/ext/pb_ds/detail/cc_hash_table_map_/cc_ht_map_.hpp: Same.
3998         * include/ext/pb_ds/detail/pat_trie_/pat_trie_.hpp: Same.
3999         * include/ext/pb_ds/detail/bin_search_tree_/bin_search_tree_.hpp: Same.
4000         * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Same.
4001         * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp: Same.
4002         * include/ext/pb_ds/detail/trie_policy/trie_policy_base.hpp: Same.
4003         * include/ext/pb_ds/detail/pairing_heap_/pairing_heap_.hpp: Same.
4004         * include/ext/pb_ds/detail/binomial_heap_/binomial_heap_.hpp: Same.
4005         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
4006         left_child_next_sibling_heap_.hpp: Same.
4007         * include/ext/pb_ds/detail/thin_heap_/thin_heap_.hpp: Same.
4008         * include/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp: Same.
4009         * include/ext/pb_ds/detail/splay_tree_/splay_tree_.hpp: Same.
4010         * include/ext/pb_ds/detail/list_update_map_/lu_map_.hpp: Same.
4011         * include/ext/pb_ds/detail/rc_binomial_heap_/
4012         rc_binomial_heap_.hpp: Same.
4013         * include/ext/pb_ds/detail/rc_binomial_heap_/rc.hpp: Same.
4014         * include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp: Same.
4015         * include/ext/pb_ds/list_update_policy.hpp: Same.
4016         * include/ext/pb_ds/exception.hpp: Same.
4017         * include/ext/pb_ds/tree_policy.hpp: Same.
4018         * include/ext/pb_ds/trie_policy.hpp: Same.
4019         * include/ext/pb_ds/priority_queue.hpp: Same.
4020         * testsuite/util/regression/trait/assoc/trait.hpp: Same.
4021         * testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
4022         * testsuite/util/regression/rand/priority_queue/detail/
4023         defs_fn_imps.hpp: Same.
4024         * testsuite/util/regression/rand/priority_queue/detail/
4025         operator_fn_imps.hpp: Same.
4026         * testsuite/util/regression/rand/priority_queue/
4027         container_rand_regression_test.hpp: Same.
4028         * testsuite/util/regression/rand/assoc/detail/defs_fn_imps.hpp: Same.
4029         * testsuite/util/regression/rand/assoc/detail/
4030         operator_fn_imps.hpp: Same.
4031         * testsuite/util/regression/rand/assoc/
4032         container_rand_regression_test.hpp: Same.
4033         * testsuite/util/native_type/assoc/native_multimap.hpp: Same.
4034         * testsuite/util/native_type/assoc/native_hash_multimap.hpp: Same.
4035         * testsuite/util/common_type/assoc/detail/
4036         tree_supports_order_statistics.hpp: Same.
4037         * testsuite/util/common_type/assoc/detail/
4038         trie_supports_prefix_search.hpp: Same.
4039         * testsuite/util/common_type/assoc/detail/
4040         trie_supports_order_statistics.hpp: Same.
4042 2008-06-02  Sandra Loosemore  <sandra@codesourcery.com>
4043             Daniel Jacobowitz  <dan@codesourcery.com>
4045         * testsuite/27_io/basic_filebuf/sputbackc/char/9425.cc: Use
4046         dg-require-fileio.
4047         * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Likewise.
4048         * testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc: Likewise.
4050 2008-06-02  Paolo Carlini  <paolo.carlini@oracle.com>
4052         * include/bits/vector.tcc (vector<>::_M_insert_aux): In C++0x mode,
4053         avoid a memory leak if the first __uninitialized_move_a throws.
4054         (vector<>::_M_fill_insert): Do not always copy to __x_copy, similarly
4055         to _M_insert_aux.
4056         * testsuite/23_containers/vector/modifiers/moveable.cc: Adjust.
4057         * testsuite/23_containers/vector/resize/moveable.cc: Likewise.
4059 2008-05-31  Paolo Carlini  <paolo.carlini@oracle.com>
4060             Chris Jefferson  <chris@bubblescope.net>
4062         PR libstdc++/36338
4063         * include/bits/stl_heap.h (sort_heap): Use __pop_heap directly.
4064         (pop_heap): Slightly tweak.
4066 2008-05-29  Paolo Carlini  <paolo.carlini@oracle.com>
4068         * include/debug/bitset (bitset(const char*)): Implement DR 778
4069         in debug-mode too.
4071         * include/bits/cpp_type_traits.h (__is_integer): In C++0x mode
4072         deal with char16_t and char32_t.
4074 2008-05-26  Paolo Carlini  <paolo.carlini@oracle.com>
4076         * include/c_global/cmath (pow(float, int), pow(double, int),
4077         pow(long double, int)): Do not define in C++0x mode, per DR 550.
4078         * include/tr1_impl/cmath (pow): Do not bring in unconditionally
4079         from namespace std.
4080         * include/tr1/cmath (pow(double, double), pow(float, float),
4081         pow(long double, long double), pow(_Tp, _Up)): Define.
4082         * include/tr1/complex (pow): Do not bring in from namespace std.
4083         (pow(const std::complex<_Tp>&, int), pow(const std::complex<_Tp>&,
4084         const _Tp&), pow(const _Tp&, const std::complex<_Tp>&),
4085         pow(const std::complex<_Tp>&, const std::complex<_Tp>&)): Define.
4086         * include/tr1_impl/complex (pow(const std::complex<_Tp>&,
4087         const _Up&), pow(const _Tp&, const std::complex<_Up>&),
4088         pow(const std::complex<_Tp>&, const std::complex<_Up>&)): Always
4089         define.
4090         * doc/xml/manual/intro.xml: Add an entry for DR 550.
4091         * testsuite/26_numerics/headers/cmath/dr550.cc: New.
4092         * testsuite/tr1/8_c_compatibility/cmath/overloads.cc: Adjust.
4094 2008-05-25  Paolo Carlini  <paolo.carlini@oracle.com>
4096         * include/std/tuple: Ifndef __GXX_EXPERIMENTAL_CXX0X__ just error out.
4097         * include/std/date_time: Likewise.
4098         * include/std/system_error: Likewise.
4099         * include/std/type_traits: Likewise; fix typo in macro name.
4100         * include/std/regex: Likewise.
4101         * include/std/random: Likewise.
4102         * include/std/unordered_map: Likewise.
4103         * include/std/condition_variable: Likewise.
4104         * include/std/unordered_set: Likewise.
4105         * include/std/mutex: Likewise.
4106         * include/std/array: Likewise.
4108         * include/c_std/cmath: Fix obsolete comment.
4109         * include/c_global/cmath: Likewise.
4111 2008-05-25  Paolo Carlini  <paolo.carlini@oracle.com>
4113         * include/std/complex (complex<>::real(_Tp), complex<>::imag(_Tp),
4114         complex<float>::real(float), complex<float>::imag(float),
4115         complex<double>::real(double), complex<double>::imag(double),
4116         complex<long double>::real(long double),
4117         complex<long double>::imag(long double)): Add per DR 387.
4118         (complex<>::real(), complex<>::imag(), complex<float>::real(),
4119         complex<float>::imag(), complex<double>::real(),
4120         complex<double>::imag(), complex<long double>::real(),
4121         complex<long double>::imag(long double)): Adjust in C++0x mode.
4122         (real(complex<>&), imag(complex<>&), real(const complex<>&),
4123         imag(const complex<>&)): Likewise.
4124         * testsuite/26_numerics/complex/dr387.cc: New.
4125         * doc/xml/manual/intro.xml: Add an entry for DR 387.
4127 2008-05-25  Paolo Carlini  <paolo.carlini@oracle.com>
4129         * include/std/complex: Trivial stylistic changes, define inline
4130         members inline, consistently with the rest of the library.
4131         (pow(const _Tp&, const complex<>&)): Minor tweak.
4133 2008-05-24  Paolo Carlini  <paolo.carlini@oracle.com>
4135         * src/atomic.cc (atomic_flag_test_and_set_explicit,
4136         atomic_flag_clear_explicit): Suppress unused parameter warnings.
4138 2008-05-23  Paolo Carlini  <paolo.carlini@oracle.com>
4140         * include/std/tuple: Replace int -> size_t throughout per DR 775.
4141         * include/tr1_impl/array: Likewise.
4142         * include/tr1_impl/utility: Likewise.
4143         * doc/xml/manual/intro.xml: Add an entry for DR 775.
4145 2008-05-23  Paolo Carlini  <paolo.carlini@oracle.com>
4147         * doc/xml/manual/intro.xml: Adjust links to ISO documents.
4149 2008-05-23  Paolo Carlini  <paolo.carlini@oracle.com>
4151         * include/c_std/cmath (fpclassify): Use __builtin_fpclassify.
4152         * include/c_global/cmath (fpclassify): Likewise.
4154 2008-05-22  Paolo Carlini  <paolo.carlini@oracle.com>
4156         * include/tr1_impl/hashtable_policy.h (_Map_base<,,
4157         std::_Select1st<_Pair>, true,>::at): Add per DR 761.
4158         * testsuite/23_containers/unordered_map/dr761.cc: New.
4159         * doc/xml/manual/intro.xml: Add an entry for DR 761.
4161 2008-05-22  Paolo Carlini  <paolo.carlini@oracle.com>
4163         * testsuite/26_numerics/complex/dr781.cc: Add test variable.
4165 2008-05-22  Paolo Carlini  <paolo.carlini@oracle.com>
4167         * include/std/complex (proj(const std::complex<>&), proj(_Tp)):
4168         Add per DR 781.
4169         * include/tr1_impl/complex(polar(const _Tp&, const _Up&)): Move to...
4170         * include/tr1/complex: ... here.
4171         * doc/xml/manual/intro.xml: Add an entry for DR 781.
4172         * testsuite/26_numerics/complex/dr781.cc: Add.
4173         * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Update.
4174         * configure: Regenerate.
4176 2008-05-21  Paolo Carlini  <paolo.carlini@oracle.com>
4178         * include/std/bitset (bitset<>::bitset(const char*)): Add per DR 778.
4179         (bitset<>::_M_copy_from_ptr): Add.
4180         (bitset<>::_M_copy_from_string): Forward to the latter.
4181         * doc/xml/manual/intro.xml: Add an entry for DR 778.
4182         * testsuite/23_containers/bitset/cons/2.cc: Add.
4184 2008-05-21  Paolo Carlini  <paolo.carlini@oracle.com>
4186         * doc/html/ext/lwg-active.html: Update to Revision R56.
4187         * doc/html/ext/lwg-closed.html: Likewise.
4188         * doc/html/ext/lwg-defects.html: Likewise.
4190 2008-05-20  Paolo Carlini  <paolo.carlini@oracle.com>
4192         PR c++/33979 (partial)
4193         * include/tr1_impl/functional_hash.h (hash<char16_t>,
4194         hash<char32_t>): Add specializations.
4195         * include/tr1_impl/type_traits (is_integral<char16_t>,
4196         is_integral<char32_t>): Likewise.
4197         * include/std/limits (numeric_limits<char16_t>,
4198         numeric_limits<char32_t>): Likewise.
4199         * src/limits_c++0x.cc: Add.
4200         * src/Makefile.am: Update.
4201         * testsuite/20_util/hash/requirements/explicit_instantiation.cc:
4202         Update.
4203         * testsuite/20_util/is_integral/value.cc: New.
4204         * testsuite/20_util/is_integral/requirements/typedefs.cc: Likewise.
4205         * testsuite/20_util/is_integral/requirements/
4206         explicit_instantiation.cc: Likewise.
4207         * testsuite/18_support/numeric_limits/char16_32_t.cc: Likewise.
4208         * config/abi/pre/gnu.ver: Export new numeric_limits symbols at
4209         GLIBCXX_3.4.11.
4210         * configure: Regenerate.
4211         * src/Makefile.in: Likewise.
4212         * config.h.in: Likewise.
4214 2008-05-16  Benjamin Kosnik  <bkoz@redhat.com>
4216         * include/std/system_error: Align to current draft specifications.
4217         * src/system_error.cc: Same.
4218         * src/functexcept.cc: Adjust for corrected system_error construction.
4219         * include/std/ostream: Adjust error_code inserter.
4220         * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Remove sys_nerr test.
4221         * config/abi/pre/gnu.ver: Add new exports.
4223         * testsuite/util/testsuite_error.h: Consolidate error testing
4224         utilities here.
4225         * testsuite/19_diagnostics/error_code/cons/1.cc: Use
4226         testsuite_error, adjust line numbers and constructor calls.
4227         * testsuite/19_diagnostics/error_code/operators/equal.cc: Same.
4228         * testsuite/19_diagnostics/error_code/operators/not_equal.cc: Same.
4229         * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Same.
4230         * testsuite/19_diagnostics/error_category/cons/default.cc: Same.
4231         * testsuite/19_diagnostics/error_category/operators/equal.cc: Same.
4232         * testsuite/19_diagnostics/error_category/operators/not_equal.cc: Same.
4233         * testsuite/19_diagnostics/system_error/cons_virtual_derivation.cc:
4234         Same.
4235         * testsuite/19_diagnostics/system_error/cons-1.cc: Same.
4236         * testsuite/19_diagnostics/system_error/what-1.cc: Same.
4237         * testsuite/19_diagnostics/system_error/what-2.cc: Same.
4238         * testsuite/19_diagnostics/system_error/what-big.cc: Same.
4239         * testsuite/19_diagnostics/system_error/what-3.cc: Same.
4240         * testsuite/19_diagnostics/system_error/what-4.cc: Same.
4242 2008-05-15  Bernd Schmidt  <bernd.schmidt@analog.com>
4244         * configure.ac: Don't check AC_LIBTOOL_DLOPEN if using newlib.
4245         * configure: Regenerate.
4247 2008-05-15  Johannes Singler  <singler@ira.uka.de>
4249         * xml/manual/parallel_mode.xml:
4250         General revision and documentation of new compile-time
4251         options for sorting.
4253 2008-05-14  Benjamin Kosnik  <bkoz@redhat.com>
4255         * include/std/mutex (mutex::try_lock): Eat errors.
4256         (mutex::unlock): Same.
4257         (recursive_mutex::try_lock): Eat errors.
4258         (recursive_mutex::unlock): Same.
4259         * testsuite/30_threads/mutex/dest/destructor_locked.cc: Add
4260         -pthreads, adjust line numbers.
4261         * testsuite/30_threads/mutex/native_handle/1.cc: Same.
4262         * testsuite/30_threads/mutex/cons/1.cc: Same.
4263         * testsuite/30_threads/mutex/try_lock/1.cc: Same.
4264         * testsuite/30_threads/mutex/try_lock/2.cc: Same.
4265         * testsuite/30_threads/mutex/lock/1.cc: Same.
4266         * testsuite/30_threads/mutex/unlock/1.cc: Same.
4267         * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc: Same.
4268         * testsuite/30_threads/recursive_mutex/native_handle/1.cc: Same.
4269         * testsuite/30_threads/recursive_mutex/cons/1.cc: Same.
4271 2008-05-14  Benjamin Kosnik  <bkoz@redhat.com>
4273         * include/std/sstream: Adjust braces.
4274         * include/bits/fstream.tcc: Same.
4275         * testsuite/29_atomics/atomic_flag/test_and_set/explicit.c: Add
4276         -shared-libgcc.
4277         * testsuite/29_atomics/atomic_flag/test_and_set/implicit.c: Same.
4279         * doc/doxygen/user.cfg.in: Remove thread include.
4281 2008-05-13  David Daney  <ddaney@avtrex.com>
4283         * config/cpu/mips/atomicity.h: Remove file.
4284         * config/cpu/mips: Remove directory.
4285         * configure.host: Remove host specific handling for mips*-*-*.
4287 2008-05-12  Stefano Soffia  <soffia@cs.unipr.it>
4288             Paolo Carlini  <paolo.carlini@oracle.com>
4290         * include/debug/vector (vector<>::_M_requires_reallocation): Just
4291         use this->capacity().
4292         (vector<>::capacity): Move non-pedantic / pedantic logic here.
4293         * testsuite/23_containers/vector/
4294         debug_mode_requires_reallocation-2.cc: New.
4296         * testsuite/23_containers/vector/debug_mode_requires_reallocation.cc:
4297         Rename to debug_mode_requires_reallocation-1.cc
4299 2008-05-10  Roberto Bagnara  <bagnara@cs.unipr.it>
4300             Paolo Carlini  <paolo.carlini@oracle.com>
4302         * include/debug/vector (vector<>::_M_requires_reallocation): Fix macro.
4303         * testsuite/23_containers/vector/debug_mode_requires_reallocation.cc:
4304         New.
4306 2008-05-07  Johannes Singler  <singler@ira.uka.de>
4308         * include/parallel/quicksort.h:
4309         (parallel_sort_qs_conquer) Explicitly request number of threads
4310         in the parallel clause.
4311         (parallel_sort_qs) Remove setting the number of threads globally.
4313 2008-05-06  Benjamin Kosnik  <bkoz@redhat.com>
4315         * include/std/mutex (mutex::mutex): Fix usage of initializing macro.
4316         (recursive_mutex::recursive_mutex): Same.
4317         (once_flag::once_flag): Same.
4318         * testsuite/30_threads/mutex/cons/assign_neg.cc: Fix line numbers.
4319         * testsuite/30_threads/mutex/cons/copy_neg.cc: Same.
4320         * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Same.
4321         * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Same.
4323 2008-05-06  Benjamin Kosnik  <bkoz@redhat.com>
4325         * include/std/condition_variable: New.
4326         * include/std/mutex: New.
4327         * src/condition_variable.cc: New.
4328         * src/mutex.cc: New.
4329         * include/bits/functexcept.h: Add __throw_system_error varients.
4330         * src/functexcept.cc: Same.
4331         * config/abi/pre/gnu.ver: Add exports.
4333         * doc/xml/manual/using.xml: Add new includes.
4334         * doc/doxygen/user.cfg.in: Doxygen support.
4335         * doc/doxygen/doxygroups.cc: Same.
4337         * include/Makefile.am: Add mutex, condition_variable.
4338         * include/Makefile.in: Regenerated.
4339         * src/Makefile.am: Add mutex.cc, condition_variable.cc.
4340         * src/Makefile.in: Regenerated.
4342         * testsuite/30_threads: New.
4343         * testsuite/30_threads/lock_error: New.
4344         * testsuite/30_threads/mutex: New.
4345         * testsuite/30_threads/mutex/dest: New.
4346         * testsuite/30_threads/mutex/dest/destructor_locked.cc: New.
4347         * testsuite/30_threads/mutex/native_handle: New.
4348         * testsuite/30_threads/mutex/native_handle/1.cc: New.
4349         * testsuite/30_threads/mutex/cons: New.
4350         * testsuite/30_threads/mutex/cons/assign_neg.cc: New.
4351         * testsuite/30_threads/mutex/cons/1.cc: New.
4352         * testsuite/30_threads/mutex/cons/copy_neg.cc: New.
4353         * testsuite/30_threads/mutex/requirements: New.
4354         * testsuite/30_threads/mutex/requirements/typedefs.cc: New.
4355         * testsuite/30_threads/mutex/try_lock: New.
4356         * testsuite/30_threads/mutex/try_lock/1.cc: New.
4357         * testsuite/30_threads/mutex/try_lock/2.cc: New.
4358         * testsuite/30_threads/mutex/lock: New.
4359         * testsuite/30_threads/mutex/lock/1.cc: New.
4360         * testsuite/30_threads/mutex/unlock: New.
4361         * testsuite/30_threads/mutex/unlock/1.cc: New.
4362         * testsuite/30_threads/recursive_mutex: New.
4363         * testsuite/30_threads/recursive_mutex/dest: New.
4364         * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc: New.
4365         * testsuite/30_threads/recursive_mutex/native_handle: New.
4366         * testsuite/30_threads/recursive_mutex/native_handle/1.cc: New.
4367         * testsuite/30_threads/recursive_mutex/cons: New.
4368         * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: New.
4369         * testsuite/30_threads/recursive_mutex/cons/1.cc: New.
4370         * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: New.
4371         * testsuite/30_threads/recursive_mutex/requirements: New.
4372         * testsuite/30_threads/recursive_mutex/requirements/typedefs.cc: New.
4373         * testsuite/30_threads/lock_guard: New.
4374         * testsuite/30_threads/lock_guard/requirements: New.
4375         * testsuite/30_threads/lock_guard/requirements/typedefs.cc: New.
4376         * testsuite/30_threads/lock_guard/requirements/
4377         explicit_instantiation.cc: New.
4378         * testsuite/30_threads/headers: New.
4379         * testsuite/30_threads/headers/mutex: New.
4380         * testsuite/30_threads/headers/mutex/types_std_c++0x.cc: New.
4381         * testsuite/30_threads/headers/mutex/std_c++0x_neg.cc: New.
4382         * testsuite/30_threads/headers/condition_variable: New.
4383         * testsuite/30_threads/headers/condition_variable/
4384         types_std_c++0x.cc: New.
4385         * testsuite/30_threads/headers/condition_variable/std_c++0x_neg.cc: New.
4386         * testsuite/30_threads/once_flag: New.
4387         * testsuite/30_threads/unique_lock: New.
4388         * testsuite/30_threads/unique_lock/requirements: New.
4389         * testsuite/30_threads/unique_lock/requirements/typedefs.cc: New.
4390         * testsuite/30_threads/unique_lock/requirements/
4391         explicit_instantiation.cc: New.
4392         * testsuite/17_intro/headers/c++200x/all.cc: Add new includes.
4394 2008-05-06  Benjamin Kosnik  <bkoz@redhat.com>
4396         PR libstdc++/36130
4397         * include/bits/c++config: Namespace macros and setup only in C++.
4398         * testsuite/29_atomics/headers/stdatomic.h/debug_mode.c: New.
4400 2008-05-06  Johannes Singler  <singler@ira.uka.de>
4402         * include/parallel/multiway_merge.h:
4403           (multiway_merge_*_unguarded):
4404           Pass sentinel directly, to allow correct determination.
4405           (multiway_merge_loser_tree_unguarded):
4406           Remove over-cautious assertion.
4407           (calls to multiway_merge_*_splitting):
4408           Parametrize with type that is correct in all cases.
4409         * include/parallel/losertree.h:
4410           (delete_min_insert (in many classes)):
4411           Correct and standardize assertions.
4413 2008-05-05  Benjamin Kosnik  <bkoz@redhat.com>
4415         * testsuite/util/testsuite_visualization.h: Move contents into...
4416         * testsuite/util/testsuite_performance.h: ...here.
4417         * testsuite/util/testsuite_common_types.h: Move
4418         performance-related test infrastructure into
4419         testsuite_performance.
4420         * testsuite/performance/25_algorithms/search_n.cc: Fix includes.
4421         * testsuite/performance/23_containers/find/map.cc: Same.
4422         * testsuite/performance/23_containers/create/map.cc: Same.
4423         * testsuite/performance/23_containers/insert_erase/associative.cc: Same.
4424         * testsuite/performance/23_containers/insert/sequence.cc: Same.
4425         * testsuite/performance/23_containers/insert/associative.cc: Same.
4426         * testsuite/performance/23_containers/create_from_sorted/set.cc: Same.
4427         * testsuite/performance/23_containers/index/map.cc: Same.
4428         * testsuite/performance/23_containers/insert_from_sorted/set.cc: Same.
4429         * testsuite/performance/23_containers/create_sort/list.cc: Same.
4430         * testsuite/performance/23_containers/sort_search/list.cc: Same.
4431         * testsuite/performance/23_containers/producer_consumer/sequence.cc:
4432         Same.
4433         * testsuite/performance/23_containers/producer_consumer/associative.cc:
4434         Same.
4436         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers.
4437         * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
4439 2008-05-05  Benjamin Kosnik  <bkoz@redhat.com>
4441         * 20_util/make_signed/requirements/typedefs-1.cc: Correct requirements.
4442         * 20_util/make_unsigned/requirements/typedefs-1.cc: Same.
4444 2008-05-01  Benjamin Kosnik  <bkoz@redhat.com>
4446         * include/bits/c++config: Revert _GLIBCXX_LONG_DOUBLE_COMPAT change.
4448 2008-04-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4450         * include/Makefile.am (install-headers): Cope with empty
4451         parallel_headers.
4452         * include/Makefile.in: Regenerate.
4454 2008-04-29  Benjamin Kosnik  <bkoz@redhat.com>
4456         * include/bits/c++config: Remove space between '#' and 'undef' for
4457         _GLIBCXX_LONG_DOUBLE_COMPAT.
4459 2008-04-29  Joseph Myers  <joseph@codesourcery.com>
4461         * Makefile.am (install-html, install-pdf): Add dummy targets.
4462         * Makefile.in: Regenerate.
4463         * doc/Makefile.am (install-html, install-pdf): Remove.
4464         * doc/Makefile.in: Regenerate.
4466 2008-04-28  Benjamin Kosnik  <bkoz@redhat.com>
4468         * include/bits/c++config: Move os_defines and cpu_defines after
4469         namespace definitions and base macros.
4471 2008-04-28  Benjamin Kosnik  <bkoz@redhat.com>
4473         PR libstdc++/35887
4474         * acinclude.m4 (GLIBCXX_ENABLE_PARALLEL): Revert back to just
4475         checking for omp.h.
4476         * configure: Regenerate.
4478 2008-04-25  Benjamin Kosnik  <bkoz@redhat.com>
4480         PR libstdc++/35922
4481         * include/std/unordered_map: Include debug/unordered_map if
4482         _GLIBCXX_DEBUG.
4483         * testsuite/23_containers/unordered_map/requirements/debug.cc: Move...
4484         * testsuite/23_containers/unordered_map/requirements/
4485         debug_container.cc: ...here.
4486         * testsuite/23_containers/unordered_map/requirements/debug_mode.cc: New.
4487         * testsuite/23_containers/unordered_set/requirements/debug.cc: Move...
4488         * testsuite/23_containers/unordered_set/requirements/
4489         debug_container.cc: ...here.
4490         * testsuite/23_containers/unordered_set/requirements/debug_mode.cc: New.
4492 2008-04-25  Benjamin Kosnik  <bkoz@redhat.com>
4494         PR libstdc++/35887
4495         * acinclude.m4: (GLIBCXX_ENABLE_PARALLEL): Check for thread support.
4496         * configure.ac: Re-order compiler macros.
4497         * configure: Regenerated.
4499 2008-04-24  Benjamin Kosnik  <bkoz@redhat.com>
4501         PR libstdc++/35887
4502         * configure.ac: Add default argument to GLIBCXX_ENABLE_PARALLEL.
4503         Move atomic warnings to GLIBCXX_ENABLE_ATOMIC_BUILTINS.
4504         * acinclude.m4 (GLIBCXX_ENABLE_PARALLEL): Check for --disable-libgomp.
4505         (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Add warning information.
4506         * configure: Regenerate.
4507         * include/Makefile.am (parallel_headers): Make conditional on
4508         ENABLE_PARALLEL.
4509         * include/Makefile.in: Regenerate.
4511 2008-04-24  Paolo Carlini  <pcarlini@suse.de>
4513         PR libstdc++/35969
4514         * include/debug/list (merge): Use _M_transfer_iter, consistently
4515         with the splice members.
4516         * testsuite/23_containers/list/operations/35969.cc: New.
4518         * testsuite/23_containers/list/operators: Rename to
4519         testsuite/23_containers/list/operations.
4521 2008-04-24  Benjamin Kosnik  <bkoz@redhat.com>
4523         * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Check for set of
4524         all used __sync builtins, in two sizes.
4525         * config.h.in: Regenerate.
4526         * configure: Regenerate.
4527         * src/atomic.cc: Use  _GLIBCXX_ATOMIC_BUILTINS_1.
4528         * include/ext/atomicity.h: Use  _GLIBCXX_ATOMIC_BUILTINS_4.
4529         * libsupc++/guard.cc: Use  _GLIBCXX_ATOMIC_BUILTINS_4.
4530         * doc/xml/manual/concurrency.xm: Update docs.
4532 2008-04-23  Benjamin Kosnik  <bkoz@redhat.com>
4534         * config/os/hpux/os_defines.h: Use _GLIBCXX_BEGIN_NAMESPACE,
4535         _GLIBCXX_BEGIN_EXTERN_C, etc.
4537 2008-04-23  Johannes Singler  <singler@ira.uka.de>
4539         * include/parallel/quicksort.h: Reformat,
4540         (parallel_sort_qs): Do not pass number of elements.
4541         * include/parallel/balanced_quicksort.h: Reformat,
4542         (parallel_sort_qsb): Do not pass number of elements.
4543         * include/parallel/tags.h:
4544         Introduce new tags for compile-time choice.
4545         * include/parallel/merge.h:
4546         (parallel_merge_advance):Beautified.
4547         * include/parallel/algo.h: Reformatting (spaces for tabs)
4548         New sort and stable_sort variants, corresponding to the tags.
4549         * include/parallel/sort.h:
4550         New sort and stable_sort variants, corresponding to the tags.
4551         Changed determining the desired number of threads.
4553 2008-04-23  Johannes Singler  <singler@ira.uka.de>
4555         * include/parallel/multiway_merge.h
4556         (multiway_merge_loser_tree):
4557         Leave checks to callers, add precondition instead.
4558         (multiway_merge_loser_tree_unguarded): Likewise.
4559         (multiway_merge_loser_tree_sentinel): Likewise.
4560         (sequential_multiway_merge): Added checks for total length 0.
4561         (parallel_multiway_merge): Skip empty sequences.
4562         (multiway_merge, all variants):
4563         Remove temporary variable, return directly.
4564         (stable_multiway_merge, all variants): Likewise.
4565         (multiway_merge_sentinels, all variants):  Likewise.
4566         (stable_multiway_merge_sentinels, all variants): Likewise.
4567         * include/parallel/multiseq_selection.h
4568         (multiseq_partition): More detailed assertions.
4570 2008-04-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4572         * acinclude.m4 (GLIBCXX_CHECK_SETRLIMIT, GLIBCXX_ENABLE_C99)
4573         (GLIBCXX_CHECK_C99_TR1, GLIBCXX_CHECK_RANDOM_TR1)
4574         (GLIBCXX_ENABLE_VISIBILITY): Fix cache variable names.
4575         (GLIBCXX_CHECK_SYSTEM_ERROR): Likewise.  Factorize.
4576         * configure: Regenerate.
4578 2008-04-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4580         PR libstdc++/35954
4581         * include/Makefile.am (pch*_output): Do not touch pch*_output_anchor.
4582         Call 'mkdir -p' unconditionally, but ignore its return value.
4583         * include/Makefile.in: Regenerate.
4585         * include/Makefile.am: Fix most stamp rules to regenerate
4586         the links for all sources newer than the stamp file.
4587         * include/Makefile.in: Regenerate.
4588         * Makefile.in: Likewise.
4589         * src/Makefile.in: Likewise.
4590         * doc/Makefile.in: Likewise.
4591         * po/Makefile.in: Likewise.
4592         * libmath/Makefile.in: Likewise.
4593         * libsupc++/Makefile.in: Likewise.
4594         * testsuite/Makefile.in: Likewise.
4596 2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
4598         PR bootstrap/35457
4599         * aclocal.m4: Regenerate.
4600         * configure: Regenerate.
4602 2008-04-16  Andreas Tobler  <a.tobler@schweiz.org>
4604         PR libstdc++/35915
4605         * configure.ac: Use GCC_HEADER_STDINT.
4606         * src/atomic.cc: Include gstdint.h
4607         * configure: Regenerate.
4608         * Makefile.in: Likewise.
4609         * doc/Makefile.in: Likewise.
4610         * include/Makefile.in: Likewise.
4611         * libmath/Makefile.in: Likewise.
4612         * libsupc++/Makefile.in: Likewise.
4613         * po/Makefile.in: Likewise.
4614         * src/Makefile.in: Likewise.
4615         * testsuite/Makefile.in: Likewise.
4616         * aclocal.m4: Likewise.
4618 2008-04-14  Benjamin Kosnik  <bkoz@redhat.com>
4620         PR libstdc++/35816
4621         * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Set CXXFLAGS to
4622         -O0 when checking for atomic builtins.
4623         * configure: Regenerate.
4625 2008-04-14  Benjamin Kosnik  <bkoz@redhat.com>
4627         * include/bits/c++config: Guard _LDBL_ macros with __cplusplus.
4629 2008-04-10  Benjamin Kosnik  <bkoz@redhat.com>
4631         * doc/html/*: Regenerate.
4633 2008-04-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4635         * doc/xml/manual/bitmap_allocator.xml: Improve wording a bit.
4636         * doc/xml/authors.xml: Fix typos.
4637         * doc/xml/faq.xml: Likewise.
4638         * doc/xml/manual/abi.xml: Likewise.
4639         * doc/xml/manual/allocator.xml: Likewise.
4640         * doc/xml/manual/appendix_contributing.xml: Likewise.
4641         * doc/xml/manual/backwards_compatibility.xml: Likewise.
4642         * doc/xml/manual/build_hacking.xml: Likewise.
4643         * doc/xml/manual/codecvt.xml: Likewise.
4644         * doc/xml/manual/concurrency.xml: Likewise.
4645         * doc/xml/manual/ctype.xml: Likewise.
4646         * doc/xml/manual/debug_mode.xml: Likewise.
4647         * doc/xml/manual/diagnostics.xml: Likewise.
4648         * doc/xml/manual/evolution.xml: Likewise.
4649         * doc/xml/manual/extensions.xml: Likewise.
4650         * doc/xml/manual/locale.xml: Likewise.
4651         * doc/xml/manual/messages.xml: Likewise.
4652         * doc/xml/manual/parallel_mode.xml: Likewise.
4653         * doc/xml/manual/status_cxx200x.xml: Likewise.
4654         * doc/xml/manual/strings.xml: Likewise.
4655         * doc/xml/manual/support.xml: Likewise.
4656         * doc/xml/manual/test.xml: Likewise.
4657         * doc/xml/manual/using.xml: Likewise.
4659 2008-04-10  Benjamin Kosnik  <bkoz@redhat.com>
4660             Johannes Singler  <singler@ira.uka.de>
4662         * doc/xml/manual/parallel_mode.xml: Remove map/set bulk
4663         insertors. Correct omp_set_num_threads example.
4665 2008-04-10  Benjamin Kosnik  <bkoz@redhat.com>
4667         * include/c_global/cstdatomic: C++ types only, format, doxygen markup.
4668         * include/c_compatibility/stdatomic.h: "C" only, format, doxygen markup.
4669         * src/atomic.c: Format, doxygen markup, edits.
4671         * include/Makefile.am (cstdatomic, stdatomic.h): Add.
4672         * src/Makefile.am (atomic.c): Add.
4673         * acinclude.m4 (GLIBCXX_CHECK_STANDARD_LAYOUT): New.
4674         * configure.ac: Call it.
4675         * include/Makefile.in: Regenerate.
4676         * src/Makefile.in: Same.
4677         * Makefile.in: Same.
4678         * doc/Makefile.in: Same.
4679         * po/Makefile.in: Same.
4680         * libmath/Makefile.in: Same.
4681         * include/Makefile.in: Same.
4682         * testsuite/Makefile.in: Same.
4683         * libsupc++/Makefile.in: Same.
4684         * config.h.in: Same.
4685         * configure: Same.
4687         * config/abi/pre/gnu.ver: Add atomics exports.
4689         * include/ext/typelist.h (apply_generator): New.
4690         * include/bits/c++config (_GLIBCXX_BEGIN_EXTERN_C): New.
4691         (_GLIBCXX_END_EXTERN_C): New.
4692         Deal with _GLIBCXX_BEGIN_NAMESPACE, _GLIBCXX_END_NAMESPACE when
4693         compiling as C.
4694         * testsuite/lib/libstdc++.exp (v3_target_compile_as_c): Add -L
4695         flag for libstdc++.
4696         * testsuite/util/testsuite_common_types.h (integral_types): New
4697         typelist.
4698         (atomics, atomics_tl): Same.
4699         (assignable, default_constructible, copy_constructible,
4700         explicit_value_constructible): New.
4701         * testsuite/17_intro/headers/c++200x/all.cc: Test new headers.
4702         * testsuite/29_atomics: New.
4703         * testsuite/29_atomics/atomic_address: Same.
4704         * testsuite/29_atomics/atomic_address/cons: Same.
4705         * testsuite/29_atomics/atomic_address/cons/explicit_value.cc: Same.
4706         * testsuite/29_atomics/atomic_address/cons/assign_neg.cc: Same.
4707         * testsuite/29_atomics/atomic_address/cons/copy_neg.cc: Same.
4708         * testsuite/29_atomics/atomic_address/cons/default.cc: Same.
4709         * testsuite/29_atomics/atomic_address/cons/aggregate.cc: Same.
4710         * testsuite/29_atomics/atomic_flag: Same.
4711         * testsuite/29_atomics/atomic_flag/cons: Same.
4712         * testsuite/29_atomics/atomic_flag/cons/assign_neg.cc: Same.
4713         * testsuite/29_atomics/atomic_flag/cons/copy_neg.cc: Same.
4714         * testsuite/29_atomics/atomic_flag/cons/default.cc: Same.
4715         * testsuite/29_atomics/atomic_flag/cons/aggregate.cc: Same.
4716         * testsuite/29_atomics/atomic_flag/requirements: Same.
4717         * testsuite/29_atomics/atomic_flag/requirements/standard_layout.cc:
4718         Same.
4719         * testsuite/29_atomics/atomic_flag/
4720         atomic_global_fence_compatibility.cc: Same.
4721         * testsuite/29_atomics/atomic_flag/test_and_set: Same.
4722         * testsuite/29_atomics/atomic_flag/test_and_set/explicit.c: Same.
4723         * testsuite/29_atomics/atomic_flag/test_and_set/explicit.cc: Same.
4724         * testsuite/29_atomics/atomic_flag/test_and_set/implicit.c: Same.
4725         * testsuite/29_atomics/atomic_flag/test_and_set/implicit.cc: Same.
4726         * testsuite/29_atomics/headers: Same.
4727         * testsuite/29_atomics/headers/cstdatomic: Same.
4728         * testsuite/29_atomics/headers/cstdatomic/types_std_c++0x.cc: Same.
4729         * testsuite/29_atomics/headers/cstdatomic/functions_std_c++0x.cc: Same.
4730         * testsuite/29_atomics/headers/cstdatomic/std_c++0x_neg.cc: Same.
4731         * testsuite/29_atomics/headers/cstdatomic/macros.cc: Same.
4732         * testsuite/29_atomics/headers/stdatomic.h: Same.
4733         * testsuite/29_atomics/headers/stdatomic.h/macros.c: Same.
4734         * testsuite/29_atomics/headers/stdatomic.h/types.c: Same.
4735         * testsuite/29_atomics/headers/stdatomic.h/functions.c: Same.
4736         * testsuite/29_atomics/atomic: Same.
4737         * testsuite/29_atomics/atomic/cons: Same.
4738         * testsuite/29_atomics/atomic/cons/explicit_value.cc: Same.
4739         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
4740         * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
4741         * testsuite/29_atomics/atomic/cons/default.cc: Same.
4742         * testsuite/29_atomics/atomic/requirements: Same.
4743         * testsuite/29_atomics/atomic/requirements/explicit_instantiation: Same.
4744         * testsuite/29_atomics/atomic/requirements/explicit_instantiation/
4745         1.cc: Same.
4747 2008-04-10  Lawrence Crowl  <crowl@google.com>
4749         * include/c_global/cstdatomic: New.
4750         * include/c_compatibility/stdatomic.h: New.
4751         * src/atomic.c: New.
4753 2008-04-10  Benjamin Kosnik  <bkoz@redhat.com>
4755         * include/std/tuple: Consistency check for include guard, doxygen
4756         file markup.
4757         * include/std/date_time: Same.
4758         * include/std/type_traits: Same.
4759         * include/std/regex: Same.
4760         * include/std/array: Same.
4761         * include/std/system_error: Same, add error_code ctor.
4763 2008-04-07  Johannes Singler  <singler@ira.uka.de>
4765         * include/parallel/multiway_merge.h: Moved decisions to
4766         compile-time instead of run-time.
4767         * include/parallel/losertree.h: Removed obsolete variants, added
4768         variant that uses pointers in the loser tree.
4769         * include/parallel/types.h: Remove obsolete settings options from enum.
4770         * include/parallel/features.h: Remove obsolete compile-time switches.
4771         * include/parallel/compiletime_settings.h: Remove obsolete variant
4772         that copies back *after* sorting.
4773         * include/parallel/tags.h: Add one new tag for compile-time switch.
4774         * include/parallel/merge.h: Adapt to changes in multiway_merge.h.
4775         * include/parallel/multiway_mergesort.h: Adapt to changes in
4776         multiway_merge.h. Factor out splitting variants. Remove obsolete
4777         variant that copies back *after* sorting.
4778         * include/parallel/sort.h: Adapt to changes in multiway_mergesort.h.
4779         * testsuite/25_algorithms/sort/35588.cc: Added test case from /
4780         for PR 35588.
4782 2008-03-29  Paolo Carlini  <pcarlini@suse.de>
4784         PR libstdc++/35725
4785         * include/bits/stl_algobase.h (__fill_a(_ForwardIterator,
4786         _ForwardIterator, _Tp), __fill_a(_Tp*, _Tp*, _Tp),
4787         __fill_n_a(_OutputIterator, _Size, _Tp), __fill_n_a(_Tp*, _Size,
4788         _Tp)): Fix signatures.
4789         * testsuite/25_algorithms/fill/35725.cc: New.
4790         * testsuite/25_algorithms/fill_n/35725.cc: Likewise.
4792 2008-03-29  Matthias Klose  <doko@ubuntu.com>
4794         * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Update.
4795         * config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Likewise.
4796         * config/abi/post/mips-linux-gnu/baseline_symbols.txt: Likewise.
4797         * config/abi/post/sparc-linux-gnu/baseline_symbols.txt: Likewise.
4799 2008-03-27  Ian Lance Taylor  <iant@google.com>
4801         * acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Set
4802         glibcxx_ld_is_gold.  Check for gold in --gc-sections test.
4803         (GLIBCXX_ENABLE_SYMVERS): Check for gold.
4804         * aclocal.m4, configure: Rebuild.
4806 2008-03-26  Benjamin Kosnik  <bkoz@redhat.com>
4808         * testsuite/util/testsuite_abi.h: Remove symbol_objects,
4809         symbol_names typedefs.
4810         * testsuite/util/testsuite_abi.cc (compare_symbols): Correct check
4811         for long double compatiblity symbols, simplify data structures used.
4813 2008-03-25  Benjamin Kosnik  <bkoz@redhat.com>
4815         * scripts/run_doxygen: Remove html_output_dir. Downgrade to
4816         Doxygen 1.5.1.
4817         * doc/doxygen/style.css: Delete.
4818         * doc/doxygen/user.cfg.in: Regenerate with Doxygen 1.5.1.
4819         (INPUT): Update.
4820         (PREDEFINED): Update.
4821         (HTML_OUTPUT): Remove html_output_dir, use html.
4822         (HTML_STYLESHEET): Remove style.css.
4823         * doc/doxygen/tables.html: Remove style.css use.
4824         * doc/doxygen/mainpage.html: Nested lists for Namespaces and Classes.
4825         * doc/doxygen/doxygroups.cc: Namespace edits.
4826         * doc/doxygen/Intro.3: Correct typo.
4828         * doc/xml/api.xml: Add gcc-4.3 links.
4829         * doc/html/api.html: Regenerate.
4831         * include/debug/debug.h: Document namepaces here.
4832         * include/parallel/base.h: Same.
4833         * include/ext/typelist.h: Same.
4834         * include/ext/pb_ds/tag_and_trait.hpp: Same.
4836         * include/tr1_impl/random: Adjust line break.
4837         * include/tr1_impl/unordered_map: Correct and or add markup.
4838         * include/tr1_impl/boost_shared_ptr.h: Correct and or add markup.
4839         * include/tr1_impl/functional_hash.h: Same.
4840         * include/tr1_impl/cmath: Same.
4841         * include/tr1_impl/functional: Same.
4842         * include/tr1_impl/unordered_set: Same.
4843         * include/tr1_impl/complex: Same.
4844         * include/tr1_impl/type_traits: Same.
4845         * include/tr1_impl/regex: Same.
4846         * include/tr1_impl/array: Same.
4847         * include/std/tuple: Same.
4848         * include/std/date_time: Same.
4849         * include/std/system_error: Same.
4850         * include/std/type_traits: Same.
4851         * include/ext/enc_filebuf.h: Same.
4852         * include/ext/throw_allocator.h: Same.
4853         * include/ext/pool_allocator.h: Same.
4854         * include/ext/bitmap_allocator.h: Same.
4855         * include/ext/concurrence.h: Same.
4856         * include/ext/codecvt_specializations.h: Same.
4857         * include/ext/stdio_sync_filebuf.h: Same.
4858         * include/ext/array_allocator.h: Same.
4859         * include/ext/mt_allocator.h: Same.
4860         * include/bits/locale_classes.h: Same.
4861         * include/bits/locale_facets.h: Same.
4862         * include/bits/codecvt.h: Same.
4863         * include/bits/char_traits.h: Same.
4864         * include/bits/allocator.h: Same.
4865         * include/bits/locale_facets_nonio.h: Same.
4866         * include/tr1/poly_laguerre.tcc: Same.
4867         * include/tr1/riemann_zeta.tcc: Same.
4868         * include/tr1/beta_function.tcc: Same.
4869         * include/tr1/tuple: Same.
4870         * include/tr1/exp_integral.tcc: Same.
4871         * include/tr1/gamma.tcc: Same.
4872         * include/tr1/hypergeometric.tcc: Same.
4873         * include/tr1/modified_bessel_func.tcc: Same.
4874         * include/tr1/legendre_function.tcc: Same.
4875         * include/tr1/type_traits: Same.
4876         * include/tr1/special_function_util.h: Same.
4877         * include/tr1/bessel_function.tcc: Same.
4878         * include/tr1/cmath: Same.
4879         * include/tr1/poly_hermite.tcc: Same.
4880         * include/tr1/ell_integral.tcc: Same.
4881         * config/abi/compatibility.h: Adjust file name.
4883         * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Adjust
4884         line numbers.
4885         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
4886         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
4888 2008-03-23  Paolo Carlini  <pcarlini@suse.de>
4890         * doc/xml/faq.xml: Fix various links.
4891         * doc/xml/api.xml: Likewise.
4892         * doc/xml/manual/parallel_mode.xml: Likewise.
4893         * doc/html/faq.html: Regenerate.
4894         * doc/html/api.html: Likewise.
4895         * doc/html/manual/bk01pt12ch31s03.html: Likewise.
4897 2008-03-20  Benjamin Kosnik  <bkoz@redhat.com>
4899         * testsuite/util/testsuite_abi.cc: Add support for not counting
4900         GLIBCXX_LDBL_* compat symbols missing if no long double compat
4901         symbols under test.
4903 2008-03-20  Paolo Carlini  <pcarlini@suse.de>
4905         PR libstdc++/35637
4906         * include/tr1_impl/type_traits (struct __in_array): Add back.
4907         (is_function): Use it.
4908         * testsuite/tr1/4_metaprogramming/is_function/35637.cc: New.
4910 2008-03-20  Johannes Singler  <singler@ira.uka.de>
4912         * include/parallel/set_operations.h (set_intersection): Remove.
4914 2008-03-19  Benjamin Kosnik  <bkoz@redhat.com>
4916         PR libstdc++/35256
4917         * doc/xml/manual/parallel_mode.xml: Correct configuration documentation.
4918         * doc/html/manual/bk01pt12ch31s04.html: Regenerate.
4920 2008-03-18  Benjamin Kosnik  <bkoz@redhat.com>
4922         * configure.ac (libtool_VERSION): To 6:11:0.
4923         * configure: Regenerate.
4924         * aclocal.m4: Regenerate.
4926 2008-03-16  Paolo Carlini  <pcarlini@suse.de>
4928         * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc:
4929         Update.
4930         * testsuite/17_intro/headers/c++200x/all.cc: Likewise.
4931         * include/precompiled/stdc++.h: Likewise.
4933 2008-03-16  Pedro Lamarão  <pedro.lamarao@gmail.com>
4935         * include/std/date_time: New file.
4936         * src/date_time.cc: New file.
4937         * config/abi/pre/gnu.ver: Added <date_time> symbols in version
4938         GLIBCXX_3.4.11 and changed two patterns in version GLIBCXX_3.4
4939         that matched new symbols.
4940         * include/Makefile.am: Add date_time in std headers.
4941         * src/Makefile.am: Add date_time.cc to source files.
4942         * include/Makefile.in: Regenerate.
4943         * src/Makefile.in: Likewise.
4945 2008-03-16  Pedro Lamarão  <pedro.lamarao@gmail.com>
4947         * testsuite/31_date_time/headers/date_time/types_std.cc: New.
4948         * testsuite/31_date_time/headers/date_time/std_c++0x_neg.cc: Likewise.
4949         * testsuite/31_date_time/headers/date_time/functions_std.cc: Likewise.
4950         * testsuite/31_date_time/headers/date_time/synopsis.cc: Likewise.
4951         * testsuite/31_date_time/nanoseconds/requirements/traits.cc: Likewise.
4952         * testsuite/31_date_time/nanoseconds/requirements/duration.cc: Likewise.
4953         * testsuite/31_date_time/system_time/requirements: Likewise.
4954         * testsuite/31_date_time/system_time/requirements/traits.cc: Likewise.
4956 2008-03-16  Paolo Carlini  <pcarlini@suse.de>
4958         * config.h.in: Regenerate.
4960 2008-03-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4962         * aclocal.m4: Regenerate.
4963         * configure: Likewise.
4964         * Makefile.in: Likewise.
4965         * doc/Makefile.in: Likewise.
4966         * include/Makefile.in: Likewise.
4967         * libmath/Makefile.in: Likewise.
4968         * libsupc++/Makefile.in: Likewise.
4969         * po/Makefile.in: Likewise.
4970         * src/Makefile.in: Likewise.
4971         * testsuite/Makefile.in: Likewise.
4973 2008-03-13  Dennis Czeremin  <dennis.czeremin@smiths-heimann.com>
4975         PR libstdc++/35566
4976         * include/bits/stl_multimap.h (multimap<>::multimap(_InputIterator,
4977         _InputIterator)): Forward to _M_insert_equal, not _M_insert_unique.
4979 2008-03-13  Paolo Carlini  <pcarlini@suse.de>
4981         PR libstdc++/35541
4982         * include/debug/functions.h (__check_sorted_set_aux): Fix signature.
4983         * testsuite/25_algorithms/set_difference/35541.cc: New.
4985 2008-03-07  Jakub Jelinek  <jakub@redhat.com>
4987         * config/abi/pre/gnu.ver: Move <system_error> related
4988         symbols to GLIBCXX_3.4.11 symbol version.
4989         * testsuite/util/testsuite_abi.cc (check_version): Allow
4990         GLIBCXX_3.4.11.
4992 2008-03-06  Chris Jefferson  <chris@bubblescope.net>
4993             Paolo Carlini  <pcarlini@suse.de>
4995         PR libstdc++/35480
4996         * include/tr1/tuple (operator==, operator<): Fix.
4997         * include/std/tuple (operator==, operator<): Likewise.
4998         * testsuite/tr1/6_containers/tuple/comparison_operators/35480.cc: New.
4999         * testsuite/20_util/tuple/comparison_operators/35480.cc: Likewise.
5001 2008-03-04  Joseph Myers  <joseph@codesourcery.com>
5003         * crossconfig.m4 (*-mingw32*): Define HAVE_STRTOF and
5004         HAVE_STRTOLD.
5005         * configure: Regenerate.
5007 2008-03-02  Hans-Peter Nilsson  <hp@axis.com>
5009         * testsuite/20_util/shared_ptr/assign/shared_ptr_neg.cc,
5010         testsuite/tr1/2_general_utilities/shared_ptr/assign/shared_ptr_neg.cc:
5011         Mark changed error message prelude, adding "in file included from",
5012         using dg-excess-errors.
5014 2008-03-01  Jakub Jelinek  <jakub@redhat.com>
5016         * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
5017         * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
5018         * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
5019         * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise.
5020         * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
5021         Likewise.
5022         * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
5023         * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
5025 2008-02-29  Jakub Jelinek  <jakub@redhat.com>
5027         * config/abi/pre/gnu.ver: Remove
5028         _ZNKSt3tr14hashIgEclEg@@GLIBCXX_3.4.10 and
5029         _ZNKSt4hashIgEclEg@@GLIBCXX_3.4.10 export.
5030         * config/os/gnu-linux/ldbl-extra.ver: Export
5031         _ZNKSt3tr14hashIgEclEg@@GLIBCXX_LDBL_3.4.10
5032         and _ZNKSt4hashIgEclEg@@GLIBCXX_LDBL_3.4.10.
5033         * src/hash.cc: Only define long double hash specialization if
5034         _GLIBCXX_LONG_DOUBLE_COMPAT_IMPL is defined.
5035         * src/compatibility-ldbl.cc: Include "hash.cc".
5036         (_GLIBCXX_LONG_DOUBLE_COMPAT_IMPL): Define.
5037         (_ZNKSt4hashIeEclEe): New alias.
5038         * testsuite/util/testsuite_abi.cc (check_version): Support
5039         GLIBCXX_LDBL_3.4.10.
5041 2008-02-25  Jan Beulich  <jbeulich@novell.com>
5043         * acinclude.m4: Also check for EIDRM and ETXTBSY.
5044         * configure: Re-generate.
5045         * config/os/generic/error_constants.h (namespace posix_error):
5046         Also wrap uses of EIDRM and ETXTBSY in conditionals.
5047         * testsuite/19_diagnostics/headers/system_error/types_std_c++0x.cc:
5048         Likewise.
5050 2008-02-20  Jason Merrill  <jason@redhat.com>
5052         * include/bits/c++config: Use 'inline namespace' instead of
5053         strong using.
5055 2008-02-18  Pedro Lamarao <pedro.lamarao@mndfck.org>
5057         * include/std/tuple: Fixes for moveable, non-copyable types.
5058         * testsuite/20_util/tuple/moveable2.cc: New.
5060 2008-02-18  Paolo Carlini  <pcarlini@suse.de>
5062         * include/std/tuple (operator+(tuple<>&&, tuple<>&&): Remove.
5064 2008-02-17  Ed Smith-Rowland  <3dw4rd@verizon.net>
5066         * include/tr1/poly_laguerre.tcc: Doxygen fixes.
5067         * include/tr1/exp_integral.tcc: Same.
5068         * include/tr1/gamma.tcc: Same.
5069         * include/tr1/hypergeometric.tcc: Same.
5071 2008-02-17  Benjamin Kosnik  <bkoz@redhat.com>
5073         PR libstdc++/34797
5074         * include/parallel/settings.h (_Settings): Reconstruct Settings class
5075         here, uglify, remove anonymous namespace and static
5076         members. Convert to datum.
5077         * include/parallel/types.h: Move Settings:: enumerations here, uglify.
5078         * src/parallel_settings.cc: New, definition for _Settings member
5079         functions.
5080         * include/parallel/multiway_merge.h: Same.
5081         * include/parallel/for_each.h: Same.
5082         * include/parallel/workstealing.h: Same.
5083         * include/parallel/base.h: Same.
5084         * include/parallel/numeric
5085         * include/parallel/features.h: Same.
5086         * include/parallel/quicksort.h: Same.
5087         * include/parallel/equally_split.h: Same.
5088         * include/parallel/algorithmfwd.h: Same.
5089         * include/parallel/omp_loop_static.h: Same.
5090         * include/parallel/random_shuffle.h: Same.
5091         * include/parallel/balanced_quicksort.h: Same.
5092         * include/parallel/tags.h: Same.
5093         * include/parallel/multiway_mergesort.h: Same.
5094         * include/parallel/numericfwd.h: Same.
5095         * include/parallel/partition.h: Same.
5096         * include/parallel/partial_sum.h: Same.
5097         * include/parallel/find.h: Same.
5098         * include/parallel/algo.h: Same.
5099         * include/parallel/omp_loop.h: Same.
5100         * include/parallel/sort.h: Same.
5102         * src/Makefile.am (parallel_sources): Add parallel_settings.cc.
5103         * src/Makefile.in: Regenerate.
5105         * config/abi/pre/gnu.ver: Export _Settings::get and _Settings::set.
5107 2008-02-17  Paolo Carlini  <pcarlini@suse.de>
5109         PR libstdc++/35221
5110         * include/parallel/types.h: Reinstate integer types typedefs.
5111         * include/parallel/multiseq_selection.h: Adjust.
5112         * include/parallel/compatibility.h: Likewise.
5113         * include/parallel/random_shuffle.h: Likewise.
5114         * include/parallel/random_number.h: Likewise.
5115         * include/parallel/base.h: Likewise.
5117 2008-02-17  Paolo Carlini  <pcarlini@suse.de>
5119         PR libstdc++/35209
5120         * config/abi/pre/gnu.ver: Export stdio_sync_filebuf symbols.
5121         * testsuite/ext/stdio_sync_filebuf/char/35209.cc: New.
5122         * testsuite/ext/stdio_sync_filebuf/wchar_t/35209.cc: Likewise.
5124 2008-02-16  Benjamin Kosnik  <bkoz@redhat.com>
5126         * include/parallel/random_number.h: Use TR1's mersenne_twister.
5127         (random_number::genrand_bits()): Remove.
5128         (random_number::set_seed): Remove.
5130 2008-02-15  Benjamin Kosnik  <bkoz@redhat.com>
5132         * include/parallel/types.h: Remove enum parallelism.
5134 2008-02-15  Benjamin Kosnik  <bkoz@redhat.com>
5136         * include/parallel/types.h: Move enum parallelism here.  Use
5137         tr1/cstdint's int16_t, uint16_t, int32_t, uint32_t, int64_t,
5138         uint64_t.
5139         * include/parallel/multiseq_selection.h: Adjust for cstdint.
5140         * include/parallel/compatibility.h: Same.
5141         * include/parallel/tags.h: Just compile-time tags.
5142         * include/parallel/base.h: Put namespace bits here.
5144         * src/Makefile.am (PARALLEL_FLAGS): Use it.
5145         * src/Makefile.in: Regenerate.
5147         * testsuite/25_algorithms/nth_element/1.cc: Add test variable.
5149 2008-02-15  Hans-Peter Nilsson  <hp@axis.com>
5151         * testsuite/config/default.exp: Load gcc dejapatches.exp.
5153 2008-02-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5155         * testsuite/27_io/fpos/14320-1.cc: Check for "long long" and
5156         remove XFAIL.
5158 2008-02-14  Benjamin Kosnik  <bkoz@redhat.com>
5160         * config/os/generic/error_constants.h (posix_errno): Guard
5161         not_supported use of ENOTSUP.
5162         * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Add check for ENOTSUP
5163         for OpenBSD.
5164         * aclocal.m4: Regenerate.
5165         * configure: Rengerate.
5166         * config.h.in: Same.
5168 2008-02-13  Benjamin Kosnik  <bkoz@redhat.com>
5170         * doc/doxygen/mainpage.html: Correct links.
5172 2008-02-11  Benjamin Kosnik  <bkoz@redhat.com>
5174         * doc/html/*: Populate with regenerated files.
5176 2008-02-11  Benjamin Kosnik  <bkoz@redhat.com>
5178         * doc/html/*: Remove all but contents of ext/pb_ds.
5179         * doc/html/index.html: New.
5180         * doc/html/README: New.
5182 2008-02-11  Benjamin Kosnik  <bkoz@redhat.com>
5184         * doc/doxygen/mainpage.html: Add in corrected links.
5185         * README: Edit, move most into...
5186         * doc/xml/manual/appendix_contributing.xml (Directory Layout): ...here.
5187         (Documentation Style): Revise.
5188         * doc/xml/spine.xml: Edit file names.
5189         * doc/Makefile.am: Edit xml_sources.
5190         * doc/Makefile.in: Regenerate.
5192 2008-02-11  Paolo Carlini  <pcarlini@suse.de>
5194         * configure: Regenerate with documented autoconf and automake
5195         versions (i.e., 2.59 and 1.9.6).
5196         * Makefile.in: Likewise.
5197         * src/Makefile.in: Likewise.
5198         * doc/Makefile.in: Likewise.
5199         * po/Makefile.in: Likewise.
5200         * libmath/Makefile.in: Likewise.
5201         * include/Makefile.in: Likewise.
5202         * libsupc++/Makefile.in: Likewise.
5203         * testsuite/Makefile.in: Likewise.
5204         * aclocal.m4: Likewise.
5206 2008-02-10  Benjamin Kosnik  <bkoz@redhat.com>
5208         Convert documentation to DocBook.
5209         * doc/Makefile.am (doc-doxygen-html): Changed to doc-html-doxygen.
5210         (doc-doxygen-man): Changed to doc-man-doxygen.
5211         (doc-performance): Changed to doc-html-performance.
5212         (doc-xml-doxygen): New.
5213         (doc-xml-single): New.
5214         (doc-xml-validate): New.
5215         (doc-html): New.
5216         (doc-html-single): New.
5217         (doc-fo): New.
5218         (doc-pdf): New.
5219         (doc-pdf-fop-xml): New.
5220         (doc-pdf-fop-fo): New.
5221         (doc-pdf-xmlto): New.
5222         (doc-pdf-xmlroff): New.
5223         (doc-pdf-prince): New.
5224         * doc/xml: New directory.
5225         * doc/xml/authors.xml: New.
5226         * doc/xml/images: New directory.
5227         * doc/xml/images/confdeps.png: Add.
5228         * doc/xml/images/confdeps.dot: Add.
5229         * doc/xml/faq.xml: New.
5230         * doc/xml/api.xml: New.
5231         * doc/xml/gnu: New directory.
5232         * doc/xml/gnu/gpl-3.0.xml: New.
5233         * doc/xml/gnu/fdl-1.2.xml: New.
5234         * doc/xml/gnu/gpl-2.0.xml: New.
5235         * doc/xml/manual: New directory.
5236         * doc/xml/manual/mt_allocator.xml: New.
5237         * doc/xml/manual/allocator.xml: New.
5238         * doc/xml/manual/ctype.xml: New.
5239         * doc/xml/manual/numerics.xml: New.
5240         * doc/xml/manual/codecvt.xml: New.
5241         * doc/xml/manual/concurrency.xml: New.
5242         * doc/xml/manual/backwards_compatibility.xml: New.
5243         * doc/xml/manual/intro.xml: New.
5244         * doc/xml/manual/shared_ptr.xml: New.
5245         * doc/xml/manual/abi.xml: New.
5246         * doc/xml/manual/status_cxxtr1.xml: New.
5247         * doc/xml/manual/auto_ptr.xml: New.
5248         * doc/xml/manual/build.xml: New.
5249         * doc/xml/manual/internals.xml: New.
5250         * doc/xml/manual/parallel_mode.xml: New.
5251         * doc/xml/manual/status_cxx1998.xml: New.
5252         * doc/xml/manual/containers.xml: New.
5253         * doc/xml/manual/io.xml: New.
5254         * doc/xml/manual/appendix_porting.xml: New.
5255         * doc/xml/manual/utilities.xml: New.
5256         * doc/xml/manual/bitmap_allocator.xml: New.
5257         * doc/xml/manual/support.xml: New.
5258         * doc/xml/manual/configure.xml: New.
5259         * doc/xml/manual/build_hacking.xml: New.
5260         * doc/xml/manual/evolution.xml: New.
5261         * doc/xml/manual/using.xml: New.
5262         * doc/xml/manual/debug.xml: New.
5263         * doc/xml/manual/localization.xml: New.
5264         * doc/xml/manual/strings.xml: New.
5265         * doc/xml/manual/debug_mode.xml: New.
5266         * doc/xml/manual/locale.xml: New.
5267         * doc/xml/manual/extensions.xml: New.
5268         * doc/xml/manual/appendix_contributing.xml: New.
5269         * doc/xml/manual/messages.xml: New.
5270         * doc/xml/manual/diagnostics.xml: New.
5271         * doc/xml/manual/appendix_free.xml: New.
5272         * doc/xml/manual/algorithms.xml: New.
5273         * doc/xml/manual/iterators.xml: New.
5274         * doc/xml/manual/spine.xml: New.
5275         * doc/xml/manual/test.xml: New.
5276         * doc/xml/manual/status_cxx200x.xml: New.
5277         * doc/xml/spine.xml: New.
5279         * doc/xml/book.txml: New. Template file.
5280         * doc/xml/chapter.txml: Same.
5281         * doc/xml/class.txml: Same.
5283         * doc/doxygen/guide.html: Removed, integrated into other docs.
5284         * doc/doxygen/user.cfg.in: Clean up XML generation.
5285         * doc/doxygen/run_doxygen: Move to..
5286         * scripts/run_doxygen: ...here.
5288         * configure: Regenerate.
5289         * Makefile.in: Regenerate.
5290         * src/Makefile.in: Regenerate.
5291         * doc/Makefile.in: Regenerate.
5292         * po/Makefile.in: Regenerate.
5293         * libmath/Makefile.in: Regenerate.
5294         * include/Makefile.in: Regenerate.
5295         * libsupc++/Makefile.in: Regenerate.
5296         * testsuite/Makefile.in: Regenerate.
5297         * aclocal.m4: Regenerate.
5299 2008-02-10  Paolo Carlini  <pcarlini@suse.de>
5301         PR libstdc++/16251
5302         * include/std/istream (basic_istream<>::basic_istream()): Call
5303         this->init().
5304         (basic_iostream<>::basic_iostream(basic_streambuf<>*)): Don't
5305         do it here, per 27.6.1.5.1/1.
5306         * include/std/ostream (basic_ostream<>::basic_ostream()): Call
5307         this->init().
5308         * testsuite/27_io/basic_iostream/cons/16251.C: New.
5310         * testsuite/27_io/basic_iostream/cons/2020.cc: Minor tweaks.
5312 2008-01-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5314         * include/backward/auto_ptr.h: Fix comment typos.
5315         * include/bits/algorithmfwd.h: Likewise.
5316         * include/bits/basic_ios.h: Likewise.
5317         * include/bits/c++config: Likewise.
5318         * include/bits/char_traits.h: Likewise.
5319         * include/bits/codecvt.h: Likewise.
5320         * include/bits/gslice.h: Likewise.
5321         * include/bits/ios_base.h: Likewise.
5322         * include/bits/locale_facets.h: Likewise.
5323         * include/bits/locale_facets_nonio.tcc: Likewise.
5324         * include/bits/postypes.h: Likewise.
5325         * include/bits/sstream.tcc: Likewise.
5326         * include/bits/stl_algo.h: Likewise.
5327         * include/bits/stl_deque.h: Likewise.
5328         * include/bits/stl_iterator.h: Likewise.
5329         * include/bits/stl_iterator_base_types.h Likewise.
5330         * include/bits/stl_list.h: Likewise.
5331         * include/bits/stl_map.h: Likewise.
5332         * include/bits/stl_multimap.h: Likewise.
5333         * include/bits/stl_multiset.h: Likewise.
5334         * include/bits/stl_set.h: Likewise.
5335         * include/bits/stl_vector.h: Likewise.
5336         * include/bits/valarray_array.h: Likewise.
5337         * include/debug/safe_base.h: Likewise.
5338         * include/ext/bitmap_allocator.h: Likewise.
5339         * include/ext/codecvt_specializations.h Likewise.
5340         * include/ext/mt_allocator.h: Likewise.
5341         * include/ext/rc_string_base.h: Likewise.
5342         * include/ext/rope: Likewise.
5343         * include/parallel/checkers.h: Likewise.
5344         * include/parallel/find.h: Likewise.
5345         * include/parallel/multiseq_selection.h: Likewise.
5346         * include/parallel/partition.h: Likewise.
5347         * include/parallel/settings.h: Likewise.
5348         * include/std/bitset: Likewise.
5349         * include/std/complex: Likewise.
5350         * include/std/fstream: Likewise.
5351         * include/std/istream: Likewise.
5352         * include/std/limits: Likewise.
5353         * include/std/ostream: Likewise.
5354         * include/std/stdexcept: Likewise.
5355         * include/std/streambuf: Likewise.
5356         * include/tr1/bessel_function.tcc: Likewise.
5357         * include/tr1/cmath: Likewise.
5358         * include/tr1/ell_integral.tcc: Likewise.
5359         * include/tr1/hypergeometric.tcc: Likewise.
5360         * include/tr1/legendre_function.tcc: Likewise.
5361         * include/tr1_impl/random: Likewise.
5362         * include/tr1_impl/regex: Likewise.
5364 2008-01-31  Paolo Carlini  <pcarlini@suse.de>
5366         * testsuite/27_io/basic_istream/extractors_character/pod/3983-2.cc:
5367         Avoid -Wall warnings.
5368         * testsuite/22_locale/global_templates/user_facet_hierarchies.cc:
5369         Likewise.
5370         * testsuite/22_locale/global_templates/standard_facet_hierarchies.cc:
5371         Likewise.
5372         * testsuite/tr1/6_containers/hash/operators/size_t.cc: Likewise.
5373         * testsuite/tr1/6_containers/tuple/cons/big_tuples.cc: Likewise.
5374         * testsuite/tr1/6_containers/tuple/cons/constructor.cc: Likewise.
5375         * testsuite/tr1/6_containers/array/cons/aggregate_initialization.cc:
5376         Likewise.
5377         * testsuite/tr1/6_containers/array/requirements/contiguous.cc:
5378         Likewise.
5379         * testsuite/tr1/6_containers/array/requirements/member_swap.cc:
5380         Likewise.
5381         * testsuite/tr1/6_containers/array/requirements/assign.cc: Likewise.
5382         * testsuite/tr1/6_containers/array/specialized_algorithms/swap.cc:
5383         Likewise.
5384         * testsuite/tr1/6_containers/array/comparison_operators/
5385         less_or_equal.cc: Likewise.
5386         * testsuite/tr1/6_containers/array/comparison_operators/
5387         greater_or_equal.cc: Likewise.
5388         * testsuite/tr1/6_containers/array/comparison_operators/less.cc:
5389         Likewise.
5390         * testsuite/tr1/6_containers/array/comparison_operators/equal.cc:
5391         Likewise.
5392         * testsuite/tr1/6_containers/array/comparison_operators/not_equal.cc:
5393         Likewise.
5394         * testsuite/tr1/6_containers/array/comparison_operators/greater.cc:
5395         Likewise.
5396         * testsuite/tr1/6_containers/array/tuple_interface/get.cc: Likewise.
5397         * testsuite/tr1/6_containers/array/element_access/at_out_of_range.cc:
5398         Likewise.
5399         * testsuite/tr1/6_containers/array/element_access/back.cc: Likewise.
5400         * testsuite/tr1/6_containers/array/element_access/front.cc: Likewise.
5401         * testsuite/tr1/6_containers/array/element_access/data.cc: Likewise.
5402         * testsuite/tr1/6_containers/array/iterators/end_is_one_past.cc:
5403         Likewise.
5404         * testsuite/tr1/6_containers/array/capacity/empty.cc: Likewise.
5405         * testsuite/tr1/6_containers/array/capacity/max_size.cc: Likewise.
5406         * testsuite/tr1/6_containers/array/capacity/size.cc: Likewise.
5407         * testsuite/thread/guard.cc: Likewise.
5408         * testsuite/20_util/tuple/cons/big_tuples.cc: Likewise.
5409         * testsuite/20_util/tuple/cons/constructor.cc: Likewise.
5410         * testsuite/20_util/shared_ptr/creation/dr402.cc: Likewise.
5411         * testsuite/20_util/shared_ptr/creation/make.cc: Likewise.
5412         * testsuite/20_util/shared_ptr/creation/alloc.cc: Likewise.
5413         * testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc: Likewise.
5414         * testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc:
5415         Likewise.
5417 2008-01-26  David Edelsohn  <edelsohn@gnu.org>
5419         PR target/34794
5420         * config/os/aix/os_defines.h: Define __COMPATMATH__.
5422 2008-01-24  David Edelsohn  <edelsohn@gnu.org>
5424         * configure: Regenerate.
5426 2008-01-21  Matthias Klose  <doko@ubuntu.com>
5428         * doc/doxygen/user.cfg.in: Set SHORT_NAMES to YES.
5430 2008-01-19  Paolo Carlini  <pcarlini@suse.de>
5432         * configure: Regenerate.
5433         * Makefile.in: Likewise.
5434         * src/Makefile.in: Likewise.
5435         * doc/Makefile.in: Likewise.
5436         * po/Makefile.in: Likewise.
5437         * libmath/Makefile.in: Likewise.
5438         * include/Makefile.in: Likewise.
5439         * libsupc++/Makefile.in: Likewise.
5440         * testsuite/Makefile.in: Likewise.
5441         * aclocal.m4: Likewise.
5443 2008-01-18  Benjamin Kosnik  <bkoz@redhat.com>
5445         * docs/*: To...
5446         * doc/*: ...here.
5447         * testsuite/Makefile.am: Move doc-performance to...
5448         * Makefile.am: Add doc to SUBDIRS, move doxygen-* rules to...
5449         * doc/Makefile.am: Consolidate documentation creation here.
5450         (doc-doxygen-html): New.
5451         (doc-doxygen-man): New.
5452         (doc-performance): New.
5453         * doc/Makefile.in: New.
5454         * acinclude.m4 (glibcxx_SUBDIRS): Add doc directory.
5455         * doc/doxygen/guide.html: Edit for unified html configuration.
5456         * doc/doxygen/mainpage.html: Same.
5457         * doc/doxygen/run_doxygen: Same, more namespace fixups for man
5458         generation.
5459         * doc/doxygen/user.cfg.in: Update for doxygen 1.5.4.
5461         * include/tr1_impl/random: Remove maint from doxygen markup.
5462         * include/tr1_impl/functional: Same.
5463         * include/std/tuple: Same.
5464         * include/std/streambuf: Same.
5465         * include/std/bitset: Same.
5466         * include/std/limits: Same.
5467         * include/std/fstream: Same.
5468         * include/std/istream: Same.
5469         * include/std/sstream: Same.
5470         * include/ext/pool_allocator.h: Same.
5471         * include/ext/rc_string_base.h: Same.
5472         * include/bits/basic_ios.h: Same.
5473         * include/bits/stl_list.h: Same.
5474         * include/bits/stl_map.h: Same.
5475         * include/bits/locale_classes.h: Same.
5476         * include/bits/stl_set.h: Same.
5477         * include/bits/stl_iterator_base_types.h: Same.
5478         * include/bits/basic_string.h: Same.
5479         * include/bits/stl_multimap.h: Same.
5480         * include/bits/stl_vector.h: Same.
5481         * include/bits/ios_base.h: Same.
5482         * include/bits/stl_deque.h: Same.
5483         * include/bits/postypes.h: Same.
5484         * include/bits/stl_multiset.h: Same.
5485         * include/bits/stl_algo.h: Same.
5486         * include/bits/stl_iterator.h: Same.
5487         * include/bits/stl_tempbuf.h: Same.
5488         * include/bits/stl_construct.h: Same.
5489         * include/bits/stl_relops.h: Same.
5490         * include/tr1/tuple: Same.
5491         * include/backward/auto_ptr.h: Same.
5493         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
5494         Fixups for line number changes.
5495         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
5496         * testsuite/23_containers/vector/requirements/dr438/
5497         constructor_1_neg.cc: Same.
5498         * testsuite/23_containers/vector/requirements/dr438/
5499         constructor_2_neg.cc: Same.
5500         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
5501         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
5502         * testsuite/23_containers/deque/requirements/dr438/
5503         constructor_1_neg.cc: Same.
5504         * testsuite/23_containers/deque/requirements/dr438/
5505         constructor_2_neg.cc: Same.
5506         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
5507         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
5508         * testsuite/23_containers/list/requirements/dr438/
5509         constructor_1_neg.cc: Same.
5510         * testsuite/23_containers/list/requirements/dr438/
5511         constructor_2_neg.cc: Same.
5512         * testsuite/20_util/auto_ptr/assign_neg.cc: Same.
5514         * aclocal.m4: Regenerate.
5515         * config.h.in: Regenerate.
5516         * configure: Regenerate.
5517         * Makefile.in: Regenerate.
5518         * src/Makefile.in: Regenerate.
5519         * po/Makefile.in: Regenerate.
5520         * libmath/Makefile.in: Regenerate.
5521         * include/Makefile.in: Regenerate.
5522         * libsupc++/Makefile.in: Regenerate.
5523         * testsuite/Makefile.in: Regenerate.
5525         * scripts/make_graphs.py: Correct paths for new layout.
5527 2008-01-17  Benjamin Kosnik  <bkoz@redhat.com>
5529         * acinclude.m4 (AC_LC_MESSAGES): Remove serial.
5530         * linkage.m4 (AC_REPLACE_MATHFUNCS): Same.
5531         * configure: Regenerate.
5532         * aclocal.m4: Regenerate.
5534 2008-01-14  Paolo Carlini  <pcarlini@suse.de>
5536         * include/parallel/list_partition.h: Formatting fixes, inline tweaks.
5537         * include/parallel/numeric: Likewise.
5538         * include/parallel/balanced_quicksort.h: Likewise.
5539         * include/parallel/unique_copy.h: Likewise.
5540         * include/parallel/algobase.h: Likewise.
5541         * include/parallel/algo.h: Likewise.
5543 2008-01-14  Seongbae Park <seongbae.park@gmail.com>
5545         * crossconfig.m4: Add missing header checks, C99 TR1 check,
5546         and sigsetjmp check.
5548 2008-01-14  Paolo Carlini  <pcarlini@suse.de>
5550         * include/parallel/tree.h: Remove.
5551         * include/Makefile.am: Update.
5552         * include/Makefile.in: Rebuild.
5554         * src/Makefile.am: Remove spurious trailing backslash.
5555         * src/Makefile.in: Rebuild.
5556         * po/Makefile.in: Likewise.
5557         * libmath/Makefile.in: Likewise.
5558         * testsuite/Makefile.in: Likewise.
5559         * libsupc++/Makefile.in: Likewise.
5560         * aclocal.m4: Likewise.
5561         * Makefile.in: Likewise.
5562         * configure: Likewise.
5564 2008-01-12  Paolo Carlini  <pcarlini@suse.de>
5566         PR libstdc++/34730
5567         * include/debug/functions.h (__check_sorted_set,
5568         __check_sorted_set_aux): Add.
5569         (__check_sorted): Check StrictWeakOrdering.
5570         * include/debug/macros.h (__glibcxx_check_strict_weak_ordering,
5571         __glibcxx_check_strict_weak_ordering_pred): Remove.
5572         (__glibcxx_check_sorted, __glibcxx_check_sorted_pred): Adjust.
5573         (__glibcxx_check_sorted_set, __glibcxx_check_sorted_set_pred): Add.
5574         * include/debug/debug.h (__glibcxx_requires_sorted_set,
5575         __glibcxx_requires_sorted_set_pred): Add.
5576         * include/bits/stl_algo.h (merge, includes, set_union,
5577         set_intersection, set_difference, set_symmetric_difference):
5578         Adjust, use __glibcxx_requires_sorted_set* instead.
5579         * testsuite/25_algorithms/set_intersection/34730.cc: New.
5581 2008-01-09  Paolo Carlini  <pcarlini@suse.de>
5583         * include/parallel/multiway_merge.h: Reformat to 80 columns;
5584         adjust some inline specifiers; other minor style fixes.
5585         * include/parallel/losertree.h: Likewise.
5586         * include/parallel/list_partition.h: Likewise.
5587         * include/parallel/multiseq_selection.h: Likewise.
5588         * include/parallel/workstealing.h: Likewise.
5589         * include/parallel/base.h: Likewise.
5590         * include/parallel/par_loop.h: Likewise.
5591         * include/parallel/numeric: Likewise.
5592         * include/parallel/quicksort.h: Likewise.
5593         * include/parallel/algorithmfwd.h: Likewise.
5594         * include/parallel/for_each_selectors.h: Likewise.
5595         * include/parallel/omp_loop_static.h: Likewise.
5596         * include/parallel/random_shuffle.h: Likewise.
5597         * include/parallel/balanced_quicksort.h: Likewise.
5598         * include/parallel/set_operations.h: Likewise.
5599         * include/parallel/tree.h: Likewise.
5600         * include/parallel/merge.h: Likewise.
5601         * include/parallel/unique_copy.h: Likewise.
5602         * include/parallel/settings.h: Likewise.
5603         * include/parallel/multiway_mergesort.h: Likewise.
5604         * include/parallel/numericfwd.h: Likewise.
5605         * include/parallel/search.h: Likewise.
5606         * include/parallel/partition.h: Likewise.
5607         * include/parallel/compatibility.h: Likewise.
5608         * include/parallel/partial_sum.h: Likewise.
5609         * include/parallel/find.h: Likewise.
5610         * include/parallel/algo.h: Likewise.
5611         * include/parallel/queue.h: Likewise.
5612         * include/parallel/omp_loop.h: Likewise.
5613         * include/parallel/sort.h: Likewise.
5614         * include/parallel/random_number.h: Likewise.
5616 2008-01-09  Benjamin Kosnik  <bkoz@redhat.com>
5618         * docs/html/17_intro/api.html: Fix markup for rope.h.
5620 2008-01-09  Paolo Carlini  <pcarlini@suse.de>
5622         * include/parallel/iterator.h: Reformat to 80 columns; adjust some
5623         inline specifiers.
5624         * include/parallel/find_selectors.h: Likewise.
5625         * include/parallel/losertree.h: Likewise.
5626         * include/parallel/list_partition.h: Likewise.
5627         * include/parallel/for_each.h: Likewise.
5628         * include/parallel/multiseq_selection.h: Likewise.
5629         * include/parallel/algorithmfwd.h: Likewise.
5630         * include/parallel/for_each_selectors.h: Likewise.
5631         * include/parallel/balanced_quicksort.h: Likewise.
5632         * include/parallel/merge.h: Likewise.
5633         * include/parallel/algobase.h: Likewise.
5634         * include/parallel/find.h: Likewise.
5635         * include/parallel/algo.h: Likewise.
5636         * include/parallel/checkers.h: Likewise.
5638 2008-01-09  Francesco Biscani  <bluescarni@gmail.com>
5640         * include/tr1_impl/hashtable (_Hashtable): Fix friend declaration
5641         of __detail::_Map_base<>.
5643 2008-01-08  Paolo Carlini  <pcarlini@suse.de>
5645         * testsuite/22_locale/global_templates/user_facet_hierarchies.cc: Do
5646         not include <cassert>.
5647         * testsuite/22_locale/global_templates/standard_facet_hierarchies.cc:
5648         Likewise.
5649         * testsuite/util/testsuite_common_types.h: Include <algorithm>.
5651 2008-01-08  Jakub Jelinek  <jakub@redhat.com>
5653         * configure.ac (--enable-linux-futex): Add new configure option.
5654         (HAVE_LINUX_FUTEX): New AC_DEFINE.
5655         * Makefile.in: Rebuilt.
5656         * aclocal.m4: Rebuilt.
5657         * configure: Rebuilt.
5658         * config.h.in: Rebuilt.
5659         * config/cpu/generic/cxxabi_tweaks.h (_GLIBCXX_GUARD_BIT,
5660         _GLIBCXX_GUARD_PENDING_BIT, _GLIBCXX_GUARD_WAITING_BIT): Define.
5661         * config/cpu/arm/cxxabi_tweaks.h (_GLIBCXX_GUARD_BIT,
5662         _GLIBCXX_GUARD_PENDING_BIT, _GLIBCXX_GUARD_WAITING_BIT): Define.
5663         * libsupc++/guard.cc: Include climits and syscall.h.
5664         (_GLIBCXX_USE_FUTEX): Define if futex syscall and atomic builtins
5665         are supported.
5666         (_GLIBCXX_FUTEX_WAIT, _GLIBCXX_FUTEX_WAKE): Likewise.
5667         (__guard_test_bit): New static inline.
5668         (__cxa_guard_acquire, __cxa_guard_release, __cxa_guard_abort): Use
5669         atomic builtins and futex syscall if _GLIBCXX_USE_FUTEX.
5671 2008-01-07  Paolo Carlini  <pcarlini@suse.de>
5673         PR libstdc++/34680
5674         * include/bits/locale_classes.h (has_facet<>, use_facet<>): Do not
5675         use dynamic_cast when run-time type identification is disabled; do
5676         not mark inline; only declare, define...
5677         * include/bits/locale_classes.tcc: ... here.
5679 2008-01-06  Ted Phelps  <phelps@gnusto.com>
5681         PR c++/34152
5682         * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Check
5683         _GLIBCXX_HAVE_GETIPINFO instead of HAVE_GETIPINFO.
5685 2008-01-01  Paolo Carlini  <pcarlini@suse.de>
5687         PR libstdc++/34095
5688         * include/parallel/multiway_merge.h (multiway_merge_bubble,
5689         parallel_multiway_merge): Together with ::operator new use
5690         ::operator delete.
5691         * include/parallel/losertree.h (LoserTree<>::~LoserTree): Likewise.
5692         * include/parallel/quicksort.h (parallel_sort_qs_divide): Likewise.
5693         * include/parallel/random_shuffle.h (parallel_random_shuffle_drs_pu,
5694         sequential_random_shuffle): Likewise.
5695         * include/parallel/tree.h (_M_not_sorted_bulk_insertion_construction):
5696         Likewise.
5697         * include/parallel/multiway_mergesort.h (parallel_sort_mwms_pu,
5698         parallel_sort_mwms): Likewise.
5699         * include/parallel/partial_sum.h (parallel_partial_sum_linear):
5700         Likewise.
5701         * testsuite/25_algorithms/sort/34095.cc: New.
5703 2008-01-01  Paolo Carlini  <pcarlini@suse.de>
5705         * testsuite/25_algorithms/sort/34636.cc: Fix Copyright year.
5707 2008-01-01  Paolo Carlini  <pcarlini@suse.de>
5709         PR libstdc++/34636
5710         * include/parallel/algobase.h (lexicographical_compare_switch(...,
5711         random_access_iterator_tag, random_access_iterator_tag)): Careful
5712         with undereferenceable iterators.
5713         * testsuite/25_algorithms/sort/34636.cc: New.