1 2009-02-17 Benjamin Kosnik <bkoz@redhat.com>
3 * include/std/system_error (system_category): To system_category().
4 (generic_category): To generic_category. DR 890.
5 * src/system_error.cc: Define.
6 * include/bits/functexcept.h: Only one __throw_system_error.
7 * src/functexcept.cc: Same.
8 * include/std/mutex: Fixup for changes above.
9 * testsuite/19_diagnostics/error_condition/cons/1.cc: Same.
10 * testsuite/19_diagnostics/error_code/cons/1.cc: Same.
11 * testsuite/19_diagnostics/system_error/cons-1.cc: Same.
12 * config/abi/pre/gnu.ver: Clean up exports.
14 2009-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
16 * include/std/thread: Fix typo.
17 * src/thread.cc (thread::join): Use NULL.
19 2009-02-15 Paolo Carlini <paolo.carlini@oracle.com>
22 * src/locale_facets.cc (__verify_grouping(const char*, size_t,
23 const string&)): Also check that the value != CHAR_MAX.
24 * include/bits/locale_facets.tcc (__numpunct_cache<>::
25 _M_cache(const locale&), __add_grouping(_CharT*, _CharT,
26 const char*, size_t, const _CharT*, const _CharT*)): Likewise.
27 * include/bits/locale_facets_nonio.tcc (__moneypunct_cache<>::
28 _M_cache(const locale&)): Likewise.
29 * testsuite/22_locale/money_put/put/wchar_t/39168.cc: New.
30 * testsuite/22_locale/money_put/put/char/39168.cc: Likewise.
31 * testsuite/22_locale/money_get/get/wchar_t/39168.cc: Likewise.
32 * testsuite/22_locale/money_get/get/char/39168.cc: Likewise.
33 * testsuite/22_locale/num_get/get/wchar_t/39168.cc: Likewise.
34 * testsuite/22_locale/num_get/get/char/39168.cc: Likewise.
36 2009-02-13 Chris Fairles <cfairles@gcc.gnu.org>
37 Benjamin Kosnik <bkoz@redhat.com>
39 * include/std/thread (_Impl_base): Move _M_id out and into ...
40 (thread): ...here. Call _M_make_routine in body of constructors.
41 Adjust data member usage to reflect changes.
42 (_M_make_routine): From _M_make_shared_data.
43 (_M_start_thread): Add __shared_base_type argument.
44 * src/thread.cc: Fixups for above.
45 * config/abi/pre/gnu.ver: Adjust exports.
46 * testsuite/30_threads/thread/native_handle/typesizes.cc: Enable.
47 * testsuite/30_threads/thread/cons/assign_neg.cc: Adjust line numbers.
48 * testsuite/30_threads/thread/cons/copy_neg.cc: Same.
50 2009-02-12 Benjamin Kosnik <bkoz@redhat.com>
52 * testsuite/util/thread/all.h (compare_type_to_native_type_sizes): To...
53 (compare_type_to_native_type): ...this, add alignment check.
54 * testsuite/30_threads/condition_variable_any/native_handle/
55 typesizes.cc: Modify as above.
56 * testsuite/30_threads/mutex/native_handle/typesizes.cc: Same.
57 * testsuite/30_threads/timed_mutex/native_handle/typesizes.cc: Same.
58 * testsuite/30_threads/thread/native_handle/typesizes.cc: Same.
59 * testsuite/30_threads/recursive_mutex/native_handle/typesizes.cc: Same.
60 * testsuite/30_threads/condition_variable/native_handle/
62 * testsuite/30_threads/recursive_timed_mutex/native_handle/
65 * testsuite/30_threads/thread/cons/1.cc: Add comments.
66 * testsuite/30_threads/thread/cons/2.cc: Same.
67 * testsuite/30_threads/thread/cons/3.cc: Same.
68 * testsuite/30_threads/thread/cons/4.cc: Same.
69 * testsuite/30_threads/thread/cons/5.cc: Same.
70 * testsuite/30_threads/thread/cons/6.cc: Same.
71 * testsuite/30_threads/thread/cons/7.cc: Same.
72 * testsuite/30_threads/thread/cons/8.cc: Same.
74 * testsuite/30_threads/thread/cons/9.cc: New.
75 * testsuite/30_threads/thread/cons/moveable.cc: New.
77 * src/condition_variable.cc: Clean up whitespace.
78 * include/std/condition_variable: Same.
80 2009-02-09 Benjamin Kosnik <bkoz@redhat.com>
82 * include/std/condition_variable (condition_variable): Remove
83 _M_internal_mutex. Add private __native_type typedef.
84 * src/condition_variable.cc (condition_variable::notify_one):
85 Remove _M_internal_mutex use. Use typedef.
86 (condition_variable::notify_all): Same.
87 * include/std/mutex (mutex): Add private __native_type typedef. Use it.
88 (recursive_mutex): Same.
90 (recursive_timed_mutex): Same.
91 (once_flag): Make __native_type typedef private.
93 * include/std/thread (this_thread): Add minimal markup.
95 * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc:
97 * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc: Same.
98 * testsuite/30_threads/mutex/cons/assign_neg.cc: Same.
99 * testsuite/30_threads/mutex/cons/copy_neg.cc: Same.
100 * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Same.
101 * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Same.
102 * testsuite/30_threads/thread/cons/assign_neg.cc: Same.
103 * testsuite/30_threads/thread/cons/copy_neg.cc: Same.
104 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Same.
105 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Same.
106 * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Same.
107 * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Same.
108 * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc: Same.
109 * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc: Same.
111 * testsuite/util/thread/all.h: Testsuite utilities for testing thread.
112 * testsuite/30_threads/condition_variable_any/native_handle/
114 * testsuite/30_threads/mutex/native_handle/typesizes.cc: Same.
115 * testsuite/30_threads/timed_mutex/native_handle/typesizes.cc: Same.
116 * testsuite/30_threads/thread/native_handle/typesizes.cc: Same.
117 * testsuite/30_threads/recursive_mutex/native_handle/typesizes.cc: Same.
118 * testsuite/30_threads/condition_variable/native_handle/
120 * testsuite/30_threads/recursive_timed_mutex/native_handle/
123 2009-02-09 Jack Howarth <howarth@bromo.med.uc.edu>
126 * libstdc++-v3/testsuite/27_io/ios_base/storage/2.cc: Skip
129 2009-02-09 Adam Nemet <anemet@caviumnetworks.com>
131 * configure.host: Set abi_baseline_pair for mips64*-linux.
132 * config/abi/post/mips64-linux-gnu/baseline_symbols.txt: New file.
134 2009-02-08 Chris Fairles <cfairles@gcc.gnu.org>
136 * include/std/thread (this_thread::get_id): Inline.
138 2009-02-08 Chris Fairles <cfairles@gcc.gnu.org>
140 * include/std/thread (thread<>::thread(_Callable)): Explicitly use
141 _Callable as template argument for _M_make_shared_data.
142 * testsuite/30_threads/thread/cons/6.cc: New.
143 * testsuite/30_threads/thread/cons/7.cc: New.
144 * testsuite/30_threads/thread/cons/8.cc: New.
146 2009-02-07 Benjamin Kosnik <bkoz@redhat.com>
148 * testsuite/30_threads/thread/member: To..
149 * testsuite/30_threads/thread/members: ...this.
150 * testsuite/30_threads/condition_variable/member: To...
151 * testsuite/30_threads/condition_variable/members: ...this.
153 2009-02-06 Benjamin Kosnik <bkoz@redhat.com>
155 * include/std/thread (thread::id): Move definition inside thread.
156 Use native_handle_type. Remove this_thread::get_id friend.
157 Change __thread_data_ptr to __shared_base_ptr.
158 (thread::id::id(native_handle_type): Make public. Still explicit.
159 Use native_handle_type. Change _M_thread_id to _M_thread.
160 (thread::__thread_data_base): Rename to _Impl_base. Use id, change
161 _M_thread_handle to _M_id.
162 (thread::__thread_data): Rename to _Impl.
164 (thread::_M_make_thread_data): Return derived type.
165 (thread::hardware_concurrency): Add definition for default case.
166 (thread::get_id): Now can define inline.
167 (thread): Change _M_thread_data to _M_data.
168 (this_thread::get_id): Now can define inline.
169 * src/thread.cc (__thread_proxy): Rename to
170 execute_native_thread_routine.
171 Fixup for other renames.
172 * testsuite/30_threads/thread/cons/assign_neg.cc: New.
173 * testsuite/30_threads/thread/cons/copy_neg.cc: New.
174 * testsuite/30_threads/thread/algorithm: Move to..
175 * testsuite/30_threads/thread/swap: ...this.
176 * testsuite/30_threads/thread/member/hardware_concurrency.cc: Add.
177 * testsuite/30_threads/thread/id/operators.cc: New.
179 2009-02-05 Chris Fairles <cfairles@gcc.gnu.org>
181 * include/std/tuple (_Head_base<>::_Head_base(_UHead&&)): Formatting.
182 (_Head_base<>::__swap_impl): Rename to _M_swap_impl.
183 (_Tuple_impl<>::__swap_impl): Likewise and make protected to avoid
184 exposing it in public std::tuple interface.
186 2009-02-05 Chris Fairles <cfairles@gcc.gnu.org>
187 Benjamin Kosnik <bkoz@redhat.com>
189 * include/std/thread (__thread_data_base): Nest class in std::thread.
190 (__thread_data): Likewise.
191 (__thread_data_ptr): Nest typedef in std::thread.
192 * src/thread.cc (__thread_proxy): Qualify the above names.
193 * config/abi/pre/gnu.ver: Remove unused exports.
195 2009-02-04 Benjamin Kosnik <bkoz@redhat.com>
197 * include/bits/unique_ptr.h: Remove private __this_type typedef.
198 * include/bits/stl_vector.h: Remove private vector_type typedef.
199 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
201 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
202 * testsuite/23_containers/vector/requirements/dr438/
203 constructor_1_neg.cc: Same.
204 * testsuite/23_containers/vector/requirements/dr438/
205 constructor_2_neg.cc: Same.
206 * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Same.
207 * testsuite/20_util/unique_ptr/assign/assign.cc: Same.
209 2009-02-03 Paolo Carlini <paolo.carlini@oracle.com>
212 * libsupc++/exception_defines.h: Depending on __EXCEPTIONS,
213 deal consistently with __try and __catch too.
214 * src/localename.cc: Replace try -> __try, catch -> __catch.
215 * src/ios.cc: Likewise.
216 * src/locale.cc: Likewise.
217 * src/istream.cc: Likewise.
218 * src/thread.cc: Likewise.
219 * src/compatibility.cc: Likewise.
220 * src/bitmap_allocator.cc: Likewise.
221 * src/ios_init.cc: Likewise.
222 * include/debug/deque: Likewise.
223 * include/debug/list: Likewise.
224 * include/tr1_impl/hashtable: Likewise.
225 * include/std/bitset: Likewise.
226 * include/ext/pb_ds/detail/resize_policy/
227 hash_load_check_resize_trigger_imp.hpp: Likewise.
228 * include/ext/pb_ds/detail/resize_policy/
229 hash_standard_resize_policy_imp.hpp: Likewise.
230 * include/ext/pb_ds/detail/cc_hash_table_map_/
231 resize_fn_imps.hpp: Likewise.
232 * include/ext/pb_ds/detail/cc_hash_table_map_/
233 constructor_destructor_fn_imps.hpp: Likewise.
234 * include/ext/pb_ds/detail/pat_trie_/
235 split_join_branch_bag.hpp: Likewise.
236 * include/ext/pb_ds/detail/pat_trie_/
237 constructors_destructor_fn_imps.hpp: Likewise.
238 * include/ext/pb_ds/detail/bin_search_tree_/
239 constructors_destructor_fn_imps.hpp: Likewise.
240 * include/ext/pb_ds/detail/gp_hash_table_map_/
241 resize_fn_imps.hpp: Likewise.
242 * include/ext/pb_ds/detail/gp_hash_table_map_/
243 constructor_destructor_fn_imps.hpp: Likewise.
244 * include/ext/pb_ds/detail/binary_heap_/
245 constructors_destructor_fn_imps.hpp: Likewise.
246 * include/ext/pb_ds/detail/binary_heap_/
247 erase_fn_imps.hpp: Likewise.
248 * include/ext/pb_ds/detail/binary_heap_/
249 split_join_fn_imps.hpp: Likewise.
250 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
251 constructors_destructor_fn_imps.hpp: Likewise.
252 * include/ext/pb_ds/detail/debug_map_base.hpp: Likewise.
253 * include/ext/pb_ds/detail/list_update_map_/
254 constructor_destructor_fn_imps.hpp: Likewise.
255 * include/ext/slist: Likewise.
256 * include/ext/memory: Likewise.
257 * include/ext/rc_string_base.h: Likewise.
258 * include/ext/ropeimpl.h: Likewise.
259 * include/ext/vstring.tcc: Likewise.
260 * include/ext/rope: Likewise.
261 * include/ext/sso_string_base.h: Likewise.
262 * include/bits/shared_ptr.h: Likewise.
263 * include/bits/stl_list.h: Likewise.
264 * include/bits/locale_classes.tcc: Likewise.
265 * include/bits/locale_facets.tcc: Likewise.
266 * include/bits/locale_classes.h: Likewise.
267 * include/bits/forward_list.h: Likewise.
268 * include/bits/stl_vector.h: Likewise.
269 * include/bits/stl_deque.h: Likewise.
270 * include/bits/istream.tcc: Likewise.
271 * include/bits/stl_uninitialized.h: Likewise.
272 * include/bits/ostream.tcc: Likewise.
273 * include/bits/vector.tcc: Likewise.
274 * include/bits/stl_tempbuf.h: Likewise.
275 * include/bits/deque.tcc: Likewise.
276 * include/bits/basic_string.tcc: Likewise.
277 * include/bits/ostream_insert.h: Likewise.
278 * include/bits/locale_facets_nonio.tcc: Likewise.
279 * include/bits/stl_tree.h: Likewise.
280 * include/bits/fstream.tcc: Likewise.
281 * include/tr1/shared_ptr.h: Likewise.
282 * include/tr1/hypergeometric.tcc: Likewise.
283 * include/backward/hashtable.h: Likewise.
284 * libsupc++/exception_ptr.h: Likewise.
285 * libsupc++/eh_personality.cc: Likewise.
286 * libsupc++/eh_call.cc: Likewise.
287 * config/locale/gnu/monetary_members.cc: Likewise.
288 * config/locale/gnu/time_members.h: Likewise.
289 * config/locale/generic/time_members.h: Likewise.
291 2009-02-03 Johannes Singler <singler@ira.uka.de>
293 * include/parallel/algorithmfwd.h:
294 Add parallelism default for many declarations.
295 * include/parallel/numericfwd.h: Likewise.
296 * include/parallel/iterator.h: Use iterator_traits as usual.
297 * include/parallel/par_loop.h:
298 Include equally_split.h.
299 (for_each_template_random_access_ed):
300 Avoid calling the Result default constructor.
301 * include/parallel/numeric: Replace
302 for_each_template_random_access by
303 for_each_template_random_access_ed in numeric functions.
305 2009-02-02 Benjamin Kosnik <bkoz@redhat.com>
307 * config/os/gnu-linux/os_defines.h: Remove superfluous
310 2009-02-02 Jakub Jelinek <jakub@redhat.com>
312 * testsuite/21_strings/c_strings/char/3.cc: New test.
313 * testsuite/21_strings/c_strings/wchar_t/3.cc: New test.
315 2009-01-30 Ulrich Drepper <drepper@redhat.com>
316 Jakub Jelinek <jakub@redhat.com>
318 PR libstdc++/30928 (partial, works together with recent glibcs)
319 * include/c_std/cstring (memchr, strchr, strpbrk, strrchr, strstr):
320 Provide inlines only if __CORRECT_ISO_CPP_STRING_H_PROTO is not
322 * include/c_std/cwchar (wcschr, wcspbrk, wcsrchr, wcsstr, wmemchr):
323 Provide inlines only if __CORRECT_ISO_CPP_WCHAR_H_PROTO is not
325 * include/c_global/cstring (memchr, strchr, strpbrk, strrchr, strstr):
326 Provide inlines only if __CORRECT_ISO_CPP_STRING_H_PROTO is not
328 * include/c_global/cwchar (wcschr, wcspbrk, wcsrchr, wcsstr, wmemchr):
329 Provide inlines only if __CORRECT_ISO_CPP_WCHAR_H_PROTO is not
331 * testsuite/21_strings/c_strings/char_t/2.cc (test02): If first
332 argument is const char *, assign result to const char * var, not
334 * testsuite/21_strings/c_strings/wchar_t/2.cc (test02): If first
335 argument is const wchar_t *, assign result to const wchar_t * var, not
338 2009-01-29 Jonathan Wakely <jwakely.gcc@gmail.com>
340 * include/std/thread: Remove unused headers.
341 (__thread_data_base): Remove unused mutex and base.
342 (thread::~thread): Only detach if joinable.
343 (thread::joinable): Test if thread data ptr is empty.
344 (thread::_M_thread_data_mutex): Remove.
345 (thread::_M_get_thread_data): Remove.
346 (thread::_M_make_thread_data): Remove overload, use make_shared.
347 (thread::id::id): Make constructor explicit.
348 * src/thread.cc (thread::join,thread::detach): Throw if not joinable.
349 (thread::_M_start_thread): Break shared_ptr cycle on error.
350 (__thread_proxy): Use shared_ptr swap instead of copy and reset.
351 * testsuite/30_threads/thread/member/4.cc: New.
352 * testsuite/30_threads/thread/member/5.cc: New.
354 2009-01-28 Benjamin Kosnik <bkoz@redhat.com>
356 * testsuite/util/testsuite_common_types.h (has_trivial_cons_dtor): New.
357 (standard_layout): Just use !has_virtual_destructor for now.
358 * testsuite/30_threads/mutex/requirements/standard_layout.cc: New.
359 * testsuite/30_threads/timed_mutex/requirements/standard_layout.cc: New.
360 * testsuite/30_threads/recursive_mutex/requirements/
361 standard_layout.cc: New.
362 * testsuite/30_threads/condition_variable/requirements/
363 standard_layout.cc: New.
364 * testsuite/29_atomics/atomic_address/requirements/
365 standard_layout.cc: Adjust.
366 * testsuite/29_atomics/atomic_flag/requirements/
367 standard_layout.cc: Same.
368 * testsuite/29_atomics/atomic_address/requirements/trivial.cc: New.
369 * testsuite/29_atomics/atomic_integral/requirements/trivial.cc: Same.
370 * testsuite/29_atomics/atomic_flag/requirements/trivial.cc: Same.
371 * testsuite/30_threads/condition_variable/requirements/typedefs.cc: New.
372 * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: Adjust
374 * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Same.
375 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
376 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
377 * testsuite/29_atomics/atomic/requirements/standard_layout.cc:
378 Remove, not required.
380 2009-01-22 Jonathan Wakely <jwakely.gcc@gmail.com>
382 * include/std/thread (__thread_data_base, thread): Rename member
383 functions to match coding style.
384 (thread::thread,thread::operator=): Define move operations.
385 * src/thread.cc (__thread_data_base, thread): Rename member functions.
386 * config/abi/pre/gnu.ver: Adjust.
388 2009-01-22 Benjamin Kosnik <bkoz@redhat.com>
391 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Disable symbol versioning
393 * configure: Regenerate.
395 2009-01-22 Dodji Seketeli <dodji@redhat.com>
397 * include/ext/bitmap_allocator.h: Reverting changes related to PR
400 2009-01-21 Benjamin Kosnik <bkoz@redhat.com>
402 * testsuite/29_atomics/headers/stdatomic.h/functions.c: Remove
405 2009-01-21 Dodji Seketeli <dodji@redhat.com>
407 * include/ext/bitmap_allocator.h: the typedefs should be made public
408 if we want them to be accessible. This has been revealed by the patch
409 that fixes PR c++/26693 in g++.
411 2009-01-20 Benjamin Kosnik <bkoz@redhat.com>
412 Uros Bizjak <ubizjak@gmail.com>
415 * config/abi/pre/gnu.ver: Correct char16_t and char32_t exports.
416 * config/os/gnu-linux/ldbl-extra.ver: Tweak.
418 2009-01-20 Benjamin Kosnik <bkoz@redhat.com>
419 Rainer Emrich <r.emrich@de.tecosim.com>
422 * crossconfig.m4: Use GLIBCXX_CHECK_MATH_SUPPORT and
423 GLIBCXX_CHECK_STDLIB_SUPPORT for mingw crosses.
424 * configure: Regenerate.
426 2009-01-18 Jonathan Wakely <jwakely.gcc@gmail.com>
428 * include/std/thread (__thread_data_base::__run): Make non-const.
429 * testsuite/30_threads/thread/cons/5.cc: New.
431 2009-01-16 Benjamin Kosnik <bkoz@redhat.com>
433 * src/Makefile.am (sources): Add math_stubs_float.cc.
434 * src/Makefile.in: Regenerate.
435 * src/math_stubs_float.cc: New, from libmath/stubs.c.
437 2009-01-15 Benjamin Kosnik <bkoz@redhat.com>
439 * src/Makefile.am (sources): Add math_stubs_long_double.cc.
440 * src/Makefile.in: Regenerate.
441 * src/math_stubs_long_double.cc: New, from libmath/stubs.c.
443 2009-01-15 Benjamin Kosnik <bkoz@redhat.com>
446 * config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Update.
448 2009-01-15 Benjamin Kosnik <bkoz@redhat.com>
451 * Makefile.am (hosted_source): Remove libmath directory.
452 * Makefile.in: Regenerate.
453 * linkage.m4 (GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT): Remove.
454 (AC_REPLACE_MATHFUNCS): Remove.
455 (GLIBCXX_CHECK_MATH_SUPPORT): Remove copysign, copysignl checks as done
456 in GLIBCXX_CHECK_C99_TR1.
457 * acinclude.m4: Remove libmath, need_math.
458 * crossconfig.m4: Remove use of HAVE_COPYSIGN, HAVE_COPYSIGNL,
459 HAVE_COPYSIGNF, GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT, need_libmath.
460 * configure.ac: Same.
461 * configure: Regenerate.
462 * fragment.am: Fix comment.
463 * config.h.in: Regenerate.
464 * src/Makefile.in: Regenerate.
465 * src/Makefile.am: Remove libmath references.
466 * doc/Makefile.in: Regenerate.
467 * po/Makefile.in: Regenerate.
468 * include/Makefile.in: Regenerate.
469 * libsupc++/Makefile.in: Regenerate.
470 * testsuite/Makefile.in: Regenerate.
472 * src/compatibility.cc: Also export long double versions of "C" math
473 library if hppa-linux.
474 * config/abi/pre/gnu.ver: Remove unused __signbit exports.
475 * doc/xml/manual/appendix_contributing.xml: Remove libmath reference.
478 * libmath/signbit.c: Same.
479 * libmath/stubs.c: Same.
480 * libmath/Makefile.in: Same.
481 * libmath/copysignf.c: Same.
482 * libmath/mathconf.h: Same.
483 * libmath/signbitf.c: Same.
484 * libmath/Makefile.am: Same.
485 * libmath/signbitl.c: Same.
487 2009-01-15 Chris Fairles <cfairles@gcc.gnu.org>
488 Paolo Carlini <paolo.carlini@oracle.com>
490 * acinclude.m4 ([GLIBCXX_ENABLE_CLOCK_GETTIME],
491 [GLIBCXX_CHECK_NANOSLEEP]): Remove.
492 ([GLIBCXX_ENABLE_LIBSTDCXX_TIME]): Add.
493 * configure.ac: Adjust.
494 * doc/xml/manual/configure.xml: Update.
495 * testsuite/lib/libstdc++.exp (check_v3_target_sched_yield): Add.
496 * testsuite/lib/dg-options.exp (dg-require-sched-yield): Add.
497 * testsuite/30_threads/thread/this_thread/2.cc: Use the latter.
498 * configure: Regenerate.
499 * config.h.in: Likewise.
501 * src/thread.cc (thread::thread(), thread::~thread, thread::get_id,
502 thread::joinable, thread::swap, this_thread::get_id,
503 this_thread::yield): Define inline...
504 * include/std/thread: ... here.
505 * config/abi/pre/gnu.ver: Adjust.
507 2009-01-13 Uros Bizjak <ubizjak@gmail.com>
509 * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc:
510 Add dg-timeout-factor 2.0.
511 * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Ditto.
512 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Ditto.
513 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Ditto.
514 * testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Ditto.
515 * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Ditto.
516 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Ditto.
518 2009-01-13 Uros Bizjak <ubizjak@gmail.com>
520 * scripts/extract_symvers: Add sed script to remove ' [<other>: xx] '
521 field from readelf output.
523 2009-01-12 Benjamin Kosnik <bkoz@redhat.com>
526 * crossconfig.m4 (hpux): Update for 10.20, 11, 11.20.
527 * configure: Regenerate.
529 2009-01-12 Benjamin Kosnik <bkoz@redhat.com>
531 * crossconfig.m4 (linux): Add GCC_CHECK_TLS to define
533 Use GLIBCXX_CHECK_COMPILER_FEATURES to compute SECTION_FLAGS.
535 2009-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
537 * include/tr1_impl/regex (basic_regex::basic_regex): Use range
538 constructor for _M_pattern.
539 * testsuite/tr1/7_regular_expressions/basic_regex/ctors/char/
540 string.cc: Test construction from different basic_string type.
541 * testsuite/tr1/7_regular_expressions/basic_regex/ctors/wchar_t/
544 2009-01-07 Benjamin Kosnik <bkoz@redhat.com>
545 Jonathan Larmour <jifl@eCosCentric.com>
548 * config/cpu/generic/atomicity_mutex/atomicity.h (get_atomic_mutex):
550 (__gnu_cxx::__exchange_and_add): Use it.
551 * src/atomic.cc (get_atomic_mutex): New.
552 * src/debug.cc (get_safe_base_mutex): New.
553 * src/locale.cc (get_locale_cache_mutex): New.
554 * src/mt_allocator.cc (get_freelist): New.
555 (get_freelist_mutex): New.
556 * src/pool_allocator.cc (get_palloc_mutex): New.
557 * include/std/mutex (__once_functor_lock): To
558 (__get_once_functor_lock): ...this.
559 * src/mutex.cc (__once_mutex): Don't export, use
560 (get_once_mutex): ...this.
561 * config/abi/pre/gnu.ver: Adjust exports.
563 2009-01-07 Jakub Jelinek <jakub@redhat.com>
566 * libsupc++/unwind-cxx.h (__cxxabiv1::__cxa_exception): Remove
567 referenceCount field again.
568 (__cxxabiv1::__cxa_refcounted_exception): New struct.
569 (__cxxabiv1::__get_refcounted_exception_header_from_obj,
570 __cxxabiv1::__get_refcounted_exception_header_from_ue): New static
572 * libsupc++/eh_alloc.cc (__cxxabiv1::__cxa_allocate_exception,
573 __cxxabiv1::__cxa_free_exception): Use __cxa_refcounted_exception
574 instead of __cxa_exception.
575 * libsupc++/eh_throw.cc (__gxx_exception_cleanup,
576 __cxxabiv1::__cxa_throw): Likewise.
577 * libsupc++/eh_ptr.cc (std::rethrow_exception,
578 std::__exception_ptr::exception_ptr::_M_addref,
579 std::__exception_ptr::exception_ptr::_M_release,
580 __gxx_dependent_exception_cleanup): Likewise.
581 * testsuite/18_support/exception/38732.cc: New test.
584 * acinclude.m4 (HAVE_AS_SYMVER_DIRECTIVE): New test.
585 * src/compatibility.cc: Don't use .symver directives if
586 _GLIBCXX_HAVE_AS_SYMVER_DIRECTIVE is not defined.
587 * config.h.in: Regenerated.
588 * configure: Likewise.
590 2009-01-07 Paolo Carlini <paolo.carlini@oracle.com>
593 * include/bits/stl_pair.h: Document C++03 pair vs swap.
595 2009-01-06 Benjamin Kosnik <bkoz@redhat.com>
597 * src/locale_init.cc (locale::_S_initialize_once): Move construction
599 (locale::classic): Here.
601 2009-01-06 Jonathan Wakely <jwakely.gcc@gmail.com>
603 * include/tr1_impl/regex: Fix bad return statements and typos.
605 2009-01-05 Benjamin Kosnik <bkoz@redhat.com>
607 * include/tr1_impl/regex: Remove unimplemented function definitions.
608 * testsuite/28_regex/init-list.cc: Compile only.
609 * testsuite/tr1/7_regular_expressions/regex/cons/char/
610 c_string_extended.cc: Same.
611 * testsuite/tr1/7_regular_expressions/basic_regex/assign/*: Same.
612 * testsuite/tr1/7_regular_expressions/basic_regex/ctors/*: Same.
614 2009-01-05 Benjamin Kosnik <bkoz@redhat.com>
617 * crossconfig.m4: Define HAVE_FABSF for hpux crosses.
618 * configure: Regenerate.
620 2009-01-05 Ben Elliston <bje@au.ibm.com>
622 * configure.ac (GLIBCXX_CHECK_STANDARD_LAYOUT): Remove invocation.
623 * configure: Regenerate.
625 2009-01-05 Ben Elliston <bje@au.ibm.com>
627 * configure.ac: Exchange the order of GLIBCXX_ENABLE_THREADS and
628 GLIBCXX_ENABLE_ATOMIC_BUILTINS macro invocations.
629 * configure: Regenerate.
631 2009-01-04 Richard Guenther <rguenther@suse.de>
634 * include/ext/pointer.h (_Relative_pointer_impl): Use an unsigned
635 integer type for storage, arithmetic and comparisons.
636 * testsuite/ext/ext_pointer/1_neg.cc: Adjust line numbers.
638 2009-01-04 Paolo Carlini <paolo.carlini@oracle.com>
641 * include/bits/forward_list.h (_Fwd_list_iterator<>::_M_next,
642 _Fwd_list_const_iterator::_M_next): Fix return type.
644 2009-01-03 Paolo Carlini <paolo.carlini@oracle.com>
646 * Revert last commit, reopen and suspend libstdc++/38678.
648 2009-01-01 Paolo Carlini <paolo.carlini@oracle.com>
651 * include/std/istream (basic_istream<>::_M_read): New.
652 * include/bits/istream.tcc (basic_istream<>::_M_read): Define.
653 (basic_istream<>::read, basic_istream<>::readsome): Use it.
654 * include/std/ostream (basic_ostream<>::_M_write_): New.
655 (basic_ostream<>::_M_write): Adjust.
656 * include/bits/ostream.tcc (basic_ostream<>::_M_write_): Define.
657 * testsuite/27_io/basic_istream/read/char/38678.cc: New.
658 * testsuite/27_io/basic_istream/read/wchar_t/38678.cc: Likewise.
659 * testsuite/27_io/basic_ostream/write/char/38678.cc: Likewise.
660 * testsuite/27_io/basic_ostream/write/wchar_t/38678.cc: Likewise.
662 2008-12-22 Jonathan Larmour <jifl@eCosCentric.com>
664 * include/ext/concurrence.h: Fix __gthread_cond_t initialisation
667 2008-12-22 Benjamin Kosnik <bkoz@redhat.com>
669 * doc/doxygen/stdheader.cc: Add cstdlib.
670 * doc/doxygen/user.cfg.in: Regenerate for doxygen 1.5.7.
672 2008-12-21 Andrew Pinski <pinskia@gmail.com>
675 * configure: Regenerate.
677 2008-12-21 Paolo Carlini <paolo.carlini@oracle.com>
680 * include/tr1_impl/functional (function<>::target,
681 function<>::target_type): Provide only when __GXX_RTTI is defined.
682 (_Function_base::_M_manager, _Ref_manager<>::_M_manager,
683 _Function_handler<void(_ArgTypes...), _Member _Class::*>::_M_manager):
686 2008-12-19 Ben Elliston <bje@au.ibm.com>
688 * acinclude.m4: Guard a variable test against an empty string.
689 * configure: Regenerate.
691 2008-12-18 Jack Howarth <howarth@bromo.med.uc.edu>
693 * testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc:
694 Add xfail on all targets except darwin.
695 * libstdc++-v3/testsuite/21_strings/basic_string/element_access/char/
697 * libstdc++-v3/testsuite/22_locale/ctype/is/char/2.cc: Correct syntax
698 for xfailing on all targets except linux.
700 2008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
702 * configure: Regenerate.
704 2008-12-17 Jack Howarth <howarth@bromo.med.uc.edu>
706 * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
707 Don't xfail test on darwin8 or later.
709 2008-12-16 Jack Howarth <howarth@bromo.med.uc.edu>
711 * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
712 Don't xfail excessive errors on darwin8 or later.
714 2008-12-15 Benjamin Kosnik <bkoz@redhat.com>
716 * include/c_global/cstdatomic: Remove assert include.
717 * include/debug/debug.h: Consolidate __replacement_assert...
718 * include/parallel/base.h: Consolidate __replacement_assert...
719 * include/bits/c++config: ...here.
720 * include/bits/atomic_0.h: Use it.
721 * include/bits/atomic_2.h: Same.
722 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers.
723 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
725 2008-12-13 Benjamin Kosnik <bkoz@redhat.com>
727 * src/atomic.cc: Revert last change.
728 * include/bits/atomic_2.h: Move cassert include to...
729 * include/c_global/cstdatomic: ...here.
730 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers.
731 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
733 2008-12-12 Benjamin Kosnik <bkoz@redhat.com>
735 * src/Makefile.am: Remove -x c++ for atomic build rules.
736 * src/Makefile.in: Regenerate.
737 * src/atomic.cc: Move mutex include before cstdatomic.
739 2008-12-12 H.J. Lu <hongjiu.lu@intel.com>
742 * testsuite/util/regression/trait/assoc/type_trait.hpp
743 (regression_test_type_traits): Add const to pair_type_rebind.
745 2008-12-12 Benjamin Kosnik <bkoz@redhat.com>
747 * src/atomic.cc: Correct guards to match mutex.cc.
749 2008-12-11 Benjamin Kosnik <bkoz@redhat.com>
750 Richard Henderson <rth@redhat.com>
752 * include/c_global/cstdatomic: Update to N2798.
753 (atomic): Remove explicit constructors as per DR 845.
754 * include/bits/atomic_0.h: New. Switchable implementation.
755 * include/bits/atomic_2.h: New. Lock-free implementation.
756 * include/c_compatibility/stdatomic.h: Use foward headers.
757 * include/bits/atomicfwd_cxx.h: New.
758 * include/bits/atomicfwd_c.h: New.
759 * src/atomic.cc: Adjust.
760 * acinclude.m4 (GLIBCXX_CHECK_STANDARD_LAYOUT): Remove,
761 unconditionally use default/deleted syntax.
762 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Check for 2, 8.
763 * include/Makefile.am (bits_headers): Add atomicfwd_c.h,
764 atomicfwd_cxx.h, atomic_0.h, atomic_2.h.
765 * include/Makefile.in: Regenerate.
766 * configure: Regenerate.
767 * config.h.in: Regenerate.
768 * config/abi/pre/gnu.ver: Adjust exports.
770 * testsuite/27_io/ios_base/types/fmtflags/bitmask_operators.cc: Adjust.
771 * testsuite/27_io/ios_base/types/openmode/bitmask_operators.cc: Same.
772 * testsuite/27_io/ios_base/types/iostate/bitmask_operators.cc: Same.
773 * testsuite/29_atomics/atomic_address/cons/assign_neg.cc: Same.
774 * testsuite/29_atomics/atomic_address/cons/explicit_value.cc: Move to..
775 * testsuite/29_atomics/atomic_address/cons/single_value.cc: ...this.
776 * testsuite/29_atomics/atomic_address/cons/copy_neg.cc
777 * testsuite/29_atomics/atomic_integral/cons/single_value.cc: New.
778 * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: New.
779 * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: New.
780 * testsuite/29_atomics/atomic_integral/cons/default.cc: New.
781 * testsuite/29_atomics/atomic_integral/cons/direct_list.cc: New.
782 * testsuite/29_atomics/atomic_integral/cons/copy_list.cc: New.
783 * testsuite/29_atomics/atomic_integral/requirements/
784 standard_layout.cc: New.
785 * testsuite/29_atomics/atomic_integral/operators/
786 integral_assignment.cc: New.
787 * testsuite/29_atomics/atomic_integral/operators/increment_neg.cc: New.
788 * testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc: New.
789 * testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc: New.
790 * testsuite/29_atomics/atomic_integral/operators/increment.cc: New.
791 * testsuite/29_atomics/atomic_integral/operators/decrement.cc: New.
792 * testsuite/29_atomics/atomic_integral/operators/bitwise.cc: New.
793 * testsuite/29_atomics/atomic_integral/operators/
794 integral_conversion.cc: New.
795 * testsuite/29_atomics/atomic_flag/cons/assign_neg.cc: Adjust.
796 * testsuite/29_atomics/atomic_flag/cons/copy_neg.cc: Same.
797 * testsuite/29_atomics/atomic_flag/requirements/
798 standard_layout.cc: Same.
799 * testsuite/29_atomics/atomic_flag/
800 atomic_global_fence_compatibility.cc: Kill.
801 * testsuite/29_atomics/headers/cstdatomic/types_std_c++0x.cc: Adjust.
802 * testsuite/29_atomics/headers/cstdatomic/functions_std_c++0x.cc: Same.
803 * testsuite/29_atomics/headers/cstdatomic/macros.cc: Same.
804 * testsuite/29_atomics/headers/stdatomic.h/macros.c: Same.
805 * testsuite/29_atomics/headers/stdatomic.h/types.c: Same.
806 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
807 * testsuite/29_atomics/atomic/cons/explicit_value.cc: Move to...
808 * testsuite/29_atomics/atomic/cons/single_value.cc: ...this.
809 * testsuite/29_atomics/atomic/cons/copy_neg.cc
810 * testsuite/29_atomics/atomic/cons/direct_list.cc: New.
811 * testsuite/29_atomics/atomic/cons/copy_list.cc: New.
812 * testsuite/29_atomics/atomic/requirements/standard_layout.cc: New.
813 * testsuite/29_atomics/atomic/requirements/base_classes.cc: New.
814 * testsuite/29_atomics/atomic/operators/integral_assignment.cc: New.
815 * testsuite/29_atomics/atomic/operators/integral_conversion.cc: New.
816 * testsuite/util/testsuite_hooks.h (bitmask_operators): Move...
817 * testsuite/util/testsuite_common_types.h: ...here.
818 (atomic_integrals_no_bool): New.
819 (atomic_integrals): New.
820 (has_increment_operators, has_decrement_operators)
821 (direct_list_initializable, single_value_constructible)
822 (standard_layout, has_bitwise_operators, integral_convertable)
823 (integral_assignable): Add.
825 2008-12-11 Jakub Jelinek <jakub@redhat.com>
828 * testsuite/26_numerics/headers/cmath/37582.cc: New.
830 2008-12-08 Paolo Carlini <paolo.carlini@oracle.com>
832 * include/tr1_impl/cmath: Undef remquof / remquol too; add using
834 * acinclude.m4 [GLIBCXX_CHECK_C99_TR1]: Check remquof / remquol too.
835 * testsuite/tr1/8_c_compatibility/cmath/functions.cc: Adjust.
836 * configure: Regenerate.
838 2008-12-08 Edward Smith-Rowland <3dw4rd@verizon.net>
840 * include/bits/forward_list.h: Fixed spurious "forward_swap" in doxy.
842 2008-12-06 Paolo Carlini <paolo.carlini@oracle.com>
845 * include/tr1/ell_integral.tcc: Avoid __ea, future SPU badname.
846 * doc/xml/manual/appendix_contributing.xml: Add __ea to the list
849 2008-12-05 Tom Tromey <tromey@redhat.com>
851 * include/tr1_impl/functional (_Mu): Fix typo.
853 2008-12-05 Paolo Carlini <paolo.carlini@oracle.com>
856 * include/bits/locale_facets_nonio.tcc (money_get<>::
857 _M_extract(iter_type, iter_type, ios_base&, ios_base::iostate&,
858 string&)): Fix, reject decimal point when frac_digits <= 0.
859 * testsuite/22_locale/money_get/get/char/38399.cc: New.
860 * testsuite/22_locale/money_get/get/wchar_t/38399.cc: Likewise.
861 * testsuite/22_locale/money_get/get/char/5.cc: Adjust.
862 * testsuite/22_locale/money_get/get/wchar_t/5.cc: Likewise.
864 2008-12-05 Paolo Carlini <paolo.carlini@oracle.com>
867 * testsuite/22_locale/numpunct/members/char/2.cc: Use is_IS instead
869 * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Likewise.
870 * testsuite/22_locale/locale/cons/7.cc: Likewise.
872 2008-12-04 Paolo Carlini <paolo.carlini@oracle.com>
875 * config/locale/gnu/numeric_members.cc (numpunct<char>::
876 _M_initialize_numpunct, numpunct<wchar_t>::_M_initialize_numpunct):
877 Fix for THOUSANDS_SEP == '\0' consistently with "C" locale.
878 * config/locale/gnu/monetary_members.cc (moneypunct<char, true>::
879 _M_initialize_moneypunct, moneypunct<char, false>::
880 _M_initialize_moneypunct, moneypunct<wchar_t, true>::
881 _M_initialize_moneypunct, moneypunct<wchar_t, false>::
882 _M_initialize_moneypunct): Fix for __MON_DECIMAL_POINT == '\0' or
883 __MON_THOUSANDS_SEP == '\0' consistently with "C" locale.
884 * testsuite/22_locale/locale/cons/38368.cc: New.
886 2008-12-02 Paolo Carlini <paolo.carlini@oracle.com>
888 PR libstdc++/38365 (cont)
889 * src/localename.cc (locale::locale(const locale&, const locale&,
890 category)): Revert last changes.
891 (locale::_Impl::_M_replace_categories(const _Impl*, category)):
892 Fix here instead; rework.
894 2008-12-02 Paolo Carlini <paolo.carlini@oracle.com>
897 * src/localename.cc (locale::locale(const locale&, const locale&,
899 * testsuite/22_locale/locale/cons/38365.cc: New.
901 2008-12-01 Benjamin Kosnik <bkoz@redhat.com>
904 * include/std/iostream: Correct URL.
905 * include/std/streambuf: Same.
906 * include/std/bitset: Same.
907 * include/std/iosfwd: Same.
908 * include/std/fstream: Same.
909 * include/std/istream: Same.
910 * include/std/ostream: Same.
911 * include/std/sstream: Same.
912 * include/bits/basic_ios.h: Same.
913 * include/bits/stl_map.h: Same.
914 * include/bits/stl_set.h: Same.
915 * include/bits/stl_multimap.h: Same.
916 * include/bits/ios_base.h: Same.
917 * include/bits/stl_multiset.h: Same.
918 * include/bits/char_traits.h: Same.
919 * include/bits/stl_relops.h: Same.
920 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
921 * testsuite/27_io/ios_base/cons/copy_neg.cc: Ditto.
923 2008-11-26 Janis Johnson <janis187@us.ibm.com>
926 * testsuite/lib/libstdc++.exp: Include new timeout library files.
927 (libstdc++_init): Define tool_timeout.
928 (dg-test): Override DejaGnu proc.
929 (v3_target_compile): Set timeout value from new proc.
930 (v3_target_compile_as_c): Ditto.
932 2008-11-24 Paolo Carlini <paolo.carlini@oracle.com>
934 PR libstdc++/38244 (cont, debug bits)
935 * include/debug/bitset (bitset<>::bitset(const char*, char, char)):
936 Remove, do not implement DR 778.
938 2008-11-24 Paolo Carlini <paolo.carlini@oracle.com>
941 * include/std/bitset (bitset<>::bitset(const char*, char, char)):
942 Remove, do not implement DR 778.
943 * doc/xml/manual/intro.xml: Remove entry for DR 778.
944 * testsuite/23_containers/bitset/cons/2.cc: Remove.
945 * testsuite/23_containers/bitset/cons/dr396.cc: Tweak.
946 * testsuite/23_containers/bitset/cons/38244.cc: Add.
948 2008-11-21 Paolo Carlini <paolo.carlini@oracle.com>
950 * testsuite/22_locale/num_put/put/char/38210.cc: Tweak.
951 * testsuite/22_locale/num_put/put/wchar_t/38210.cc: Likewise.
953 2008-11-21 Paolo Carlini <paolo.carlini@oracle.com>
956 * include/bits/locale_facets.tcc (num_put<>::do_put(iter_type,
957 ios_base&, char_type, const void*)): Fix.
958 * testsuite/22_locale/num_put/put/char/38210.cc: New.
959 * testsuite/22_locale/num_put/put/wchar_t/38210.cc: Likewise.
961 2008-11-20 Paolo Carlini <paolo.carlini@oracle.com>
964 * include/bits/locale_facets.tcc (num_put<>::do_put(iter_type,
965 ios_base&, char_type, bool)): Fix.
966 * testsuite/22_locale/num_put/put/char/38196.cc: New.
967 * testsuite/22_locale/num_put/put/wchar_t/38196.cc: Likewise.
969 2008-11-18 Paolo Carlini <paolo.carlini@oracle.com>
971 * include/tr1_impl/cinttypes: Remove redundant pragma system_header.
972 * include/tr1_impl/cfenv: Likewise.
973 * include/tr1_impl/cstdint: Likewise.
975 2008-11-13 Paolo Carlini <paolo.carlini@oracle.com>
978 * include/c_global/csignal: Do not use include_next.
979 * include/c_global/cstdlib: Likewise.
980 * include/c_global/cstdio: Likewise.
981 * include/c_global/cstdarg: Likewise.
982 * include/c_global/cctype: Likewise.
983 * include/c_global/cerrno: Likewise.
984 * include/c_global/cmath: Likewise.
985 * include/c_global/clocale: Likewise.
986 * include/c_global/climits: Likewise.
987 * include/c_global/cassert: Likewise.
988 * include/c_global/csetjmp: Likewise.
989 * include/c_global/cwchar: Likewise.
990 * include/c_global/cfloat: Likewise.
991 * include/c_global/cstdbool: Likewise.
992 * include/c_global/cstring: Likewise.
993 * include/c_global/cstddef: Likewise.
994 * include/c_global/cwctype: Likewise.
995 * include/tr1/cstdbool: Likewise.
996 * include/tr1_impl/cinttypes: Do not include <inttypes.h>.
997 * include/c_global/cinttypes: Do it here.
998 * include/tr1/cinttypes: Likewise.
999 * include/tr1_impl/cfenv: Do not include <fenv.h>.
1000 * include/c_global/cfenv: Do it here.
1001 * include/tr1/cfenv: Likewise.
1002 * include/tr1_impl/cstdint: Do not include <stdint.h>.
1003 * include/c_global/cstdint: Do it here.
1004 * include/tr1/cstdint: Likewise.
1005 * include/c_compatibility/fenv.h: Include <tr1_impl/cfenv>.
1006 * include/c_compatibility/stdint.h: Include <tr1_impl/cstdint>.
1007 * include/c_compatibility/inttypes.h: Include <tr1_impl/cinttypes>.
1009 * include/c_compatibility/math.h: Minor tweak, add comment.
1011 2008-11-12 Steve Ellcey <sje@cup.hp.com>
1013 * configure.ac: Move call to GCC_CHECK_UNWIND_GETIPINFO.
1014 * configure: Regenerate to get new GCC_CHECK_UNWIND_GETIPINFO.
1016 2008-11-12 Paolo Carlini <paolo.carlini@oracle.com>
1018 PR libstdc++/37986 (cont)
1019 * include/tr1_impl/random (struct _Adaptor): Use only remove_reference
1021 (struct _Adaptor<_Engine*, _Distribution>): Add.
1022 * testsuite/tr1/5_numerical_facilities/random/variate_generator/
1025 2008-11-11 Paolo Carlini <paolo.carlini@oracle.com>
1028 * include/tr1_impl/random (struct _Adaptor): Use remove_pointer
1029 and remove_reference on _Engine.
1030 * testsuite/tr1/5_numerical_facilities/random/variate_generator/
1033 2008-11-11 Paolo Carlini <paolo.carlini@oracle.com>
1035 * testsuite/ext/ext_pointer/1_neg.cc: Adjust dg-error line numbers.
1037 2008-11-11 Paolo Carlini <paolo.carlini@oracle.com>
1039 * testsuite/23_containers/vector/ext_pointer/modifiers/erase.cc: Fix.
1040 * testsuite/23_containers/vector/ext_pointer/modifiers/element.cc:
1043 2008-11-11 Bob Walters <bob.s.walters@gmail.com>
1045 * include/bits/forward_list.h: Support non-standard pointer types
1046 (_Fwd_list_node_base): Add _Alloc template parameter.
1047 (_Fwd_list_node<>): Likewise.
1048 (_Fwd_list_iterator<>): Likewise.
1049 (_Fwd_list_const_iterator<>): Likewise.
1050 (_Fwd_list_node_base::_M_next, _M_transfer_after, _M_reverse_after):
1051 Use _Alloc<_Tp>::pointer.
1052 (_Fwd_list_iterator<>::_M_node): Use _Node_base::_Pointer.
1053 (_Fwd_list_base<>::_M_get_node, _M_create_node, _M_create_node,
1054 _M_insert_after, _M_put_node, _M_erase_after): Likewise.
1055 (_Fwd_list_const_iterator<>::_M_node): use _Node_base::_Const_pointer.
1056 (forward_list<>): Use __static_pointer_cast in place of static_cast,
1057 and __const_pointer_cast in place of const_cast.
1058 * include/bits/forward_list.tcc
1059 (_Fwd_list_node<>::_M_sort_after): Using _Pointer typedefs in place
1060 of standard pointers, __static_pointer_cast in place of static_cast.
1061 (_Fwd_list_base<>::_Fwd_list_base, _M_insert_after, _M_erase_after):
1063 (forward_list<>::_M_initialize_dispatch, _M_fill_initialize,
1064 splice_after, remove, remove_if, merge): Likewise.
1065 * testsuite/23_containers/forward_list/ext_pointer/modifiers/1.cc: New.
1066 * testsuite/23_containers/forward_list/ext_pointer/modifiers/2.cc:
1068 * testsuite/23_containers/forward_list/ext_pointer/modifiers/3.cc:
1070 * testsuite/23_containers/forward_list/ext_pointer/modifiers/4.cc:
1072 * testsuite/23_containers/forward_list/ext_pointer/modifiers/5.cc:
1074 * testsuite/23_containers/forward_list/ext_pointer/operations/1.cc:
1076 * testsuite/23_containers/forward_list/ext_pointer/operations/2.cc:
1078 * testsuite/23_containers/forward_list/ext_pointer/operations/3.cc:
1080 * testsuite/23_containers/forward_list/ext_pointer/operations/4.cc:
1082 * testsuite/23_containers/forward_list/ext_pointer/operations/5.cc:
1084 * testsuite/23_containers/forward_list/ext_pointer/operations/6.cc:
1086 * testsuite/23_containers/forward_list/ext_pointer/operations/7.cc:
1088 * testsuite/23_containers/forward_list/ext_pointer/requirements/1.cc:
1090 * testsuite/23_containers/forward_list/ext_pointer/requirements/
1091 explicit_instantiation/1.cc: Likewise.
1092 * testsuite/23_containers/forward_list/ext_pointer/requirements/
1093 explicit_instantiation/3.cc: Likewise.
1094 * testsuite/23_containers/forward_list/ext_pointer/1.cc: Likewise.
1096 2008-11-11 Paolo Carlini <paolo.carlini@oracle.com>
1098 * include/ext/extptr_allocator.h: Minor tweaks.
1099 * include/ext/pointer.h: Likewise.
1100 * include/ext/cast.h: Likewise.
1102 2008-11-10 Paolo Carlini <paolo.carlini@oracle.com>
1105 * config/locale/gnu/monetary_members.cc (moneypunct<>::
1106 _M_initialize_moneypunct(__c_locale, const char*)): Use correct vector
1107 delete for __wcs_ps and __wcs_ns.
1109 2008-11-07 Bob Walters <bob.s.walters@gmail.com>
1111 * include/ext/pointer.h: New, add experimental support for non-standard
1112 pointer types in containers via the allocator::pointer typedef.
1113 (Currently only supported/working with std::vector)
1114 * include/ext/cast.h: New, add overload-able pointer casting functions
1115 for use in containers supporting non-standard pointer types.
1116 * include/ext/extptr_allocator.h: New, add _ExtPtr_allocator.
1117 * include/Makefile.am: Update.
1118 * include/precompiled/extc++.h: Likewise.
1119 * include/Makefile.in: Regenerate.
1120 * testsuite/ext/ext_pointer/1.cc: New.
1121 * testsuite/ext/ext_pointer/1_neg.cc: Likewise.
1122 * testsuite/23_containers/vector/ext_pointer/citerators.cc: New.
1123 * testsuite/23_containers/vector/ext_pointer/data_access.cc: Likewise.
1124 * testsuite/23_containers/vector/ext_pointer/resize.cc: Likewise.
1125 * testsuite/23_containers/vector/ext_pointer/types/1.cc: Likewise.
1126 * testsuite/23_containers/vector/ext_pointer/modifiers/element.cc:
1128 * testsuite/23_containers/vector/ext_pointer/modifiers/erase.cc:
1130 * testsuite/23_containers/vector/ext_pointer/modifiers/insert.cc:
1132 * testsuite/23_containers/vector/ext_pointer/explicit_instantiation/
1134 * testsuite/23_containers/vector/ext_pointer/explicit_instantiation/
1137 2008-11-05 Jonathan Wakely <jwakely.gcc@gmail.com>
1141 * include/tr1_impl/functional (result_of,reference_wrapper): Update
1142 to use C++0x features.
1143 * testsuite/20_util/function_objects/return_types/result_of.cc: New.
1144 * testsuite/20_util/function_objects/return_types/result_of_neg.cc:
1146 * testsuite/20_util/function_objects/return_types/result_of_ref.cc:
1148 * testsuite/20_util/reference_wrapper/24803.cc: Uncomment FIXMEs.
1150 2008-11-05 Jonathan Wakely <jwakely.gcc@gmail.com>
1154 * include/tr1_impl/functional (result_of,reference_wrapper): Update
1155 to use C++0x features.
1156 * testsuite/20_util/function_objects/return_types/result_of.cc: New.
1157 * testsuite/20_util/function_objects/return_types/result_of_neg.cc:
1159 * testsuite/20_util/function_objects/return_types/result_of_ref.cc:
1161 * testsuite/20_util/reference_wrapper/24803.cc: Uncomment FIXMEs.
1163 2008-11-03 Paolo Carlini <paolo.carlini@oracle.com>
1165 * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
1166 iter_type, ios_base&, ios_base::iostate&, bool&): Tidy.
1167 * testsuite/22_locale/num_get/get/char/37958.cc: Extend.
1168 * testsuite/22_locale/num_get/get/wchar_t/37958.cc: Likewise.
1170 2008-11-01 Paolo Carlini <paolo.carlini@oracle.com>
1172 PR libstdc++/37958 (cont again)
1173 * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
1174 iter_type, ios_base&, ios_base::iostate&, bool&): Fix again.
1175 * testsuite/22_locale/num_get/get/char/37958.cc: Extend.
1176 * testsuite/22_locale/num_get/get/wchar_t/37958.cc: Likewise.
1178 2008-11-01 Paolo Carlini <paolo.carlini@oracle.com>
1180 * include/bits/locale_facets.tcc (num_get<>::do_get(, long&),
1181 num_get<>::do_get(, unsigned short&),
1182 num_get<>::do_get(, unsigned int&),
1183 num_get<>::do_get(, unsigned long&),
1184 num_get<>::do_get(, long long&),
1185 num_get<>::do_get(, unsigned long long&),
1186 num_put<>::do_put(, long), num_put<>::do_put(, unsigned long),
1187 num_put<>::do_put(, long long),
1188 num_put<>::do_put(, unsigned long long)): Move inline...
1189 * include/bits/locale_facets.h: ... here.
1191 2008-11-01 Paolo Carlini <paolo.carlini@oracle.com>
1193 PR libstdc++/37958 (cont)
1194 * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
1195 iter_type, ios_base&, ios_base::iostate&, bool&): Fix again.
1197 2008-11-01 Jonathan Wakely <jwakely.gcc@gmail.com>
1199 * include/bits/shared_ptr.h: Update comparisons to match WP.
1200 (_Sp_counted_ptr): Make copy and assignment members deleted.
1201 (_Sp_counted_deleter): Remove private copy and assignment members.
1202 (__shared_count::_M_less,__weak_count::_M_less,operator<): Replace
1203 friend operator< with overloaded _M_less member functions to allow
1204 comparison with either shared_count or weak_count.
1205 (__shared_ptr::_M_less,__weak_ptr::_M_less): Replace with...
1206 (__shared_ptr::owner_before,__weak_ptr::owner_before): New overloads
1207 for ownership-based ordering.
1208 (operator<(__shared_ptr,__shared_ptr)): Compare stored pointers,
1210 (operator==(__shared_ptr,__shared_ptr)): Make non-friend.
1211 (operator!=(__shared_ptr,__shared_ptr)): Likewise.
1212 (less<__shared_ptr<>>,less<shared_ptr<>>,_Sp_less): Explicitly call
1213 pointer specialization.
1214 (__weak_ptr::operator<,weak_ptr::operator<=,weak_ptr::operator>,
1215 weak_ptr::operator>=): Remove operator< and delete all comparisons.
1216 (_Sp_owner_less,owner_less): Predicate for ownership-based ordering.
1217 (operator<(shared_ptr,shared_ptr): Overload for derived shared_ptr.
1218 (operator==(shared_ptr,shared_ptr): Likewise.
1219 (operator!=(shared_ptr,shared_ptr): Likewise.
1220 (swap(shared_ptr,shared_ptr)): Fix parameter types.
1221 (swap(weak_ptr,weak_ptr)): Add missing overload.
1222 * testsuite/20_util/owner_less/cmp.cc: New.
1223 * testsuite/20_util/shared_ptr/comparison/cmp.cc: Test other ops.
1224 * testsuite/20_util/shared_ptr/comparison/less.cc: New.
1225 * testsuite/20_util/shared_ptr/observers/owner_before.cc: New.
1226 * testsuite/20_util/weak_ptr/observers/owner_before.cc: New.
1227 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: New.
1229 2008-10-31 Paolo Carlini <paolo.carlini@oracle.com>
1232 * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
1233 iter_type, ios_base&, ios_base::iostate&, bool&): Fix.
1234 * testsuite/22_locale/num_get/get/char/37958.cc: New.
1235 * testsuite/22_locale/num_get/get/wchar_t/37958.cc: Likewise.
1237 2008-10-27 Paolo Carlini <paolo.carlini@oracle.com>
1241 2008-10-18 Douglas Gregor <doug.gregor@gmail.com>
1243 * include/bits/stl_pair.h (__may_be_null_pointer_init): New.
1244 (pair::pair): Eliminate the redundant pair(U1&&, U2&&) constructor.
1245 Add lvalue pair<U1, U2> constructor to handle non-const pair lvalues.
1246 Remove the old variadic constructor, and instead provide several
1247 variadic constructors that avoid failing when attempting to
1248 initialize a pointer from a null pointer constant.
1249 * testsuite/20_util/pair/moveable.cc (test3): Add new tests with
1250 initialization of pointers from the null pointer constant.
1252 2008-10-27 Paolo Carlini <paolo.carlini@oracle.com>
1255 * config/os/mingw32/os_defines.h: Define _GLIBCXX_HAVE_BROKEN_VSWPRINTF
1256 * include/bits/basic_string.h: Guard string conversions with
1257 !defined(_GLIBCXX_HAVE_BROKEN_VSWPRINTF) too.
1258 * testsuite/lib/libstdc++.exp (check_v3_target_string_conversions):
1260 * testsuite/lib/dg-options.exp (dg-require-string-conversions): New.
1261 * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
1263 * testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc:
1265 * testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
1267 * testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
1269 * testsuite/21_strings/basic_string/numeric_conversions/char/
1270 stoull.cc: Likewise.
1271 * testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc:
1273 * testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
1275 * testsuite/21_strings/basic_string/numeric_conversions/char/
1276 to_string.cc: Likewise.
1277 * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
1280 2008-10-24 Paolo Carlini <paolo.carlini@oracle.com>
1282 * config/os/generic/error_constants.h (enum errc): Remove
1283 no_posix_equivalent.
1284 * config/os/mingw32/error_constants.h (enum errc): Likewise.
1285 * testsuite/19_diagnostics/headers/system_error/errc_std_c++0x.cc:
1288 2008-10-24 Jakub Jelinek <jakub@redhat.com>
1290 * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Remove dejagnu.
1291 (RUNTESTDEFAULTFLAGS, EXPECT, check_DEJAGNU_normal_targets): New
1293 (%/site.exp, check-DEJAGNU%): New targets.
1294 (check-am): Run $(MAKE) check-DEJAGNU.
1295 * testsuite/Makefile.in: Regenerated.
1297 2008-10-23 Chris Fairles <cfairles@gcc.gnu.org>
1299 * config/os/generic/error_constants.h (errc): Use long type.
1300 * config/os/mingw32/error_constants.h (errc): Likewise.
1302 2008-10-22 Chris Fairles <cfairles@gcc.gnu.org>
1304 * include/std/system_error (is_error_code_enum): Specialize for errc.
1305 (error_category::error_category): Defaulted and protected.
1306 (error_category::~error_category): New, virtual.
1307 (error_category::error_category(const error_category&),
1308 error_category::operator=(const error_category&)): Deleted.
1309 (get_system_category, get_posix_category): Remove (DR 890).
1310 (system_category): External linkage (DR 890).
1311 (posix_category): Remove.
1312 (generic_category): Add. External linkage (DR 890).
1313 (error_code::error_code<>(_ErrorCodeEnum)): Use generic_category.
1314 (error_code::clear, error_code::operator=<>(_ErrorCodeEnum)): Forward to
1315 error_code::assign, use generic_category.
1316 (error_condition::error_condition,
1317 error_condition::error_condition<>(_ErrorConditionEnum)): Use
1319 (error_condition::clear,
1320 error_condition::operator=<>(_ErrorConditionEnum)): Forward to
1321 error_code::assign, use generic_category.
1322 (make_error_code, make_error_condition): Define in namespace std.
1323 * include/std/mutex (unique_lock<>::lock, unique_lock<>::try_lock,
1324 unique_lock<>::try_lock_until<>(duration),
1325 unique_lock<>::try_lock_for<>(duration)): Replace posix_error with errc.
1326 * src/system_error.cc (system_error_category, generic_error_category):
1328 (gnu_error_category): Remove.
1329 (get_system_category, get_posix_category): Remove (DR 890).
1330 (system_category, generic_category): Define.
1331 * src/functexcept.cc (__throw_system_error): Use generic_category.
1332 * config/abi/pre/gnu.ver: Export system_category and generic_category,
1333 remove get_system_category and get_generic_category (DR 890).
1334 * config/os/generic/error_constants.h (posix_errno): Rename to errc, use
1335 enum class type. Fix spelling.
1336 * config/os/mingw32/error_constants.h (posix_errno): Likewise.
1337 * testsuite/19_diagnostics/error_code/cons/1.cc: Use errc and
1339 * testsuite/19_diagnostics/error_code/operators/bool.cc: Use errc.
1340 * testsuite/19_diagnostics/error_code/operators/equal.cc: Likewise.
1341 * testsuite/19_diagnostics/error_code/operators/not_equal.cc: Likewise.
1342 * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Update
1343 dg-error line numbers.
1344 * testsuite/19_diagnostics/error_condition/cons/1.cc: Use
1346 * testsuite/19_diagnostics/error_condition/operators/bool.cc: Use errc.
1347 * testsuite/19_diagnostics/error_condition/operators/equal.cc: Likewise.
1348 * testsuite/19_diagnostics/error_condition/operators/not_equal.cc:
1350 * testsuite/19_diagnostics/headers/system_error/errc_std_c++0x.cc: New.
1351 * testsuite/19_diagnostics/headers/system_error/types_std_c++0x.cc:
1352 Remove using tests since errc is not a namespace.
1353 * testsuite/19_diagnostics/system_error/cons-1.cc: Use errc.
1354 * testsuite/19_diagnostics/system_error/what-4.cc: Likewise.
1355 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/error_code.cc:
1357 * testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc:
1359 * testsuite/30_threads/unique_lock/locking/2.cc: Likewise.
1361 2008-10-20 Paolo Carlini <paolo.carlini@oracle.com>
1363 * include/tr1_impl/hashtable_policy.h (_Hash_node<>::_Hash_node<>
1364 (_Args&&...)): Add in C++0x mode.
1365 * include/tr1_impl/hashtable (_Hashtable<>::_M_allocate_node,
1366 _Hashtable<>::_M_deallocate_node): Use _M_get_Node_allocator in
1369 * include/tr1_impl/hashtable (_Hashtable<>::max_size): Use
1370 Node_allocator for improved accuracy.
1371 * testsuite/tr1/6_containers/unordered_multimap/capacity/
1372 29134-multimap.cc: Adjust.
1373 * testsuite/tr1/6_containers/unordered_multimap/capacity/
1374 29134-map.cc: Likewise.
1375 * testsuite/tr1/6_containers/unordered_multimap/capacity/
1376 29134-multiset.cc: Adjust.
1377 * testsuite/tr1/6_containers/unordered_multimap/capacity/
1378 29134-set.cc: Likewise.
1380 2008-10-19 Paolo Carlini <paolo.carlini@oracle.com>
1382 * include/bits/stl_tree.h (_Rb_tree_node<>::_Rb_tree_node<>
1383 (_Args&&...)): Add in C++0x mode.
1384 (_Rb_tree<>::_M_create_node<>(_Args&&...)): Add in C++0x mode,
1385 use _M_get_Node_allocator.
1386 (_Rb_tree<>::_M_destroy_node(_Link_type): Use _M_get_Node_allocator
1388 * testsuite/23_containers/set/operators/1_neg.cc: Adjust dg-error
1390 * testsuite/23_containers/map/operators/1_neg.cc: Likewise.
1392 2008-10-18 Douglas Gregor <doug.gregor@gmail.com>
1394 * include/bits/stl_pair.h (__may_be_null_pointer_init): New.
1395 (pair::pair): Eliminate the redundant pair(U1&&, U2&&) constructor.
1396 Add lvalue pair<U1, U2> constructor to handle non-const pair lvalues.
1397 Remove the old variadic constructor, and instead provide several
1398 variadic constructors that avoid failing when attempting to
1399 initialize a pointer from a null pointer constant.
1400 * testsuite/20_util/pair/moveable.cc (test3): Add new tests with
1401 initialization of pointers from the null pointer constant.
1403 2008-10-17 Paolo Carlini <paolo.carlini@oracle.com>
1405 * include/bits/forward_list.tcc (forward_list<>::
1406 _M_initialize_dispatch(_InputIterator, _InputIterator, __false_type)):
1409 2008-10-17 Paolo Carlini <paolo.carlini@oracle.com>
1411 * include/bits/forward_list.h (forward_list<>::
1412 forward_list(size_type)): Tweak, use _Base default constructor.
1414 2008-10-17 Paolo Carlini <paolo.carlini@oracle.com>
1416 * include/bits/forward_list.h (forward_list<>::insert_after): Minor
1419 2008-10-16 Edward Smith-Rowland <3dw4rd@verizon.net>
1421 * include/bits/forward_list.h: Factor list construction to dispatch
1423 * include/bits/forward_list.tcc: Likewise.
1424 * testsuite/23_containers/forward_list/modifiers/2.cc:
1426 2008-10-16 Paolo Carlini <paolo.carlini@oracle.com>
1428 * include/bits/forward_list.tcc (operator==): Use auto.
1430 2008-10-16 Paolo Carlini <paolo.carlini@oracle.com>
1432 * include/bits/forward_list.h (_Fwd_list_base<>::_M_insert_after):
1433 Move out of line, tweak to return _Fwd_list_node_base*.
1434 (forward_list<>::insert_after(const_iterator, const _Tp&),
1435 forward_list<>::insert_after(const_iterator, _Tp&&)): Use it.
1436 * include/bits/forward_list.tcc (_Fwd_list_base<>::_M_insert_after):
1439 * include/bits/forward_list.h (forward_list<>): Consistently qualify
1440 calls of base class functions with this->.
1441 * include/bits/forward_list.tcc (forward_list<>): Likewise.
1443 * include/bits/forward_list.h: Move some functions out of line...
1444 * include/bits/forward_list.tcc: ... here.
1446 * include/bits/forward_list.h (forward_list<>::resize(size_type)): Fix.
1448 2008-10-15 Paolo Carlini <paolo.carlini@oracle.com>
1450 * include/bits/forward_list.h: Remove pointless const qualifiers in
1452 * include/bits/forward_list.tcc: Likewise.
1454 * include/bits/forward_list.h (forward_list<>::pointer,
1455 const_pointer, reference, const_reference): Fix, use _Tp_alloc_type.
1456 * testsuite/23_containers/forward_list/requirements/
1457 explicit_instantiation/1.cc: New.
1458 * testsuite/23_containers/forward_list/requirements/
1459 explicit_instantiation/1.cc: Likewise.
1461 2008-10-15 Paolo Carlini <paolo.carlini@oracle.com>
1463 * include/bits/forward_list.h (forward_list<>::max_size): Use
1464 Node_allocator; minor cosmetic changes.
1465 * testsuite/23_containers/forward_list/capacity/1.cc: Adjust.
1467 2008-10-15 Edward Smith-Rowland <3dw4rd@verizon.net>
1469 * include/std/forward_list: New.
1470 * include/bits/forward_list.h: Likewise.
1471 * include/bits/forward_list.tcc: Likewise.
1472 * include/precompiled/stdc++.h: Modified to include forward_list.
1473 * include/Makefile.am: Add forward_list, forward_list.h, and
1475 * include/Makefile.in: Regenerate.
1476 * testsuite/23_containers/forward_list/modifiers/1.cc: New.
1477 * testsuite/23_containers/forward_list/modifiers/2.cc: Likewise.
1478 * testsuite/23_containers/forward_list/modifiers/3.cc: Likewise.
1479 * testsuite/23_containers/forward_list/modifiers/4.cc: Likewise.
1480 * testsuite/23_containers/forward_list/modifiers/5.cc: Likewise.
1481 * testsuite/23_containers/forward_list/cons/1.cc: Likewise.
1482 * testsuite/23_containers/forward_list/cons/2.cc: Likewise.
1483 * testsuite/23_containers/forward_list/cons/3.cc: Likewise.
1484 * testsuite/23_containers/forward_list/cons/4.cc: Likewise.
1485 * testsuite/23_containers/forward_list/cons/5.cc: Likewise.
1486 * testsuite/23_containers/forward_list/cons/6.cc: Likewise.
1487 * testsuite/23_containers/forward_list/cons/7.cc: Likewise.
1488 * testsuite/23_containers/forward_list/cons/8.cc: Likewise.
1489 * testsuite/23_containers/forward_list/cons/9.cc: Likewise.
1490 * testsuite/23_containers/forward_list/requirements/1.cc: Likewise.
1491 * testsuite/23_containers/forward_list/operations/1.cc: Likewise.
1492 * testsuite/23_containers/forward_list/operations/2.cc: Likewise.
1493 * testsuite/23_containers/forward_list/operations/3.cc: Likewise.
1494 * testsuite/23_containers/forward_list/operations/4.cc: Likewise.
1495 * testsuite/23_containers/forward_list/operations/5.cc: Likewise.
1496 * testsuite/23_containers/forward_list/operations/6.cc: Likewise.
1497 * testsuite/23_containers/forward_list/operations/7.cc: Likewise.
1498 * testsuite/23_containers/forward_list/capacity/1.cc: Likewise.
1499 * testsuite/23_containers/forward_list/comparable.cc: Likewise.
1500 * testsuite/23_containers/forward_list/moveable.cc: Likewise.
1501 * testsuite/23_containers/headers/forward_list/synopsis.cc: Likewise.
1502 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Update.
1503 * testsuite/17_intro/headers/c++200x/all: Likewise.
1505 2008-10-14 Paolo Carlini <paolo.carlini@oracle.com>
1507 * include/bits/stl_list.h (_List_node<>::_List_node<>(_Args&&...)):
1509 (list<>::_M_create_node<>(_Args&&...)): Use _M_get_Node_allocator.
1510 (list<>::_M_erase(iterator): Likewise, in C++0x mode.
1511 * include/bits/list.tcc (_List_base<>::_M_clear): Likewise.
1512 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
1513 Adjust dg-error line number.
1514 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
1516 * testsuite/23_containers/list/requirements/dr438/
1517 constructor_1_neg.cc: Likewise.
1518 * testsuite/23_containers/list/requirements/dr438/
1519 constructor_2_neg.cc: Likewise.
1521 2008-10-14 Paolo Carlini <paolo.carlini@oracle.com>
1523 * include/bits/stl_tree.h (_Rb_tree<>::max_size): Use Node_allocator
1524 for improved accuracy.
1525 * include/bits/stl_list.h (list<>::max_size): Likewise.
1526 * testsuite/23_containers/multimap/capacity/29134.cc: Adjust.
1527 * testsuite/23_containers/set/capacity/29134.cc: Likewise.
1528 * testsuite/23_containers/multiset/capacity/29134.cc: Likewise.
1529 * testsuite/23_containers/list/capacity/29134.cc: Likewise.
1530 * testsuite/23_containers/map/capacity/29134.cc: Likewise.
1532 2008-10-10 Paolo Carlini <paolo.carlini@oracle.com>
1534 * testsuite/20_util/reference_wrapper/24803.cc: Avoid uninitialized
1537 2008-10-10 Paolo Carlini <paolo.carlini@oracle.com>
1539 * include/std/system_error (native_category): Remove.
1540 (posix_category): Add.
1541 (error_code::error_code(_ErrorCodeEnum, typename enable_if<>:type*):
1542 Fix _M_cat initialization.
1543 (error_code::operator=(_ErrorCodeEnum)): Assign _M_cat too.
1544 (error_condition::_M_cat, error_condtion::operator=
1545 (_ErrorConditionEnum)): Implement resolution of DR 804.
1546 (error_condition::error_condition(_ErrorConditionEnum, typename
1547 enable_if<>:type*): Fix.
1548 (error_condition::clear, error_condition::assign): Implement.
1549 (operator==, operator!=): Fix uglification of parameters.
1550 (make_error_code, make_error_condition): Define in namespace
1552 (operator<<(basic_ostream<>&, const error_code&)): Define here.
1553 * include/std/ostream (operator<<(basic_ostream<>&,
1554 const error_code&)): Do not define here.
1555 * testsuite/19_diagnostics/error_condition/cons/1.cc: New.
1556 * testsuite/19_diagnostics/error_condition/operators/bool.cc: Likewise.
1557 * testsuite/19_diagnostics/error_condition/operators/bool_neg.cc:
1559 * testsuite/19_diagnostics/error_condition/operators/equal.cc:
1561 * testsuite/19_diagnostics/error_condition/operators/not_equal.cc:
1563 * testsuite/19_diagnostics/error_code/cons/1.cc: Tweak.
1564 * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Adjust
1565 dg-error line numbers.
1566 * testsuite/30_threads/unique_lock/locking/2.cc: Tweak.
1568 * testsuite/util/testsuite_error.h: Minor tweaks.
1569 * testsuite/util/testsuite_hooks.cc: Avoid uninitialized warning.
1571 2008-10-10 Chris Fairles <cfairles@gcc.gnu.org>
1573 * testsuite/20_util/duration/cons/1.cc: Remove invalid check of
1574 uninitialized duration.
1576 2008-10-08 Bob Walters <bob.s.walters@gmail.com>
1578 * include/bits/stl_vector.h (_Vector_base<>::_Vector_impl::_M_start,
1579 _M_finish, _M_end_of_storage, _Vector_base<>::_M_allocate,
1580 _M_deallocate): Use _Tp_alloc_type::pointer.
1582 2008-10-07 Jason Merrill <jason@redhat.com>
1585 * testsuite/abi/demangle/abi_examples/20.cc: Adjust expected spacing.
1586 * testsuite/abi/demangle/abi_text/02.cc: Likewise.
1587 * testsuite/abi/demangle/regression/cw-16.cc: Likewise.
1589 2008-10-07 Paolo Carlini <paolo.carlini@oracle.com>
1591 * include/bits/stl_iterator.h (operator-(const reverse_iterator<>&,
1592 const reverse_iterator<>&), operator-(const __normal_iterator<>&,
1593 const __normal_iterator<>&), operator-(const move_iterator<>&,
1594 const move_iterator<>&)): Use the auto -> return type syntax,
1597 2008-10-06 Jason Merrill <jason@redhat.com>
1599 * config/abi/pre/gnu.ver: Update char16/32_t manglings.
1601 2008-10-05 Paolo Carlini <paolo.carlini@oracle.com>
1603 * testsuite/20_util/reference_wrapper/invoke.cc: New.
1604 * testsuite/20_util/reference_wrapper/24803.cc: Likewise.
1605 * testsuite/20_util/reference_wrapper/typedefs.cc: Likewise.
1607 2008-10-01 Andrew Pinski <andrew_pinski@playstation.sony.com>
1609 * config/locale/generic/c_locale.cc (__convert_to_v): Fix
1610 !__FLT_HAS_INFINITY__ case.
1612 2008-09-30 Chris Fairles <cfairles@gcc.gnu.org>
1614 * include/std/tuple (tuple<>::swap): Implement swap for tuple as per
1616 * testsuite/20_util/tuple/swap.cc: New.
1618 2008-09-30 Paolo Carlini <paolo.carlini@oracle.com>
1620 PR libstdc++/30085 (again)
1621 * include/debug/unordered_map (unordered_map<>, unordered_multimap<>):
1622 Do not derive from _Safe_association, derive from _GLIBCXX_STD_D::
1623 unordered_map / unordered_multimap; add missing member functions.
1624 * include/debug/unordered_set (unordered_set<>, unordered_multiset<>):
1625 Likewise for _GLIBCXX_STD_D::unordered_set / unordered_multiset.
1626 * include/debug/safe_association.h: Remove.
1627 * include/Makefile.am: Adjust.
1628 * include/Makefile.in: Regenerate.
1629 * testsuite/23_containers/unordered_multimap/init-list.cc: Remove
1632 2008-09-28 Paolo Carlini <paolo.carlini@oracle.com>
1634 * include/bits/unique_ptr.h (unique_ptr<_Tp[]>::template<typename U>
1635 void reset(U)): Add as deleted function, per DR 821 [Ready].
1636 * include/bits/unique_ptr.h: Prefer everywhere deleted to private
1637 member function declarations; minor formatting tweaks.
1638 * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: New.
1639 * testsuite/20_util/unique_ptr/assign/assign.cc: Adjust DejaGNU
1642 2008-09-28 Chris Fairles <cfairles@gcc.gnu.org>
1644 * include/std/mutex (try_lock): Implement generic try_lock.
1645 * testsuite/30_threads/try_lock/1.cc: New.
1646 * testsuite/30_threads/try_lock/2.cc: Likewise.
1647 * testsuite/30_threads/try_lock/3.cc: Likewise.
1648 * testsuite/30_threads/mutex/cons/assign_neg.cc: Adjust line numbers.
1649 * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise.
1650 * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Likewise.
1651 * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Likewise.
1652 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
1653 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
1654 * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc:
1656 * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc: Likewise.
1658 2008-09-26 Peter O'Gorman <pogma@thewrittenword.com>
1659 Steve Ellcey <sje@cup.hp.com>
1661 * configure: Regenerate for new libtool.
1662 * aclocal.m4: Ditto.
1663 * Makefile.in: Ditto.
1664 * src/Makefile.in: Ditto.
1665 * doc/Makefile.in: Ditto.
1666 * po/Makefile.in: Ditto.
1667 * libmath/Makefile.in: Ditto.
1668 * include/Makefile.in: Ditto.
1669 * libsupc++/Makefile.in: Ditto.
1670 * testsuite/Makefile.in: Ditto.
1672 2008-09-24 Paolo Carlini <paolo.carlini@oracle.com>
1674 * include/std/bitset: Adjust comment to reflect DR 853.
1675 * include/debug/bitset: Likewise.
1676 * doc/xml/manual/intro.xml: Add an entry for DR 853.
1678 2008-09-23 Paolo Carlini <paolo.carlini@oracle.com>
1680 Implement DR 396 [Ready].
1681 * include/std/bitset (bitset<>::bitset(const std::basic_string<>&,
1682 size_t, size_t, _CharT, _CharT), bitset<>::bitset(const char*,
1683 char, char), bitset<>::to_string(_CharT, _CharT),
1684 bitset<>::_M_copy_from_string(const std::basic_string<>&, size_t,
1685 size_t, _CharT, _CharT), bitset<>::_M_copy_to_string
1686 (std::basic_string<>&, _CharT, _CharT), bitset<>::_M_copy_from_ptr(
1687 const _CharT*, size_t, size_t, size_t, _CharT, _CharT)): Add.
1688 (operator>>(std::basic_istream<>&, bitset<_Nb>&), operator<<(
1689 std::basic_ostream<>&, const bitset<_Nb>&)): Adjust.
1690 * include/debug/bitset (bitset<>::bitset(const std::basic_string<>&,
1691 size_t, size_t, _CharT, _CharT), bitset<>::bitset(const char*,
1692 char, char), bitset<>::to_string(_CharT, _CharT)): Add.
1693 * doc/xml/manual/intro.xml: Add an entry for DR 396.
1694 * testsuite/23_containers/bitset/cons/dr396.cc: Add.
1695 * testsuite/23_containers/bitset/to_string/dr396.cc: Likewise.
1697 2008-09-23 Chris Fairles <cfairles@gcc.gnu.org>
1699 * testsuite/25_algorithms/min/37547.cc: Return void to avoid warnings.
1700 * testsuite/25_algorithms/max/37547.cc: Likewise.
1701 * testsuite/25_algorithms/minmax/37547.cc: Likewise.
1703 2008-09-23 Chris Fairles <cfairles@gcc.gnu.org>
1705 * include/std/chrono: If _GLIBCXX_USE_MONOTONIC_CLOCK is defined, don't
1706 typedef monotonic_clock to system_clock and instead declare new class.
1707 * src/chrono.cc: Conditionally define monotonic_clock::now().
1708 * include/std/condition_variable (wait_until): Throw exception if
1709 __gthread_cond_timedwait returns with error other than timed_out. Use
1710 system_clock as known clock type (__clock_t) and add overloads for known
1711 and unknown clocks. In the unknown case, sync to the known clock.
1712 Implement overload taking a predicate.
1713 (wait_for): Implement overload taking a predicate.
1714 * config/abi/pre/gnu.ver: Add exports for monotonic_clock.
1715 * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc: Modify
1717 * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
1719 * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Likewise.
1720 * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Likewise.
1721 * testsuite/30_threads/condition_variable/member/1.cc: New.
1722 * testsuite/30_threads/condition_variable/member/2.cc: Likewise.
1724 2008-09-23 Paolo Carlini <paolo.carlini@oracle.com>
1727 * testsuite/22_locale/num_get/get/char/10.cc: Skip long double case
1728 when strtold is not available.
1729 * testsuite/22_locale/num_get/get/wchar_t/10.cc: Likewise.
1731 2008-09-23 Benjamin Kosnik <bkoz@redhat.com>
1733 PR libstdc++/37391 continued.
1734 * doc/html/ext/pb_ds/assoc_examples.html: Don't use base tag,
1735 specify full path for source file links.
1736 * doc/html/ext/pb_ds/pq_examples.html: Same.
1738 2008-09-23 Paolo Carlini <paolo.carlini@oracle.com>
1740 * include/bits/locale_facets.tcc (__pad<>::_S_pad): Don't use const
1741 by value parameters.
1742 * include/bits/locale_facets.h (__pad<>::_S_pad): Likewise.
1744 2008-09-22 Paolo Carlini <paolo.carlini@oracle.com>
1746 PR libstdc++/32422, DR 23 [Ready in R60]
1747 * config/locale/gnu/c_locale.cc (__convert_to_v(const char*, float&,
1748 ios_base::iostate&, const __c_locale&), __convert_to_v(const char*,
1749 double&, ios_base::iostate&, const __c_locale&), __convert_to_v(const
1750 char*, long double&, ios_base::iostate&, const __c_locale&)): Implement
1751 DR 23 and deal correctly with broken exponents.
1752 * config/locale/generic/c_locale.cc (__convert_to_v(const char*,
1753 float&, ios_base::iostate&, const __c_locale&), __convert_to_v(const
1754 char*, double&, ios_base::iostate&, const __c_locale&),
1755 __convert_to_v(const char*, long double&, ios_base::iostate&, const
1756 __c_locale&)): Likewise.
1757 * include/bits/locale_facets.tcc (num_get<>::_M_extract_int(_InIter,
1758 _InIter, ios_base&, ios_base::iostate&, _ValueT&)): Likewise.
1759 (num_get<>::_M_extract_float(_InIter, _InIter, ios_base&,
1760 ios_base::iostate&, string&): Change grouping check to set instead of
1761 OR failbit; do not check for eofbit here...
1762 (num_get<>::do_get(iter_type, iter_type, ios_base&,
1763 ios_base::iostate&, float&), num_get<>::do_get(iter_type, iter_type,
1764 ios_base&, ios_base::iostate&, double&), num_get<>::do_get(iter_type,
1765 iter_type, ios_base&, ios_base::iostate&, long double&),
1766 num_get<>::__do_get(iter_type, iter_type, ios_base&,
1767 ios_base::iostate&, double&)): ... do it here instead.
1768 (num_get<>::do_get(iter_type, iter_type, ios_base&,
1769 ios_base::iostate&, bool&)): Implement DR 23.
1770 (num_get<>::do_get(iter_type, iter_type, ios_base&,
1771 ios_base::iostate&, void*&)): Adjust.
1772 * doc/xml/manual/intro.xml: Add and entry for DR 23.
1773 * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/10.cc:
1775 * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc:
1777 * testsuite/22_locale/num_get/get/wchar_t/22131.cc: Likewise.
1778 * testsuite/22_locale/num_get/get/wchar_t/10.cc: Likewise.
1779 * testsuite/22_locale/num_get/get/wchar_t/12.cc: Likewise.
1780 * testsuite/22_locale/num_get/get/wchar_t/15.cc: Likewise.
1781 * testsuite/22_locale/num_get/get/wchar_t/16.cc: Likewise.
1782 * testsuite/22_locale/num_get/get/char/22131.cc: Likewise.
1783 * testsuite/22_locale/num_get/get/char/10.cc: Likewise.
1784 * testsuite/22_locale/num_get/get/char/12.cc: Likewise.
1785 * testsuite/22_locale/num_get/get/char/15.cc: Likewise.
1786 * testsuite/22_locale/num_get/get/char/16.cc: Likewise.
1788 2008-09-22 Benjamin Kosnik <bkoz@redhat.com>
1791 * doc/html/ext/pb_ds/*.html: Fix external links.
1793 2008-09-22 Benjamin Kosnik <bkoz@redhat.com>
1795 * doc/doxygen/user.cfg.in: Define _GLIBCXX_HAS_GTHREADS for mutex,
1796 condition_variable, and thread output.
1798 2008-09-22 Paolo Carlini <paolo.carlini@oracle.com>
1800 * doc/html/ext/lwg-closed.html: Update to Revision R59.
1801 * doc/html/ext/lwg-active.html: Likewise.
1802 * doc/html/ext/lwg-defects.html: Likewise.
1803 * doc/xml/manual/intro.xml: Adjust.
1805 2008-09-21 Paolo Carlini <paolo.carlini@oracle.com>
1807 * include/bits/stl_algo.h (minmax(initializer_list<>): Use make_pair,
1808 consistently with the other overload for initializer_list.
1810 2008-09-19 Johannes Singler <singler@ira.uka.de>
1813 * include/parallel/base.h: Rename log2 to __log2.
1814 (__log2) Avoid infinite loop for n <= 0, return 0.
1815 * include/parallel/losertree.h: Rename log2 to __log2.
1816 * include/parallel/multiseq_selection.h: Likewise.
1817 * include/parallel/random_shuffle.h: Likewise.
1819 2008-09-18 Paolo Carlini <paolo.carlini@oracle.com>
1821 * include/bits/shared_ptr.h (__shared_count<>::
1822 __shared_count(_Ptr, _Deleter), __shared_count<>::
1823 __shared_count(_Ptr, _Deleter, _Alloc), __shared_count<>::
1824 __shared_count(_Sp_make_shared_tag, _Tp*, _Alloc, _Args&&...)):
1825 Qualify new with ::.
1827 2008-09-17 Paolo Carlini <paolo.carlini@oracle.com>
1830 * include/bits/stl_algo.h (min(initializer_list<>),
1831 min(initializer_list<>, Compare), max(initializer_list<>),
1832 max(initializer_list<>, Compare), minmax(initializer_list<>),
1833 minmax(initializer_list<>, Compare)): Fix return type.
1834 * include/bits/algorithmfwd.h: Adjust.
1835 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
1836 * testsuite/25_algorithms/max/requirements/explicit_instantiation/3.cc:
1838 * testsuite/25_algorithms/max/requirements/explicit_instantiation/
1840 * testsuite/25_algorithms/min/requirements/explicit_instantiation/3.cc:
1842 * testsuite/25_algorithms/min/requirements/explicit_instantiation/
1844 * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
1846 * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
1848 * testsuite/25_algorithms/max/37547.cc: New.
1849 * testsuite/25_algorithms/min/37547.cc: Likewise.
1850 * testsuite/25_algorithms/minmax/37547.cc: Likewise.
1852 2008-09-16 Chris Fairles <chris.fairles@gmail.com>
1854 * testsuite/25_algorithms/min/requirements/explicit_instantiation/3.cc:
1856 * testsuite/25_algorithms/min/requirements/explicit_instantiation/
1858 * testsuite/25_algorithms/min/3.cc: Likewise.
1859 * testsuite/25_algorithms/min/4.cc: Likewise.
1860 * testsuite/25_algorithms/max/requirements/explicit_instantiation/3.cc:
1862 * testsuite/25_algorithms/max/requirements/explicit_instantiation/
1864 * testsuite/25_algorithms/max/3.cc: Likewise.
1865 * testsuite/25_algorithms/max/4.cc: Likewise.
1866 * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
1868 * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
1870 * testsuite/25_algorithms/minmax/2.cc: Likewise.
1871 * testsuite/25_algorithms/minmax/3.cc: Likewise.
1873 2008-09-16 Paolo Carlini <paolo.carlini@oracle.com>
1875 * include/bits/stl_algo.h (min(initializer_list<>),
1876 min(initializer_list<>, Compare), max(initializer_list<>),
1877 max(initializer_list<>, Compare), minmax(initializer_list<>),
1878 minmax(initializer_list<>, Compare)): Add in C++0x mode.
1879 * include/bits/algorithmfwd.h: Add.
1880 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
1882 2008-09-13 Chris Fairles <chris.fairles@gmail.com>
1884 * testsuite/30_threads/thread/algorithm/1.cc: Join thread before
1886 * testsuite/30_threads/thread/algorithm/2.cc: Likewise.
1887 * testsuite/30_threads/thread/this_thread/3.cc: Define test variable.
1888 * testsuite/30_threads/thread/this_thread/4.cc: Likewise.
1890 2008-09-12 Chris Fairles <chris.fairles@gmail.com>
1891 Benjamin Kosnik <bkoz@redhat.com>
1893 * include/std/thread: New.
1894 * include/Makefile.am: Update.
1895 * include/Makefile.in: Regenerate.
1896 * src/thread.cc: New.
1897 * src/Makefile.am: Update.
1898 * src/Makefile.in: Regenerate.
1899 * acinclude.m4: Add check for nanosleep.
1900 * configure.ac: Call it.
1901 * configure: Regenerate.
1902 * config.h.in: Likewise.
1903 * config/abi/pre/gnu.ver: Add exports.
1904 * doc/doxygen/user.cfg.in: Add thread header.
1905 * testsuite/lib/libstdc++.exp (check_v3_target_nanosleep): Add.
1906 * testsuite/lib/dg-options.exp (dg-require-nanosleep): Add.
1907 * testsuite/30_threads/thread/cons/1.cc: New.
1908 * testsuite/30_threads/thread/cons/2.cc: Likewise.
1909 * testsuite/30_threads/thread/cons/3.cc: Likewise.
1910 * testsuite/30_threads/thread/cons/4.cc: Likewise.
1911 * testsuite/30_threads/thread/algorithm/1.cc: Likewise.
1912 * testsuite/30_threads/thread/algorithm/2.cc: Likewise.
1913 * testsuite/30_threads/thread/member/1.cc: Likewise.
1914 * testsuite/30_threads/thread/member/2.cc: Likewise.
1915 * testsuite/30_threads/thread/member/3.cc: Likewise.
1916 * testsuite/30_threads/thread/this_thread/1.cc: Likewise.
1917 * testsuite/30_threads/thread/this_thread/2.cc: Likewise.
1918 * testsuite/30_threads/thread/this_thread/3.cc: Likewise.
1919 * testsuite/30_threads/thread/this_thread/4.cc: Likewise.
1920 * testsuite/30_threads/headers/thread/types_std_c++0x.cc: Likewise.
1921 * testsuite/30_threads/headers/thread/std_c++0x_neg.cc: Likewise.
1922 * testsuite/17_intro/headers/c++200x/all.cc: Add thread.
1923 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc:
1924 Add thread, condition_variable and mutex.
1926 2008-09-10 Paolo Carlini <paolo.carlini@oracle.com>
1928 * src/ctype.cc (use_facet<ctype<char> >, use_facet<ctype<wchar_t>):
1929 Remove specializations.
1930 * src/locale-inst.cc (use_facet<ctype<C> >): Instantiate.
1931 * include/bits/locale_facets.tcc (use_facet<ctype<char> >,
1932 use_facet<ctype<wchar_t>): Declare as extern template.
1933 * include/bits/locale_facets.h (use_facet<ctype<char> >,
1934 use_facet<ctype<wchar_t>): Do not declare as specializations.
1936 2008-09-10 Paolo Carlini <paolo.carlini@oracle.com>
1938 * config/locale/darwin/ctype_members.cc (ctype<char>::_M_narrow_init,
1939 ctype<char>::_M_widen_init): Don't define here.
1940 * config/locale/gnu/ctype_members.cc: Likewise.
1941 * config/locale/generic/ctype_members.cc: Likewise.
1942 * src/ctype.cc: Define here.
1944 2008-09-10 Paolo Carlini <paolo.carlini@oracle.com>
1947 * include/bits/locale_facets.h (ctype<char>::_M_narrow_init,
1948 ctype<char>::_M_widen_init): Don't define inline.
1949 * config/locale/darwin/ctype_members.cc: ... define here.
1950 * config/locale/gnu/ctype_members.cc: ... likewise.
1951 * config/locale/generic/ctype_members.cc: ... likewise.
1952 * config/abi/pre/gnu.ver: Export.
1954 2008-09-09 Benjamin Kosnik <bkoz@redhat.com>
1956 * doc/xml/manual/abi.xml: Update for new releases.
1957 * doc/doxygen/user.cfg.in: Include C compatibility headers.
1958 * doc/html/*: Regenerate.
1960 2008-09-09 Paolo Carlini <paolo.carlini@oracle.com>
1962 * include/tr1_impl/cinttypes: Restore __STDC_FORMAT_MACROS after
1963 inclusion of <inttypes.h>.
1964 * include/tr1_impl/cstdint: Likewise for __STDC_LIMIT_MACROS and
1965 __STDC_CONSTANT_MACROS after <stdint.h>.
1966 * include/bits/postypes.h: Likewise.
1968 2008-09-09 Andreas Schwab <schwab@suse.de>
1970 * acinclude.m4 (GLIBCXX_CHECK_STANDARD_LAYOUT): Fix compile check
1971 not to redefine main.
1973 2008-09-07 Paolo Carlini <paolo.carlini@oracle.com>
1975 * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Check wcstoimax and
1976 wcstoumax, define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1.
1977 * include/tr1_impl/cinttypes: Use the latter.
1978 * testsuite/tr1/8_c_compatibility/cinttypes/functions.cc: Likewise.
1979 * configure: Regenerate.
1980 * config.h.in: Likewise.
1982 2008-09-05 Peter Dimov <pdimov@mmltd.net>
1984 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref_2.cc: New.
1986 2008-09-05 Paolo Carlini <paolo.carlini@oracle.com>
1988 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref.cc: Rename
1990 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref_1.cc: ...
1993 2008-09-04 Jonathan Wakely <jwakely.gcc@gmail.com>
1996 * include/Makefile.am: Update headers.
1997 * include/Makefile.in: Regenerate.
1998 * include/std/memory: Update headers.
1999 * include/tr1/memory: Likewise.
2000 * include/tr1_impl/boost_shared_ptr.h: Remove, splitting into
2001 separate implementations for std and tr1.
2002 * include/bits/boost_sp_shared_count.h: Remove.
2003 * include/tr1/boost_sp_shared_count.h: Remove.
2004 * include/bits/shared_ptr.h: New. Combines boost_sp_shared_count.h
2005 and boost_shared_ptr.h into one file.
2006 (__shared_count,__shared_ptr,shared_ptr,swap): Add unique_ptr
2007 and rvalue-reference support as per current WP.
2008 * include/tr1/shared_ptr.h: New. Combines boost_sp_shared_count.h
2009 and boost_shared_ptr.h into one file.
2010 * testsuite/20_util/shared_ptr/cons/unique_ptr.cc: New.
2011 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter.cc: New.
2012 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref.cc: New.
2013 * testsuite/20_util/shared_ptr/cons/unique_ptr_neg.cc: New.
2014 * testsuite/20_util/shared_ptr/assign/auto_ptr_rvalue.cc: New.
2015 * testsuite/20_util/shared_ptr/assign/unique_ptr_lvalue_neg.cc: New.
2016 * testsuite/20_util/shared_ptr/assign/unique_ptr_rvalue.cc: New.
2017 * testsuite/20_util/shared_ptr/modifiers/swap_rvalue.cc: New.
2018 * testsuite/20_util/shared_ptr/assign/auto_ptr_rvalue_neg.cc: Remove.
2020 2008-09-04 Jonathan Wakely <jwakely.gcc@gmail.com>
2022 * doc/xml/manual/locale.xml: Fix typo.
2024 2008-09-04 Paolo Carlini <paolo.carlini@oracle.com>
2026 * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Tidy checks in case of
2028 * configure: Regenerate.
2030 2008-09-04 Chris Fairles <chris.fairles@gmail.com>
2032 * include/std/mutex (once_flag): Construct __gthread_once_t in a
2033 temporary variable before assigning to _M_once to avoid initialization
2036 2008-09-03 Paolo Carlini <paolo.carlini@oracle.com>
2038 * config/abi/pre/gnu.ver: Also export __once_functor_lock; tighten
2039 GLIBCXX_3.4 exports (necessary in case of undef _GLIBCXX_HAVE_TLS).
2041 * Makefile.in: Regenerate.
2042 * src/Makefile.in: Likewise.
2043 * doc/Makefile.in: Likewise.
2044 * po/Makefile.in: Likewise.
2045 * libmath/Makefile.in: Likewise.
2046 * include/Makefile.in: Likewise.
2047 * libsupc++/Makefile.in: Likewise.
2048 * testsuite/Makefile.in: Likewise.
2050 2008-09-03 Paolo Carlini <paolo.carlini@oracle.com>
2052 * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Fix typo in last commit,
2053 check _POSIX_TIMEOUTS, not _POSIX_TIMERS.
2054 * configure: Regenerate.
2056 2008-09-03 Paolo Carlini <paolo.carlini@oracle.com>
2058 * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Check _POSIX_TIMERS too.
2059 * configure: Regenerate.
2061 2008-09-03 Chris Fairles <chris.fairles@gmail.com>
2063 * include/std/condition_variable: Use new deleted ctors.
2064 * include/std/mutex: Likewise plus implement timed_mutex,
2065 recursive_timed_mutex and call_once.
2066 * src/condition_variable.cc: Implement wait(). Use gthread types.
2067 Remove _GTHREADS_HAS_COND checks in favor of global
2068 _GLIBCXX_HAS_GTHREADS.
2069 * src/mutex.cc (call_once): Implementation using TLS with mutex
2071 * config/abi/pre/gnu.ver: Add exported symbols.
2072 * testsuite/lib/libstdc++.exp (check_v3_target_gthreads): New.
2073 * testsuite/lib/dg-options.exp (dg-require-gthreads): Likewise.
2074 * testsuite/30_threads/lock_guard/requirements/typedefs.cc: Use
2075 dg-require-gthreads and dg-require-cstdint.
2076 * testsuite/30_threads/lock_guard/requirements/
2077 explicit_instantiation.cc: Likewise.
2078 * testsuite/30_threads/mutex/dest/destructor_locked.cc: Likewise.
2079 * testsuite/30_threads/mutex/native_handle/1.cc: Likewise.
2080 * testsuite/30_threads/mutex/cons/1.cc: Likewise.
2081 * testsuite/30_threads/mutex/requirements/typedefs.cc: Likewise.
2082 * testsuite/30_threads/mutex/try_lock/1.cc: Likewise.
2083 * testsuite/30_threads/mutex/try_lock/2.cc: Likewise.
2084 * testsuite/30_threads/mutex/lock/1.cc: Likewise.
2085 * testsuite/30_threads/mutex/unlock/1.cc: Likewise.
2086 * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc:
2088 * testsuite/30_threads/recursive_mutex/native_handle/1.cc: Likewise.
2089 * testsuite/30_threads/recursive_mutex/cons/1.cc: Likewise.
2090 * testsuite/30_threads/recursive_mutex/requirements/typedefs.cc:
2092 * testsuite/30_threads/recursive_mutex/try_lock/1.cc: Likewise.
2093 * testsuite/30_threads/recursive_mutex/try_lock/2.cc: Likewise.
2094 * testsuite/30_threads/recursive_mutex/lock/1.cc: Likewise.
2095 * testsuite/30_threads/recursive_mutex/unlock/1.cc: Likewise.
2096 * testsuite/30_threads/unique_lock/requirements/
2097 explicit_instantiation.cc: Likewise.
2098 * testsuite/30_threads/unique_lock/requirements/typedefs.cc: Likewise.
2099 * testsuite/30_threads/mutex/cons/assign_neg.cc: Also adjust dg-error
2100 lines for deleted members.
2101 * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise.
2102 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
2103 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
2104 * testsuite/30_threads/call_once/once_flag.cc: New.
2105 * testsuite/30_threads/call_once/call_once1.cc: Likewise.
2106 * testsuite/30_threads/condition_variable/cons/1.cc: Likewise.
2107 * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Likewise
2108 * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Likewise.
2109 * testsuite/30_threads/condition_variable_any/cons/1.cc: Likewise.
2110 * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
2112 * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc:
2114 * testsuite/30_threads/timed_mutex/dest/destructor_locked.cc: Likewise.
2115 * testsuite/30_threads/timed_mutex/native_handle/1.cc: Likewise.
2116 * testsuite/30_threads/timed_mutex/try_lock_until/1.cc: Likewise.
2117 * testsuite/30_threads/timed_mutex/try_lock_until/2.cc: Likewise.
2118 * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Likewise.
2119 * testsuite/30_threads/timed_mutex/cons/1.cc: Likewise.
2120 * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Likewise.
2121 * testsuite/30_threads/timed_mutex/requirements/typedefs.cc: Likewise.
2122 * testsuite/30_threads/timed_mutex/try_lock/1.cc: Likewise.
2123 * testsuite/30_threads/timed_mutex/try_lock/2.cc: Likewise.
2124 * testsuite/30_threads/timed_mutex/lock/1.cc: Likewise.
2125 * testsuite/30_threads/timed_mutex/unlock/1.cc: Likewise.
2126 * testsuite/30_threads/timed_mutex/try_lock_for/1.cc: Likewise.
2127 * testsuite/30_threads/timed_mutex/try_lock_for/2.cc: Likewise.
2128 * testsuite/30_threads/timed_mutex/try_lock_for/3.cc: Likewise.
2129 * testsuite/30_threads/recursive_timed_mutex/dest/destructor_locked.cc:
2131 * testsuite/30_threads/recursive_timed_mutex/try_lock_until/1.cc:
2133 * testsuite/30_threads/recursive_timed_mutex/try_lock_until/2.cc:
2135 * testsuite/30_threads/recursive_timed_mutex/native_handle/1.cc:
2137 * testsuite/30_threads/recursive_timed_mutex/cons: Likewise.
2138 * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc:
2140 * testsuite/30_threads/recursive_timed_mutex/cons/1.cc: Likewise.
2141 * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc:
2143 * testsuite/30_threads/recursive_timed_mutex/requirements/typedefs.cc:
2145 * testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc: Likewise.
2146 * testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc: Likewise.
2147 * testsuite/30_threads/recursive_timed_mutex/lock/1.cc: Likewise.
2148 * testsuite/30_threads/recursive_timed_mutex/lock/2.cc: Likewise.
2149 * testsuite/30_threads/recursive_timed_mutex/unlock/1.cc: Likewise.
2150 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/1.cc:
2152 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/2.cc:
2154 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/3.cc:
2156 * testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise.
2157 * testsuite/30_threads/unique_lock/modifiers/2.cc: Likewise.
2158 * testsuite/30_threads/unique_lock/cons/1.cc: Likewise.
2159 * testsuite/30_threads/unique_lock/cons/2.cc: Likewise.
2160 * testsuite/30_threads/unique_lock/cons/3.cc: Likewise.
2161 * testsuite/30_threads/unique_lock/cons/4.cc: Likewise.
2162 * testsuite/30_threads/unique_lock/cons/5.cc: Likewise.
2163 * testsuite/30_threads/unique_lock/cons/6.cc: Likewise.
2164 * testsuite/30_threads/unique_lock/locking/1.cc: Likewise.
2165 * testsuite/30_threads/unique_lock/locking/2.cc: Likewise.
2166 * testsuite/30_threads/unique_lock/locking/3.cc: Likewise.
2167 * testsuite/30_threads/unique_lock/locking/4.cc: Likewise.
2169 2008-09-01 Mark Mitchell <mark@codesourcery.com>
2171 * include/std/type_traits (__make_unsigned_selector<>): Consider
2172 enums of size smaller than short.
2173 (__make_signed_selector<>): Likewise.
2174 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
2175 Adjust line numbers.
2176 * testsuite/20_util/make_usigned/requirements/typedefs_neg.cc:
2177 Adjust line numbers.
2178 * testsuite/20_util/make_signed/requirements/typedefs-2.cc:
2179 Ensure test_enum is the same size as short.
2180 * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc:
2181 Ensure test_enum is the same size as short.
2183 2008-08-31 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
2185 * acinclude.m4 <enable_symvers>: Don't use symvers on Windows.
2186 * configure: Regenerated.
2187 * Makefile.in: Regenerated.
2188 * src/Makefile.in: Regenerated.
2189 * doc/Makefile.in: Regenerated.
2190 * po/Makefile.in: Regenerated.
2191 * libmath/Makefile.in: Regenerated.
2192 * include/Makefile.in: Regenerated.
2193 * libsupc++/Makefile.in: Regenerated.
2194 * testsuite/Makefile.in: Regenerated.
2196 2008-08-29 Mark Mitchell <mark@codesourcery.com>
2198 * testsuite/25_algorithms/nth_element/2.cc: Constrain iterations
2199 when testing on a simultor.
2201 2008-08-28 Paolo Carlini <paolo.carlini@oracle.com>
2203 * testsuite/tr1/6_containers/unordered_set/requirements/typedef.cc:
2204 Rename to .../typedefs.cc.
2205 * testsuite/tr1/6_containers/unordered_map/requirements/typedef.cc:
2207 * testsuite/tr1/6_containers/unordered_multiset/requirements/
2208 typedef.cc: Likewise.
2209 * testsuite/tr1/6_containers/unordered_multimap/requirements/
2210 typedef.cc: Likewise.
2211 * testsuite/23_containers/unordered_set/requirements/typedef.cc:
2213 * testsuite/23_containers/unordered_map/requirements/typedef.cc:
2215 * testsuite/23_containers/unordered_multiset/requirements/typedef.cc:
2217 * testsuite/23_containers/unordered_multimap/requirements/typedef.cc:
2220 2008-08-28 Chris Fairles <chris.fairles@gmail.com>
2222 * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): New. Checks for gthread
2223 support used by c++0x thread library.
2224 * configure.ac: Test unconditionally.
2225 * configure: Regenerate.
2226 * config.h.in: Regenerate.
2228 2008-08-27 Benjamin Kosnik <bkoz@redhat.com>
2230 * doc/Makefile.am: Edit xml file list.
2231 * doc/Makefile.in: Regenerate.
2232 * configure: Regenerate.
2233 * doc/xml/manual/intro.xml: Edit, correct links, structure.
2234 * doc/xml/manual/configure.xml: Same.
2235 * doc/xml/manual/debug.xml: Same.
2236 * doc/xml/manual/test.xml: Same.
2237 * doc/xml/manual/build.xml: Remove.
2238 * doc/xml/manual/prerequisites.xml: Add.
2239 * doc/html/*: Regenerate.
2241 2008-08-27 Paolo Carlini <paolo.carlini@oracle.com>
2243 * include/tr1_impl/hashtable (_Hashtable<>): Add missing pointer and
2244 const_pointer typedefs.
2245 * testsuite/tr1/6_containers/unordered_set/requirements/typedef.cc:
2247 * testsuite/tr1/6_containers/unordered_map/requirements/typedef.cc:
2249 * testsuite/tr1/6_containers/unordered_multiset/requirements/
2250 typedef.cc: Likewise.
2251 * testsuite/tr1/6_containers/unordered_multimap/requirements/
2252 typedef.cc: Likewise.
2253 * testsuite/23_containers/unordered_set/requirements/typedef.cc:
2255 * testsuite/23_containers/unordered_map/requirements/typedef.cc:
2257 * testsuite/23_containers/unordered_multiset/requirements/typedef.cc:
2259 * testsuite/23_containers/unordered_multimap/requirements/typedef.cc:
2262 2008-08-27 Paul Brook <paul@codesourcery.com>
2264 * libsupc++/eh_call.cc (__cxa_call_unexpected): Fix name of
2265 __get_object_from_ambiguous_exception.
2267 2008-08-26 Ben Elliston <bje@au.ibm.com>
2269 * src/mt_allocator.cc (__pool): Fix error in comment.
2271 2008-08-25 Paolo Carlini <paolo.carlini@oracle.com>
2273 * linkage.m4 ([GLIBCXX_CHECK_BUILTIN_MATH_DECL_AND_LINKAGE_1],
2274 [GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT]): Remove
2275 * configure.ac: Do not call the latter.
2276 * crossconfig.m4: Likewise.
2277 * libmath/mathconf.h: Adjust.
2278 * configure: Regenerate.
2279 * config.h.in: Likewise.
2281 2008-08-24 Paolo Carlini <paolo.carlini@oracle.com>
2283 * acinclude.m4 ([GLIBCXX_CHECK_RANDOM_TR1]): Simplify, just use
2284 two test -r instead of an AC_TRY_RUN.
2285 * configure: Regenerate.
2286 * config.h.in: Likewise.
2288 2008-08-24 Paolo Carlini <paolo.carlini@oracle.com>
2290 * acinclude.m4 ([GLIBCXX_ENABLE_CLOCK_GETTIME]): Improve documentation.
2291 * doc/xml/manual/configure.xml: Likewise.
2293 2008-08-23 Paolo Carlini <paolo.carlini@oracle.com>
2295 * acinclude.m4 ([GLIBCXX_ENABLE_CLOCK_GETTIME]): Use [=KIND] in
2297 * configure: Regenerate.
2299 2008-08-23 Paolo Carlini <paolo.carlini@oracle.com>
2301 * acinclude.m4 ([GLIBCXX_CHECK_GETTIMEOFDAY]): Change to use
2302 GCC_TRY_COMPILE_OR_LINK.
2303 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Rename to
2304 [GLIBCXX_ENABLE_CLOCK_GETTIME], a versatile configure-time option,
2305 [no] by default, since it includes TRY_LINK checks. librt is also
2306 searched, if requested.
2307 * doc/xml/manual/configure.xml: Document the latter.
2308 * configure.ac: Move the above checks outside native-only.
2309 * configure: Regenerate.
2311 2008-08-23 Paolo Carlini <paolo.carlini@oracle.com>
2313 * testsuite/lib/libstdc++.exp (check_v3_target_atomic_builtins): Add.
2314 * testsuite/lib/dg-options.exp (dg-require-atomic-builtins): Likewise.
2315 * testsuite/18_support/exception_ptr/current_exception.cc: Use it.
2316 * testsuite/18_support/exception_ptr/rethrow_exception.cc: Likewise.
2317 * testsuite/18_support/exception_ptr/lifespan.cc: Likewise.
2319 2008-08-23 Sebastian Redl <sebastian.redl@getdesigned.at>
2321 Add (again) exception propagation support as per N2179. Feature is
2322 available only when _GLIBCXX_ATOMIC_BUILTINS_4 is defined.
2323 * libsupc++/exception_ptr.h (exception_ptr, current_exception,
2324 copy_exception, rethrow_exception): New file, implement exception
2326 * libsupc++/eh_ptr.cc (exception_ptr, current_exception,
2327 rethrow_exception, __gxx_dependent_exception_cleanup): Likewise.
2328 * libsupc++/unwind-cxx.h (__cxa_exception): Add reference count.
2329 (__cxa_dependent_exception, __cxa_allocate_dependent_exception,
2330 __cxa_free_dependent_exception, __get_dependent_exception_from_ue,
2331 __GXX_INIT_DEPENDENT_EXCEPTION_CLASS, __is_dependent_exception,
2332 __gxx_dependent_exception_class, __get_object_from_ue,
2333 __get_object_from_ambiguous_exception): Add.
2334 (__GXX_INIT_EXCEPTION_CLASS, __gxx_exception_class): Rename.
2335 (__is_gxx_exception_class): Handle dependent exceptions.
2336 * libsupc++/eh_arm.cc (__cxa_type_match): Likewise.
2337 * libsupc++/eh_call.cc (__cxa_call_unexpected): Likewise.
2338 * libsupc++/eh_personality.cc (__gxx_personality_*): Likewise.
2339 * libsupc++/eh_type.cc (__cxa_current_exception_type): Likewise.
2340 * libsupc++/eh_alloc.cc (__cxa_allocate_dependent_exception,
2341 __cxa_free_dependent_exception): Add.
2342 * libsupc++/eh_throw.cc (__gxx_exception_cleanup): Handle reference
2344 * libsupc++/exception: Conditionally include exception_ptr.h.
2345 * libsupc++/Makefile.am: Register new files.
2346 * libsupc++/Makefile.in: Regenerate.
2347 * config/abi/pre/gnu.ver: Add new symbols.
2348 * testsuite/18_support/exception_ptr/current_exception.cc: Test the
2349 core functionality of current_exception().
2350 * testsuite/18_support/exception_ptr/rethrow_exception.cc: Test the
2351 core functionality of rethrow_exception().
2352 * testsuite/18_support/exception_ptr/lifespan.cc: Test the life span of
2353 exception objects during exception propagation.
2355 2008-08-22 Paolo Carlini <paolo.carlini@oracle.com>
2357 Revert again the N2179 patch.
2359 2008-08-21 Sebastian Redl <sebastian.redl@getdesigned.at>
2361 * libsupc++/eh_ptr.cc (__gxx_dependent_exception_cleanup): Call
2362 __cxa_free_dependent_exception.
2364 2008-08-20 Paolo Carlini <paolo.carlini@oracle.com>
2366 * include/bits/char_traits.h (char_traits<char16_t>::
2367 assign(char_type*, size_t, char_type), char_traits<char32_t>::
2368 assign(char_type*, size_t, char_type)): For now, just open-code.
2370 2008-08-20 Paolo Carlini <paolo.carlini@oracle.com>
2372 PR c++/33979 (partial)
2373 * include/bits/postypes.h (u16streampos, u32streampos): Add.
2374 * include/bits/char_traits.h (char_traits<char16_t>,
2375 char_traits<char32_t>): Add.
2376 * include/bits/stringfwd.h (u16string, u32string): Add.
2377 * include/ext/vstring_fwd.h: Add typedefs for char16_t/char32_t.
2378 * testsuite/21_strings/char_traits/requirements/char32_t/typedefs.cc:
2380 * testsuite/21_strings/char_traits/requirements/
2381 explicit_instantiation/short/1.cc: Likewise.
2382 * testsuite/21_strings/char_traits/requirements/
2383 explicit_instantiation/char32_t/1.cc: Likewise.
2384 * testsuite/21_strings/char_traits/requirements/
2385 explicit_instantiation/wchar_t/1.cc: Likewise.
2386 * testsuite/21_strings/char_traits/requirements/
2387 explicit_instantiation/char16_t/1.cc: Likewise.
2388 * testsuite/21_strings/char_traits/requirements/
2389 explicit_instantiation/char/1.cc: Likewise.
2390 * testsuite/21_strings/char_traits/requirements/char16_t/typedefs.cc:
2392 * testsuite/21_strings/basic_string/requirements/
2393 explicit_instantiation/char32_t/1.cc: Likewise.
2394 * testsuite/21_strings/basic_string/requirements/
2395 explicit_instantiation/wchar_t/1.cc: Likewise.
2396 * testsuite/21_strings/basic_string/requirements/
2397 explicit_instantiation/char16_t/1.cc: Likewise.
2398 * testsuite/21_strings/basic_string/requirements/
2399 explicit_instantiation/char/1.cc: Likewise.
2400 * testsuite/21_strings/headers/string/types_std_c++0x.cc: Likewise.
2401 * testsuite/ext/vstring/requirements/explicit_instantiation/
2402 char32_t/1.cc: Likewise.
2403 * testsuite/ext/vstring/requirements/explicit_instantiation/
2404 char16_t/1.cc: Likewise.
2406 2008-08-18 Paolo Carlini <paolo.carlini@oracle.com>
2409 * testsuite/27_io/basic_ostream/inserters_other/char/4.cc: Include
2411 * testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc:
2413 * testsuite/27_io/objects/char/12048-1.cc: Likewise.
2414 * testsuite/27_io/objects/char/12048-3.cc: Likewise.
2415 * testsuite/27_io/objects/wchar_t/12048-1.cc: Likewise.
2416 * testsuite/27_io/objects/wchar_t/12048-3.cc: Likewise.
2417 * testsuite/ext/malloc_allocator/deallocate_global.cc: Likewise.
2418 * testsuite/ext/malloc_allocator/deallocate_local.cc: Likewise.
2419 * testsuite/ext/mt_allocator/deallocate_global-2.cc: Likewise.
2420 * testsuite/ext/mt_allocator/deallocate_global-4.cc: Likewise.
2421 * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Likewise.
2422 * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Likewise.
2423 * testsuite/ext/mt_allocator/deallocate_local-2.cc: Likewise.
2424 * testsuite/ext/mt_allocator/deallocate_local-4.cc: Likewise.
2425 * testsuite/ext/mt_allocator/deallocate_local-6.cc: Likewise.
2426 * testsuite/ext/mt_allocator/deallocate_local-8.cc: Likewise.
2427 * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Likewise.
2428 * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Likewise.
2429 * testsuite/ext/mt_allocator/deallocate_local_thread-5.cc: Likewise.
2430 * testsuite/ext/mt_allocator/deallocate_local_thread-7.cc: Likewise.
2431 * testsuite/ext/new_allocator/deallocate_global.cc: Likewise.
2432 * testsuite/ext/new_allocator/deallocate_local.cc: Likewise.
2433 * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Likewise.
2434 * include/std/regex: Include <sstream>.
2435 * include/tr1/regex: Likewise.
2437 2008-08-18 Paolo Carlini <paolo.carlini@oracle.com>
2439 * configure.ac: Do not hardcode HAVE_S_ISREG and HAVE_S_IFREG for
2441 * configure: Regenerate.
2443 2008-08-18 Paolo Carlini <paolo.carlini@oracle.com>
2446 * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Tighten checks on stdint.h,
2447 check the macros too.
2448 * configure: Regenerate.
2450 2008-08-17 Paolo Carlini <paolo.carlini@oracle.com>
2452 * acinclude.m4 ([AC_LC_MESSAGES]): Use AC_TRY_COMPILE instead of
2454 * configure.ac: Run unconditionally AC_LC_MESSAGES.
2455 * crossconfig.m4: Adjust.
2456 * configure: Regenerate.
2458 2008-08-17 Paolo Carlini <paolo.carlini@oracle.com>
2460 * acinclude.m4 ([GLIBCXX_CHECK_LFS], [GLIBCXX_CHECK_POLL],
2461 [GLIBCXX_CHECK_S_ISREG_OR_S_IFREG], [GLIBCXX_CHECK_WRITEV]):
2462 Use GCC_TRY_COMPILE_OR_LINK instead of AC_TRY_LINK, in C++,
2463 with -fno-exceptions as flags.
2464 * configure.ac: Run unconditionally GLIBCXX_CHECK_LFS,
2465 GLIBCXX_CHECK_POLL, GLIBCXX_CHECK_S_ISREG_OR_S_IFREG,
2466 GLIBCXX_CHECK_WRITEV and commonized AC_CHECK_HEADERS.
2467 * crossconfig.m4: Adjust; remove AC_CHECK_HEADERS commonized
2469 * configure: Regenerate.
2471 2008-08-13 Paolo Carlini <paolo.carlini@oracle.com>
2473 Re-instate last patch, amended to use __exchange_and_add_dispatch
2474 and __atomic_add_dispatch in eh_ptr.cc and eh_throw.cc.
2476 2008-08-13 Paolo Carlini <paolo.carlini@oracle.com>
2478 Revert the last patch.
2480 2008-08-13 Sebastian Redl <sebastian.redl@getdesigned.at>
2482 Add exception propagation support as per N2179.
2483 * libsupc++/exception_ptr.h (exception_ptr, current_exception,
2484 copy_exception, rethrow_exception): New file, implement exception
2486 * libsupc++/eh_ptr.cc (exception_ptr, current_exception,
2487 rethrow_exception, __gxx_dependent_exception_cleanup): Likewise.
2488 * libsupc++/unwind-cxx.h (__cxa_exception): Add reference count.
2489 (__cxa_dependent_exception, __cxa_allocate_dependent_exception,
2490 __cxa_free_dependent_exception, __get_dependent_exception_from_ue,
2491 __GXX_INIT_DEPENDENT_EXCEPTION_CLASS, __is_dependent_exception,
2492 __gxx_dependent_exception_class, __get_object_from_ue,
2493 __get_object_from_ambiguous_exception): Add.
2494 (__GXX_INIT_EXCEPTION_CLASS, __gxx_exception_class): Rename.
2495 (__is_gxx_exception_class): Handle dependent exceptions.
2496 * libsupc++/eh_arm.cc (__cxa_type_match): Likewise.
2497 * libsupc++/eh_call.cc (__cxa_call_unexpected): Likewise.
2498 * libsupc++/eh_personality.cc (__gxx_personality_*): Likewise.
2499 * libsupc++/eh_type.cc (__cxa_current_exception_type): Likewise.
2500 * libsupc++/eh_alloc.cc (__cxa_allocate_dependent_exception,
2501 __cxa_free_dependent_exception): Add.
2502 * libsupc++/eh_throw.cc (__gxx_exception_cleanup): Handle reference
2504 * libsupc++/exception: Conditionally include exception_ptr.h.
2505 * libsupc++/Makefile.am: Register new files.
2506 * libsupc++/Makefile.in: Regenerate.
2507 * config/abi/pre/gnu.ver: Add new symbols.
2508 * testsuite/18_support/exception_ptr/current_exception.cc: Test the
2509 core functionality of current_exception().
2510 * testsuite/18_support/exception_ptr/rethrow_exception.cc: Test the
2511 core functionality of rethrow_exception().
2512 * testsuite/18_support/exception_ptr/lifespan.cc: Test the life span of
2513 exception objects during exception propagation.
2515 2008-08-12 Paolo Carlini <paolo.carlini@oracle.com>
2518 * include/bits/stl_pair.h: Fix documentation URL in comment.
2520 2008-08-12 Johannes Singler <singler@ira.uka.de>
2522 * include/paralle/losertree.h
2523 (LoserTreePointerBase<>::~LoserTreePointerBase):
2524 Replace delete by appropriate delete[].
2526 2008-08-12 Paolo Carlini <paolo.carlini@oracle.com>
2528 * configure.ac: Run unconditionally GLIBCXX_CHECK_INT64_T and
2529 GLIBCXX_CHECK_C99_TR1; remove sigsetjmp and mmap checks (unused).
2530 * crossconfig.m4: Adjust; remove HAVE_GETPAGESIZE defines (unused).
2531 * configure: Regenerate.
2532 * config.h.in: Likewise.
2534 * acinclude.m4: Minor formatting fixes.
2536 2008-08-11 Stephen M. Webb <stephenw@xandros.com>
2538 * include/tr1_impl/regex: Formatting fixes.
2539 * testsuite/tr1/7_regular_expressions/regex_traits/char/value.cc:
2541 * testsuite/tr1/7_regular_expressions/regex_traits/wchar_t/value.cc:
2544 2008-08-11 Paolo Carlini <paolo.carlini@oracle.com>
2546 * config/locale/generic/c_locale.cc: Include <cstdio>.
2548 2008-08-11 Paolo Carlini <paolo.carlini@oracle.com>
2550 * configure.ac: Run GLIBCXX_CHECK_STDIO_MACROS unconditionally.
2551 * configure: Regenerate.
2553 2008-08-10 Paolo Carlini <paolo.carlini@oracle.com>
2555 * include/tr1_impl/type_traits (_DEFINE_SPEC*): Simplify.
2556 (_DEFINE_SPEC_BODY): Remove.
2557 (__is_void_helper, __is_integral_helper, __is_floating_point_helper,
2558 __is_member_object_pointer_helper, __is_member_function_pointer_helper,
2559 __remove_pointer_helper): Add.
2560 (is_void, is_integral, is_floating_point, is_member_object_pointer,
2561 is_member_function_pointer, remove_pointer): Use the latter.
2562 * include/tr1/type_traits (_DEFINE_SPEC): Simplify.
2563 (_DEFINE_SPEC_HELPER): Remove.
2564 (__is_signed_helper, __is_unsigned_helper): Add.
2565 (is_signed, is_unsigned): Use the latter.
2567 2008-08-09 Paolo Carlini <paolo.carlini@oracle.com>
2569 Revert fix for libstdc++/35637, thanks to other/36901.
2570 * include/tr1_impl/type_traits (__is_function_helper): New, uses
2572 (is_function): Forward to the latter.
2573 (__in_array): Remove.
2575 2008-08-09 Paolo Carlini <paolo.carlini@oracle.com>
2577 * config/locale/darwin/ctype_members.cc: Include <cstdio>.
2579 2008-08-08 Paolo Carlini <paolo.carlini@oracle.com>
2581 * include/bits/ios_base.h: Undef _IOS_BASE_SEEK_CUR and
2582 _IOS_BASE_SEEK_END at the end of the file.
2583 * include/bits/char_traits.h: Likewise for _CHAR_TRAITS_EOF.
2585 2008-08-07 Stephen M. Webb <stephenw@xandros.com>
2587 * include/tr1_impl/regex (match_results<>::cbegin, cend): Add, per
2590 2008-08-06 Paolo Carlini <paolo.carlini@oracle.com>
2592 * acinclude.m4 ([GLIBCXX_CHECK_STDIO_MACROS]): New, checks for
2593 common values of EOF, SEEK_CUR, SEEK_END.
2594 * configure.ac: Use it.
2595 * include/bits/ios_base.h: Likewise.
2596 * include/bits/char_traits.h: Likewise.
2597 * config/locale/gnu/ctype_members.cc: Include <cstdio>.
2598 * config/locale/generic/ctype_members.cc: Likewise.
2599 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust dg-error lines.
2600 * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
2601 * configure: Regenerate.
2602 * config.h.in: Likewise.
2604 2008-08-06 Paolo Carlini <paolo.carlini@oracle.com>
2606 * acinclude.m4 ([GLIBCXX_CHECK_INT64_T]): Also check whether int64_t
2607 is actually a typedef to long or long long.
2608 * include/bits/postypes.h: If int64_t is actually a typedef for
2609 long or long long don't include <stdint.h> unnecessarily.
2610 * configure: Regenerate.
2611 * config.h.in: Likewise.
2613 2008-08-05 Paolo Carlini <paolo.carlini@oracle.com>
2615 * testsuite/util/testsuite_api.h (diamond_derivation<>::test):
2616 Expect ambiguity together with the standard exception classes.
2617 * testsuite/27_io/ios_base/failure/cons_virtual_derivation.cc: Remove
2619 * testsuite/19_diagnostics/logic_error/cons_virtual_derivation.cc:
2621 * testsuite/19_diagnostics/runtime_error/cons_virtual_derivation.cc:
2623 * testsuite/19_diagnostics/system_error/cons_virtual_derivation.cc:
2625 * testsuite/18_support/bad_alloc/cons_virtual_derivation.cc: Likewise.
2626 * testsuite/18_support/bad_cast/cons_virtual_derivation.cc: Likewise.
2627 * testsuite/18_support/bad_exception/cons_virtual_derivation.cc:
2629 * testsuite/18_support/bad_typeid/cons_virtual_derivation.cc:
2631 * testsuite/ext/concurrence_lock_error/cons_virtual_derivation.cc:
2633 * testsuite/ext/forced_exception_error/cons_virtual_derivation.cc:
2635 * testsuite/ext/concurrence_unlock_error/cons_virtual_derivation.cc:
2637 * testsuite/20_util/bad_function_call/cons_virtual_derivation.cc:
2640 2008-08-04 Paolo Carlini <paolo.carlini@oracle.com>
2642 * include/bits/postypes.h: Reinstate inclusion of <stdint.h>;
2643 also define the __STDC_* macros.
2644 (streamoff): Adjust.
2646 * include/tr1_impl/cstdint: Check that the __STDC_* macros are
2647 not defined before defining.
2649 2008-08-01 Paolo Bonzini <bonzini@gnu.org>
2650 Chris Fairles <chris.fairles@gmail.com>
2652 * acinclude.m4 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Reinstate clock_gettime
2653 search, but only in libposix4, never link librt.
2654 * src/Makefile.am: Reinstate previous change to add GLIBCXX_LIBS.
2655 * configure: Regenerate.
2656 * configure.in: Likewise.
2657 * Makefile.in: Likewise.
2658 * src/Makefile.in: Likewise.
2659 * libsup++/Makefile.in: Likewise.
2660 * po/Makefile.in: Likewise.
2661 * doc/Makefile.in: Likewise.
2663 2008-07-31 Chris Fairles <chris.fairles@gmail.com>
2665 * include/std/chrono (duration): Use explicitly defaulted ctor, cctor,
2666 dtor and assignment. Add diagnostics as per 20.8.3 paragraphs 2, 3
2667 and 4 in WD. Other minor tweaks.
2668 * testsuite/20_util/duration/cons/1_neg.cc: Adjust line numbers.
2669 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: New.
2670 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Likewise.
2671 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Likewise.
2673 2008-07-31 Paolo Carlini <paolo.carlini@oracle.com>
2675 * testsuite/lib/libstdc++.exp (libstdc++_init): Set v3-libgomp.
2676 (check_v3_target_parallel_mode): Robustify, just follow the
2677 structure of testsuite/Makefile.am.
2679 2008-07-29 Paolo Carlini <paolo.carlini@oracle.com>
2681 * include/debug/set.h: Minor formatting fixes.
2682 * include/debug/multiset.h: Likewise.
2683 * include/debug/safe_association.h: Likewise.
2684 * include/debug/vector: Likewise.
2685 * include/debug/map.h: Likewise.
2686 * include/debug/string: Likewise.
2687 * include/debug/multimap.h: Likewise.
2688 * include/bits/stl_list.h: Likewise.
2689 * include/bits/stl_map.h: Likewise.
2690 * include/bits/stl_set.h: Likewise.
2691 * include/bits/stl_multimap.h: Likewise.
2692 * include/bits/stl_vector.h: Likewise.
2693 * include/bits/stl_multiset.h: Likewise.
2694 * include/bits/stl_bvector.h: Likewise.
2696 2008-07-29 Paolo Carlini <paolo.carlini@oracle.com>
2698 * include/std/utility: Include <initializer_list>, per the current WP.
2700 * testsuite/lib/libstdc++.exp (check_v3_target_cstdint): Tweak,
2701 don't use -std=gnu++0x unnecessarily.
2702 * testsuite/18_support/numeric_limits/char16_32_t.cc: Use
2704 * testsuite/18_support/headers/cstdint/types_std_c++0x.cc: Likewise.
2705 * testsuite/tr1/8_c_compatibility/cstdint/types_std_tr1.cc: Likewise.
2707 2008-07-28 Paolo Carlini <paolo.carlini@oracle.com>
2710 * include/tr1_impl/boost_shared_ptr.h
2711 (__shared_ptr(_Sp_make_shared_tag, _Alloc, _Args&&...): Call
2712 __enable_shared_from_this_helper.
2713 * testsuite/20_util/shared_ptr/creation/36949.cc: New.
2715 2008-07-24 Paolo Carlini <paolo.carlini@oracle.com>
2719 2008-07-23 Chris Fairles <chris.fairles@gmail.com>
2721 * acinclude.m4 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Define GLIBCXX_LIBS.
2722 Holds the lib that defines clock_gettime (-lrt or -lposix4).
2723 * src/Makefile.am: Use it.
2724 * configure: Regenerate.
2725 * configure.in: Likewise.
2726 * Makefile.in: Likewise.
2727 * src/Makefile.in: Likewise.
2728 * libsup++/Makefile.in: Likewise.
2729 * po/Makefile.in: Likewise.
2730 * doc/Makefile.in: Likewise.
2732 2008-07-23 Chris Fairles <chris.fairles@gmail.com>
2734 * include/std/condition_variable: Update to N2691 WD.
2735 * include/std/mutex: Likewise.
2736 * testsuite/30_threads/mutex/cons/assign_neg.cc: Adjust line numbers.
2737 * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise.
2738 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
2739 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
2741 2008-07-23 Chris Fairles <chris.fairles@gmail.com>
2743 * acinclude.m4 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Define GLIBCXX_LIBS.
2744 Holds the lib that defines clock_gettime (-lrt or -lposix4).
2745 * src/Makefile.am: Use it.
2746 * configure: Regenerate.
2747 * configure.in: Likewise.
2748 * Makefile.in: Likewise.
2749 * src/Makefile.in: Likewise.
2750 * libsup++/Makefile.in: Likewise.
2751 * po/Makefile.in: Likewise.
2752 * doc/Makefile.in: Likewise.
2754 2008-07-22 Paolo Carlini <paolo.carlini@oracle.com>
2756 * include/ext/sso_string_base.h
2757 (__sso_string_base<>::__sso_string_base(std::initializer_list<_CharT>,
2758 const _Alloc&)): Remove.
2759 * include/ext/rc_string_base.h
2760 (__rc_string_base<>::__rc_string_base(std::initializer_list<_CharT>,
2761 const _Alloc&)): Likewise.
2762 * include/ext/vstring.h
2763 (__versa_string<>::__versa_string(std::initializer_list<_CharT>,
2764 const _Alloc&)): Adjust.
2766 2008-07-21 Jason Merrill <jason@redhat.com>
2768 Add initializer_list support as per N2679.
2769 * include/debug/unordered_map: Add initializer_list support.
2770 * include/debug/safe_association.h: Likewise.
2771 * include/debug/unordered_set: Likewise.
2772 * include/debug/vector: Likewise.
2773 * include/debug/deque: Likewise.
2774 * include/debug/map.h: Likewise.
2775 * include/debug/set.h: Likewise.
2776 * include/debug/string: Likewise.
2777 * include/debug/list: Likewise.
2778 * include/debug/multimap.h: Likewise.
2779 * include/tr1_impl/unordered_map: Likewise.
2780 * include/tr1_impl/hashtable: Likewise.
2781 * include/tr1_impl/unordered_set: Likewise.
2782 * include/tr1_impl/regex: Likewise.
2783 * include/std/valarray: Likewise.
2784 * include/std/unordered_map: Likewise.
2785 * include/std/unordered_set: Likewise.
2786 * include/bits/stl_list.h: Likewise.
2787 * include/bits/stl_map.h: Likewise.
2788 * include/bits/stl_set.h: Likewise.
2789 * include/bits/basic_string.h: Likewise.
2790 * include/bits/basic_string.tcc: Likewise.
2791 * include/bits/stl_multimap.h: Likewise.
2792 * include/bits/stl_vector.h: Likewise.
2793 * include/bits/stl_deque.h: Likewise.
2794 * include/bits/stl_multiset.h: Likewise.
2795 * include/bits/stl_bvector.h: Likewise.
2796 * include/ext/vstring.h: Likewise.
2797 * include/ext/rc_string_base.h: Likewise.
2798 * include/ext/sso_string_base.h: Likewise.
2799 * src/Makefile.am (w?string-inst): Build with -std=gnu++0x.
2800 * src/Makefile.in: Likewise.
2801 * config/abi/pre/gnu.ver: Add new w?string exports.
2802 * testsuite/21_strings/basic_string/init-list.cc: New test.
2803 * testsuite/23_containers/vector/init-list.cc: New test.
2804 * testsuite/23_containers/deque/init-list.cc: New test.
2805 * testsuite/23_containers/list/init-list.cc: New test.
2806 * testsuite/23_containers/map/init-list.cc: New test.
2807 * testsuite/23_containers/multimap/init-list.cc: New test.
2808 * testsuite/23_containers/set/init-list.cc: New test.
2809 * testsuite/23_containers/multiset/init-list.cc: New test.
2810 * testsuite/23_containers/unordered_map/init-list.cc: New test.
2811 * testsuite/23_containers/unordered_multimap/init-list.cc: New test.
2812 * testsuite/23_containers/unordered_set/init-list.cc: New test.
2813 * testsuite/23_containers/unordered_multiset/init-list.cc: New test.
2814 * testsuite/26_numerics/valarray/init-list.cc: New test.
2815 * testsuite/28_regex/init-list.cc: New test.
2816 * testsuite/ext/vstring/init-list.cc: New test.
2817 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
2818 Update error lineno.
2819 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
2820 Update error lineno.
2821 * testsuite/23_containers/vector/requirements/dr438/
2822 constructor_1_neg.cc: Update error lineno.
2823 * testsuite/23_containers/vector/requirements/dr438/
2824 constructor_2_neg.cc: Update error lineno.
2825 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
2826 Update error lineno.
2827 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
2828 Update error lineno.
2829 * testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc:
2830 Update error lineno.
2831 * testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc:
2832 Update error lineno.
2833 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
2834 Update error lineno.
2835 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
2836 Update error lineno.
2837 * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
2838 Update error lineno.
2839 * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
2840 Update error lineno.
2842 2008-07-21 Mark Mitchell <mark@codesourcery.com>
2844 * config/os/gnu-linux/arm-eabi-extra.ver: New file.
2845 * configure.host: Use it for arm*-*-linux-*eabi.
2847 2008-07-19 Paolo Carlini <paolo.carlini@oracle.com>
2849 * include/ext/pb_ds/detail/binomial_heap_base_/debug_fn_imps.hpp
2850 (assert_node_consistent): Avoid ambiguous else warning.
2852 * include/ext/pb_ds/detail/debug_map_base.hpp: Include <iostream>.
2854 * include/bits/c++config: In debug-mode (and parallel-mode) set
2855 _GLIBCXX_EXTERN_TEMPLATE to -1, not 0, thus disabling extern
2856 templates only for basic_string (per libstdc++/21674).
2857 * include/bits/basic_string.tcc: Use extern templates when
2858 _GLIBCXX_EXTERN_TEMPLATE > 0.
2860 2008-07-18 Kris Van Hees <kris.van.hees@oracle.com>
2861 Holger Hopp <holger.hopp@sap.com>
2863 * config/abi/pre/gnu.ver: Support char16_t and char32_t.
2864 * testsuite/util/testsuite_abi.cc (check_version): Add
2865 CXXABI_1.3.3 to known_versions.
2867 2008-07-16 Paolo Carlini <paolo.carlini@oracle.com>
2869 * include/debug/vector (insert(iterator, _Tp&&), push_back(_Tp&&)):
2870 Enable only when _Tp != bool.
2872 * testsuite/25_algorithms/heap/1.cc: Avoid unused variable warnings.
2874 2008-07-18 Paolo Carlini <paolo.carlini@oracle.com>
2876 * testsuite/lib/libstdc++.exp (check_v3_target_c_std): Avoid unused
2877 variable warnings leading to spurious fails of the test.
2879 2008-07-16 Paolo Carlini <paolo.carlini@oracle.com>
2881 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Adjust
2883 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
2884 * testsuite/20_util/duration/cons/1_neg.cc: Likewise.
2886 * include/tr1_impl/type_traits: Fix comment typo.
2888 2008-07-16 Paolo Carlini <paolo.carlini@oracle.com>
2890 * include/bits/unique_ptr.h: Remove stray character.
2892 2008-07-15 Benjamin Kosnik <bkoz@redhat.com>
2894 * doc/doxygen/user.cfg.in: Add complex, ratio,
2896 (PREDEFINED): Add _GLIBCXX_USE_C99_STDINT_TR1.
2897 * doc/doxygen/doxygroups.cc: Add std::chrono.
2898 * include/bits/unique_ptr.h (default_delete, unique_ptr): Add markup.
2899 * libsupc++/initializer_list (initializer_list): Same.
2900 * include/std/ratio: Same.
2901 * include/std/chrono: Same.
2902 * include/std/complex: Disambiguate file markup.
2904 2008-07-15 Chris Fairles <chris.fairles@gmail.com>
2906 * include/std/chrono: New, as per N2661.
2907 * src/chrono.cc: New.
2908 * include/Makefile.am: Update.
2909 * src/Makefile.am: Likewise.
2910 * include/Makefile.in: Regenerate.
2911 * src/Makefile.in: Likewise.
2912 * acinclude.m4: Add tests for clock_gettime and gettimeofday that
2913 define _GLIBCXX_HAS_CLOCK_GETTIME and/or _GLIBCXX_HAS_GETTIMEOFDAY.
2914 * configure.ac: Use them.
2915 * configure: Regenerate.
2916 * config.h.in: Likewise.
2917 * config/abi/pre/gnu.ver: Add symbols for system_clock::now() and
2918 system_clock::is_monotonic.
2919 * testsuite/20_util/duration/cons/1.cc: New.
2920 * testsuite/20_util/duration/cons/2.cc: Likewise.
2921 * testsuite/20_util/duration/cons/1_neg.cc: Likewise.
2922 * testsuite/20_util/duration/requirements/explicit_instantiation/
2923 explicit_instantiation.cc: Likewise.
2924 * testsuite/20_util/duration/arithmetic/1.cc: Likewise.
2925 * testsuite/20_util/duration/arithmetic/2.cc: Likewise.
2926 * testsuite/20_util/duration/comparisons/1.cc: Likewise.
2927 * testsuite/20_util/time_point/requirements/explicit_instantiation/
2928 explicit_instantiation.cc: Likewise.
2929 * testsuite/20_util/time_point/1.cc: Likewise.
2930 * testsuite/20_util/time_point/2.cc: Likewise.
2931 * testsuite/20_util/time_point/3.cc: Likewise.
2932 * testsuite/20_util/clocks/1.cc: Likewise.
2933 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Add
2935 * testsuite/17_intro/headers/c++200x/all.cc: Likewise.
2936 * include/precompiled/stdc++.h: Likewise and remove <date_time>.
2937 * doc/doxygen/user.cfg.in: Likewise.
2939 2008-07-15 Paolo Carlini <paolo.carlini@oracle.com>
2942 * include/ext/rope (_Destroy_const): Add.
2943 (rope<>::copy): Call it.
2944 * testsuite/ext/rope/36832.cc: New.
2946 2008-07-15 Johannes Singler <singler@ira.uka.de>
2948 * include/parallel/find_selectors.h:
2949 Correct name for include guard #ifndef.
2950 * include/parallel/balanced_quicksort.h: Likewise.
2951 * include/parallel/unique_copy.h: Likewise.
2952 * include/parallel/multiway_mergesort.h: Likewise.
2953 * include/parallel/checkers.h: Likewise.
2954 * include/parallel/[various files]:
2955 Add/correct comment for #endif of include guard (at end of file)
2957 2008-07-12 Paolo Carlini <paolo.carlini@oracle.com>
2959 * include/std/date_time: Remove, per N2549, in WP.
2960 * src/date_time.cc: Likewise.
2961 * config/abi/pre/gnu.ver: Remove <date_time> symbols.
2962 * include/Makefile.am: Remove date_time in std headers.
2963 * src/Makefile.am: Remove date_time.cc to source files.
2964 * include/Makefile.in: Regenerate.
2965 * src/Makefile.in: Likewise.
2966 * testsuite/31_date_time/headers/date_time/types_std.cc: Remove.
2967 * testsuite/31_date_time/headers/date_time/std_c++0x_neg.cc: Likewise.
2968 * testsuite/31_date_time/headers/date_time/functions_std.cc: Likewise.
2969 * testsuite/31_date_time/headers/date_time/synopsis.cc: Likewise.
2970 * testsuite/31_date_time/nanoseconds/requirements/traits.cc: Likewise.
2971 * testsuite/31_date_time/nanoseconds/requirements/duration.cc: Likewise.
2972 * testsuite/31_date_time/system_time/requirements: Likewise.
2973 * testsuite/31_date_time/system_time/requirements/traits.cc: Likewise.
2974 * testsuite/17_intro/headers/c++200x/all.cc: Adjust.
2975 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Adjust.
2977 2008-07-10 Johannes Singler <singler@ira.uka.de>
2979 * include/parallel/balanced_quicksort.h:
2980 (qsb_divide) Replace "*end" by "*(end - 1)" in assertion.
2982 2008-07-09 Benjamin Kosnik <bkoz@redhat.com>
2985 * doc/xml/manual/allocator.xml: Fix links.
2986 * doc/html/*: Regenerate.
2988 2008-07-09 Joseph Myers <joseph@codesourcery.com>
2990 * libsupc++/unwind-cxx.h (__is_gxx_forced_unwind_class,
2991 __GXX_INIT_FORCED_UNWIND_CLASS): Define for ARM EABI unwinder.
2992 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Call
2993 __GXX_INIT_FORCED_UNWIND_CLASS for forced unwind with ARM EABI
2995 * libsupc++/eh_arm.cc (__cxa_type_match): Use
2996 __is_gxx_forced_unwind_class to check for forced unwind.
2998 2008-07-09 Andreas Beckmann <gcc@abeckmann.de>
3001 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
3002 null_metadata.hpp: Remove self-include.
3004 2008-07-09 Joseph Myers <joseph@codesourcery.com>
3006 * testsuite/20_util/make_signed/requirements/typedefs-2.cc,
3007 testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Use
3008 -Wl,--no-enum-size-warning for arm*-*-linux*eabi.
3010 2008-07-09 Johannes Singler <singler@ira.uka.de>
3013 * include/parallel/random_shuffle.h:
3014 (sequential_random_shuffle) Copy data back.
3015 * testsuite/25_algorithms/random_shuffle/1.cc:
3016 New. Generic random_shuffle functionality test.
3018 2008-07-08 Chris Fairles <chris.fairles@gmail.com>
3020 * include/std/type_traits: Add common_type.
3021 * testsuite/20_util/common_type/requirements/
3022 explicit_instantiation.cc: New.
3023 * testsuite/20_util/common_type/requirements/
3024 typedefs-1.cc: Likewise.
3026 2008-07-07 Paolo Carlini <paolo.carlini@oracle.com>
3028 * testsuite/lib/libstdc++.exp (check_v3_target_stdint): New.
3029 * testsuite/lib/dg-options.exp (dg-require-cstdint): New.
3030 * testsuite/20_util/ratio/cons/cons1.cc: Use it.
3031 * testsuite/20_util/ratio/cons/cons_overflow.cc: Likewise.
3032 * testsuite/20_util/ratio/operations/ops1.cc: Likewise.
3033 * testsuite/20_util/ratio/operations/ops2.cc: Likewise.
3034 * testsuite/20_util/ratio/operations/ops3.cc: Likewise.
3035 * testsuite/20_util/ratio/operations/ops_overflow.cc: Likewise.
3036 * testsuite/20_util/ratio/comparisons/comp1.cc: Likewise.
3037 * testsuite/20_util/ratio/comparisons/comp2.cc: Likewise.
3039 * include/std/type_traits: Fix comment typo.
3041 2008-07-06 Roger Sayle <roger@eyesopen.com>
3043 * include/std/system_error (is_error_code_enum): Use identifier
3044 _Tp instead of _T to avoid conflict with system macro on Darwin.
3045 (is_error_condition_enum): Likewise.
3047 2008-07-05 Paolo Carlini <paolo.carlini@oracle.com>
3049 * include/bits/postypes.h: Do not include <stdint.h>.
3051 * include/Makefile.am: Reorder.
3053 2008-07-05 Paolo Carlini <paolo.carlini@oracle.com>
3055 * include/std/ratio: Prefer __INTMAX_MAX__ to INTMAX_MAX (INTMAX_MIN).
3057 2008-07-05 Chris Fairles <chris.fairles@gmail.com>
3059 * include/std/ratio: Documentation for std::ratio class. Add conditions
3060 to ratio_less to prevent overflow.
3061 * testsuite/20_util/ratio/comparisons/comp2.cc: New.
3062 * testsuite/20_util/ratio/cons/cons_overflow.cc: Update dg-error line
3065 2008-07-04 Chris Fairles <chris.fairles@gmail.com>
3067 * include/std/ratio: New, per N2661.
3068 * include/Makefile.am: Update.
3069 * include/Makefile.in: Regenerate.
3070 * testsuite/20_util/ratio/cons/cons1.cc: New.
3071 * testsuite/20_util/ratio/cons/cons_overflow.cc: Likewise.
3072 * testsuite/20_util/ratio/operations/ops1.cc: Likewise.
3073 * testsuite/20_util/ratio/operations/ops2.cc: Likewise.
3074 * testsuite/20_util/ratio/operations/ops3.cc: Likewise.
3075 * testsuite/20_util/ratio/operations/ops_overflow.cc: Likewise.
3076 * testsuite/20_util/ratio/comparisons/comp1.cc: Likewise.
3078 2008-07-04 Paolo Carlini <paolo.carlini@oracle.com>
3081 * testsuite/22_locale/time_put/put/char/4.cc: Just use es_ES instead.
3082 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
3084 2008-07-03 Paolo Carlini <paolo.carlini@oracle.com>
3086 * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
3087 Improve check on long double limits.
3088 * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
3090 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3092 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3095 2008-07-03 Paolo Carlini <paolo.carlini@oracle.com>
3097 * libsupc++/Makefile.am: Add initializer_list to the headers.
3098 * libsupc++/Makefile.in: Regenerate.
3100 * libsupc++/initializer_list: Minor cosmetic changes.
3102 2008-07-02 Jason Merrill <jason@redhat.com>
3104 * libsupc++/initializer_list: Uglify and wrap in
3105 __GXX_EXPERIMENTAL_CXX0X__.
3106 * include/bits/stl_map.h (insert(initializer_list)): Wrap.
3108 2008-07-02 Jason Merrill <jason@redhat.com>
3110 * libsupc++/initializer_list: New file.
3111 * include/bits/stl_map.h (insert(initializer_list)): New method.
3113 2008-06-30 Alfred E. Heggestad <aeh@db.org>
3115 * include/backward/backward_warning.h: Fix typo.
3117 2008-06-29 Paolo Carlini <paolo.carlini@oracle.com>
3119 * src/string_conversions.cc: Remove.
3120 * config/abi/pre/gnu.ver: Delete exports.
3121 * src/Makefile.am: Update.
3122 * include/ext/string_conversions.h: Add.
3123 * include/Makefile.am: Update.
3124 * include/bits/basic_string.h: Include string_conversions.h,
3125 define numeric conversion functions.
3126 * include/ext/vstring.h: Likewise.
3127 * src/Makefile.in: Regenerate.
3128 * include/Makefile.in: Regenerate.
3130 2008-06-29 Paolo Carlini <paolo.carlini@oracle.com>
3132 * include/bits/stl_algo.h (copy_n): Add in C++0x mode.
3133 * include/bits/algorithmfwd.h: Add.
3134 * include/bits/stl_uninitialized.h (uninitialized_copy_n): Add
3136 * testsuite/20_util/specialized_algorithms/uninitialized_copy_n/
3137 move_iterators/1.cc: New
3138 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
3139 * testsuite/25_algorithms/copy_n/1.cc: New.
3140 * testsuite/25_algorithms/copy_n/2.cc: Likewise.
3141 * testsuite/25_algorithms/copy_n/3.cc: Likewise.
3142 * testsuite/25_algorithms/copy_n/4.cc: Likewise.
3143 * testsuite/25_algorithms/copy_n/move_iterators/1.cc: Likewise.
3144 * testsuite/25_algorithms/copy_n/requirements/
3145 explicit_instantiation/2.cc: Likewise.
3146 * testsuite/25_algorithms/partition_point/requirements/
3147 explicit_instantiation/pod.cc: Likewise.
3149 2008-06-28 Paolo Carlini <paolo.carlini@oracle.com>
3151 * include/bits/stl_algo.h (partition_point): Add in C++0x mode.
3152 * include/bits/algorithmfwd.h: Add.
3153 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
3154 * testsuite/25_algorithms/partition_point/1.cc: New.
3155 * testsuite/25_algorithms/partition_point/check_type.cc: Likewise.
3156 * testsuite/25_algorithms/partition_point/requirements/
3157 explicit_instantiation/2.cc: Likewise.
3158 * testsuite/25_algorithms/partition_point/requirements/
3159 explicit_instantiation/pod.cc: Likewise.
3161 2008-06-28 Paolo Carlini <paolo.carlini@oracle.com>
3164 * include/ext/pb_ds/detail/resize_policy/
3165 sample_resize_trigger.hpp: Remove spurious namespace end.
3167 2008-06-27 Mark Mitchell <mark@codesourcery.com>
3169 * libsupc++/vec.cc (__aeabi_vec_dtor_cookie): Handle NULL array
3171 (__aeabi_vec_delete): Likewise.
3172 (__aeabi_vec_delete3): Likewise.
3173 (__aeabi_vec_delete3_nodtor): Likewise.
3175 2008-06-27 Paolo Carlini <paolo.carlini@oracle.com>
3177 * include/bits/stl_algo.h (is_partitioned): Add in C++0x mode.
3178 * include/bits/algorithmfwd.h: Add.
3179 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
3180 * testsuite/25_algorithms/is_partitioned/1.cc: New.
3181 * testsuite/25_algorithms/is_partitioned/check_type.cc: Likewise.
3182 * testsuite/25_algorithms/is_partitioned/requirements/
3183 explicit_instantiation/2.cc: Likewise.
3184 * testsuite/25_algorithms/is_partitioned/requirements/
3185 explicit_instantiation/pod.cc: Likewise.
3187 2008-06-27 Paolo Carlini <paolo.carlini@oracle.com>
3189 * include/bits/stl_numeric.h (iota): Add in C++0x mode.
3190 * testsuite/util/testsuite_character.h (pod_int): Add operator++
3192 * testsuite/util/testsuite_api.h (NonDefaultConstructible): Likewise.
3193 * testsuite/26_numerics/iota/1.cc: New.
3194 * testsuite/26_numerics/iota/requirements/explicit_instantiation/
3196 * testsuite/26_numerics/iota/requirements/explicit_instantiation/
3199 * include/ext/algorithm: Do not fiddle with the legacy headers.
3201 * testsuite/26_numerics/partial_sum/1.cc: Minor changes, comments,
3203 * testsuite/26_numerics/accumulate/1.cc: Likewise.
3204 * testsuite/26_numerics/adjacent_difference/1.cc: Likewise.
3205 * testsuite/26_numerics/inner_product/1.cc: Likewise.
3207 2008-06-26 Paolo Carlini <paolo.carlini@oracle.com>
3209 * include/bits/stl_algo.h (partition_copy): Add in C++0x mode.
3210 * include/bits/algorithmfwd.h: Add.
3211 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
3212 * testsuite/25_algorithms/partition_copy/1.cc: New.
3213 * testsuite/25_algorithms/partition_copy/check_type.cc: Likewise.
3214 * testsuite/25_algorithms/partition_copy/requirements/
3215 explicit_instantiation/2.cc: Likewise.
3216 * testsuite/25_algorithms/partition_copy/requirements/
3217 explicit_instantiation/pod.cc: Likewise.
3219 2008-06-26 Chris Fairles <chris.fairles@gmail.com>
3221 * testsuite/20_util/unique_ptr/cons/pointer_array.cc: New.
3222 * testsuite/20_util/unique_ptr/cons/pointer.cc: Likewise.
3223 * testsuite/20_util/unique_ptr/cons/pointer_array_convertible.cc:
3225 * testsuite/20_util/unique_ptr/assign/move_array.cc: Likewise.
3226 * testsuite/20_util/unique_ptr/assign/move.cc: Likewise.
3227 * testsuite/20_util/unique_ptr/specialized_algorithms/
3228 comparisons_array.cc: Likewise.
3229 * testsuite/20_util/unique_ptr/specialized_algorithms/comparisons.cc:
3231 * testsuite/20_util/unique_ptr/specialized_algorithms/swap.cc:
3234 2008-06-26 Paolo Carlini <paolo.carlini@oracle.com>
3236 * include/parallel/base.h (plus, multiplies): Use __typeof__,
3239 2008-06-25 Paolo Carlini <paolo.carlini@oracle.com>
3241 * testsuite/29_atomics/atomic_flag/cons/default.cc: Avoid -Wall
3243 * testsuite/29_atomics/atomic_flag/cons/aggregate.cc: Likewise.
3244 * testsuite/29_atomics/headers/cstdatomic/types_std_c++0x.cc:
3246 * testsuite/29_atomics/headers/stdatomic.h/types.c: Likewise.
3247 * testsuite/util/testsuite_common_types.h (struct assignable,
3248 struct default_constructible, struct copy_constructible,
3249 struct explicit_value_constructible): Use a tad of simulated
3250 concept checking techniques to avoid spurious warnings.
3251 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust dg-error
3253 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
3255 2008-06-25 Paolo Carlini <paolo.carlini@oracle.com>
3257 * include/bits/stl_algo.h (__find_if_not, find_if_not, all_of,
3258 any_of, none_of): Add in C++0x, per N2666.
3259 * include/bits/algorithmfwd.h: Update.
3260 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
3261 * testsuite/25_algorithms/all_of/check_type.cc: New.
3262 * testsuite/25_algorithms/all_of/1.cc: Likewise.
3263 * testsuite/25_algorithms/all_of/requirements/explicit_instantiation/
3265 * testsuite/25_algorithms/all_of/requirements/explicit_instantiation/
3267 * testsuite/25_algorithms/any_of/check_type.cc: Likewise.
3268 * testsuite/25_algorithms/any_of/1.cc: Likewise.
3269 * testsuite/25_algorithms/any_of/requirements/explicit_instantiation/
3271 * testsuite/25_algorithms/any_of/requirements/explicit_instantiation/
3273 * testsuite/25_algorithms/none_of/check_type.cc: Likewise.
3274 * testsuite/25_algorithms/none_of/1.cc: Likewise.
3275 * testsuite/25_algorithms/none_of/requirements/explicit_instantiation/
3277 * testsuite/25_algorithms/none_of/requirements/explicit_instantiation/
3279 * testsuite/25_algorithms/find_if_not/check_type.cc: Likewise.
3280 * testsuite/25_algorithms/find_if_not/1.cc: Likewise.
3281 * testsuite/25_algorithms/find_if_not/requirements/
3282 explicit_instantiation/2.cc: Likewise.
3283 * testsuite/25_algorithms/find_if_not/requirements/
3284 explicit_instantiation/pod.cc: Likewise.
3285 * testsuite/25_algorithms/copy_if/check_type.cc: Likewise.
3286 * testsuite/25_algorithms/remove_copy_if/check_type.cc: Likewise.
3287 * testsuite/25_algorithms/find_if/1.cc: Minor tweaks.
3289 2008-06-24 Benjamin Kosnik <bkoz@redhat.com>
3291 * doc/xml/manual/parallel_mode.xml: Clarify use of explicit
3292 parallel algorithms.
3293 * doc/xml/manual/using.xml: Markup fixes caught by validation check.
3294 * doc/xml/manual/test.xml: Remove empty para tags.
3296 * doc/html/*: Regenerate.
3298 2008-06-24 Paolo Carlini <paolo.carlini@oracle.com>
3300 * include/bits/stl_algo.h (remove_if): Cast __pred result to bool.
3301 (copy_if): Add, per N2666.
3302 * testsuite/25_algorithms/copy_if/requirements/explicit_instantiation/
3304 * testsuite/25_algorithms/copy_if/requirements/explicit_instantiation/
3306 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
3308 2008-06-24 Paolo Carlini <paolo.carlini@oracle.com>
3309 Chalathip Thumkanon <chalathip@gmail.com>
3312 * include/ext/pb_ds/exception.hpp (__throw_container_error,
3313 __throw_insert_error, __throw_join_error, __throw_resize_error):
3316 2008-06-22 Paolo Carlini <paolo.carlini@oracle.com>
3318 * include/bits/move.h (swap(_Tp (&)[_Nm], _Tp (&)[_Nm])): Add,
3320 * include/bits/algorithmfwd.h: Add.
3321 * doc/xml/manual/intro.xml: Add an entry for DR 809.
3322 * testsuite/25_algorithms/swap/dr809.cc: New.
3324 * testsuite/25_algorithms/swap/requirements/explicit_instantiation/
3325 2.cc: Remove stray empty line.
3327 2008-06-21 Paolo Carlini <paolo.carlini@oracle.com>
3329 * include/bits/stl_move.h: Rename to move.h.
3330 * include/std/utility: Adjust.
3331 * include/ext/vstring_util.h: Likewise.
3332 * include/ext/throw_allocator.h: Likewise.
3333 * include/ext/pool_allocator.h: Likewise.
3334 * include/ext/bitmap_allocator.h: Likewise.
3335 * include/ext/new_allocator.h: Likewise.
3336 * include/ext/malloc_allocator.h: Likewise.
3337 * include/ext/array_allocator.h: Likewise.
3338 * include/ext/mt_allocator.h: Likewise.
3339 * include/bits/stl_algobase.h: Likewise.
3340 * include/bits/stl_heap.h: Likewise.
3341 * include/bits/stl_pair.h: Likewise.
3342 * include/bits/stl_iterator.h: Likewise.
3343 * testsuite/util/testsuite_allocator.h: Likewise.
3344 * testsuite/util/testsuite_iterators.h: Likewise.
3345 * include/Makefile.am: Likewise.
3346 * include/Makefile.in: Regenerate.
3348 2008-06-21 Chris Fairles <chris.fairles@gmail.com>
3350 * include/bits/unique_ptr.h: New.
3351 * include/std/memory: Adjust.
3352 * include/Makefile.am: Add.
3353 * testsuite/20_util/unique_ptr/requirements/explicit_instantiation/
3354 explicit_instantiation.cc: New.
3355 * testsuite/20_util/unique_ptr/assign/assign.cc: Likewise.
3356 * include/Makefile.in: Regenerate.
3358 2008-06-21 Jonathan Wakely <jwakely.gcc@gmail.com>
3360 * include/c_global/climits, include/tr1/climits: Add parentheses.
3362 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3364 * configure: Regenerate.
3366 2008-06-17 Chris Fairles <chris.fairles@gmail.com>
3368 * include/bits/stl_iterator_base_funcs.h (next, prev): Add in
3370 * testsuite/24_iterators/operations/next.cc: New.
3371 * testsuite/24_iterators/operations/prev.cc: Likewise.
3373 2008-06-17 Paolo Carlini <paolo.carlini@oracle.com>
3375 * src/string_conversions.cc (__to_xstring<>): New.
3376 (to_string, to_wstring): Use it.
3378 2008-06-16 Paolo Carlini <paolo.carlini@oracle.com>
3380 * include/bits/basic_string.h (stod, stof, stoi, stol, stold, stoll,
3381 stoul, stoull, to_string, to_wstring): Declare in C++0x mode.
3382 * src/string_conversions.cc: Add.
3383 * src/Makefile.am: Update.
3384 * config/abi/pre/gnu.ver: Adjust exports.
3385 * src/Makefile.in: Regenerate.
3386 * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
3388 * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
3390 * testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
3392 * testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
3394 * testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc:
3396 * testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc:
3398 * testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
3400 * testsuite/21_strings/basic_string/numeric_conversions/char/stoull.cc:
3402 * testsuite/21_strings/basic_string/numeric_conversions/char/
3403 to_string.cc: Likewise.
3404 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3406 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3408 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3410 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3412 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3414 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3416 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3418 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3419 stoull.cc: Likewise.
3420 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3421 to_wstring.cc: Likewise.
3423 2008-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3425 * include/Makefile.am: Remove trailing white space, fix typo.
3426 (parallel_headers): Remove duplicate file, sort entries.
3427 * include/Makefile.in: Regenerate.
3429 2008-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3431 * src/condition_variable.cc (~condition_variable): Drop unused
3434 2008-06-13 Paolo Carlini <paolo.carlini@oracle.com>
3436 * include/bits/stl_deque.h (deque<>::push_back(_Args&&...),
3437 deque<>::push_front(_Args&&...)): Remove.
3438 (deque<>::push_back(value_type&&),
3439 deque<>::push_front(value_type&&)): Add.
3440 (deque<>::push_back(const value_type&),
3441 deque<>::push_front(const value_type&)): Add back.
3442 (deque<>::emplace_back(_Args&&...),
3443 deque<>::emplace_front(_Args&&...)): Declare...
3444 * include/bits/deque.tcc: ... and define.
3445 * include/bits/stl_list.h (list<>::push_back(_Args&&...),
3446 list<>::push_front(_Args&&...)): Remove.
3447 (list<>::push_back(value_type&&), list<>::push_front(value_type&&),
3448 list<>::emplace_back(_Args&&...), list<>::emplace_front(_Args&&...)):
3450 (list<>::push_back(const value_type&),
3451 list<>::push_front(const value_type&)): Add back.
3452 * include/bits/stl_vector.h (vector<>::push_back(_Args&&...)): Remove.
3453 (vector<>::push_back(value_type&&)): Add.
3454 (vector<>::push_back(const value_type&)): Add back.
3455 (vector<>::emplace_back(_Args&&...)): Declare...
3456 * include/bits/vector.tcc: ... and define.
3457 * include/bits/stl_queue.h (queue<>::push(_Args&&...),
3458 priority_queue<>::push(_Args&&...)): Remove.
3459 (queue<>::push(value_type&&), queue<>::emplace(_Args&&...),
3460 priority_queue<>::push(value_type&&),
3461 priority_queue<>::emplace(_Args&&...)): Add.
3462 (queue<>::push(const value_type&),
3463 priority_queue<>::push(const value_type&)): Add back.
3464 * include/bits/stl_stack.h (stack<>::push(_Args&&...)): Remove.
3465 (stack<>::push(value_type&&), stack<>::emplace(_Args&&...)): Add.
3466 (stack<>::push(const value_type&)): Add back.
3467 * include/debug/deque (deque<>::push_back(_Args&&...),
3468 deque<>::push_front(_Args&&...)): Remove.
3469 (deque<>::push_back(value_type&&), deque<>::push_front(value_type&&),
3470 deque<>::emplace_back(_Args&&...), deque<>::emplace_front(_Args&&...)):
3472 (deque<>::push_back(const value_type&),
3473 deque<>::push_front(const value_type&)): Add back.
3474 * include/debug/list (list<>::push_back(_Args&&...),
3475 list<>::push_front(_Args&&...)): Remove.
3476 (list<>::push_back(value_type&&), list<>::push_front(value_type&&),
3477 list<>::emplace_back(_Args&&...), list<>::emplace_front(_Args&&...)):
3479 (list<>::push_back(const value_type&),
3480 list<>::push_front(const value_type&)): Add back.
3481 * include/debug/vector (vector<>::push_back(_Args&&...)): Remove.
3482 (vector<>::push_back(value_type&&),
3483 vector<>::emplace_back(_Args&&...)): Add.
3484 (vector<>::push_back(const value_type&)): Add back.
3485 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
3486 Adjust dg-error line numbers.
3487 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
3489 * testsuite/23_containers/deque/requirements/dr438/
3490 constructor_1_neg.cc: Likewise.
3491 * testsuite/23_containers/deque/requirements/dr438/
3492 constructor_2_neg.cc: Likewise.
3493 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
3494 Adjust dg-error line numbers.
3495 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
3497 * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
3499 * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
3501 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
3502 Adjust dg-error line numbers.
3503 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
3505 * testsuite/23_containers/vector/requirements/dr438/
3506 constructor_1_neg.cc: Likewise.
3507 * testsuite/23_containers/vector/requirements/dr438/
3508 constructor_2_neg.cc: Likewise.
3510 2008-06-13 Paolo Carlini <paolo.carlini@oracle.com>
3512 * include/tr1_impl/array (array<>::assign): Do not define in
3513 C++0x mode, per DR 776...
3514 (array<>::fill): ... define instead.
3515 * doc/xml/manual/intro.xml: Add an entry for DR 776.
3516 * testsuite/23_containers/array/requirements/fill.cc: New.
3518 2008-06-12 Paolo Carlini <paolo.carlini@oracle.com>
3520 * include/std/complex (pow(const complex<>&, int)): Do not define in
3521 C++0x mode, per DR 844.
3522 * include/tr1/complex (pow(const complex<>&, int)): Remove.
3523 * doc/xml/manual/intro.xml: Add an entry for DR 844.
3524 * testsuite/26_numerics/complex/dr844.cc: New.
3525 * testsuite/tr1/8_c_compatibility/complex/overloads_int.cc: Adjust.
3527 2008-06-11 Paolo Carlini <paolo.carlini@oracle.com>
3529 * include/tr1_impl/hashtable (_Hashtable<>::cbegin(size_type),
3530 cend(size_type)): Add per DR 691.
3531 * testsuite/23_containers/unordered_map/requirements/cliterators.cc:
3533 * testsuite/23_containers/unordered_multimap/requirements/
3534 cliterators.cc: Likewise.
3535 * testsuite/23_containers/unordered_set/requirements/cliterators.cc:
3537 * testsuite/23_containers/unordered_multiset/requirements/
3538 cliterators.cc: Likewise.
3539 * doc/xml/manual/intro.xml: Add an entry for DR 691.
3541 2008-06-11 Matthias Klose <doko@ubuntu.com>
3543 * testsuite/30_threads/lock_error, testsuite/30_threads/once_flag:
3544 Remove empty directories.
3546 2008-06-07 Joseph Myers <joseph@codesourcery.com>
3548 * configure.host (xscale, ep9312, m680[246]0, solaris2.5,
3549 solaris2.5.[0-9], solaris2.6, windiss*): Remove.
3550 * crossconfig.m4 (*-solaris2.5, *-solaris2.6, *-windiss*): Remove.
3551 * configure: Regenerate.
3552 * config/os/solaris/solaris2.5: Remove directory.
3553 * config/os/solaris/solaris2.6: Remove directory.
3554 * config/os/windiss: Remove directory.
3556 2008-06-06 Benjamin Kosnik <bkoz@redhat.com>
3558 * doc/xml/manual/using.xml: Outline exception topics.
3560 * include/ext/pb_ds/detail/binary_heap_/insert_fn_imps.hpp: Format.
3561 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
3562 policy_access_fn_imps.hpp: Same.
3563 * include/ext/pb_ds/priority_queue.hpp: Same.
3564 * include/ext/throw_allocator.h: Same.
3566 * include/ext/pb_ds/tag_and_trait.hpp (string_tag): New tag.
3567 (sequence_tag): New tag. Doxygen markup fixes.
3569 * testsuite/lib/libstdc++.exp: Remove twister_ran_gen.cc source file.
3571 * testsuite/performance/ext/pb_ds/text_find_timing.cc: Fix
3572 comment typo, include paths, format.
3573 * testsuite/performance/ext/pb_ds/tree_text_insert_timing.cc: Same.
3574 * testsuite/performance/ext/pb_ds/
3575 hash_random_int_erase_mem_usage.cc: Same.
3576 * testsuite/performance/ext/pb_ds/
3577 random_int_subscript_find_timing.cc: Same.
3578 * testsuite/performance/ext/pb_ds/
3579 priority_queue_text_push_timing.cc: Same.
3580 * testsuite/performance/ext/pb_ds/tree_split_join_timing.cc: Same.
3581 * testsuite/performance/ext/pb_ds/random_int_find_timing.cc: Same.
3582 * testsuite/performance/ext/pb_ds/multimap_text_insert_mem_usage.hpp
3583 * testsuite/performance/ext/pb_ds/multimap_text_find_timing.hpp
3584 * testsuite/performance/ext/pb_ds/
3585 priority_queue_random_int_push_timing.cc: Same.
3586 * testsuite/performance/ext/pb_ds/priority_queue_text_modify_timing.hpp
3587 * testsuite/performance/ext/pb_ds/tree_order_statistics_timing.cc: Same.
3588 * testsuite/performance/ext/pb_ds/
3589 priority_queue_text_push_pop_timing.cc: Same.
3590 * testsuite/performance/ext/pb_ds/
3591 priority_queue_text_join_timing.cc: Same.
3592 * testsuite/performance/ext/pb_ds/
3593 priority_queue_random_int_push_pop_timing.cc: Same.
3594 * testsuite/performance/ext/pb_ds/
3595 random_int_subscript_insert_timing.cc: Same.
3596 * testsuite/performance/ext/pb_ds/tree_text_lor_find_timing.cc: Same.
3597 * testsuite/performance/ext/pb_ds/multimap_text_insert_timing.hpp
3598 * testsuite/performance/ext/pb_ds/
3599 priority_queue_text_pop_mem_usage.cc: Same.
3600 * testsuite/performance/ext/pb_ds/
3601 hash_zlob_random_int_find_timing.cc: Same.
3602 * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Same.
3603 * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
3604 * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand.cc: Same.
3605 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
3606 * testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc: Same.
3607 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
3608 * testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Same.
3609 * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
3610 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
3611 * testsuite/util/regression/trait/priority_queue/trait.hpp: Same.
3612 * testsuite/util/regression/trait/erase_if_fn.hpp: Same.
3613 * testsuite/util/regression/trait/assoc/native_type_trait.hpp: Same.
3614 * testsuite/util/regression/trait/assoc/node_update_trait.hpp: Same.
3615 * testsuite/util/regression/trait/assoc/get_set_load_trait.hpp: Same.
3616 * testsuite/util/regression/trait/assoc/get_set_loads_trait.hpp: Same.
3617 * testsuite/util/regression/trait/assoc/trait.hpp: Same.
3618 * testsuite/util/regression/trait/assoc/resize_trait.hpp: Same.
3619 * testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
3620 * testsuite/util/regression/trait/assoc/to_string.hpp: Same.
3621 * testsuite/util/regression/basic_type.hpp: Same.
3622 * testsuite/util/common_type/priority_queue/string_form.hpp: Same.
3623 * testsuite/util/common_type/priority_queue/detail/
3624 ds_string_form.hpp: Same.
3625 * testsuite/util/common_type/assoc/string_form.hpp: Same.
3626 * testsuite/util/common_type/assoc/detail/
3627 resize_policy_string_form.hpp: Same.
3628 * testsuite/util/common_type/assoc/detail/
3629 trigger_policy_string_form.hpp: Same.
3630 * testsuite/util/common_type/assoc/detail/
3631 comb_hash_fn_string_form.hpp: Same.
3632 * testsuite/util/common_type/assoc/detail/ds_string_form.hpp: Same.
3633 * testsuite/util/common_type/assoc/detail/
3634 size_policy_string_form.hpp: Same.
3635 * testsuite/util/common_type/assoc/detail/
3636 probe_fn_string_form.hpp: Same.
3637 * testsuite/util/common_type/assoc/detail/
3638 list_update_policy_string_form.hpp: Same.
3639 * testsuite/util/common_type/assoc/detail/
3640 store_hash_string_form.hpp: Same.
3641 * testsuite/util/common_type/assoc/native_set.hpp: Same.
3642 * testsuite/util/io/prog_bar.cc: Same.
3644 * testsuite/util/regression/rand/io: Remove.
3645 * testsuite/util/regression/rand/io/priority_queue: Same.
3646 * testsuite/util/regression/rand/io/assoc: Same.
3647 * testsuite/util/regression/rand/io/priority_queue/
3648 xml_formatter.hpp: Consolidate this...
3649 * testsuite/util/regression/rand/io/assoc/xml_formatter.hpp: ...this
3650 * testsuite/util/regression/rand/io/xml_formatter.hpp: ... and this
3651 * testsuite/util/regression/rand/xml_formatter.hpp: ...here.
3653 * testsuite/util/regression/rand/priority_queue/
3654 container_rand_regression_test.hpp:To ...
3655 container_rand_regression_test.h: ... this.
3656 * testsuite/util/regression/rand/priority_queue/detail/*.hpp:To ...
3657 * testsuite/util/regression/rand/priority_queue/
3658 container_rand_regression_test.tcc: ... this.
3659 PB_DS_THROW_IF_FAIL: Change to _GLIBCXX_THROW_IF, adjust predicate.
3660 PB_DS_SET_DESTRUCT_PRINT: Fold inline.
3661 PB_DS_CANCEL_DESTRUCT_PRINT: Fold inline.
3662 * testsuite/util/regression/rand/priority_queue/
3663 rand_regression_test.hpp: Adjust includes.
3665 * testsuite/util/regression/rand/assoc/
3666 container_rand_regression_test.hpp: To ...
3667 * testsuite/util/regression/rand/assoc/
3668 container_rand_regression_test.h: ... this.
3669 * testsuite/util/regression/rand/assoc/detail/*.hpp:To ...
3670 * testsuite/util/regression/rand/assoc/
3671 container_rand_regression_test.tcc: ...this.
3672 * testsuite/util/regression/rand/assoc/rand_regression_test.hpp: Adjust
3675 * testsuite/util/regression/priority_queue: Remove.
3676 * testsuite/util/regression/assoc: Remove.
3677 * testsuite/util/regression/priority_queue/
3678 common_type.hpp: Consolidate this...
3679 * testsuite/util/regression/assoc/common_type.hpp: ... and this
3680 * testsuite/util/regression/common_type.hpp: ...here.
3682 * testsuite/util/rng: Remove.
3683 * testsuite/util/rng/twister_rand_gen.cc: Consolidate...
3684 * testsuite/util/rng/twister_rand_gen.hpp: ... and this
3685 * testsuite/util/testsuite_rng.h: ...here.
3687 * testsuite/util/native_type/priority_queue: Remove.
3688 * testsuite/util/native_type/priority_queue/
3689 native_priority_queue.hpp: To...
3690 * testsuite/util/native_type/native_priority_queue.hpp: ...here.
3692 * testsuite/util/native_type/assoc: Remove.
3693 * testsuite/util/native_type/assoc/native_multimap.hpp: To...
3694 * testsuite/util/native_type/assoc/native_tree_tag.hpp: To...
3695 * testsuite/util/native_type/assoc/native_hash_multimap.hpp: To...
3696 * testsuite/util/native_type/assoc/native_set.hpp: To...
3697 * testsuite/util/native_type/assoc/native_map.hpp: To...
3698 * testsuite/util/native_type/assoc/native_hash_set.hpp: To...
3699 * testsuite/util/native_type/assoc/native_hash_tag.hpp: To...
3700 * testsuite/util/native_type/assoc/native_hash_map.hpp: To...
3701 * testsuite/util/native_type/native_multimap.hpp: ...here.
3702 * testsuite/util/native_type/native_tree_tag.hpp: ...here.
3703 * testsuite/util/native_type/native_hash_multimap.hpp: ...here.
3704 * testsuite/util/native_type/native_set.hpp: ...here.
3705 * testsuite/util/native_type/native_map.hpp: ...here.
3706 * testsuite/util/native_type/native_hash_set.hpp: ...here.
3707 * testsuite/util/native_type/native_hash_tag.hpp: ...here.
3708 * testsuite/util/native_type/native_hash_map.hpp: ...here.
3710 * testsuite/util/common_type/priority_queue/common_type.hpp:
3711 Make include guard distinct.
3712 * testsuite/util/common_type/assoc/common_type.hpp: Same.
3714 2008-06-06 Joseph Myers <joseph@codesourcery.com>
3716 * configure.ac: Do not check for gconv.h.
3717 * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Do not test for gconv.h or
3718 gconf.h. For glibc and uClibc systems, define
3719 _GLIBCXX_USE_RANDOM_TR1 and HAVE_MMAP and use AC_LC_MESSAGES and
3721 * configure, config.h.in: Regenerate.
3723 2008-06-06 Joseph Myers <joseph@codesourcery.com>
3725 * testsuite/17_intro/headers/all.cc,
3726 testsuite/17_intro/headers/all_c++200x_compatibility.cc,
3727 testsuite/17_intro/headers/all_pedantic_errors.cc,
3728 testsuite/ext/headers.cc: Only include
3729 <ext/codecvt_specializations.h> and <ext/enc_filebuf.h> if
3730 _GLIBCXX_HAVE_ICONV.
3732 2008-06-05 Johannes Singler <singler@ira.uka.de>
3734 * include/parallel/random_shuffle.h:
3735 (parallel_random_shuffle_drs) Get the actual number of
3736 threads after entering the parallel region. Indentation.
3737 * include/parallel/algo.h: (random_shuffle(begin, end))
3738 Add namespace qualification to avoid ambiguity.
3740 2008-06-04 Benjamin Kosnik <bkoz@redhat.com>
3742 * include/ext/pb_ds/assoc_container.hpp: Change allocator typedef
3743 to allocator_type, as per existing conventions.
3744 * include/ext/pb_ds/detail/binomial_heap_base_/
3745 binomial_heap_base_.hpp: Same.
3746 * include/ext/pb_ds/detail/cc_hash_table_map_/cc_ht_map_.hpp: Same.
3747 * include/ext/pb_ds/detail/pat_trie_/pat_trie_.hpp: Same.
3748 * include/ext/pb_ds/detail/bin_search_tree_/bin_search_tree_.hpp: Same.
3749 * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Same.
3750 * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp: Same.
3751 * include/ext/pb_ds/detail/trie_policy/trie_policy_base.hpp: Same.
3752 * include/ext/pb_ds/detail/pairing_heap_/pairing_heap_.hpp: Same.
3753 * include/ext/pb_ds/detail/binomial_heap_/binomial_heap_.hpp: Same.
3754 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
3755 left_child_next_sibling_heap_.hpp: Same.
3756 * include/ext/pb_ds/detail/thin_heap_/thin_heap_.hpp: Same.
3757 * include/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp: Same.
3758 * include/ext/pb_ds/detail/splay_tree_/splay_tree_.hpp: Same.
3759 * include/ext/pb_ds/detail/list_update_map_/lu_map_.hpp: Same.
3760 * include/ext/pb_ds/detail/rc_binomial_heap_/
3761 rc_binomial_heap_.hpp: Same.
3762 * include/ext/pb_ds/detail/rc_binomial_heap_/rc.hpp: Same.
3763 * include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp: Same.
3764 * include/ext/pb_ds/list_update_policy.hpp: Same.
3765 * include/ext/pb_ds/exception.hpp: Same.
3766 * include/ext/pb_ds/tree_policy.hpp: Same.
3767 * include/ext/pb_ds/trie_policy.hpp: Same.
3768 * include/ext/pb_ds/priority_queue.hpp: Same.
3769 * testsuite/util/regression/trait/assoc/trait.hpp: Same.
3770 * testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
3771 * testsuite/util/regression/rand/priority_queue/detail/
3772 defs_fn_imps.hpp: Same.
3773 * testsuite/util/regression/rand/priority_queue/detail/
3774 operator_fn_imps.hpp: Same.
3775 * testsuite/util/regression/rand/priority_queue/
3776 container_rand_regression_test.hpp: Same.
3777 * testsuite/util/regression/rand/assoc/detail/defs_fn_imps.hpp: Same.
3778 * testsuite/util/regression/rand/assoc/detail/
3779 operator_fn_imps.hpp: Same.
3780 * testsuite/util/regression/rand/assoc/
3781 container_rand_regression_test.hpp: Same.
3782 * testsuite/util/native_type/assoc/native_multimap.hpp: Same.
3783 * testsuite/util/native_type/assoc/native_hash_multimap.hpp: Same.
3784 * testsuite/util/common_type/assoc/detail/
3785 tree_supports_order_statistics.hpp: Same.
3786 * testsuite/util/common_type/assoc/detail/
3787 trie_supports_prefix_search.hpp: Same.
3788 * testsuite/util/common_type/assoc/detail/
3789 trie_supports_order_statistics.hpp: Same.
3791 2008-06-02 Sandra Loosemore <sandra@codesourcery.com>
3792 Daniel Jacobowitz <dan@codesourcery.com>
3794 * testsuite/27_io/basic_filebuf/sputbackc/char/9425.cc: Use
3796 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Likewise.
3797 * testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc: Likewise.
3799 2008-06-02 Paolo Carlini <paolo.carlini@oracle.com>
3801 * include/bits/vector.tcc (vector<>::_M_insert_aux): In C++0x mode,
3802 avoid a memory leak if the first __uninitialized_move_a throws.
3803 (vector<>::_M_fill_insert): Do not always copy to __x_copy, similarly
3805 * testsuite/23_containers/vector/modifiers/moveable.cc: Adjust.
3806 * testsuite/23_containers/vector/resize/moveable.cc: Likewise.
3808 2008-05-31 Paolo Carlini <paolo.carlini@oracle.com>
3809 Chris Jefferson <chris@bubblescope.net>
3812 * include/bits/stl_heap.h (sort_heap): Use __pop_heap directly.
3813 (pop_heap): Slightly tweak.
3815 2008-05-29 Paolo Carlini <paolo.carlini@oracle.com>
3817 * include/debug/bitset (bitset(const char*)): Implement DR 778
3820 * include/bits/cpp_type_traits.h (__is_integer): In C++0x mode
3821 deal with char16_t and char32_t.
3823 2008-05-26 Paolo Carlini <paolo.carlini@oracle.com>
3825 * include/c_global/cmath (pow(float, int), pow(double, int),
3826 pow(long double, int)): Do not define in C++0x mode, per DR 550.
3827 * include/tr1_impl/cmath (pow): Do not bring in unconditionally
3829 * include/tr1/cmath (pow(double, double), pow(float, float),
3830 pow(long double, long double), pow(_Tp, _Up)): Define.
3831 * include/tr1/complex (pow): Do not bring in from namespace std.
3832 (pow(const std::complex<_Tp>&, int), pow(const std::complex<_Tp>&,
3833 const _Tp&), pow(const _Tp&, const std::complex<_Tp>&),
3834 pow(const std::complex<_Tp>&, const std::complex<_Tp>&)): Define.
3835 * include/tr1_impl/complex (pow(const std::complex<_Tp>&,
3836 const _Up&), pow(const _Tp&, const std::complex<_Up>&),
3837 pow(const std::complex<_Tp>&, const std::complex<_Up>&)): Always
3839 * doc/xml/manual/intro.xml: Add an entry for DR 550.
3840 * testsuite/26_numerics/headers/cmath/dr550.cc: New.
3841 * testsuite/tr1/8_c_compatibility/cmath/overloads.cc: Adjust.
3843 2008-05-25 Paolo Carlini <paolo.carlini@oracle.com>
3845 * include/std/tuple: Ifndef __GXX_EXPERIMENTAL_CXX0X__ just error out.
3846 * include/std/date_time: Likewise.
3847 * include/std/system_error: Likewise.
3848 * include/std/type_traits: Likewise; fix typo in macro name.
3849 * include/std/regex: Likewise.
3850 * include/std/random: Likewise.
3851 * include/std/unordered_map: Likewise.
3852 * include/std/condition_variable: Likewise.
3853 * include/std/unordered_set: Likewise.
3854 * include/std/mutex: Likewise.
3855 * include/std/array: Likewise.
3857 * include/c_std/cmath: Fix obsolete comment.
3858 * include/c_global/cmath: Likewise.
3860 2008-05-25 Paolo Carlini <paolo.carlini@oracle.com>
3862 * include/std/complex (complex<>::real(_Tp), complex<>::imag(_Tp),
3863 complex<float>::real(float), complex<float>::imag(float),
3864 complex<double>::real(double), complex<double>::imag(double),
3865 complex<long double>::real(long double),
3866 complex<long double>::imag(long double)): Add per DR 387.
3867 (complex<>::real(), complex<>::imag(), complex<float>::real(),
3868 complex<float>::imag(), complex<double>::real(),
3869 complex<double>::imag(), complex<long double>::real(),
3870 complex<long double>::imag(long double)): Adjust in C++0x mode.
3871 (real(complex<>&), imag(complex<>&), real(const complex<>&),
3872 imag(const complex<>&)): Likewise.
3873 * testsuite/26_numerics/complex/dr387.cc: New.
3874 * doc/xml/manual/intro.xml: Add an entry for DR 387.
3876 2008-05-25 Paolo Carlini <paolo.carlini@oracle.com>
3878 * include/std/complex: Trivial stylistic changes, define inline
3879 members inline, consistently with the rest of the library.
3880 (pow(const _Tp&, const complex<>&)): Minor tweak.
3882 2008-05-24 Paolo Carlini <paolo.carlini@oracle.com>
3884 * src/atomic.cc (atomic_flag_test_and_set_explicit,
3885 atomic_flag_clear_explicit): Suppress unused parameter warnings.
3887 2008-05-23 Paolo Carlini <paolo.carlini@oracle.com>
3889 * include/std/tuple: Replace int -> size_t throughout per DR 775.
3890 * include/tr1_impl/array: Likewise.
3891 * include/tr1_impl/utility: Likewise.
3892 * doc/xml/manual/intro.xml: Add an entry for DR 775.
3894 2008-05-23 Paolo Carlini <paolo.carlini@oracle.com>
3896 * doc/xml/manual/intro.xml: Adjust links to ISO documents.
3898 2008-05-23 Paolo Carlini <paolo.carlini@oracle.com>
3900 * include/c_std/cmath (fpclassify): Use __builtin_fpclassify.
3901 * include/c_global/cmath (fpclassify): Likewise.
3903 2008-05-22 Paolo Carlini <paolo.carlini@oracle.com>
3905 * include/tr1_impl/hashtable_policy.h (_Map_base<,,
3906 std::_Select1st<_Pair>, true,>::at): Add per DR 761.
3907 * testsuite/23_containers/unordered_map/dr761.cc: New.
3908 * doc/xml/manual/intro.xml: Add an entry for DR 761.
3910 2008-05-22 Paolo Carlini <paolo.carlini@oracle.com>
3912 * testsuite/26_numerics/complex/dr781.cc: Add test variable.
3914 2008-05-22 Paolo Carlini <paolo.carlini@oracle.com>
3916 * include/std/complex (proj(const std::complex<>&), proj(_Tp)):
3918 * include/tr1_impl/complex(polar(const _Tp&, const _Up&)): Move to...
3919 * include/tr1/complex: ... here.
3920 * doc/xml/manual/intro.xml: Add an entry for DR 781.
3921 * testsuite/26_numerics/complex/dr781.cc: Add.
3922 * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Update.
3923 * configure: Regenerate.
3925 2008-05-21 Paolo Carlini <paolo.carlini@oracle.com>
3927 * include/std/bitset (bitset<>::bitset(const char*)): Add per DR 778.
3928 (bitset<>::_M_copy_from_ptr): Add.
3929 (bitset<>::_M_copy_from_string): Forward to the latter.
3930 * doc/xml/manual/intro.xml: Add an entry for DR 778.
3931 * testsuite/23_containers/bitset/cons/2.cc: Add.
3933 2008-05-21 Paolo Carlini <paolo.carlini@oracle.com>
3935 * doc/html/ext/lwg-active.html: Update to Revision R56.
3936 * doc/html/ext/lwg-closed.html: Likewise.
3937 * doc/html/ext/lwg-defects.html: Likewise.
3939 2008-05-20 Paolo Carlini <paolo.carlini@oracle.com>
3941 PR c++/33979 (partial)
3942 * include/tr1_impl/functional_hash.h (hash<char16_t>,
3943 hash<char32_t>): Add specializations.
3944 * include/tr1_impl/type_traits (is_integral<char16_t>,
3945 is_integral<char32_t>): Likewise.
3946 * include/std/limits (numeric_limits<char16_t>,
3947 numeric_limits<char32_t>): Likewise.
3948 * src/limits_c++0x.cc: Add.
3949 * src/Makefile.am: Update.
3950 * testsuite/20_util/hash/requirements/explicit_instantiation.cc:
3952 * testsuite/20_util/is_integral/value.cc: New.
3953 * testsuite/20_util/is_integral/requirements/typedefs.cc: Likewise.
3954 * testsuite/20_util/is_integral/requirements/
3955 explicit_instantiation.cc: Likewise.
3956 * testsuite/18_support/numeric_limits/char16_32_t.cc: Likewise.
3957 * config/abi/pre/gnu.ver: Export new numeric_limits symbols at
3959 * configure: Regenerate.
3960 * src/Makefile.in: Likewise.
3961 * config.h.in: Likewise.
3963 2008-05-16 Benjamin Kosnik <bkoz@redhat.com>
3965 * include/std/system_error: Align to current draft specifications.
3966 * src/system_error.cc: Same.
3967 * src/functexcept.cc: Adjust for corrected system_error construction.
3968 * include/std/ostream: Adjust error_code inserter.
3969 * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Remove sys_nerr test.
3970 * config/abi/pre/gnu.ver: Add new exports.
3972 * testsuite/util/testsuite_error.h: Consolidate error testing
3974 * testsuite/19_diagnostics/error_code/cons/1.cc: Use
3975 testsuite_error, adjust line numbers and constructor calls.
3976 * testsuite/19_diagnostics/error_code/operators/equal.cc: Same.
3977 * testsuite/19_diagnostics/error_code/operators/not_equal.cc: Same.
3978 * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Same.
3979 * testsuite/19_diagnostics/error_category/cons/default.cc: Same.
3980 * testsuite/19_diagnostics/error_category/operators/equal.cc: Same.
3981 * testsuite/19_diagnostics/error_category/operators/not_equal.cc: Same.
3982 * testsuite/19_diagnostics/system_error/cons_virtual_derivation.cc:
3984 * testsuite/19_diagnostics/system_error/cons-1.cc: Same.
3985 * testsuite/19_diagnostics/system_error/what-1.cc: Same.
3986 * testsuite/19_diagnostics/system_error/what-2.cc: Same.
3987 * testsuite/19_diagnostics/system_error/what-big.cc: Same.
3988 * testsuite/19_diagnostics/system_error/what-3.cc: Same.
3989 * testsuite/19_diagnostics/system_error/what-4.cc: Same.
3991 2008-05-15 Bernd Schmidt <bernd.schmidt@analog.com>
3993 * configure.ac: Don't check AC_LIBTOOL_DLOPEN if using newlib.
3994 * configure: Regenerate.
3996 2008-05-15 Johannes Singler <singler@ira.uka.de>
3998 * xml/manual/parallel_mode.xml:
3999 General revision and documentation of new compile-time
4000 options for sorting.
4002 2008-05-14 Benjamin Kosnik <bkoz@redhat.com>
4004 * include/std/mutex (mutex::try_lock): Eat errors.
4005 (mutex::unlock): Same.
4006 (recursive_mutex::try_lock): Eat errors.
4007 (recursive_mutex::unlock): Same.
4008 * testsuite/30_threads/mutex/dest/destructor_locked.cc: Add
4009 -pthreads, adjust line numbers.
4010 * testsuite/30_threads/mutex/native_handle/1.cc: Same.
4011 * testsuite/30_threads/mutex/cons/1.cc: Same.
4012 * testsuite/30_threads/mutex/try_lock/1.cc: Same.
4013 * testsuite/30_threads/mutex/try_lock/2.cc: Same.
4014 * testsuite/30_threads/mutex/lock/1.cc: Same.
4015 * testsuite/30_threads/mutex/unlock/1.cc: Same.
4016 * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc: Same.
4017 * testsuite/30_threads/recursive_mutex/native_handle/1.cc: Same.
4018 * testsuite/30_threads/recursive_mutex/cons/1.cc: Same.
4020 2008-05-14 Benjamin Kosnik <bkoz@redhat.com>
4022 * include/std/sstream: Adjust braces.
4023 * include/bits/fstream.tcc: Same.
4024 * testsuite/29_atomics/atomic_flag/test_and_set/explicit.c: Add
4026 * testsuite/29_atomics/atomic_flag/test_and_set/implicit.c: Same.
4028 * doc/doxygen/user.cfg.in: Remove thread include.
4030 2008-05-13 David Daney <ddaney@avtrex.com>
4032 * config/cpu/mips/atomicity.h: Remove file.
4033 * config/cpu/mips: Remove directory.
4034 * configure.host: Remove host specific handling for mips*-*-*.
4036 2008-05-12 Stefano Soffia <soffia@cs.unipr.it>
4037 Paolo Carlini <paolo.carlini@oracle.com>
4039 * include/debug/vector (vector<>::_M_requires_reallocation): Just
4040 use this->capacity().
4041 (vector<>::capacity): Move non-pedantic / pedantic logic here.
4042 * testsuite/23_containers/vector/
4043 debug_mode_requires_reallocation-2.cc: New.
4045 * testsuite/23_containers/vector/debug_mode_requires_reallocation.cc:
4046 Rename to debug_mode_requires_reallocation-1.cc
4048 2008-05-10 Roberto Bagnara <bagnara@cs.unipr.it>
4049 Paolo Carlini <paolo.carlini@oracle.com>
4051 * include/debug/vector (vector<>::_M_requires_reallocation): Fix macro.
4052 * testsuite/23_containers/vector/debug_mode_requires_reallocation.cc:
4055 2008-05-07 Johannes Singler <singler@ira.uka.de>
4057 * include/parallel/quicksort.h:
4058 (parallel_sort_qs_conquer) Explicitly request number of threads
4059 in the parallel clause.
4060 (parallel_sort_qs) Remove setting the number of threads globally.
4062 2008-05-06 Benjamin Kosnik <bkoz@redhat.com>
4064 * include/std/mutex (mutex::mutex): Fix usage of initializing macro.
4065 (recursive_mutex::recursive_mutex): Same.
4066 (once_flag::once_flag): Same.
4067 * testsuite/30_threads/mutex/cons/assign_neg.cc: Fix line numbers.
4068 * testsuite/30_threads/mutex/cons/copy_neg.cc: Same.
4069 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Same.
4070 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Same.
4072 2008-05-06 Benjamin Kosnik <bkoz@redhat.com>
4074 * include/std/condition_variable: New.
4075 * include/std/mutex: New.
4076 * src/condition_variable.cc: New.
4077 * src/mutex.cc: New.
4078 * include/bits/functexcept.h: Add __throw_system_error varients.
4079 * src/functexcept.cc: Same.
4080 * config/abi/pre/gnu.ver: Add exports.
4082 * doc/xml/manual/using.xml: Add new includes.
4083 * doc/doxygen/user.cfg.in: Doxygen support.
4084 * doc/doxygen/doxygroups.cc: Same.
4086 * include/Makefile.am: Add mutex, condition_variable.
4087 * include/Makefile.in: Regenerated.
4088 * src/Makefile.am: Add mutex.cc, condition_variable.cc.
4089 * src/Makefile.in: Regenerated.
4091 * testsuite/30_threads: New.
4092 * testsuite/30_threads/lock_error: New.
4093 * testsuite/30_threads/mutex: New.
4094 * testsuite/30_threads/mutex/dest: New.
4095 * testsuite/30_threads/mutex/dest/destructor_locked.cc: New.
4096 * testsuite/30_threads/mutex/native_handle: New.
4097 * testsuite/30_threads/mutex/native_handle/1.cc: New.
4098 * testsuite/30_threads/mutex/cons: New.
4099 * testsuite/30_threads/mutex/cons/assign_neg.cc: New.
4100 * testsuite/30_threads/mutex/cons/1.cc: New.
4101 * testsuite/30_threads/mutex/cons/copy_neg.cc: New.
4102 * testsuite/30_threads/mutex/requirements: New.
4103 * testsuite/30_threads/mutex/requirements/typedefs.cc: New.
4104 * testsuite/30_threads/mutex/try_lock: New.
4105 * testsuite/30_threads/mutex/try_lock/1.cc: New.
4106 * testsuite/30_threads/mutex/try_lock/2.cc: New.
4107 * testsuite/30_threads/mutex/lock: New.
4108 * testsuite/30_threads/mutex/lock/1.cc: New.
4109 * testsuite/30_threads/mutex/unlock: New.
4110 * testsuite/30_threads/mutex/unlock/1.cc: New.
4111 * testsuite/30_threads/recursive_mutex: New.
4112 * testsuite/30_threads/recursive_mutex/dest: New.
4113 * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc: New.
4114 * testsuite/30_threads/recursive_mutex/native_handle: New.
4115 * testsuite/30_threads/recursive_mutex/native_handle/1.cc: New.
4116 * testsuite/30_threads/recursive_mutex/cons: New.
4117 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: New.
4118 * testsuite/30_threads/recursive_mutex/cons/1.cc: New.
4119 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: New.
4120 * testsuite/30_threads/recursive_mutex/requirements: New.
4121 * testsuite/30_threads/recursive_mutex/requirements/typedefs.cc: New.
4122 * testsuite/30_threads/lock_guard: New.
4123 * testsuite/30_threads/lock_guard/requirements: New.
4124 * testsuite/30_threads/lock_guard/requirements/typedefs.cc: New.
4125 * testsuite/30_threads/lock_guard/requirements/
4126 explicit_instantiation.cc: New.
4127 * testsuite/30_threads/headers: New.
4128 * testsuite/30_threads/headers/mutex: New.
4129 * testsuite/30_threads/headers/mutex/types_std_c++0x.cc: New.
4130 * testsuite/30_threads/headers/mutex/std_c++0x_neg.cc: New.
4131 * testsuite/30_threads/headers/condition_variable: New.
4132 * testsuite/30_threads/headers/condition_variable/
4133 types_std_c++0x.cc: New.
4134 * testsuite/30_threads/headers/condition_variable/std_c++0x_neg.cc: New.
4135 * testsuite/30_threads/once_flag: New.
4136 * testsuite/30_threads/unique_lock: New.
4137 * testsuite/30_threads/unique_lock/requirements: New.
4138 * testsuite/30_threads/unique_lock/requirements/typedefs.cc: New.
4139 * testsuite/30_threads/unique_lock/requirements/
4140 explicit_instantiation.cc: New.
4141 * testsuite/17_intro/headers/c++200x/all.cc: Add new includes.
4143 2008-05-06 Benjamin Kosnik <bkoz@redhat.com>
4146 * include/bits/c++config: Namespace macros and setup only in C++.
4147 * testsuite/29_atomics/headers/stdatomic.h/debug_mode.c: New.
4149 2008-05-06 Johannes Singler <singler@ira.uka.de>
4151 * include/parallel/multiway_merge.h:
4152 (multiway_merge_*_unguarded):
4153 Pass sentinel directly, to allow correct determination.
4154 (multiway_merge_loser_tree_unguarded):
4155 Remove over-cautious assertion.
4156 (calls to multiway_merge_*_splitting):
4157 Parametrize with type that is correct in all cases.
4158 * include/parallel/losertree.h:
4159 (delete_min_insert (in many classes)):
4160 Correct and standardize assertions.
4162 2008-05-05 Benjamin Kosnik <bkoz@redhat.com>
4164 * testsuite/util/testsuite_visualization.h: Move contents into...
4165 * testsuite/util/testsuite_performance.h: ...here.
4166 * testsuite/util/testsuite_common_types.h: Move
4167 performance-related test infrastructure into
4168 testsuite_performance.
4169 * testsuite/performance/25_algorithms/search_n.cc: Fix includes.
4170 * testsuite/performance/23_containers/find/map.cc: Same.
4171 * testsuite/performance/23_containers/create/map.cc: Same.
4172 * testsuite/performance/23_containers/insert_erase/associative.cc: Same.
4173 * testsuite/performance/23_containers/insert/sequence.cc: Same.
4174 * testsuite/performance/23_containers/insert/associative.cc: Same.
4175 * testsuite/performance/23_containers/create_from_sorted/set.cc: Same.
4176 * testsuite/performance/23_containers/index/map.cc: Same.
4177 * testsuite/performance/23_containers/insert_from_sorted/set.cc: Same.
4178 * testsuite/performance/23_containers/create_sort/list.cc: Same.
4179 * testsuite/performance/23_containers/sort_search/list.cc: Same.
4180 * testsuite/performance/23_containers/producer_consumer/sequence.cc:
4182 * testsuite/performance/23_containers/producer_consumer/associative.cc:
4185 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers.
4186 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
4188 2008-05-05 Benjamin Kosnik <bkoz@redhat.com>
4190 * 20_util/make_signed/requirements/typedefs-1.cc: Correct requirements.
4191 * 20_util/make_unsigned/requirements/typedefs-1.cc: Same.
4193 2008-05-01 Benjamin Kosnik <bkoz@redhat.com>
4195 * include/bits/c++config: Revert _GLIBCXX_LONG_DOUBLE_COMPAT change.
4197 2008-04-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4199 * include/Makefile.am (install-headers): Cope with empty
4201 * include/Makefile.in: Regenerate.
4203 2008-04-29 Benjamin Kosnik <bkoz@redhat.com>
4205 * include/bits/c++config: Remove space between '#' and 'undef' for
4206 _GLIBCXX_LONG_DOUBLE_COMPAT.
4208 2008-04-29 Joseph Myers <joseph@codesourcery.com>
4210 * Makefile.am (install-html, install-pdf): Add dummy targets.
4211 * Makefile.in: Regenerate.
4212 * doc/Makefile.am (install-html, install-pdf): Remove.
4213 * doc/Makefile.in: Regenerate.
4215 2008-04-28 Benjamin Kosnik <bkoz@redhat.com>
4217 * include/bits/c++config: Move os_defines and cpu_defines after
4218 namespace definitions and base macros.
4220 2008-04-28 Benjamin Kosnik <bkoz@redhat.com>
4223 * acinclude.m4 (GLIBCXX_ENABLE_PARALLEL): Revert back to just
4225 * configure: Regenerate.
4227 2008-04-25 Benjamin Kosnik <bkoz@redhat.com>
4230 * include/std/unordered_map: Include debug/unordered_map if
4232 * testsuite/23_containers/unordered_map/requirements/debug.cc: Move...
4233 * testsuite/23_containers/unordered_map/requirements/
4234 debug_container.cc: ...here.
4235 * testsuite/23_containers/unordered_map/requirements/debug_mode.cc: New.
4236 * testsuite/23_containers/unordered_set/requirements/debug.cc: Move...
4237 * testsuite/23_containers/unordered_set/requirements/
4238 debug_container.cc: ...here.
4239 * testsuite/23_containers/unordered_set/requirements/debug_mode.cc: New.
4241 2008-04-25 Benjamin Kosnik <bkoz@redhat.com>
4244 * acinclude.m4: (GLIBCXX_ENABLE_PARALLEL): Check for thread support.
4245 * configure.ac: Re-order compiler macros.
4246 * configure: Regenerated.
4248 2008-04-24 Benjamin Kosnik <bkoz@redhat.com>
4251 * configure.ac: Add default argument to GLIBCXX_ENABLE_PARALLEL.
4252 Move atomic warnings to GLIBCXX_ENABLE_ATOMIC_BUILTINS.
4253 * acinclude.m4 (GLIBCXX_ENABLE_PARALLEL): Check for --disable-libgomp.
4254 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Add warning information.
4255 * configure: Regenerate.
4256 * include/Makefile.am (parallel_headers): Make conditional on
4258 * include/Makefile.in: Regenerate.
4260 2008-04-24 Paolo Carlini <pcarlini@suse.de>
4263 * include/debug/list (merge): Use _M_transfer_iter, consistently
4264 with the splice members.
4265 * testsuite/23_containers/list/operations/35969.cc: New.
4267 * testsuite/23_containers/list/operators: Rename to
4268 testsuite/23_containers/list/operations.
4270 2008-04-24 Benjamin Kosnik <bkoz@redhat.com>
4272 * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Check for set of
4273 all used __sync builtins, in two sizes.
4274 * config.h.in: Regenerate.
4275 * configure: Regenerate.
4276 * src/atomic.cc: Use _GLIBCXX_ATOMIC_BUILTINS_1.
4277 * include/ext/atomicity.h: Use _GLIBCXX_ATOMIC_BUILTINS_4.
4278 * libsupc++/guard.cc: Use _GLIBCXX_ATOMIC_BUILTINS_4.
4279 * doc/xml/manual/concurrency.xm: Update docs.
4281 2008-04-23 Benjamin Kosnik <bkoz@redhat.com>
4283 * config/os/hpux/os_defines.h: Use _GLIBCXX_BEGIN_NAMESPACE,
4284 _GLIBCXX_BEGIN_EXTERN_C, etc.
4286 2008-04-23 Johannes Singler <singler@ira.uka.de>
4288 * include/parallel/quicksort.h: Reformat,
4289 (parallel_sort_qs): Do not pass number of elements.
4290 * include/parallel/balanced_quicksort.h: Reformat,
4291 (parallel_sort_qsb): Do not pass number of elements.
4292 * include/parallel/tags.h:
4293 Introduce new tags for compile-time choice.
4294 * include/parallel/merge.h:
4295 (parallel_merge_advance):Beautified.
4296 * include/parallel/algo.h: Reformatting (spaces for tabs)
4297 New sort and stable_sort variants, corresponding to the tags.
4298 * include/parallel/sort.h:
4299 New sort and stable_sort variants, corresponding to the tags.
4300 Changed determining the desired number of threads.
4302 2008-04-23 Johannes Singler <singler@ira.uka.de>
4304 * include/parallel/multiway_merge.h
4305 (multiway_merge_loser_tree):
4306 Leave checks to callers, add precondition instead.
4307 (multiway_merge_loser_tree_unguarded): Likewise.
4308 (multiway_merge_loser_tree_sentinel): Likewise.
4309 (sequential_multiway_merge): Added checks for total length 0.
4310 (parallel_multiway_merge): Skip empty sequences.
4311 (multiway_merge, all variants):
4312 Remove temporary variable, return directly.
4313 (stable_multiway_merge, all variants): Likewise.
4314 (multiway_merge_sentinels, all variants): Likewise.
4315 (stable_multiway_merge_sentinels, all variants): Likewise.
4316 * include/parallel/multiseq_selection.h
4317 (multiseq_partition): More detailed assertions.
4319 2008-04-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4321 * acinclude.m4 (GLIBCXX_CHECK_SETRLIMIT, GLIBCXX_ENABLE_C99)
4322 (GLIBCXX_CHECK_C99_TR1, GLIBCXX_CHECK_RANDOM_TR1)
4323 (GLIBCXX_ENABLE_VISIBILITY): Fix cache variable names.
4324 (GLIBCXX_CHECK_SYSTEM_ERROR): Likewise. Factorize.
4325 * configure: Regenerate.
4327 2008-04-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4330 * include/Makefile.am (pch*_output): Do not touch pch*_output_anchor.
4331 Call 'mkdir -p' unconditionally, but ignore its return value.
4332 * include/Makefile.in: Regenerate.
4334 * include/Makefile.am: Fix most stamp rules to regenerate
4335 the links for all sources newer than the stamp file.
4336 * include/Makefile.in: Regenerate.
4337 * Makefile.in: Likewise.
4338 * src/Makefile.in: Likewise.
4339 * doc/Makefile.in: Likewise.
4340 * po/Makefile.in: Likewise.
4341 * libmath/Makefile.in: Likewise.
4342 * libsupc++/Makefile.in: Likewise.
4343 * testsuite/Makefile.in: Likewise.
4345 2008-04-18 Paolo Bonzini <bonzini@gnu.org>
4348 * aclocal.m4: Regenerate.
4349 * configure: Regenerate.
4351 2008-04-16 Andreas Tobler <a.tobler@schweiz.org>
4354 * configure.ac: Use GCC_HEADER_STDINT.
4355 * src/atomic.cc: Include gstdint.h
4356 * configure: Regenerate.
4357 * Makefile.in: Likewise.
4358 * doc/Makefile.in: Likewise.
4359 * include/Makefile.in: Likewise.
4360 * libmath/Makefile.in: Likewise.
4361 * libsupc++/Makefile.in: Likewise.
4362 * po/Makefile.in: Likewise.
4363 * src/Makefile.in: Likewise.
4364 * testsuite/Makefile.in: Likewise.
4365 * aclocal.m4: Likewise.
4367 2008-04-14 Benjamin Kosnik <bkoz@redhat.com>
4370 * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Set CXXFLAGS to
4371 -O0 when checking for atomic builtins.
4372 * configure: Regenerate.
4374 2008-04-14 Benjamin Kosnik <bkoz@redhat.com>
4376 * include/bits/c++config: Guard _LDBL_ macros with __cplusplus.
4378 2008-04-10 Benjamin Kosnik <bkoz@redhat.com>
4380 * doc/html/*: Regenerate.
4382 2008-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4384 * doc/xml/manual/bitmap_allocator.xml: Improve wording a bit.
4385 * doc/xml/authors.xml: Fix typos.
4386 * doc/xml/faq.xml: Likewise.
4387 * doc/xml/manual/abi.xml: Likewise.
4388 * doc/xml/manual/allocator.xml: Likewise.
4389 * doc/xml/manual/appendix_contributing.xml: Likewise.
4390 * doc/xml/manual/backwards_compatibility.xml: Likewise.
4391 * doc/xml/manual/build_hacking.xml: Likewise.
4392 * doc/xml/manual/codecvt.xml: Likewise.
4393 * doc/xml/manual/concurrency.xml: Likewise.
4394 * doc/xml/manual/ctype.xml: Likewise.
4395 * doc/xml/manual/debug_mode.xml: Likewise.
4396 * doc/xml/manual/diagnostics.xml: Likewise.
4397 * doc/xml/manual/evolution.xml: Likewise.
4398 * doc/xml/manual/extensions.xml: Likewise.
4399 * doc/xml/manual/locale.xml: Likewise.
4400 * doc/xml/manual/messages.xml: Likewise.
4401 * doc/xml/manual/parallel_mode.xml: Likewise.
4402 * doc/xml/manual/status_cxx200x.xml: Likewise.
4403 * doc/xml/manual/strings.xml: Likewise.
4404 * doc/xml/manual/support.xml: Likewise.
4405 * doc/xml/manual/test.xml: Likewise.
4406 * doc/xml/manual/using.xml: Likewise.
4408 2008-04-10 Benjamin Kosnik <bkoz@redhat.com>
4409 Johannes Singler <singler@ira.uka.de>
4411 * doc/xml/manual/parallel_mode.xml: Remove map/set bulk
4412 insertors. Correct omp_set_num_threads example.
4414 2008-04-10 Benjamin Kosnik <bkoz@redhat.com>
4416 * include/c_global/cstdatomic: C++ types only, format, doxygen markup.
4417 * include/c_compatibility/stdatomic.h: "C" only, format, doxygen markup.
4418 * src/atomic.c: Format, doxygen markup, edits.
4420 * include/Makefile.am (cstdatomic, stdatomic.h): Add.
4421 * src/Makefile.am (atomic.c): Add.
4422 * acinclude.m4 (GLIBCXX_CHECK_STANDARD_LAYOUT): New.
4423 * configure.ac: Call it.
4424 * include/Makefile.in: Regenerate.
4425 * src/Makefile.in: Same.
4426 * Makefile.in: Same.
4427 * doc/Makefile.in: Same.
4428 * po/Makefile.in: Same.
4429 * libmath/Makefile.in: Same.
4430 * include/Makefile.in: Same.
4431 * testsuite/Makefile.in: Same.
4432 * libsupc++/Makefile.in: Same.
4433 * config.h.in: Same.
4436 * config/abi/pre/gnu.ver: Add atomics exports.
4438 * include/ext/typelist.h (apply_generator): New.
4439 * include/bits/c++config (_GLIBCXX_BEGIN_EXTERN_C): New.
4440 (_GLIBCXX_END_EXTERN_C): New.
4441 Deal with _GLIBCXX_BEGIN_NAMESPACE, _GLIBCXX_END_NAMESPACE when
4443 * testsuite/lib/libstdc++.exp (v3_target_compile_as_c): Add -L
4445 * testsuite/util/testsuite_common_types.h (integral_types): New
4447 (atomics, atomics_tl): Same.
4448 (assignable, default_constructible, copy_constructible,
4449 explicit_value_constructible): New.
4450 * testsuite/17_intro/headers/c++200x/all.cc: Test new headers.
4451 * testsuite/29_atomics: New.
4452 * testsuite/29_atomics/atomic_address: Same.
4453 * testsuite/29_atomics/atomic_address/cons: Same.
4454 * testsuite/29_atomics/atomic_address/cons/explicit_value.cc: Same.
4455 * testsuite/29_atomics/atomic_address/cons/assign_neg.cc: Same.
4456 * testsuite/29_atomics/atomic_address/cons/copy_neg.cc: Same.
4457 * testsuite/29_atomics/atomic_address/cons/default.cc: Same.
4458 * testsuite/29_atomics/atomic_address/cons/aggregate.cc: Same.
4459 * testsuite/29_atomics/atomic_flag: Same.
4460 * testsuite/29_atomics/atomic_flag/cons: Same.
4461 * testsuite/29_atomics/atomic_flag/cons/assign_neg.cc: Same.
4462 * testsuite/29_atomics/atomic_flag/cons/copy_neg.cc: Same.
4463 * testsuite/29_atomics/atomic_flag/cons/default.cc: Same.
4464 * testsuite/29_atomics/atomic_flag/cons/aggregate.cc: Same.
4465 * testsuite/29_atomics/atomic_flag/requirements: Same.
4466 * testsuite/29_atomics/atomic_flag/requirements/standard_layout.cc:
4468 * testsuite/29_atomics/atomic_flag/
4469 atomic_global_fence_compatibility.cc: Same.
4470 * testsuite/29_atomics/atomic_flag/test_and_set: Same.
4471 * testsuite/29_atomics/atomic_flag/test_and_set/explicit.c: Same.
4472 * testsuite/29_atomics/atomic_flag/test_and_set/explicit.cc: Same.
4473 * testsuite/29_atomics/atomic_flag/test_and_set/implicit.c: Same.
4474 * testsuite/29_atomics/atomic_flag/test_and_set/implicit.cc: Same.
4475 * testsuite/29_atomics/headers: Same.
4476 * testsuite/29_atomics/headers/cstdatomic: Same.
4477 * testsuite/29_atomics/headers/cstdatomic/types_std_c++0x.cc: Same.
4478 * testsuite/29_atomics/headers/cstdatomic/functions_std_c++0x.cc: Same.
4479 * testsuite/29_atomics/headers/cstdatomic/std_c++0x_neg.cc: Same.
4480 * testsuite/29_atomics/headers/cstdatomic/macros.cc: Same.
4481 * testsuite/29_atomics/headers/stdatomic.h: Same.
4482 * testsuite/29_atomics/headers/stdatomic.h/macros.c: Same.
4483 * testsuite/29_atomics/headers/stdatomic.h/types.c: Same.
4484 * testsuite/29_atomics/headers/stdatomic.h/functions.c: Same.
4485 * testsuite/29_atomics/atomic: Same.
4486 * testsuite/29_atomics/atomic/cons: Same.
4487 * testsuite/29_atomics/atomic/cons/explicit_value.cc: Same.
4488 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
4489 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
4490 * testsuite/29_atomics/atomic/cons/default.cc: Same.
4491 * testsuite/29_atomics/atomic/requirements: Same.
4492 * testsuite/29_atomics/atomic/requirements/explicit_instantiation: Same.
4493 * testsuite/29_atomics/atomic/requirements/explicit_instantiation/
4496 2008-04-10 Lawrence Crowl <crowl@google.com>
4498 * include/c_global/cstdatomic: New.
4499 * include/c_compatibility/stdatomic.h: New.
4500 * src/atomic.c: New.
4502 2008-04-10 Benjamin Kosnik <bkoz@redhat.com>
4504 * include/std/tuple: Consistency check for include guard, doxygen
4506 * include/std/date_time: Same.
4507 * include/std/type_traits: Same.
4508 * include/std/regex: Same.
4509 * include/std/array: Same.
4510 * include/std/system_error: Same, add error_code ctor.
4512 2008-04-07 Johannes Singler <singler@ira.uka.de>
4514 * include/parallel/multiway_merge.h: Moved decisions to
4515 compile-time instead of run-time.
4516 * include/parallel/losertree.h: Removed obsolete variants, added
4517 variant that uses pointers in the loser tree.
4518 * include/parallel/types.h: Remove obsolete settings options from enum.
4519 * include/parallel/features.h: Remove obsolete compile-time switches.
4520 * include/parallel/compiletime_settings.h: Remove obsolete variant
4521 that copies back *after* sorting.
4522 * include/parallel/tags.h: Add one new tag for compile-time switch.
4523 * include/parallel/merge.h: Adapt to changes in multiway_merge.h.
4524 * include/parallel/multiway_mergesort.h: Adapt to changes in
4525 multiway_merge.h. Factor out splitting variants. Remove obsolete
4526 variant that copies back *after* sorting.
4527 * include/parallel/sort.h: Adapt to changes in multiway_mergesort.h.
4528 * testsuite/25_algorithms/sort/35588.cc: Added test case from /
4531 2008-03-29 Paolo Carlini <pcarlini@suse.de>
4534 * include/bits/stl_algobase.h (__fill_a(_ForwardIterator,
4535 _ForwardIterator, _Tp), __fill_a(_Tp*, _Tp*, _Tp),
4536 __fill_n_a(_OutputIterator, _Size, _Tp), __fill_n_a(_Tp*, _Size,
4537 _Tp)): Fix signatures.
4538 * testsuite/25_algorithms/fill/35725.cc: New.
4539 * testsuite/25_algorithms/fill_n/35725.cc: Likewise.
4541 2008-03-29 Matthias Klose <doko@ubuntu.com>
4543 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Update.
4544 * config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Likewise.
4545 * config/abi/post/mips-linux-gnu/baseline_symbols.txt: Likewise.
4546 * config/abi/post/sparc-linux-gnu/baseline_symbols.txt: Likewise.
4548 2008-03-27 Ian Lance Taylor <iant@google.com>
4550 * acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Set
4551 glibcxx_ld_is_gold. Check for gold in --gc-sections test.
4552 (GLIBCXX_ENABLE_SYMVERS): Check for gold.
4553 * aclocal.m4, configure: Rebuild.
4555 2008-03-26 Benjamin Kosnik <bkoz@redhat.com>
4557 * testsuite/util/testsuite_abi.h: Remove symbol_objects,
4558 symbol_names typedefs.
4559 * testsuite/util/testsuite_abi.cc (compare_symbols): Correct check
4560 for long double compatiblity symbols, simplify data structures used.
4562 2008-03-25 Benjamin Kosnik <bkoz@redhat.com>
4564 * scripts/run_doxygen: Remove html_output_dir. Downgrade to
4566 * doc/doxygen/style.css: Delete.
4567 * doc/doxygen/user.cfg.in: Regenerate with Doxygen 1.5.1.
4569 (PREDEFINED): Update.
4570 (HTML_OUTPUT): Remove html_output_dir, use html.
4571 (HTML_STYLESHEET): Remove style.css.
4572 * doc/doxygen/tables.html: Remove style.css use.
4573 * doc/doxygen/mainpage.html: Nested lists for Namespaces and Classes.
4574 * doc/doxygen/doxygroups.cc: Namespace edits.
4575 * doc/doxygen/Intro.3: Correct typo.
4577 * doc/xml/api.xml: Add gcc-4.3 links.
4578 * doc/html/api.html: Regenerate.
4580 * include/debug/debug.h: Document namepaces here.
4581 * include/parallel/base.h: Same.
4582 * include/ext/typelist.h: Same.
4583 * include/ext/pb_ds/tag_and_trait.hpp: Same.
4585 * include/tr1_impl/random: Adjust line break.
4586 * include/tr1_impl/unordered_map: Correct and or add markup.
4587 * include/tr1_impl/boost_shared_ptr.h: Correct and or add markup.
4588 * include/tr1_impl/functional_hash.h: Same.
4589 * include/tr1_impl/cmath: Same.
4590 * include/tr1_impl/functional: Same.
4591 * include/tr1_impl/unordered_set: Same.
4592 * include/tr1_impl/complex: Same.
4593 * include/tr1_impl/type_traits: Same.
4594 * include/tr1_impl/regex: Same.
4595 * include/tr1_impl/array: Same.
4596 * include/std/tuple: Same.
4597 * include/std/date_time: Same.
4598 * include/std/system_error: Same.
4599 * include/std/type_traits: Same.
4600 * include/ext/enc_filebuf.h: Same.
4601 * include/ext/throw_allocator.h: Same.
4602 * include/ext/pool_allocator.h: Same.
4603 * include/ext/bitmap_allocator.h: Same.
4604 * include/ext/concurrence.h: Same.
4605 * include/ext/codecvt_specializations.h: Same.
4606 * include/ext/stdio_sync_filebuf.h: Same.
4607 * include/ext/array_allocator.h: Same.
4608 * include/ext/mt_allocator.h: Same.
4609 * include/bits/locale_classes.h: Same.
4610 * include/bits/locale_facets.h: Same.
4611 * include/bits/codecvt.h: Same.
4612 * include/bits/char_traits.h: Same.
4613 * include/bits/allocator.h: Same.
4614 * include/bits/locale_facets_nonio.h: Same.
4615 * include/tr1/poly_laguerre.tcc: Same.
4616 * include/tr1/riemann_zeta.tcc: Same.
4617 * include/tr1/beta_function.tcc: Same.
4618 * include/tr1/tuple: Same.
4619 * include/tr1/exp_integral.tcc: Same.
4620 * include/tr1/gamma.tcc: Same.
4621 * include/tr1/hypergeometric.tcc: Same.
4622 * include/tr1/modified_bessel_func.tcc: Same.
4623 * include/tr1/legendre_function.tcc: Same.
4624 * include/tr1/type_traits: Same.
4625 * include/tr1/special_function_util.h: Same.
4626 * include/tr1/bessel_function.tcc: Same.
4627 * include/tr1/cmath: Same.
4628 * include/tr1/poly_hermite.tcc: Same.
4629 * include/tr1/ell_integral.tcc: Same.
4630 * config/abi/compatibility.h: Adjust file name.
4632 * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Adjust
4634 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
4635 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
4637 2008-03-23 Paolo Carlini <pcarlini@suse.de>
4639 * doc/xml/faq.xml: Fix various links.
4640 * doc/xml/api.xml: Likewise.
4641 * doc/xml/manual/parallel_mode.xml: Likewise.
4642 * doc/html/faq.html: Regenerate.
4643 * doc/html/api.html: Likewise.
4644 * doc/html/manual/bk01pt12ch31s03.html: Likewise.
4646 2008-03-20 Benjamin Kosnik <bkoz@redhat.com>
4648 * testsuite/util/testsuite_abi.cc: Add support for not counting
4649 GLIBCXX_LDBL_* compat symbols missing if no long double compat
4652 2008-03-20 Paolo Carlini <pcarlini@suse.de>
4655 * include/tr1_impl/type_traits (struct __in_array): Add back.
4656 (is_function): Use it.
4657 * testsuite/tr1/4_metaprogramming/is_function/35637.cc: New.
4659 2008-03-20 Johannes Singler <singler@ira.uka.de>
4661 * include/parallel/set_operations.h (set_intersection): Remove.
4663 2008-03-19 Benjamin Kosnik <bkoz@redhat.com>
4666 * doc/xml/manual/parallel_mode.xml: Correct configuration documentation.
4667 * doc/html/manual/bk01pt12ch31s04.html: Regenerate.
4669 2008-03-18 Benjamin Kosnik <bkoz@redhat.com>
4671 * configure.ac (libtool_VERSION): To 6:11:0.
4672 * configure: Regenerate.
4673 * aclocal.m4: Regenerate.
4675 2008-03-16 Paolo Carlini <pcarlini@suse.de>
4677 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc:
4679 * testsuite/17_intro/headers/c++200x/all.cc: Likewise.
4680 * include/precompiled/stdc++.h: Likewise.
4682 2008-03-16 Pedro Lamarão <pedro.lamarao@gmail.com>
4684 * include/std/date_time: New file.
4685 * src/date_time.cc: New file.
4686 * config/abi/pre/gnu.ver: Added <date_time> symbols in version
4687 GLIBCXX_3.4.11 and changed two patterns in version GLIBCXX_3.4
4688 that matched new symbols.
4689 * include/Makefile.am: Add date_time in std headers.
4690 * src/Makefile.am: Add date_time.cc to source files.
4691 * include/Makefile.in: Regenerate.
4692 * src/Makefile.in: Likewise.
4694 2008-03-16 Pedro Lamarão <pedro.lamarao@gmail.com>
4696 * testsuite/31_date_time/headers/date_time/types_std.cc: New.
4697 * testsuite/31_date_time/headers/date_time/std_c++0x_neg.cc: Likewise.
4698 * testsuite/31_date_time/headers/date_time/functions_std.cc: Likewise.
4699 * testsuite/31_date_time/headers/date_time/synopsis.cc: Likewise.
4700 * testsuite/31_date_time/nanoseconds/requirements/traits.cc: Likewise.
4701 * testsuite/31_date_time/nanoseconds/requirements/duration.cc: Likewise.
4702 * testsuite/31_date_time/system_time/requirements: Likewise.
4703 * testsuite/31_date_time/system_time/requirements/traits.cc: Likewise.
4705 2008-03-16 Paolo Carlini <pcarlini@suse.de>
4707 * config.h.in: Regenerate.
4709 2008-03-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4711 * aclocal.m4: Regenerate.
4712 * configure: Likewise.
4713 * Makefile.in: Likewise.
4714 * doc/Makefile.in: Likewise.
4715 * include/Makefile.in: Likewise.
4716 * libmath/Makefile.in: Likewise.
4717 * libsupc++/Makefile.in: Likewise.
4718 * po/Makefile.in: Likewise.
4719 * src/Makefile.in: Likewise.
4720 * testsuite/Makefile.in: Likewise.
4722 2008-03-13 Dennis Czeremin <dennis.czeremin@smiths-heimann.com>
4725 * include/bits/stl_multimap.h (multimap<>::multimap(_InputIterator,
4726 _InputIterator)): Forward to _M_insert_equal, not _M_insert_unique.
4728 2008-03-13 Paolo Carlini <pcarlini@suse.de>
4731 * include/debug/functions.h (__check_sorted_set_aux): Fix signature.
4732 * testsuite/25_algorithms/set_difference/35541.cc: New.
4734 2008-03-07 Jakub Jelinek <jakub@redhat.com>
4736 * config/abi/pre/gnu.ver: Move <system_error> related
4737 symbols to GLIBCXX_3.4.11 symbol version.
4738 * testsuite/util/testsuite_abi.cc (check_version): Allow
4741 2008-03-06 Chris Jefferson <chris@bubblescope.net>
4742 Paolo Carlini <pcarlini@suse.de>
4745 * include/tr1/tuple (operator==, operator<): Fix.
4746 * include/std/tuple (operator==, operator<): Likewise.
4747 * testsuite/tr1/6_containers/tuple/comparison_operators/35480.cc: New.
4748 * testsuite/20_util/tuple/comparison_operators/35480.cc: Likewise.
4750 2008-03-04 Joseph Myers <joseph@codesourcery.com>
4752 * crossconfig.m4 (*-mingw32*): Define HAVE_STRTOF and
4754 * configure: Regenerate.
4756 2008-03-02 Hans-Peter Nilsson <hp@axis.com>
4758 * testsuite/20_util/shared_ptr/assign/shared_ptr_neg.cc,
4759 testsuite/tr1/2_general_utilities/shared_ptr/assign/shared_ptr_neg.cc:
4760 Mark changed error message prelude, adding "in file included from",
4761 using dg-excess-errors.
4763 2008-03-01 Jakub Jelinek <jakub@redhat.com>
4765 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
4766 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
4767 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
4768 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise.
4769 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
4771 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
4772 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
4774 2008-02-29 Jakub Jelinek <jakub@redhat.com>
4776 * config/abi/pre/gnu.ver: Remove
4777 _ZNKSt3tr14hashIgEclEg@@GLIBCXX_3.4.10 and
4778 _ZNKSt4hashIgEclEg@@GLIBCXX_3.4.10 export.
4779 * config/os/gnu-linux/ldbl-extra.ver: Export
4780 _ZNKSt3tr14hashIgEclEg@@GLIBCXX_LDBL_3.4.10
4781 and _ZNKSt4hashIgEclEg@@GLIBCXX_LDBL_3.4.10.
4782 * src/hash.cc: Only define long double hash specialization if
4783 _GLIBCXX_LONG_DOUBLE_COMPAT_IMPL is defined.
4784 * src/compatibility-ldbl.cc: Include "hash.cc".
4785 (_GLIBCXX_LONG_DOUBLE_COMPAT_IMPL): Define.
4786 (_ZNKSt4hashIeEclEe): New alias.
4787 * testsuite/util/testsuite_abi.cc (check_version): Support
4788 GLIBCXX_LDBL_3.4.10.
4790 2008-02-25 Jan Beulich <jbeulich@novell.com>
4792 * acinclude.m4: Also check for EIDRM and ETXTBSY.
4793 * configure: Re-generate.
4794 * config/os/generic/error_constants.h (namespace posix_error):
4795 Also wrap uses of EIDRM and ETXTBSY in conditionals.
4796 * testsuite/19_diagnostics/headers/system_error/types_std_c++0x.cc:
4799 2008-02-20 Jason Merrill <jason@redhat.com>
4801 * include/bits/c++config: Use 'inline namespace' instead of
4804 2008-02-18 Pedro Lamarao <pedro.lamarao@mndfck.org>
4806 * include/std/tuple: Fixes for moveable, non-copyable types.
4807 * testsuite/20_util/tuple/moveable2.cc: New.
4809 2008-02-18 Paolo Carlini <pcarlini@suse.de>
4811 * include/std/tuple (operator+(tuple<>&&, tuple<>&&): Remove.
4813 2008-02-17 Ed Smith-Rowland <3dw4rd@verizon.net>
4815 * include/tr1/poly_laguerre.tcc: Doxygen fixes.
4816 * include/tr1/exp_integral.tcc: Same.
4817 * include/tr1/gamma.tcc: Same.
4818 * include/tr1/hypergeometric.tcc: Same.
4820 2008-02-17 Benjamin Kosnik <bkoz@redhat.com>
4823 * include/parallel/settings.h (_Settings): Reconstruct Settings class
4824 here, uglify, remove anonymous namespace and static
4825 members. Convert to datum.
4826 * include/parallel/types.h: Move Settings:: enumerations here, uglify.
4827 * src/parallel_settings.cc: New, definition for _Settings member
4829 * include/parallel/multiway_merge.h: Same.
4830 * include/parallel/for_each.h: Same.
4831 * include/parallel/workstealing.h: Same.
4832 * include/parallel/base.h: Same.
4833 * include/parallel/numeric
4834 * include/parallel/features.h: Same.
4835 * include/parallel/quicksort.h: Same.
4836 * include/parallel/equally_split.h: Same.
4837 * include/parallel/algorithmfwd.h: Same.
4838 * include/parallel/omp_loop_static.h: Same.
4839 * include/parallel/random_shuffle.h: Same.
4840 * include/parallel/balanced_quicksort.h: Same.
4841 * include/parallel/tags.h: Same.
4842 * include/parallel/multiway_mergesort.h: Same.
4843 * include/parallel/numericfwd.h: Same.
4844 * include/parallel/partition.h: Same.
4845 * include/parallel/partial_sum.h: Same.
4846 * include/parallel/find.h: Same.
4847 * include/parallel/algo.h: Same.
4848 * include/parallel/omp_loop.h: Same.
4849 * include/parallel/sort.h: Same.
4851 * src/Makefile.am (parallel_sources): Add parallel_settings.cc.
4852 * src/Makefile.in: Regenerate.
4854 * config/abi/pre/gnu.ver: Export _Settings::get and _Settings::set.
4856 2008-02-17 Paolo Carlini <pcarlini@suse.de>
4859 * include/parallel/types.h: Reinstate integer types typedefs.
4860 * include/parallel/multiseq_selection.h: Adjust.
4861 * include/parallel/compatibility.h: Likewise.
4862 * include/parallel/random_shuffle.h: Likewise.
4863 * include/parallel/random_number.h: Likewise.
4864 * include/parallel/base.h: Likewise.
4866 2008-02-17 Paolo Carlini <pcarlini@suse.de>
4869 * config/abi/pre/gnu.ver: Export stdio_sync_filebuf symbols.
4870 * testsuite/ext/stdio_sync_filebuf/char/35209.cc: New.
4871 * testsuite/ext/stdio_sync_filebuf/wchar_t/35209.cc: Likewise.
4873 2008-02-16 Benjamin Kosnik <bkoz@redhat.com>
4875 * include/parallel/random_number.h: Use TR1's mersenne_twister.
4876 (random_number::genrand_bits()): Remove.
4877 (random_number::set_seed): Remove.
4879 2008-02-15 Benjamin Kosnik <bkoz@redhat.com>
4881 * include/parallel/types.h: Remove enum parallelism.
4883 2008-02-15 Benjamin Kosnik <bkoz@redhat.com>
4885 * include/parallel/types.h: Move enum parallelism here. Use
4886 tr1/cstdint's int16_t, uint16_t, int32_t, uint32_t, int64_t,
4888 * include/parallel/multiseq_selection.h: Adjust for cstdint.
4889 * include/parallel/compatibility.h: Same.
4890 * include/parallel/tags.h: Just compile-time tags.
4891 * include/parallel/base.h: Put namespace bits here.
4893 * src/Makefile.am (PARALLEL_FLAGS): Use it.
4894 * src/Makefile.in: Regenerate.
4896 * testsuite/25_algorithms/nth_element/1.cc: Add test variable.
4898 2008-02-15 Hans-Peter Nilsson <hp@axis.com>
4900 * testsuite/config/default.exp: Load gcc dejapatches.exp.
4902 2008-02-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4904 * testsuite/27_io/fpos/14320-1.cc: Check for "long long" and
4907 2008-02-14 Benjamin Kosnik <bkoz@redhat.com>
4909 * config/os/generic/error_constants.h (posix_errno): Guard
4910 not_supported use of ENOTSUP.
4911 * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Add check for ENOTSUP
4913 * aclocal.m4: Regenerate.
4914 * configure: Rengerate.
4915 * config.h.in: Same.
4917 2008-02-13 Benjamin Kosnik <bkoz@redhat.com>
4919 * doc/doxygen/mainpage.html: Correct links.
4921 2008-02-11 Benjamin Kosnik <bkoz@redhat.com>
4923 * doc/html/*: Populate with regenerated files.
4925 2008-02-11 Benjamin Kosnik <bkoz@redhat.com>
4927 * doc/html/*: Remove all but contents of ext/pb_ds.
4928 * doc/html/index.html: New.
4929 * doc/html/README: New.
4931 2008-02-11 Benjamin Kosnik <bkoz@redhat.com>
4933 * doc/doxygen/mainpage.html: Add in corrected links.
4934 * README: Edit, move most into...
4935 * doc/xml/manual/appendix_contributing.xml (Directory Layout): ...here.
4936 (Documentation Style): Revise.
4937 * doc/xml/spine.xml: Edit file names.
4938 * doc/Makefile.am: Edit xml_sources.
4939 * doc/Makefile.in: Regenerate.
4941 2008-02-11 Paolo Carlini <pcarlini@suse.de>
4943 * configure: Regenerate with documented autoconf and automake
4944 versions (i.e., 2.59 and 1.9.6).
4945 * Makefile.in: Likewise.
4946 * src/Makefile.in: Likewise.
4947 * doc/Makefile.in: Likewise.
4948 * po/Makefile.in: Likewise.
4949 * libmath/Makefile.in: Likewise.
4950 * include/Makefile.in: Likewise.
4951 * libsupc++/Makefile.in: Likewise.
4952 * testsuite/Makefile.in: Likewise.
4953 * aclocal.m4: Likewise.
4955 2008-02-10 Benjamin Kosnik <bkoz@redhat.com>
4957 Convert documentation to DocBook.
4958 * doc/Makefile.am (doc-doxygen-html): Changed to doc-html-doxygen.
4959 (doc-doxygen-man): Changed to doc-man-doxygen.
4960 (doc-performance): Changed to doc-html-performance.
4961 (doc-xml-doxygen): New.
4962 (doc-xml-single): New.
4963 (doc-xml-validate): New.
4965 (doc-html-single): New.
4968 (doc-pdf-fop-xml): New.
4969 (doc-pdf-fop-fo): New.
4970 (doc-pdf-xmlto): New.
4971 (doc-pdf-xmlroff): New.
4972 (doc-pdf-prince): New.
4973 * doc/xml: New directory.
4974 * doc/xml/authors.xml: New.
4975 * doc/xml/images: New directory.
4976 * doc/xml/images/confdeps.png: Add.
4977 * doc/xml/images/confdeps.dot: Add.
4978 * doc/xml/faq.xml: New.
4979 * doc/xml/api.xml: New.
4980 * doc/xml/gnu: New directory.
4981 * doc/xml/gnu/gpl-3.0.xml: New.
4982 * doc/xml/gnu/fdl-1.2.xml: New.
4983 * doc/xml/gnu/gpl-2.0.xml: New.
4984 * doc/xml/manual: New directory.
4985 * doc/xml/manual/mt_allocator.xml: New.
4986 * doc/xml/manual/allocator.xml: New.
4987 * doc/xml/manual/ctype.xml: New.
4988 * doc/xml/manual/numerics.xml: New.
4989 * doc/xml/manual/codecvt.xml: New.
4990 * doc/xml/manual/concurrency.xml: New.
4991 * doc/xml/manual/backwards_compatibility.xml: New.
4992 * doc/xml/manual/intro.xml: New.
4993 * doc/xml/manual/shared_ptr.xml: New.
4994 * doc/xml/manual/abi.xml: New.
4995 * doc/xml/manual/status_cxxtr1.xml: New.
4996 * doc/xml/manual/auto_ptr.xml: New.
4997 * doc/xml/manual/build.xml: New.
4998 * doc/xml/manual/internals.xml: New.
4999 * doc/xml/manual/parallel_mode.xml: New.
5000 * doc/xml/manual/status_cxx1998.xml: New.
5001 * doc/xml/manual/containers.xml: New.
5002 * doc/xml/manual/io.xml: New.
5003 * doc/xml/manual/appendix_porting.xml: New.
5004 * doc/xml/manual/utilities.xml: New.
5005 * doc/xml/manual/bitmap_allocator.xml: New.
5006 * doc/xml/manual/support.xml: New.
5007 * doc/xml/manual/configure.xml: New.
5008 * doc/xml/manual/build_hacking.xml: New.
5009 * doc/xml/manual/evolution.xml: New.
5010 * doc/xml/manual/using.xml: New.
5011 * doc/xml/manual/debug.xml: New.
5012 * doc/xml/manual/localization.xml: New.
5013 * doc/xml/manual/strings.xml: New.
5014 * doc/xml/manual/debug_mode.xml: New.
5015 * doc/xml/manual/locale.xml: New.
5016 * doc/xml/manual/extensions.xml: New.
5017 * doc/xml/manual/appendix_contributing.xml: New.
5018 * doc/xml/manual/messages.xml: New.
5019 * doc/xml/manual/diagnostics.xml: New.
5020 * doc/xml/manual/appendix_free.xml: New.
5021 * doc/xml/manual/algorithms.xml: New.
5022 * doc/xml/manual/iterators.xml: New.
5023 * doc/xml/manual/spine.xml: New.
5024 * doc/xml/manual/test.xml: New.
5025 * doc/xml/manual/status_cxx200x.xml: New.
5026 * doc/xml/spine.xml: New.
5028 * doc/xml/book.txml: New. Template file.
5029 * doc/xml/chapter.txml: Same.
5030 * doc/xml/class.txml: Same.
5032 * doc/doxygen/guide.html: Removed, integrated into other docs.
5033 * doc/doxygen/user.cfg.in: Clean up XML generation.
5034 * doc/doxygen/run_doxygen: Move to..
5035 * scripts/run_doxygen: ...here.
5037 * configure: Regenerate.
5038 * Makefile.in: Regenerate.
5039 * src/Makefile.in: Regenerate.
5040 * doc/Makefile.in: Regenerate.
5041 * po/Makefile.in: Regenerate.
5042 * libmath/Makefile.in: Regenerate.
5043 * include/Makefile.in: Regenerate.
5044 * libsupc++/Makefile.in: Regenerate.
5045 * testsuite/Makefile.in: Regenerate.
5046 * aclocal.m4: Regenerate.
5048 2008-02-10 Paolo Carlini <pcarlini@suse.de>
5051 * include/std/istream (basic_istream<>::basic_istream()): Call
5053 (basic_iostream<>::basic_iostream(basic_streambuf<>*)): Don't
5054 do it here, per 27.6.1.5.1/1.
5055 * include/std/ostream (basic_ostream<>::basic_ostream()): Call
5057 * testsuite/27_io/basic_iostream/cons/16251.C: New.
5059 * testsuite/27_io/basic_iostream/cons/2020.cc: Minor tweaks.
5061 2008-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5063 * include/backward/auto_ptr.h: Fix comment typos.
5064 * include/bits/algorithmfwd.h: Likewise.
5065 * include/bits/basic_ios.h: Likewise.
5066 * include/bits/c++config: Likewise.
5067 * include/bits/char_traits.h: Likewise.
5068 * include/bits/codecvt.h: Likewise.
5069 * include/bits/gslice.h: Likewise.
5070 * include/bits/ios_base.h: Likewise.
5071 * include/bits/locale_facets.h: Likewise.
5072 * include/bits/locale_facets_nonio.tcc: Likewise.
5073 * include/bits/postypes.h: Likewise.
5074 * include/bits/sstream.tcc: Likewise.
5075 * include/bits/stl_algo.h: Likewise.
5076 * include/bits/stl_deque.h: Likewise.
5077 * include/bits/stl_iterator.h: Likewise.
5078 * include/bits/stl_iterator_base_types.h Likewise.
5079 * include/bits/stl_list.h: Likewise.
5080 * include/bits/stl_map.h: Likewise.
5081 * include/bits/stl_multimap.h: Likewise.
5082 * include/bits/stl_multiset.h: Likewise.
5083 * include/bits/stl_set.h: Likewise.
5084 * include/bits/stl_vector.h: Likewise.
5085 * include/bits/valarray_array.h: Likewise.
5086 * include/debug/safe_base.h: Likewise.
5087 * include/ext/bitmap_allocator.h: Likewise.
5088 * include/ext/codecvt_specializations.h Likewise.
5089 * include/ext/mt_allocator.h: Likewise.
5090 * include/ext/rc_string_base.h: Likewise.
5091 * include/ext/rope: Likewise.
5092 * include/parallel/checkers.h: Likewise.
5093 * include/parallel/find.h: Likewise.
5094 * include/parallel/multiseq_selection.h: Likewise.
5095 * include/parallel/partition.h: Likewise.
5096 * include/parallel/settings.h: Likewise.
5097 * include/std/bitset: Likewise.
5098 * include/std/complex: Likewise.
5099 * include/std/fstream: Likewise.
5100 * include/std/istream: Likewise.
5101 * include/std/limits: Likewise.
5102 * include/std/ostream: Likewise.
5103 * include/std/stdexcept: Likewise.
5104 * include/std/streambuf: Likewise.
5105 * include/tr1/bessel_function.tcc: Likewise.
5106 * include/tr1/cmath: Likewise.
5107 * include/tr1/ell_integral.tcc: Likewise.
5108 * include/tr1/hypergeometric.tcc: Likewise.
5109 * include/tr1/legendre_function.tcc: Likewise.
5110 * include/tr1_impl/random: Likewise.
5111 * include/tr1_impl/regex: Likewise.
5113 2008-01-31 Paolo Carlini <pcarlini@suse.de>
5115 * testsuite/27_io/basic_istream/extractors_character/pod/3983-2.cc:
5116 Avoid -Wall warnings.
5117 * testsuite/22_locale/global_templates/user_facet_hierarchies.cc:
5119 * testsuite/22_locale/global_templates/standard_facet_hierarchies.cc:
5121 * testsuite/tr1/6_containers/hash/operators/size_t.cc: Likewise.
5122 * testsuite/tr1/6_containers/tuple/cons/big_tuples.cc: Likewise.
5123 * testsuite/tr1/6_containers/tuple/cons/constructor.cc: Likewise.
5124 * testsuite/tr1/6_containers/array/cons/aggregate_initialization.cc:
5126 * testsuite/tr1/6_containers/array/requirements/contiguous.cc:
5128 * testsuite/tr1/6_containers/array/requirements/member_swap.cc:
5130 * testsuite/tr1/6_containers/array/requirements/assign.cc: Likewise.
5131 * testsuite/tr1/6_containers/array/specialized_algorithms/swap.cc:
5133 * testsuite/tr1/6_containers/array/comparison_operators/
5134 less_or_equal.cc: Likewise.
5135 * testsuite/tr1/6_containers/array/comparison_operators/
5136 greater_or_equal.cc: Likewise.
5137 * testsuite/tr1/6_containers/array/comparison_operators/less.cc:
5139 * testsuite/tr1/6_containers/array/comparison_operators/equal.cc:
5141 * testsuite/tr1/6_containers/array/comparison_operators/not_equal.cc:
5143 * testsuite/tr1/6_containers/array/comparison_operators/greater.cc:
5145 * testsuite/tr1/6_containers/array/tuple_interface/get.cc: Likewise.
5146 * testsuite/tr1/6_containers/array/element_access/at_out_of_range.cc:
5148 * testsuite/tr1/6_containers/array/element_access/back.cc: Likewise.
5149 * testsuite/tr1/6_containers/array/element_access/front.cc: Likewise.
5150 * testsuite/tr1/6_containers/array/element_access/data.cc: Likewise.
5151 * testsuite/tr1/6_containers/array/iterators/end_is_one_past.cc:
5153 * testsuite/tr1/6_containers/array/capacity/empty.cc: Likewise.
5154 * testsuite/tr1/6_containers/array/capacity/max_size.cc: Likewise.
5155 * testsuite/tr1/6_containers/array/capacity/size.cc: Likewise.
5156 * testsuite/thread/guard.cc: Likewise.
5157 * testsuite/20_util/tuple/cons/big_tuples.cc: Likewise.
5158 * testsuite/20_util/tuple/cons/constructor.cc: Likewise.
5159 * testsuite/20_util/shared_ptr/creation/dr402.cc: Likewise.
5160 * testsuite/20_util/shared_ptr/creation/make.cc: Likewise.
5161 * testsuite/20_util/shared_ptr/creation/alloc.cc: Likewise.
5162 * testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc: Likewise.
5163 * testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc:
5166 2008-01-26 David Edelsohn <edelsohn@gnu.org>
5169 * config/os/aix/os_defines.h: Define __COMPATMATH__.
5171 2008-01-24 David Edelsohn <edelsohn@gnu.org>
5173 * configure: Regenerate.
5175 2008-01-21 Matthias Klose <doko@ubuntu.com>
5177 * doc/doxygen/user.cfg.in: Set SHORT_NAMES to YES.
5179 2008-01-19 Paolo Carlini <pcarlini@suse.de>
5181 * configure: Regenerate.
5182 * Makefile.in: Likewise.
5183 * src/Makefile.in: Likewise.
5184 * doc/Makefile.in: Likewise.
5185 * po/Makefile.in: Likewise.
5186 * libmath/Makefile.in: Likewise.
5187 * include/Makefile.in: Likewise.
5188 * libsupc++/Makefile.in: Likewise.
5189 * testsuite/Makefile.in: Likewise.
5190 * aclocal.m4: Likewise.
5192 2008-01-18 Benjamin Kosnik <bkoz@redhat.com>
5196 * testsuite/Makefile.am: Move doc-performance to...
5197 * Makefile.am: Add doc to SUBDIRS, move doxygen-* rules to...
5198 * doc/Makefile.am: Consolidate documentation creation here.
5199 (doc-doxygen-html): New.
5200 (doc-doxygen-man): New.
5201 (doc-performance): New.
5202 * doc/Makefile.in: New.
5203 * acinclude.m4 (glibcxx_SUBDIRS): Add doc directory.
5204 * doc/doxygen/guide.html: Edit for unified html configuration.
5205 * doc/doxygen/mainpage.html: Same.
5206 * doc/doxygen/run_doxygen: Same, more namespace fixups for man
5208 * doc/doxygen/user.cfg.in: Update for doxygen 1.5.4.
5210 * include/tr1_impl/random: Remove maint from doxygen markup.
5211 * include/tr1_impl/functional: Same.
5212 * include/std/tuple: Same.
5213 * include/std/streambuf: Same.
5214 * include/std/bitset: Same.
5215 * include/std/limits: Same.
5216 * include/std/fstream: Same.
5217 * include/std/istream: Same.
5218 * include/std/sstream: Same.
5219 * include/ext/pool_allocator.h: Same.
5220 * include/ext/rc_string_base.h: Same.
5221 * include/bits/basic_ios.h: Same.
5222 * include/bits/stl_list.h: Same.
5223 * include/bits/stl_map.h: Same.
5224 * include/bits/locale_classes.h: Same.
5225 * include/bits/stl_set.h: Same.
5226 * include/bits/stl_iterator_base_types.h: Same.
5227 * include/bits/basic_string.h: Same.
5228 * include/bits/stl_multimap.h: Same.
5229 * include/bits/stl_vector.h: Same.
5230 * include/bits/ios_base.h: Same.
5231 * include/bits/stl_deque.h: Same.
5232 * include/bits/postypes.h: Same.
5233 * include/bits/stl_multiset.h: Same.
5234 * include/bits/stl_algo.h: Same.
5235 * include/bits/stl_iterator.h: Same.
5236 * include/bits/stl_tempbuf.h: Same.
5237 * include/bits/stl_construct.h: Same.
5238 * include/bits/stl_relops.h: Same.
5239 * include/tr1/tuple: Same.
5240 * include/backward/auto_ptr.h: Same.
5242 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
5243 Fixups for line number changes.
5244 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
5245 * testsuite/23_containers/vector/requirements/dr438/
5246 constructor_1_neg.cc: Same.
5247 * testsuite/23_containers/vector/requirements/dr438/
5248 constructor_2_neg.cc: Same.
5249 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
5250 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
5251 * testsuite/23_containers/deque/requirements/dr438/
5252 constructor_1_neg.cc: Same.
5253 * testsuite/23_containers/deque/requirements/dr438/
5254 constructor_2_neg.cc: Same.
5255 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
5256 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
5257 * testsuite/23_containers/list/requirements/dr438/
5258 constructor_1_neg.cc: Same.
5259 * testsuite/23_containers/list/requirements/dr438/
5260 constructor_2_neg.cc: Same.
5261 * testsuite/20_util/auto_ptr/assign_neg.cc: Same.
5263 * aclocal.m4: Regenerate.
5264 * config.h.in: Regenerate.
5265 * configure: Regenerate.
5266 * Makefile.in: Regenerate.
5267 * src/Makefile.in: Regenerate.
5268 * po/Makefile.in: Regenerate.
5269 * libmath/Makefile.in: Regenerate.
5270 * include/Makefile.in: Regenerate.
5271 * libsupc++/Makefile.in: Regenerate.
5272 * testsuite/Makefile.in: Regenerate.
5274 * scripts/make_graphs.py: Correct paths for new layout.
5276 2008-01-17 Benjamin Kosnik <bkoz@redhat.com>
5278 * acinclude.m4 (AC_LC_MESSAGES): Remove serial.
5279 * linkage.m4 (AC_REPLACE_MATHFUNCS): Same.
5280 * configure: Regenerate.
5281 * aclocal.m4: Regenerate.
5283 2008-01-14 Paolo Carlini <pcarlini@suse.de>
5285 * include/parallel/list_partition.h: Formatting fixes, inline tweaks.
5286 * include/parallel/numeric: Likewise.
5287 * include/parallel/balanced_quicksort.h: Likewise.
5288 * include/parallel/unique_copy.h: Likewise.
5289 * include/parallel/algobase.h: Likewise.
5290 * include/parallel/algo.h: Likewise.
5292 2008-01-14 Seongbae Park <seongbae.park@gmail.com>
5294 * crossconfig.m4: Add missing header checks, C99 TR1 check,
5295 and sigsetjmp check.
5297 2008-01-14 Paolo Carlini <pcarlini@suse.de>
5299 * include/parallel/tree.h: Remove.
5300 * include/Makefile.am: Update.
5301 * include/Makefile.in: Rebuild.
5303 * src/Makefile.am: Remove spurious trailing backslash.
5304 * src/Makefile.in: Rebuild.
5305 * po/Makefile.in: Likewise.
5306 * libmath/Makefile.in: Likewise.
5307 * testsuite/Makefile.in: Likewise.
5308 * libsupc++/Makefile.in: Likewise.
5309 * aclocal.m4: Likewise.
5310 * Makefile.in: Likewise.
5311 * configure: Likewise.
5313 2008-01-12 Paolo Carlini <pcarlini@suse.de>
5316 * include/debug/functions.h (__check_sorted_set,
5317 __check_sorted_set_aux): Add.
5318 (__check_sorted): Check StrictWeakOrdering.
5319 * include/debug/macros.h (__glibcxx_check_strict_weak_ordering,
5320 __glibcxx_check_strict_weak_ordering_pred): Remove.
5321 (__glibcxx_check_sorted, __glibcxx_check_sorted_pred): Adjust.
5322 (__glibcxx_check_sorted_set, __glibcxx_check_sorted_set_pred): Add.
5323 * include/debug/debug.h (__glibcxx_requires_sorted_set,
5324 __glibcxx_requires_sorted_set_pred): Add.
5325 * include/bits/stl_algo.h (merge, includes, set_union,
5326 set_intersection, set_difference, set_symmetric_difference):
5327 Adjust, use __glibcxx_requires_sorted_set* instead.
5328 * testsuite/25_algorithms/set_intersection/34730.cc: New.
5330 2008-01-09 Paolo Carlini <pcarlini@suse.de>
5332 * include/parallel/multiway_merge.h: Reformat to 80 columns;
5333 adjust some inline specifiers; other minor style fixes.
5334 * include/parallel/losertree.h: Likewise.
5335 * include/parallel/list_partition.h: Likewise.
5336 * include/parallel/multiseq_selection.h: Likewise.
5337 * include/parallel/workstealing.h: Likewise.
5338 * include/parallel/base.h: Likewise.
5339 * include/parallel/par_loop.h: Likewise.
5340 * include/parallel/numeric: Likewise.
5341 * include/parallel/quicksort.h: Likewise.
5342 * include/parallel/algorithmfwd.h: Likewise.
5343 * include/parallel/for_each_selectors.h: Likewise.
5344 * include/parallel/omp_loop_static.h: Likewise.
5345 * include/parallel/random_shuffle.h: Likewise.
5346 * include/parallel/balanced_quicksort.h: Likewise.
5347 * include/parallel/set_operations.h: Likewise.
5348 * include/parallel/tree.h: Likewise.
5349 * include/parallel/merge.h: Likewise.
5350 * include/parallel/unique_copy.h: Likewise.
5351 * include/parallel/settings.h: Likewise.
5352 * include/parallel/multiway_mergesort.h: Likewise.
5353 * include/parallel/numericfwd.h: Likewise.
5354 * include/parallel/search.h: Likewise.
5355 * include/parallel/partition.h: Likewise.
5356 * include/parallel/compatibility.h: Likewise.
5357 * include/parallel/partial_sum.h: Likewise.
5358 * include/parallel/find.h: Likewise.
5359 * include/parallel/algo.h: Likewise.
5360 * include/parallel/queue.h: Likewise.
5361 * include/parallel/omp_loop.h: Likewise.
5362 * include/parallel/sort.h: Likewise.
5363 * include/parallel/random_number.h: Likewise.
5365 2008-01-09 Benjamin Kosnik <bkoz@redhat.com>
5367 * docs/html/17_intro/api.html: Fix markup for rope.h.
5369 2008-01-09 Paolo Carlini <pcarlini@suse.de>
5371 * include/parallel/iterator.h: Reformat to 80 columns; adjust some
5373 * include/parallel/find_selectors.h: Likewise.
5374 * include/parallel/losertree.h: Likewise.
5375 * include/parallel/list_partition.h: Likewise.
5376 * include/parallel/for_each.h: Likewise.
5377 * include/parallel/multiseq_selection.h: Likewise.
5378 * include/parallel/algorithmfwd.h: Likewise.
5379 * include/parallel/for_each_selectors.h: Likewise.
5380 * include/parallel/balanced_quicksort.h: Likewise.
5381 * include/parallel/merge.h: Likewise.
5382 * include/parallel/algobase.h: Likewise.
5383 * include/parallel/find.h: Likewise.
5384 * include/parallel/algo.h: Likewise.
5385 * include/parallel/checkers.h: Likewise.
5387 2008-01-09 Francesco Biscani <bluescarni@gmail.com>
5389 * include/tr1_impl/hashtable (_Hashtable): Fix friend declaration
5390 of __detail::_Map_base<>.
5392 2008-01-08 Paolo Carlini <pcarlini@suse.de>
5394 * testsuite/22_locale/global_templates/user_facet_hierarchies.cc: Do
5395 not include <cassert>.
5396 * testsuite/22_locale/global_templates/standard_facet_hierarchies.cc:
5398 * testsuite/util/testsuite_common_types.h: Include <algorithm>.
5400 2008-01-08 Jakub Jelinek <jakub@redhat.com>
5402 * configure.ac (--enable-linux-futex): Add new configure option.
5403 (HAVE_LINUX_FUTEX): New AC_DEFINE.
5404 * Makefile.in: Rebuilt.
5405 * aclocal.m4: Rebuilt.
5406 * configure: Rebuilt.
5407 * config.h.in: Rebuilt.
5408 * config/cpu/generic/cxxabi_tweaks.h (_GLIBCXX_GUARD_BIT,
5409 _GLIBCXX_GUARD_PENDING_BIT, _GLIBCXX_GUARD_WAITING_BIT): Define.
5410 * config/cpu/arm/cxxabi_tweaks.h (_GLIBCXX_GUARD_BIT,
5411 _GLIBCXX_GUARD_PENDING_BIT, _GLIBCXX_GUARD_WAITING_BIT): Define.
5412 * libsupc++/guard.cc: Include climits and syscall.h.
5413 (_GLIBCXX_USE_FUTEX): Define if futex syscall and atomic builtins
5415 (_GLIBCXX_FUTEX_WAIT, _GLIBCXX_FUTEX_WAKE): Likewise.
5416 (__guard_test_bit): New static inline.
5417 (__cxa_guard_acquire, __cxa_guard_release, __cxa_guard_abort): Use
5418 atomic builtins and futex syscall if _GLIBCXX_USE_FUTEX.
5420 2008-01-07 Paolo Carlini <pcarlini@suse.de>
5423 * include/bits/locale_classes.h (has_facet<>, use_facet<>): Do not
5424 use dynamic_cast when run-time type identification is disabled; do
5425 not mark inline; only declare, define...
5426 * include/bits/locale_classes.tcc: ... here.
5428 2008-01-06 Ted Phelps <phelps@gnusto.com>
5431 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Check
5432 _GLIBCXX_HAVE_GETIPINFO instead of HAVE_GETIPINFO.
5434 2008-01-01 Paolo Carlini <pcarlini@suse.de>
5437 * include/parallel/multiway_merge.h (multiway_merge_bubble,
5438 parallel_multiway_merge): Together with ::operator new use
5440 * include/parallel/losertree.h (LoserTree<>::~LoserTree): Likewise.
5441 * include/parallel/quicksort.h (parallel_sort_qs_divide): Likewise.
5442 * include/parallel/random_shuffle.h (parallel_random_shuffle_drs_pu,
5443 sequential_random_shuffle): Likewise.
5444 * include/parallel/tree.h (_M_not_sorted_bulk_insertion_construction):
5446 * include/parallel/multiway_mergesort.h (parallel_sort_mwms_pu,
5447 parallel_sort_mwms): Likewise.
5448 * include/parallel/partial_sum.h (parallel_partial_sum_linear):
5450 * testsuite/25_algorithms/sort/34095.cc: New.
5452 2008-01-01 Paolo Carlini <pcarlini@suse.de>
5454 * testsuite/25_algorithms/sort/34636.cc: Fix Copyright year.
5456 2008-01-01 Paolo Carlini <pcarlini@suse.de>
5459 * include/parallel/algobase.h (lexicographical_compare_switch(...,
5460 random_access_iterator_tag, random_access_iterator_tag)): Careful
5461 with undereferenceable iterators.
5462 * testsuite/25_algorithms/sort/34636.cc: New.