1 2009-02-15 Paolo Carlini <paolo.carlini@oracle.com>
4 * src/locale_facets.cc (__verify_grouping(const char*, size_t,
5 const string&)): Also check that the value != CHAR_MAX.
6 * include/bits/locale_facets.tcc (__numpunct_cache<>::
7 _M_cache(const locale&), __add_grouping(_CharT*, _CharT,
8 const char*, size_t, const _CharT*, const _CharT*)): Likewise.
9 * include/bits/locale_facets_nonio.tcc (__moneypunct_cache<>::
10 _M_cache(const locale&)): Likewise.
11 * testsuite/22_locale/money_put/put/wchar_t/39168.cc: New.
12 * testsuite/22_locale/money_put/put/char/39168.cc: Likewise.
13 * testsuite/22_locale/money_get/get/wchar_t/39168.cc: Likewise.
14 * testsuite/22_locale/money_get/get/char/39168.cc: Likewise.
15 * testsuite/22_locale/num_get/get/wchar_t/39168.cc: Likewise.
16 * testsuite/22_locale/num_get/get/char/39168.cc: Likewise.
18 2009-02-13 Chris Fairles <cfairles@gcc.gnu.org>
19 Benjamin Kosnik <bkoz@redhat.com>
21 * include/std/thread (_Impl_base): Move _M_id out and into ...
22 (thread): ...here. Call _M_make_routine in body of constructors.
23 Adjust data member usage to reflect changes.
24 (_M_make_routine): From _M_make_shared_data.
25 (_M_start_thread): Add __shared_base_type argument.
26 * src/thread.cc: Fixups for above.
27 * config/abi/pre/gnu.ver: Adjust exports.
28 * testsuite/30_threads/thread/native_handle/typesizes.cc: Enable.
29 * testsuite/30_threads/thread/cons/assign_neg.cc: Adjust line numbers.
30 * testsuite/30_threads/thread/cons/copy_neg.cc: Same.
32 2009-02-12 Benjamin Kosnik <bkoz@redhat.com>
34 * testsuite/util/thread/all.h (compare_type_to_native_type_sizes): To...
35 (compare_type_to_native_type): ...this, add alignment check.
36 * testsuite/30_threads/condition_variable_any/native_handle/
37 typesizes.cc: Modify as above.
38 * testsuite/30_threads/mutex/native_handle/typesizes.cc: Same.
39 * testsuite/30_threads/timed_mutex/native_handle/typesizes.cc: Same.
40 * testsuite/30_threads/thread/native_handle/typesizes.cc: Same.
41 * testsuite/30_threads/recursive_mutex/native_handle/typesizes.cc: Same.
42 * testsuite/30_threads/condition_variable/native_handle/
44 * testsuite/30_threads/recursive_timed_mutex/native_handle/
47 * testsuite/30_threads/thread/cons/1.cc: Add comments.
48 * testsuite/30_threads/thread/cons/2.cc: Same.
49 * testsuite/30_threads/thread/cons/3.cc: Same.
50 * testsuite/30_threads/thread/cons/4.cc: Same.
51 * testsuite/30_threads/thread/cons/5.cc: Same.
52 * testsuite/30_threads/thread/cons/6.cc: Same.
53 * testsuite/30_threads/thread/cons/7.cc: Same.
54 * testsuite/30_threads/thread/cons/8.cc: Same.
56 * testsuite/30_threads/thread/cons/9.cc: New.
57 * testsuite/30_threads/thread/cons/moveable.cc: New.
59 * src/condition_variable.cc: Clean up whitespace.
60 * include/std/condition_variable: Same.
62 2009-02-09 Benjamin Kosnik <bkoz@redhat.com>
64 * include/std/condition_variable (condition_variable): Remove
65 _M_internal_mutex. Add private __native_type typedef.
66 * src/condition_variable.cc (condition_variable::notify_one):
67 Remove _M_internal_mutex use. Use typedef.
68 (condition_variable::notify_all): Same.
69 * include/std/mutex (mutex): Add private __native_type typedef. Use it.
70 (recursive_mutex): Same.
72 (recursive_timed_mutex): Same.
73 (once_flag): Make __native_type typedef private.
75 * include/std/thread (this_thread): Add minimal markup.
77 * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc:
79 * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc: Same.
80 * testsuite/30_threads/mutex/cons/assign_neg.cc: Same.
81 * testsuite/30_threads/mutex/cons/copy_neg.cc: Same.
82 * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Same.
83 * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Same.
84 * testsuite/30_threads/thread/cons/assign_neg.cc: Same.
85 * testsuite/30_threads/thread/cons/copy_neg.cc: Same.
86 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Same.
87 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Same.
88 * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Same.
89 * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Same.
90 * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc: Same.
91 * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc: Same.
93 * testsuite/util/thread/all.h: Testsuite utilities for testing thread.
94 * testsuite/30_threads/condition_variable_any/native_handle/
96 * testsuite/30_threads/mutex/native_handle/typesizes.cc: Same.
97 * testsuite/30_threads/timed_mutex/native_handle/typesizes.cc: Same.
98 * testsuite/30_threads/thread/native_handle/typesizes.cc: Same.
99 * testsuite/30_threads/recursive_mutex/native_handle/typesizes.cc: Same.
100 * testsuite/30_threads/condition_variable/native_handle/
102 * testsuite/30_threads/recursive_timed_mutex/native_handle/
105 2009-02-09 Jack Howarth <howarth@bromo.med.uc.edu>
108 * libstdc++-v3/testsuite/27_io/ios_base/storage/2.cc: Skip
111 2009-02-09 Adam Nemet <anemet@caviumnetworks.com>
113 * configure.host: Set abi_baseline_pair for mips64*-linux.
114 * config/abi/post/mips64-linux-gnu/baseline_symbols.txt: New file.
116 2009-02-08 Chris Fairles <cfairles@gcc.gnu.org>
118 * include/std/thread (this_thread::get_id): Inline.
120 2009-02-08 Chris Fairles <cfairles@gcc.gnu.org>
122 * include/std/thread (thread<>::thread(_Callable)): Explicitly use
123 _Callable as template argument for _M_make_shared_data.
124 * testsuite/30_threads/thread/cons/6.cc: New.
125 * testsuite/30_threads/thread/cons/7.cc: New.
126 * testsuite/30_threads/thread/cons/8.cc: New.
128 2009-02-07 Benjamin Kosnik <bkoz@redhat.com>
130 * testsuite/30_threads/thread/member: To..
131 * testsuite/30_threads/thread/members: ...this.
132 * testsuite/30_threads/condition_variable/member: To...
133 * testsuite/30_threads/condition_variable/members: ...this.
135 2009-02-06 Benjamin Kosnik <bkoz@redhat.com>
137 * include/std/thread (thread::id): Move definition inside thread.
138 Use native_handle_type. Remove this_thread::get_id friend.
139 Change __thread_data_ptr to __shared_base_ptr.
140 (thread::id::id(native_handle_type): Make public. Still explicit.
141 Use native_handle_type. Change _M_thread_id to _M_thread.
142 (thread::__thread_data_base): Rename to _Impl_base. Use id, change
143 _M_thread_handle to _M_id.
144 (thread::__thread_data): Rename to _Impl.
146 (thread::_M_make_thread_data): Return derived type.
147 (thread::hardware_concurrency): Add definition for default case.
148 (thread::get_id): Now can define inline.
149 (thread): Change _M_thread_data to _M_data.
150 (this_thread::get_id): Now can define inline.
151 * src/thread.cc (__thread_proxy): Rename to
152 execute_native_thread_routine.
153 Fixup for other renames.
154 * testsuite/30_threads/thread/cons/assign_neg.cc: New.
155 * testsuite/30_threads/thread/cons/copy_neg.cc: New.
156 * testsuite/30_threads/thread/algorithm: Move to..
157 * testsuite/30_threads/thread/swap: ...this.
158 * testsuite/30_threads/thread/member/hardware_concurrency.cc: Add.
159 * testsuite/30_threads/thread/id/operators.cc: New.
161 2009-02-05 Chris Fairles <cfairles@gcc.gnu.org>
163 * include/std/tuple (_Head_base<>::_Head_base(_UHead&&)): Formatting.
164 (_Head_base<>::__swap_impl): Rename to _M_swap_impl.
165 (_Tuple_impl<>::__swap_impl): Likewise and make protected to avoid
166 exposing it in public std::tuple interface.
168 2009-02-05 Chris Fairles <cfairles@gcc.gnu.org>
169 Benjamin Kosnik <bkoz@redhat.com>
171 * include/std/thread (__thread_data_base): Nest class in std::thread.
172 (__thread_data): Likewise.
173 (__thread_data_ptr): Nest typedef in std::thread.
174 * src/thread.cc (__thread_proxy): Qualify the above names.
175 * config/abi/pre/gnu.ver: Remove unused exports.
177 2009-02-04 Benjamin Kosnik <bkoz@redhat.com>
179 * include/bits/unique_ptr.h: Remove private __this_type typedef.
180 * include/bits/stl_vector.h: Remove private vector_type typedef.
181 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
183 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
184 * testsuite/23_containers/vector/requirements/dr438/
185 constructor_1_neg.cc: Same.
186 * testsuite/23_containers/vector/requirements/dr438/
187 constructor_2_neg.cc: Same.
188 * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Same.
189 * testsuite/20_util/unique_ptr/assign/assign.cc: Same.
191 2009-02-03 Paolo Carlini <paolo.carlini@oracle.com>
194 * libsupc++/exception_defines.h: Depending on __EXCEPTIONS,
195 deal consistently with __try and __catch too.
196 * src/localename.cc: Replace try -> __try, catch -> __catch.
197 * src/ios.cc: Likewise.
198 * src/locale.cc: Likewise.
199 * src/istream.cc: Likewise.
200 * src/thread.cc: Likewise.
201 * src/compatibility.cc: Likewise.
202 * src/bitmap_allocator.cc: Likewise.
203 * src/ios_init.cc: Likewise.
204 * include/debug/deque: Likewise.
205 * include/debug/list: Likewise.
206 * include/tr1_impl/hashtable: Likewise.
207 * include/std/bitset: Likewise.
208 * include/ext/pb_ds/detail/resize_policy/
209 hash_load_check_resize_trigger_imp.hpp: Likewise.
210 * include/ext/pb_ds/detail/resize_policy/
211 hash_standard_resize_policy_imp.hpp: Likewise.
212 * include/ext/pb_ds/detail/cc_hash_table_map_/
213 resize_fn_imps.hpp: Likewise.
214 * include/ext/pb_ds/detail/cc_hash_table_map_/
215 constructor_destructor_fn_imps.hpp: Likewise.
216 * include/ext/pb_ds/detail/pat_trie_/
217 split_join_branch_bag.hpp: Likewise.
218 * include/ext/pb_ds/detail/pat_trie_/
219 constructors_destructor_fn_imps.hpp: Likewise.
220 * include/ext/pb_ds/detail/bin_search_tree_/
221 constructors_destructor_fn_imps.hpp: Likewise.
222 * include/ext/pb_ds/detail/gp_hash_table_map_/
223 resize_fn_imps.hpp: Likewise.
224 * include/ext/pb_ds/detail/gp_hash_table_map_/
225 constructor_destructor_fn_imps.hpp: Likewise.
226 * include/ext/pb_ds/detail/binary_heap_/
227 constructors_destructor_fn_imps.hpp: Likewise.
228 * include/ext/pb_ds/detail/binary_heap_/
229 erase_fn_imps.hpp: Likewise.
230 * include/ext/pb_ds/detail/binary_heap_/
231 split_join_fn_imps.hpp: Likewise.
232 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
233 constructors_destructor_fn_imps.hpp: Likewise.
234 * include/ext/pb_ds/detail/debug_map_base.hpp: Likewise.
235 * include/ext/pb_ds/detail/list_update_map_/
236 constructor_destructor_fn_imps.hpp: Likewise.
237 * include/ext/slist: Likewise.
238 * include/ext/memory: Likewise.
239 * include/ext/rc_string_base.h: Likewise.
240 * include/ext/ropeimpl.h: Likewise.
241 * include/ext/vstring.tcc: Likewise.
242 * include/ext/rope: Likewise.
243 * include/ext/sso_string_base.h: Likewise.
244 * include/bits/shared_ptr.h: Likewise.
245 * include/bits/stl_list.h: Likewise.
246 * include/bits/locale_classes.tcc: Likewise.
247 * include/bits/locale_facets.tcc: Likewise.
248 * include/bits/locale_classes.h: Likewise.
249 * include/bits/forward_list.h: Likewise.
250 * include/bits/stl_vector.h: Likewise.
251 * include/bits/stl_deque.h: Likewise.
252 * include/bits/istream.tcc: Likewise.
253 * include/bits/stl_uninitialized.h: Likewise.
254 * include/bits/ostream.tcc: Likewise.
255 * include/bits/vector.tcc: Likewise.
256 * include/bits/stl_tempbuf.h: Likewise.
257 * include/bits/deque.tcc: Likewise.
258 * include/bits/basic_string.tcc: Likewise.
259 * include/bits/ostream_insert.h: Likewise.
260 * include/bits/locale_facets_nonio.tcc: Likewise.
261 * include/bits/stl_tree.h: Likewise.
262 * include/bits/fstream.tcc: Likewise.
263 * include/tr1/shared_ptr.h: Likewise.
264 * include/tr1/hypergeometric.tcc: Likewise.
265 * include/backward/hashtable.h: Likewise.
266 * libsupc++/exception_ptr.h: Likewise.
267 * libsupc++/eh_personality.cc: Likewise.
268 * libsupc++/eh_call.cc: Likewise.
269 * config/locale/gnu/monetary_members.cc: Likewise.
270 * config/locale/gnu/time_members.h: Likewise.
271 * config/locale/generic/time_members.h: Likewise.
273 2009-02-03 Johannes Singler <singler@ira.uka.de>
275 * include/parallel/algorithmfwd.h:
276 Add parallelism default for many declarations.
277 * include/parallel/numericfwd.h: Likewise.
278 * include/parallel/iterator.h: Use iterator_traits as usual.
279 * include/parallel/par_loop.h:
280 Include equally_split.h.
281 (for_each_template_random_access_ed):
282 Avoid calling the Result default constructor.
283 * include/parallel/numeric: Replace
284 for_each_template_random_access by
285 for_each_template_random_access_ed in numeric functions.
287 2009-02-02 Benjamin Kosnik <bkoz@redhat.com>
289 * config/os/gnu-linux/os_defines.h: Remove superfluous
292 2009-02-02 Jakub Jelinek <jakub@redhat.com>
294 * testsuite/21_strings/c_strings/char/3.cc: New test.
295 * testsuite/21_strings/c_strings/wchar_t/3.cc: New test.
297 2009-01-30 Ulrich Drepper <drepper@redhat.com>
298 Jakub Jelinek <jakub@redhat.com>
300 PR libstdc++/30928 (partial, works together with recent glibcs)
301 * include/c_std/cstring (memchr, strchr, strpbrk, strrchr, strstr):
302 Provide inlines only if __CORRECT_ISO_CPP_STRING_H_PROTO is not
304 * include/c_std/cwchar (wcschr, wcspbrk, wcsrchr, wcsstr, wmemchr):
305 Provide inlines only if __CORRECT_ISO_CPP_WCHAR_H_PROTO is not
307 * include/c_global/cstring (memchr, strchr, strpbrk, strrchr, strstr):
308 Provide inlines only if __CORRECT_ISO_CPP_STRING_H_PROTO is not
310 * include/c_global/cwchar (wcschr, wcspbrk, wcsrchr, wcsstr, wmemchr):
311 Provide inlines only if __CORRECT_ISO_CPP_WCHAR_H_PROTO is not
313 * testsuite/21_strings/c_strings/char_t/2.cc (test02): If first
314 argument is const char *, assign result to const char * var, not
316 * testsuite/21_strings/c_strings/wchar_t/2.cc (test02): If first
317 argument is const wchar_t *, assign result to const wchar_t * var, not
320 2009-01-29 Jonathan Wakely <jwakely.gcc@gmail.com>
322 * include/std/thread: Remove unused headers.
323 (__thread_data_base): Remove unused mutex and base.
324 (thread::~thread): Only detach if joinable.
325 (thread::joinable): Test if thread data ptr is empty.
326 (thread::_M_thread_data_mutex): Remove.
327 (thread::_M_get_thread_data): Remove.
328 (thread::_M_make_thread_data): Remove overload, use make_shared.
329 (thread::id::id): Make constructor explicit.
330 * src/thread.cc (thread::join,thread::detach): Throw if not joinable.
331 (thread::_M_start_thread): Break shared_ptr cycle on error.
332 (__thread_proxy): Use shared_ptr swap instead of copy and reset.
333 * testsuite/30_threads/thread/member/4.cc: New.
334 * testsuite/30_threads/thread/member/5.cc: New.
336 2009-01-28 Benjamin Kosnik <bkoz@redhat.com>
338 * testsuite/util/testsuite_common_types.h (has_trivial_cons_dtor): New.
339 (standard_layout): Just use !has_virtual_destructor for now.
340 * testsuite/30_threads/mutex/requirements/standard_layout.cc: New.
341 * testsuite/30_threads/timed_mutex/requirements/standard_layout.cc: New.
342 * testsuite/30_threads/recursive_mutex/requirements/
343 standard_layout.cc: New.
344 * testsuite/30_threads/condition_variable/requirements/
345 standard_layout.cc: New.
346 * testsuite/29_atomics/atomic_address/requirements/
347 standard_layout.cc: Adjust.
348 * testsuite/29_atomics/atomic_flag/requirements/
349 standard_layout.cc: Same.
350 * testsuite/29_atomics/atomic_address/requirements/trivial.cc: New.
351 * testsuite/29_atomics/atomic_integral/requirements/trivial.cc: Same.
352 * testsuite/29_atomics/atomic_flag/requirements/trivial.cc: Same.
353 * testsuite/30_threads/condition_variable/requirements/typedefs.cc: New.
354 * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: Adjust
356 * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Same.
357 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
358 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
359 * testsuite/29_atomics/atomic/requirements/standard_layout.cc:
360 Remove, not required.
362 2009-01-22 Jonathan Wakely <jwakely.gcc@gmail.com>
364 * include/std/thread (__thread_data_base, thread): Rename member
365 functions to match coding style.
366 (thread::thread,thread::operator=): Define move operations.
367 * src/thread.cc (__thread_data_base, thread): Rename member functions.
368 * config/abi/pre/gnu.ver: Adjust.
370 2009-01-22 Benjamin Kosnik <bkoz@redhat.com>
373 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Disable symbol versioning
375 * configure: Regenerate.
377 2009-01-22 Dodji Seketeli <dodji@redhat.com>
379 * include/ext/bitmap_allocator.h: Reverting changes related to PR
382 2009-01-21 Benjamin Kosnik <bkoz@redhat.com>
384 * testsuite/29_atomics/headers/stdatomic.h/functions.c: Remove
387 2009-01-21 Dodji Seketeli <dodji@redhat.com>
389 * include/ext/bitmap_allocator.h: the typedefs should be made public
390 if we want them to be accessible. This has been revealed by the patch
391 that fixes PR c++/26693 in g++.
393 2009-01-20 Benjamin Kosnik <bkoz@redhat.com>
394 Uros Bizjak <ubizjak@gmail.com>
397 * config/abi/pre/gnu.ver: Correct char16_t and char32_t exports.
398 * config/os/gnu-linux/ldbl-extra.ver: Tweak.
400 2009-01-20 Benjamin Kosnik <bkoz@redhat.com>
401 Rainer Emrich <r.emrich@de.tecosim.com>
404 * crossconfig.m4: Use GLIBCXX_CHECK_MATH_SUPPORT and
405 GLIBCXX_CHECK_STDLIB_SUPPORT for mingw crosses.
406 * configure: Regenerate.
408 2009-01-18 Jonathan Wakely <jwakely.gcc@gmail.com>
410 * include/std/thread (__thread_data_base::__run): Make non-const.
411 * testsuite/30_threads/thread/cons/5.cc: New.
413 2009-01-16 Benjamin Kosnik <bkoz@redhat.com>
415 * src/Makefile.am (sources): Add math_stubs_float.cc.
416 * src/Makefile.in: Regenerate.
417 * src/math_stubs_float.cc: New, from libmath/stubs.c.
419 2009-01-15 Benjamin Kosnik <bkoz@redhat.com>
421 * src/Makefile.am (sources): Add math_stubs_long_double.cc.
422 * src/Makefile.in: Regenerate.
423 * src/math_stubs_long_double.cc: New, from libmath/stubs.c.
425 2009-01-15 Benjamin Kosnik <bkoz@redhat.com>
428 * config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Update.
430 2009-01-15 Benjamin Kosnik <bkoz@redhat.com>
433 * Makefile.am (hosted_source): Remove libmath directory.
434 * Makefile.in: Regenerate.
435 * linkage.m4 (GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT): Remove.
436 (AC_REPLACE_MATHFUNCS): Remove.
437 (GLIBCXX_CHECK_MATH_SUPPORT): Remove copysign, copysignl checks as done
438 in GLIBCXX_CHECK_C99_TR1.
439 * acinclude.m4: Remove libmath, need_math.
440 * crossconfig.m4: Remove use of HAVE_COPYSIGN, HAVE_COPYSIGNL,
441 HAVE_COPYSIGNF, GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT, need_libmath.
442 * configure.ac: Same.
443 * configure: Regenerate.
444 * fragment.am: Fix comment.
445 * config.h.in: Regenerate.
446 * src/Makefile.in: Regenerate.
447 * src/Makefile.am: Remove libmath references.
448 * doc/Makefile.in: Regenerate.
449 * po/Makefile.in: Regenerate.
450 * include/Makefile.in: Regenerate.
451 * libsupc++/Makefile.in: Regenerate.
452 * testsuite/Makefile.in: Regenerate.
454 * src/compatibility.cc: Also export long double versions of "C" math
455 library if hppa-linux.
456 * config/abi/pre/gnu.ver: Remove unused __signbit exports.
457 * doc/xml/manual/appendix_contributing.xml: Remove libmath reference.
460 * libmath/signbit.c: Same.
461 * libmath/stubs.c: Same.
462 * libmath/Makefile.in: Same.
463 * libmath/copysignf.c: Same.
464 * libmath/mathconf.h: Same.
465 * libmath/signbitf.c: Same.
466 * libmath/Makefile.am: Same.
467 * libmath/signbitl.c: Same.
469 2009-01-15 Chris Fairles <cfairles@gcc.gnu.org>
470 Paolo Carlini <paolo.carlini@oracle.com>
472 * acinclude.m4 ([GLIBCXX_ENABLE_CLOCK_GETTIME],
473 [GLIBCXX_CHECK_NANOSLEEP]): Remove.
474 ([GLIBCXX_ENABLE_LIBSTDCXX_TIME]): Add.
475 * configure.ac: Adjust.
476 * doc/xml/manual/configure.xml: Update.
477 * testsuite/lib/libstdc++.exp (check_v3_target_sched_yield): Add.
478 * testsuite/lib/dg-options.exp (dg-require-sched-yield): Add.
479 * testsuite/30_threads/thread/this_thread/2.cc: Use the latter.
480 * configure: Regenerate.
481 * config.h.in: Likewise.
483 * src/thread.cc (thread::thread(), thread::~thread, thread::get_id,
484 thread::joinable, thread::swap, this_thread::get_id,
485 this_thread::yield): Define inline...
486 * include/std/thread: ... here.
487 * config/abi/pre/gnu.ver: Adjust.
489 2009-01-13 Uros Bizjak <ubizjak@gmail.com>
491 * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc:
492 Add dg-timeout-factor 2.0.
493 * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Ditto.
494 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Ditto.
495 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Ditto.
496 * testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Ditto.
497 * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Ditto.
498 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Ditto.
500 2009-01-13 Uros Bizjak <ubizjak@gmail.com>
502 * scripts/extract_symvers: Add sed script to remove ' [<other>: xx] '
503 field from readelf output.
505 2009-01-12 Benjamin Kosnik <bkoz@redhat.com>
508 * crossconfig.m4 (hpux): Update for 10.20, 11, 11.20.
509 * configure: Regenerate.
511 2009-01-12 Benjamin Kosnik <bkoz@redhat.com>
513 * crossconfig.m4 (linux): Add GCC_CHECK_TLS to define
515 Use GLIBCXX_CHECK_COMPILER_FEATURES to compute SECTION_FLAGS.
517 2009-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
519 * include/tr1_impl/regex (basic_regex::basic_regex): Use range
520 constructor for _M_pattern.
521 * testsuite/tr1/7_regular_expressions/basic_regex/ctors/char/
522 string.cc: Test construction from different basic_string type.
523 * testsuite/tr1/7_regular_expressions/basic_regex/ctors/wchar_t/
526 2009-01-07 Benjamin Kosnik <bkoz@redhat.com>
527 Jonathan Larmour <jifl@eCosCentric.com>
530 * config/cpu/generic/atomicity_mutex/atomicity.h (get_atomic_mutex):
532 (__gnu_cxx::__exchange_and_add): Use it.
533 * src/atomic.cc (get_atomic_mutex): New.
534 * src/debug.cc (get_safe_base_mutex): New.
535 * src/locale.cc (get_locale_cache_mutex): New.
536 * src/mt_allocator.cc (get_freelist): New.
537 (get_freelist_mutex): New.
538 * src/pool_allocator.cc (get_palloc_mutex): New.
539 * include/std/mutex (__once_functor_lock): To
540 (__get_once_functor_lock): ...this.
541 * src/mutex.cc (__once_mutex): Don't export, use
542 (get_once_mutex): ...this.
543 * config/abi/pre/gnu.ver: Adjust exports.
545 2009-01-07 Jakub Jelinek <jakub@redhat.com>
548 * libsupc++/unwind-cxx.h (__cxxabiv1::__cxa_exception): Remove
549 referenceCount field again.
550 (__cxxabiv1::__cxa_refcounted_exception): New struct.
551 (__cxxabiv1::__get_refcounted_exception_header_from_obj,
552 __cxxabiv1::__get_refcounted_exception_header_from_ue): New static
554 * libsupc++/eh_alloc.cc (__cxxabiv1::__cxa_allocate_exception,
555 __cxxabiv1::__cxa_free_exception): Use __cxa_refcounted_exception
556 instead of __cxa_exception.
557 * libsupc++/eh_throw.cc (__gxx_exception_cleanup,
558 __cxxabiv1::__cxa_throw): Likewise.
559 * libsupc++/eh_ptr.cc (std::rethrow_exception,
560 std::__exception_ptr::exception_ptr::_M_addref,
561 std::__exception_ptr::exception_ptr::_M_release,
562 __gxx_dependent_exception_cleanup): Likewise.
563 * testsuite/18_support/exception/38732.cc: New test.
566 * acinclude.m4 (HAVE_AS_SYMVER_DIRECTIVE): New test.
567 * src/compatibility.cc: Don't use .symver directives if
568 _GLIBCXX_HAVE_AS_SYMVER_DIRECTIVE is not defined.
569 * config.h.in: Regenerated.
570 * configure: Likewise.
572 2009-01-07 Paolo Carlini <paolo.carlini@oracle.com>
575 * include/bits/stl_pair.h: Document C++03 pair vs swap.
577 2009-01-06 Benjamin Kosnik <bkoz@redhat.com>
579 * src/locale_init.cc (locale::_S_initialize_once): Move construction
581 (locale::classic): Here.
583 2009-01-06 Jonathan Wakely <jwakely.gcc@gmail.com>
585 * include/tr1_impl/regex: Fix bad return statements and typos.
587 2009-01-05 Benjamin Kosnik <bkoz@redhat.com>
589 * include/tr1_impl/regex: Remove unimplemented function definitions.
590 * testsuite/28_regex/init-list.cc: Compile only.
591 * testsuite/tr1/7_regular_expressions/regex/cons/char/
592 c_string_extended.cc: Same.
593 * testsuite/tr1/7_regular_expressions/basic_regex/assign/*: Same.
594 * testsuite/tr1/7_regular_expressions/basic_regex/ctors/*: Same.
596 2009-01-05 Benjamin Kosnik <bkoz@redhat.com>
599 * crossconfig.m4: Define HAVE_FABSF for hpux crosses.
600 * configure: Regenerate.
602 2009-01-05 Ben Elliston <bje@au.ibm.com>
604 * configure.ac (GLIBCXX_CHECK_STANDARD_LAYOUT): Remove invocation.
605 * configure: Regenerate.
607 2009-01-05 Ben Elliston <bje@au.ibm.com>
609 * configure.ac: Exchange the order of GLIBCXX_ENABLE_THREADS and
610 GLIBCXX_ENABLE_ATOMIC_BUILTINS macro invocations.
611 * configure: Regenerate.
613 2009-01-04 Richard Guenther <rguenther@suse.de>
616 * include/ext/pointer.h (_Relative_pointer_impl): Use an unsigned
617 integer type for storage, arithmetic and comparisons.
618 * testsuite/ext/ext_pointer/1_neg.cc: Adjust line numbers.
620 2009-01-04 Paolo Carlini <paolo.carlini@oracle.com>
623 * include/bits/forward_list.h (_Fwd_list_iterator<>::_M_next,
624 _Fwd_list_const_iterator::_M_next): Fix return type.
626 2009-01-03 Paolo Carlini <paolo.carlini@oracle.com>
628 * Revert last commit, reopen and suspend libstdc++/38678.
630 2009-01-01 Paolo Carlini <paolo.carlini@oracle.com>
633 * include/std/istream (basic_istream<>::_M_read): New.
634 * include/bits/istream.tcc (basic_istream<>::_M_read): Define.
635 (basic_istream<>::read, basic_istream<>::readsome): Use it.
636 * include/std/ostream (basic_ostream<>::_M_write_): New.
637 (basic_ostream<>::_M_write): Adjust.
638 * include/bits/ostream.tcc (basic_ostream<>::_M_write_): Define.
639 * testsuite/27_io/basic_istream/read/char/38678.cc: New.
640 * testsuite/27_io/basic_istream/read/wchar_t/38678.cc: Likewise.
641 * testsuite/27_io/basic_ostream/write/char/38678.cc: Likewise.
642 * testsuite/27_io/basic_ostream/write/wchar_t/38678.cc: Likewise.
644 2008-12-22 Jonathan Larmour <jifl@eCosCentric.com>
646 * include/ext/concurrence.h: Fix __gthread_cond_t initialisation
649 2008-12-22 Benjamin Kosnik <bkoz@redhat.com>
651 * doc/doxygen/stdheader.cc: Add cstdlib.
652 * doc/doxygen/user.cfg.in: Regenerate for doxygen 1.5.7.
654 2008-12-21 Andrew Pinski <pinskia@gmail.com>
657 * configure: Regenerate.
659 2008-12-21 Paolo Carlini <paolo.carlini@oracle.com>
662 * include/tr1_impl/functional (function<>::target,
663 function<>::target_type): Provide only when __GXX_RTTI is defined.
664 (_Function_base::_M_manager, _Ref_manager<>::_M_manager,
665 _Function_handler<void(_ArgTypes...), _Member _Class::*>::_M_manager):
668 2008-12-19 Ben Elliston <bje@au.ibm.com>
670 * acinclude.m4: Guard a variable test against an empty string.
671 * configure: Regenerate.
673 2008-12-18 Jack Howarth <howarth@bromo.med.uc.edu>
675 * testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc:
676 Add xfail on all targets except darwin.
677 * libstdc++-v3/testsuite/21_strings/basic_string/element_access/char/
679 * libstdc++-v3/testsuite/22_locale/ctype/is/char/2.cc: Correct syntax
680 for xfailing on all targets except linux.
682 2008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
684 * configure: Regenerate.
686 2008-12-17 Jack Howarth <howarth@bromo.med.uc.edu>
688 * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
689 Don't xfail test on darwin8 or later.
691 2008-12-16 Jack Howarth <howarth@bromo.med.uc.edu>
693 * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
694 Don't xfail excessive errors on darwin8 or later.
696 2008-12-15 Benjamin Kosnik <bkoz@redhat.com>
698 * include/c_global/cstdatomic: Remove assert include.
699 * include/debug/debug.h: Consolidate __replacement_assert...
700 * include/parallel/base.h: Consolidate __replacement_assert...
701 * include/bits/c++config: ...here.
702 * include/bits/atomic_0.h: Use it.
703 * include/bits/atomic_2.h: Same.
704 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers.
705 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
707 2008-12-13 Benjamin Kosnik <bkoz@redhat.com>
709 * src/atomic.cc: Revert last change.
710 * include/bits/atomic_2.h: Move cassert include to...
711 * include/c_global/cstdatomic: ...here.
712 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers.
713 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
715 2008-12-12 Benjamin Kosnik <bkoz@redhat.com>
717 * src/Makefile.am: Remove -x c++ for atomic build rules.
718 * src/Makefile.in: Regenerate.
719 * src/atomic.cc: Move mutex include before cstdatomic.
721 2008-12-12 H.J. Lu <hongjiu.lu@intel.com>
724 * testsuite/util/regression/trait/assoc/type_trait.hpp
725 (regression_test_type_traits): Add const to pair_type_rebind.
727 2008-12-12 Benjamin Kosnik <bkoz@redhat.com>
729 * src/atomic.cc: Correct guards to match mutex.cc.
731 2008-12-11 Benjamin Kosnik <bkoz@redhat.com>
732 Richard Henderson <rth@redhat.com>
734 * include/c_global/cstdatomic: Update to N2798.
735 (atomic): Remove explicit constructors as per DR 845.
736 * include/bits/atomic_0.h: New. Switchable implementation.
737 * include/bits/atomic_2.h: New. Lock-free implementation.
738 * include/c_compatibility/stdatomic.h: Use foward headers.
739 * include/bits/atomicfwd_cxx.h: New.
740 * include/bits/atomicfwd_c.h: New.
741 * src/atomic.cc: Adjust.
742 * acinclude.m4 (GLIBCXX_CHECK_STANDARD_LAYOUT): Remove,
743 unconditionally use default/deleted syntax.
744 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Check for 2, 8.
745 * include/Makefile.am (bits_headers): Add atomicfwd_c.h,
746 atomicfwd_cxx.h, atomic_0.h, atomic_2.h.
747 * include/Makefile.in: Regenerate.
748 * configure: Regenerate.
749 * config.h.in: Regenerate.
750 * config/abi/pre/gnu.ver: Adjust exports.
752 * testsuite/27_io/ios_base/types/fmtflags/bitmask_operators.cc: Adjust.
753 * testsuite/27_io/ios_base/types/openmode/bitmask_operators.cc: Same.
754 * testsuite/27_io/ios_base/types/iostate/bitmask_operators.cc: Same.
755 * testsuite/29_atomics/atomic_address/cons/assign_neg.cc: Same.
756 * testsuite/29_atomics/atomic_address/cons/explicit_value.cc: Move to..
757 * testsuite/29_atomics/atomic_address/cons/single_value.cc: ...this.
758 * testsuite/29_atomics/atomic_address/cons/copy_neg.cc
759 * testsuite/29_atomics/atomic_integral/cons/single_value.cc: New.
760 * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: New.
761 * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: New.
762 * testsuite/29_atomics/atomic_integral/cons/default.cc: New.
763 * testsuite/29_atomics/atomic_integral/cons/direct_list.cc: New.
764 * testsuite/29_atomics/atomic_integral/cons/copy_list.cc: New.
765 * testsuite/29_atomics/atomic_integral/requirements/
766 standard_layout.cc: New.
767 * testsuite/29_atomics/atomic_integral/operators/
768 integral_assignment.cc: New.
769 * testsuite/29_atomics/atomic_integral/operators/increment_neg.cc: New.
770 * testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc: New.
771 * testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc: New.
772 * testsuite/29_atomics/atomic_integral/operators/increment.cc: New.
773 * testsuite/29_atomics/atomic_integral/operators/decrement.cc: New.
774 * testsuite/29_atomics/atomic_integral/operators/bitwise.cc: New.
775 * testsuite/29_atomics/atomic_integral/operators/
776 integral_conversion.cc: New.
777 * testsuite/29_atomics/atomic_flag/cons/assign_neg.cc: Adjust.
778 * testsuite/29_atomics/atomic_flag/cons/copy_neg.cc: Same.
779 * testsuite/29_atomics/atomic_flag/requirements/
780 standard_layout.cc: Same.
781 * testsuite/29_atomics/atomic_flag/
782 atomic_global_fence_compatibility.cc: Kill.
783 * testsuite/29_atomics/headers/cstdatomic/types_std_c++0x.cc: Adjust.
784 * testsuite/29_atomics/headers/cstdatomic/functions_std_c++0x.cc: Same.
785 * testsuite/29_atomics/headers/cstdatomic/macros.cc: Same.
786 * testsuite/29_atomics/headers/stdatomic.h/macros.c: Same.
787 * testsuite/29_atomics/headers/stdatomic.h/types.c: Same.
788 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
789 * testsuite/29_atomics/atomic/cons/explicit_value.cc: Move to...
790 * testsuite/29_atomics/atomic/cons/single_value.cc: ...this.
791 * testsuite/29_atomics/atomic/cons/copy_neg.cc
792 * testsuite/29_atomics/atomic/cons/direct_list.cc: New.
793 * testsuite/29_atomics/atomic/cons/copy_list.cc: New.
794 * testsuite/29_atomics/atomic/requirements/standard_layout.cc: New.
795 * testsuite/29_atomics/atomic/requirements/base_classes.cc: New.
796 * testsuite/29_atomics/atomic/operators/integral_assignment.cc: New.
797 * testsuite/29_atomics/atomic/operators/integral_conversion.cc: New.
798 * testsuite/util/testsuite_hooks.h (bitmask_operators): Move...
799 * testsuite/util/testsuite_common_types.h: ...here.
800 (atomic_integrals_no_bool): New.
801 (atomic_integrals): New.
802 (has_increment_operators, has_decrement_operators)
803 (direct_list_initializable, single_value_constructible)
804 (standard_layout, has_bitwise_operators, integral_convertable)
805 (integral_assignable): Add.
807 2008-12-11 Jakub Jelinek <jakub@redhat.com>
810 * testsuite/26_numerics/headers/cmath/37582.cc: New.
812 2008-12-08 Paolo Carlini <paolo.carlini@oracle.com>
814 * include/tr1_impl/cmath: Undef remquof / remquol too; add using
816 * acinclude.m4 [GLIBCXX_CHECK_C99_TR1]: Check remquof / remquol too.
817 * testsuite/tr1/8_c_compatibility/cmath/functions.cc: Adjust.
818 * configure: Regenerate.
820 2008-12-08 Edward Smith-Rowland <3dw4rd@verizon.net>
822 * include/bits/forward_list.h: Fixed spurious "forward_swap" in doxy.
824 2008-12-06 Paolo Carlini <paolo.carlini@oracle.com>
827 * include/tr1/ell_integral.tcc: Avoid __ea, future SPU badname.
828 * doc/xml/manual/appendix_contributing.xml: Add __ea to the list
831 2008-12-05 Tom Tromey <tromey@redhat.com>
833 * include/tr1_impl/functional (_Mu): Fix typo.
835 2008-12-05 Paolo Carlini <paolo.carlini@oracle.com>
838 * include/bits/locale_facets_nonio.tcc (money_get<>::
839 _M_extract(iter_type, iter_type, ios_base&, ios_base::iostate&,
840 string&)): Fix, reject decimal point when frac_digits <= 0.
841 * testsuite/22_locale/money_get/get/char/38399.cc: New.
842 * testsuite/22_locale/money_get/get/wchar_t/38399.cc: Likewise.
843 * testsuite/22_locale/money_get/get/char/5.cc: Adjust.
844 * testsuite/22_locale/money_get/get/wchar_t/5.cc: Likewise.
846 2008-12-05 Paolo Carlini <paolo.carlini@oracle.com>
849 * testsuite/22_locale/numpunct/members/char/2.cc: Use is_IS instead
851 * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Likewise.
852 * testsuite/22_locale/locale/cons/7.cc: Likewise.
854 2008-12-04 Paolo Carlini <paolo.carlini@oracle.com>
857 * config/locale/gnu/numeric_members.cc (numpunct<char>::
858 _M_initialize_numpunct, numpunct<wchar_t>::_M_initialize_numpunct):
859 Fix for THOUSANDS_SEP == '\0' consistently with "C" locale.
860 * config/locale/gnu/monetary_members.cc (moneypunct<char, true>::
861 _M_initialize_moneypunct, moneypunct<char, false>::
862 _M_initialize_moneypunct, moneypunct<wchar_t, true>::
863 _M_initialize_moneypunct, moneypunct<wchar_t, false>::
864 _M_initialize_moneypunct): Fix for __MON_DECIMAL_POINT == '\0' or
865 __MON_THOUSANDS_SEP == '\0' consistently with "C" locale.
866 * testsuite/22_locale/locale/cons/38368.cc: New.
868 2008-12-02 Paolo Carlini <paolo.carlini@oracle.com>
870 PR libstdc++/38365 (cont)
871 * src/localename.cc (locale::locale(const locale&, const locale&,
872 category)): Revert last changes.
873 (locale::_Impl::_M_replace_categories(const _Impl*, category)):
874 Fix here instead; rework.
876 2008-12-02 Paolo Carlini <paolo.carlini@oracle.com>
879 * src/localename.cc (locale::locale(const locale&, const locale&,
881 * testsuite/22_locale/locale/cons/38365.cc: New.
883 2008-12-01 Benjamin Kosnik <bkoz@redhat.com>
886 * include/std/iostream: Correct URL.
887 * include/std/streambuf: Same.
888 * include/std/bitset: Same.
889 * include/std/iosfwd: Same.
890 * include/std/fstream: Same.
891 * include/std/istream: Same.
892 * include/std/ostream: Same.
893 * include/std/sstream: Same.
894 * include/bits/basic_ios.h: Same.
895 * include/bits/stl_map.h: Same.
896 * include/bits/stl_set.h: Same.
897 * include/bits/stl_multimap.h: Same.
898 * include/bits/ios_base.h: Same.
899 * include/bits/stl_multiset.h: Same.
900 * include/bits/char_traits.h: Same.
901 * include/bits/stl_relops.h: Same.
902 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
903 * testsuite/27_io/ios_base/cons/copy_neg.cc: Ditto.
905 2008-11-26 Janis Johnson <janis187@us.ibm.com>
908 * testsuite/lib/libstdc++.exp: Include new timeout library files.
909 (libstdc++_init): Define tool_timeout.
910 (dg-test): Override DejaGnu proc.
911 (v3_target_compile): Set timeout value from new proc.
912 (v3_target_compile_as_c): Ditto.
914 2008-11-24 Paolo Carlini <paolo.carlini@oracle.com>
916 PR libstdc++/38244 (cont, debug bits)
917 * include/debug/bitset (bitset<>::bitset(const char*, char, char)):
918 Remove, do not implement DR 778.
920 2008-11-24 Paolo Carlini <paolo.carlini@oracle.com>
923 * include/std/bitset (bitset<>::bitset(const char*, char, char)):
924 Remove, do not implement DR 778.
925 * doc/xml/manual/intro.xml: Remove entry for DR 778.
926 * testsuite/23_containers/bitset/cons/2.cc: Remove.
927 * testsuite/23_containers/bitset/cons/dr396.cc: Tweak.
928 * testsuite/23_containers/bitset/cons/38244.cc: Add.
930 2008-11-21 Paolo Carlini <paolo.carlini@oracle.com>
932 * testsuite/22_locale/num_put/put/char/38210.cc: Tweak.
933 * testsuite/22_locale/num_put/put/wchar_t/38210.cc: Likewise.
935 2008-11-21 Paolo Carlini <paolo.carlini@oracle.com>
938 * include/bits/locale_facets.tcc (num_put<>::do_put(iter_type,
939 ios_base&, char_type, const void*)): Fix.
940 * testsuite/22_locale/num_put/put/char/38210.cc: New.
941 * testsuite/22_locale/num_put/put/wchar_t/38210.cc: Likewise.
943 2008-11-20 Paolo Carlini <paolo.carlini@oracle.com>
946 * include/bits/locale_facets.tcc (num_put<>::do_put(iter_type,
947 ios_base&, char_type, bool)): Fix.
948 * testsuite/22_locale/num_put/put/char/38196.cc: New.
949 * testsuite/22_locale/num_put/put/wchar_t/38196.cc: Likewise.
951 2008-11-18 Paolo Carlini <paolo.carlini@oracle.com>
953 * include/tr1_impl/cinttypes: Remove redundant pragma system_header.
954 * include/tr1_impl/cfenv: Likewise.
955 * include/tr1_impl/cstdint: Likewise.
957 2008-11-13 Paolo Carlini <paolo.carlini@oracle.com>
960 * include/c_global/csignal: Do not use include_next.
961 * include/c_global/cstdlib: Likewise.
962 * include/c_global/cstdio: Likewise.
963 * include/c_global/cstdarg: Likewise.
964 * include/c_global/cctype: Likewise.
965 * include/c_global/cerrno: Likewise.
966 * include/c_global/cmath: Likewise.
967 * include/c_global/clocale: Likewise.
968 * include/c_global/climits: Likewise.
969 * include/c_global/cassert: Likewise.
970 * include/c_global/csetjmp: Likewise.
971 * include/c_global/cwchar: Likewise.
972 * include/c_global/cfloat: Likewise.
973 * include/c_global/cstdbool: Likewise.
974 * include/c_global/cstring: Likewise.
975 * include/c_global/cstddef: Likewise.
976 * include/c_global/cwctype: Likewise.
977 * include/tr1/cstdbool: Likewise.
978 * include/tr1_impl/cinttypes: Do not include <inttypes.h>.
979 * include/c_global/cinttypes: Do it here.
980 * include/tr1/cinttypes: Likewise.
981 * include/tr1_impl/cfenv: Do not include <fenv.h>.
982 * include/c_global/cfenv: Do it here.
983 * include/tr1/cfenv: Likewise.
984 * include/tr1_impl/cstdint: Do not include <stdint.h>.
985 * include/c_global/cstdint: Do it here.
986 * include/tr1/cstdint: Likewise.
987 * include/c_compatibility/fenv.h: Include <tr1_impl/cfenv>.
988 * include/c_compatibility/stdint.h: Include <tr1_impl/cstdint>.
989 * include/c_compatibility/inttypes.h: Include <tr1_impl/cinttypes>.
991 * include/c_compatibility/math.h: Minor tweak, add comment.
993 2008-11-12 Steve Ellcey <sje@cup.hp.com>
995 * configure.ac: Move call to GCC_CHECK_UNWIND_GETIPINFO.
996 * configure: Regenerate to get new GCC_CHECK_UNWIND_GETIPINFO.
998 2008-11-12 Paolo Carlini <paolo.carlini@oracle.com>
1000 PR libstdc++/37986 (cont)
1001 * include/tr1_impl/random (struct _Adaptor): Use only remove_reference
1003 (struct _Adaptor<_Engine*, _Distribution>): Add.
1004 * testsuite/tr1/5_numerical_facilities/random/variate_generator/
1007 2008-11-11 Paolo Carlini <paolo.carlini@oracle.com>
1010 * include/tr1_impl/random (struct _Adaptor): Use remove_pointer
1011 and remove_reference on _Engine.
1012 * testsuite/tr1/5_numerical_facilities/random/variate_generator/
1015 2008-11-11 Paolo Carlini <paolo.carlini@oracle.com>
1017 * testsuite/ext/ext_pointer/1_neg.cc: Adjust dg-error line numbers.
1019 2008-11-11 Paolo Carlini <paolo.carlini@oracle.com>
1021 * testsuite/23_containers/vector/ext_pointer/modifiers/erase.cc: Fix.
1022 * testsuite/23_containers/vector/ext_pointer/modifiers/element.cc:
1025 2008-11-11 Bob Walters <bob.s.walters@gmail.com>
1027 * include/bits/forward_list.h: Support non-standard pointer types
1028 (_Fwd_list_node_base): Add _Alloc template parameter.
1029 (_Fwd_list_node<>): Likewise.
1030 (_Fwd_list_iterator<>): Likewise.
1031 (_Fwd_list_const_iterator<>): Likewise.
1032 (_Fwd_list_node_base::_M_next, _M_transfer_after, _M_reverse_after):
1033 Use _Alloc<_Tp>::pointer.
1034 (_Fwd_list_iterator<>::_M_node): Use _Node_base::_Pointer.
1035 (_Fwd_list_base<>::_M_get_node, _M_create_node, _M_create_node,
1036 _M_insert_after, _M_put_node, _M_erase_after): Likewise.
1037 (_Fwd_list_const_iterator<>::_M_node): use _Node_base::_Const_pointer.
1038 (forward_list<>): Use __static_pointer_cast in place of static_cast,
1039 and __const_pointer_cast in place of const_cast.
1040 * include/bits/forward_list.tcc
1041 (_Fwd_list_node<>::_M_sort_after): Using _Pointer typedefs in place
1042 of standard pointers, __static_pointer_cast in place of static_cast.
1043 (_Fwd_list_base<>::_Fwd_list_base, _M_insert_after, _M_erase_after):
1045 (forward_list<>::_M_initialize_dispatch, _M_fill_initialize,
1046 splice_after, remove, remove_if, merge): Likewise.
1047 * testsuite/23_containers/forward_list/ext_pointer/modifiers/1.cc: New.
1048 * testsuite/23_containers/forward_list/ext_pointer/modifiers/2.cc:
1050 * testsuite/23_containers/forward_list/ext_pointer/modifiers/3.cc:
1052 * testsuite/23_containers/forward_list/ext_pointer/modifiers/4.cc:
1054 * testsuite/23_containers/forward_list/ext_pointer/modifiers/5.cc:
1056 * testsuite/23_containers/forward_list/ext_pointer/operations/1.cc:
1058 * testsuite/23_containers/forward_list/ext_pointer/operations/2.cc:
1060 * testsuite/23_containers/forward_list/ext_pointer/operations/3.cc:
1062 * testsuite/23_containers/forward_list/ext_pointer/operations/4.cc:
1064 * testsuite/23_containers/forward_list/ext_pointer/operations/5.cc:
1066 * testsuite/23_containers/forward_list/ext_pointer/operations/6.cc:
1068 * testsuite/23_containers/forward_list/ext_pointer/operations/7.cc:
1070 * testsuite/23_containers/forward_list/ext_pointer/requirements/1.cc:
1072 * testsuite/23_containers/forward_list/ext_pointer/requirements/
1073 explicit_instantiation/1.cc: Likewise.
1074 * testsuite/23_containers/forward_list/ext_pointer/requirements/
1075 explicit_instantiation/3.cc: Likewise.
1076 * testsuite/23_containers/forward_list/ext_pointer/1.cc: Likewise.
1078 2008-11-11 Paolo Carlini <paolo.carlini@oracle.com>
1080 * include/ext/extptr_allocator.h: Minor tweaks.
1081 * include/ext/pointer.h: Likewise.
1082 * include/ext/cast.h: Likewise.
1084 2008-11-10 Paolo Carlini <paolo.carlini@oracle.com>
1087 * config/locale/gnu/monetary_members.cc (moneypunct<>::
1088 _M_initialize_moneypunct(__c_locale, const char*)): Use correct vector
1089 delete for __wcs_ps and __wcs_ns.
1091 2008-11-07 Bob Walters <bob.s.walters@gmail.com>
1093 * include/ext/pointer.h: New, add experimental support for non-standard
1094 pointer types in containers via the allocator::pointer typedef.
1095 (Currently only supported/working with std::vector)
1096 * include/ext/cast.h: New, add overload-able pointer casting functions
1097 for use in containers supporting non-standard pointer types.
1098 * include/ext/extptr_allocator.h: New, add _ExtPtr_allocator.
1099 * include/Makefile.am: Update.
1100 * include/precompiled/extc++.h: Likewise.
1101 * include/Makefile.in: Regenerate.
1102 * testsuite/ext/ext_pointer/1.cc: New.
1103 * testsuite/ext/ext_pointer/1_neg.cc: Likewise.
1104 * testsuite/23_containers/vector/ext_pointer/citerators.cc: New.
1105 * testsuite/23_containers/vector/ext_pointer/data_access.cc: Likewise.
1106 * testsuite/23_containers/vector/ext_pointer/resize.cc: Likewise.
1107 * testsuite/23_containers/vector/ext_pointer/types/1.cc: Likewise.
1108 * testsuite/23_containers/vector/ext_pointer/modifiers/element.cc:
1110 * testsuite/23_containers/vector/ext_pointer/modifiers/erase.cc:
1112 * testsuite/23_containers/vector/ext_pointer/modifiers/insert.cc:
1114 * testsuite/23_containers/vector/ext_pointer/explicit_instantiation/
1116 * testsuite/23_containers/vector/ext_pointer/explicit_instantiation/
1119 2008-11-05 Jonathan Wakely <jwakely.gcc@gmail.com>
1123 * include/tr1_impl/functional (result_of,reference_wrapper): Update
1124 to use C++0x features.
1125 * testsuite/20_util/function_objects/return_types/result_of.cc: New.
1126 * testsuite/20_util/function_objects/return_types/result_of_neg.cc:
1128 * testsuite/20_util/function_objects/return_types/result_of_ref.cc:
1130 * testsuite/20_util/reference_wrapper/24803.cc: Uncomment FIXMEs.
1132 2008-11-05 Jonathan Wakely <jwakely.gcc@gmail.com>
1136 * include/tr1_impl/functional (result_of,reference_wrapper): Update
1137 to use C++0x features.
1138 * testsuite/20_util/function_objects/return_types/result_of.cc: New.
1139 * testsuite/20_util/function_objects/return_types/result_of_neg.cc:
1141 * testsuite/20_util/function_objects/return_types/result_of_ref.cc:
1143 * testsuite/20_util/reference_wrapper/24803.cc: Uncomment FIXMEs.
1145 2008-11-03 Paolo Carlini <paolo.carlini@oracle.com>
1147 * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
1148 iter_type, ios_base&, ios_base::iostate&, bool&): Tidy.
1149 * testsuite/22_locale/num_get/get/char/37958.cc: Extend.
1150 * testsuite/22_locale/num_get/get/wchar_t/37958.cc: Likewise.
1152 2008-11-01 Paolo Carlini <paolo.carlini@oracle.com>
1154 PR libstdc++/37958 (cont again)
1155 * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
1156 iter_type, ios_base&, ios_base::iostate&, bool&): Fix again.
1157 * testsuite/22_locale/num_get/get/char/37958.cc: Extend.
1158 * testsuite/22_locale/num_get/get/wchar_t/37958.cc: Likewise.
1160 2008-11-01 Paolo Carlini <paolo.carlini@oracle.com>
1162 * include/bits/locale_facets.tcc (num_get<>::do_get(, long&),
1163 num_get<>::do_get(, unsigned short&),
1164 num_get<>::do_get(, unsigned int&),
1165 num_get<>::do_get(, unsigned long&),
1166 num_get<>::do_get(, long long&),
1167 num_get<>::do_get(, unsigned long long&),
1168 num_put<>::do_put(, long), num_put<>::do_put(, unsigned long),
1169 num_put<>::do_put(, long long),
1170 num_put<>::do_put(, unsigned long long)): Move inline...
1171 * include/bits/locale_facets.h: ... here.
1173 2008-11-01 Paolo Carlini <paolo.carlini@oracle.com>
1175 PR libstdc++/37958 (cont)
1176 * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
1177 iter_type, ios_base&, ios_base::iostate&, bool&): Fix again.
1179 2008-11-01 Jonathan Wakely <jwakely.gcc@gmail.com>
1181 * include/bits/shared_ptr.h: Update comparisons to match WP.
1182 (_Sp_counted_ptr): Make copy and assignment members deleted.
1183 (_Sp_counted_deleter): Remove private copy and assignment members.
1184 (__shared_count::_M_less,__weak_count::_M_less,operator<): Replace
1185 friend operator< with overloaded _M_less member functions to allow
1186 comparison with either shared_count or weak_count.
1187 (__shared_ptr::_M_less,__weak_ptr::_M_less): Replace with...
1188 (__shared_ptr::owner_before,__weak_ptr::owner_before): New overloads
1189 for ownership-based ordering.
1190 (operator<(__shared_ptr,__shared_ptr)): Compare stored pointers,
1192 (operator==(__shared_ptr,__shared_ptr)): Make non-friend.
1193 (operator!=(__shared_ptr,__shared_ptr)): Likewise.
1194 (less<__shared_ptr<>>,less<shared_ptr<>>,_Sp_less): Explicitly call
1195 pointer specialization.
1196 (__weak_ptr::operator<,weak_ptr::operator<=,weak_ptr::operator>,
1197 weak_ptr::operator>=): Remove operator< and delete all comparisons.
1198 (_Sp_owner_less,owner_less): Predicate for ownership-based ordering.
1199 (operator<(shared_ptr,shared_ptr): Overload for derived shared_ptr.
1200 (operator==(shared_ptr,shared_ptr): Likewise.
1201 (operator!=(shared_ptr,shared_ptr): Likewise.
1202 (swap(shared_ptr,shared_ptr)): Fix parameter types.
1203 (swap(weak_ptr,weak_ptr)): Add missing overload.
1204 * testsuite/20_util/owner_less/cmp.cc: New.
1205 * testsuite/20_util/shared_ptr/comparison/cmp.cc: Test other ops.
1206 * testsuite/20_util/shared_ptr/comparison/less.cc: New.
1207 * testsuite/20_util/shared_ptr/observers/owner_before.cc: New.
1208 * testsuite/20_util/weak_ptr/observers/owner_before.cc: New.
1209 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: New.
1211 2008-10-31 Paolo Carlini <paolo.carlini@oracle.com>
1214 * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
1215 iter_type, ios_base&, ios_base::iostate&, bool&): Fix.
1216 * testsuite/22_locale/num_get/get/char/37958.cc: New.
1217 * testsuite/22_locale/num_get/get/wchar_t/37958.cc: Likewise.
1219 2008-10-27 Paolo Carlini <paolo.carlini@oracle.com>
1223 2008-10-18 Douglas Gregor <doug.gregor@gmail.com>
1225 * include/bits/stl_pair.h (__may_be_null_pointer_init): New.
1226 (pair::pair): Eliminate the redundant pair(U1&&, U2&&) constructor.
1227 Add lvalue pair<U1, U2> constructor to handle non-const pair lvalues.
1228 Remove the old variadic constructor, and instead provide several
1229 variadic constructors that avoid failing when attempting to
1230 initialize a pointer from a null pointer constant.
1231 * testsuite/20_util/pair/moveable.cc (test3): Add new tests with
1232 initialization of pointers from the null pointer constant.
1234 2008-10-27 Paolo Carlini <paolo.carlini@oracle.com>
1237 * config/os/mingw32/os_defines.h: Define _GLIBCXX_HAVE_BROKEN_VSWPRINTF
1238 * include/bits/basic_string.h: Guard string conversions with
1239 !defined(_GLIBCXX_HAVE_BROKEN_VSWPRINTF) too.
1240 * testsuite/lib/libstdc++.exp (check_v3_target_string_conversions):
1242 * testsuite/lib/dg-options.exp (dg-require-string-conversions): New.
1243 * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
1245 * testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc:
1247 * testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
1249 * testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
1251 * testsuite/21_strings/basic_string/numeric_conversions/char/
1252 stoull.cc: Likewise.
1253 * testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc:
1255 * testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
1257 * testsuite/21_strings/basic_string/numeric_conversions/char/
1258 to_string.cc: Likewise.
1259 * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
1262 2008-10-24 Paolo Carlini <paolo.carlini@oracle.com>
1264 * config/os/generic/error_constants.h (enum errc): Remove
1265 no_posix_equivalent.
1266 * config/os/mingw32/error_constants.h (enum errc): Likewise.
1267 * testsuite/19_diagnostics/headers/system_error/errc_std_c++0x.cc:
1270 2008-10-24 Jakub Jelinek <jakub@redhat.com>
1272 * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Remove dejagnu.
1273 (RUNTESTDEFAULTFLAGS, EXPECT, check_DEJAGNU_normal_targets): New
1275 (%/site.exp, check-DEJAGNU%): New targets.
1276 (check-am): Run $(MAKE) check-DEJAGNU.
1277 * testsuite/Makefile.in: Regenerated.
1279 2008-10-23 Chris Fairles <cfairles@gcc.gnu.org>
1281 * config/os/generic/error_constants.h (errc): Use long type.
1282 * config/os/mingw32/error_constants.h (errc): Likewise.
1284 2008-10-22 Chris Fairles <cfairles@gcc.gnu.org>
1286 * include/std/system_error (is_error_code_enum): Specialize for errc.
1287 (error_category::error_category): Defaulted and protected.
1288 (error_category::~error_category): New, virtual.
1289 (error_category::error_category(const error_category&),
1290 error_category::operator=(const error_category&)): Deleted.
1291 (get_system_category, get_posix_category): Remove (DR 890).
1292 (system_category): External linkage (DR 890).
1293 (posix_category): Remove.
1294 (generic_category): Add. External linkage (DR 890).
1295 (error_code::error_code<>(_ErrorCodeEnum)): Use generic_category.
1296 (error_code::clear, error_code::operator=<>(_ErrorCodeEnum)): Forward to
1297 error_code::assign, use generic_category.
1298 (error_condition::error_condition,
1299 error_condition::error_condition<>(_ErrorConditionEnum)): Use
1301 (error_condition::clear,
1302 error_condition::operator=<>(_ErrorConditionEnum)): Forward to
1303 error_code::assign, use generic_category.
1304 (make_error_code, make_error_condition): Define in namespace std.
1305 * include/std/mutex (unique_lock<>::lock, unique_lock<>::try_lock,
1306 unique_lock<>::try_lock_until<>(duration),
1307 unique_lock<>::try_lock_for<>(duration)): Replace posix_error with errc.
1308 * src/system_error.cc (system_error_category, generic_error_category):
1310 (gnu_error_category): Remove.
1311 (get_system_category, get_posix_category): Remove (DR 890).
1312 (system_category, generic_category): Define.
1313 * src/functexcept.cc (__throw_system_error): Use generic_category.
1314 * config/abi/pre/gnu.ver: Export system_category and generic_category,
1315 remove get_system_category and get_generic_category (DR 890).
1316 * config/os/generic/error_constants.h (posix_errno): Rename to errc, use
1317 enum class type. Fix spelling.
1318 * config/os/mingw32/error_constants.h (posix_errno): Likewise.
1319 * testsuite/19_diagnostics/error_code/cons/1.cc: Use errc and
1321 * testsuite/19_diagnostics/error_code/operators/bool.cc: Use errc.
1322 * testsuite/19_diagnostics/error_code/operators/equal.cc: Likewise.
1323 * testsuite/19_diagnostics/error_code/operators/not_equal.cc: Likewise.
1324 * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Update
1325 dg-error line numbers.
1326 * testsuite/19_diagnostics/error_condition/cons/1.cc: Use
1328 * testsuite/19_diagnostics/error_condition/operators/bool.cc: Use errc.
1329 * testsuite/19_diagnostics/error_condition/operators/equal.cc: Likewise.
1330 * testsuite/19_diagnostics/error_condition/operators/not_equal.cc:
1332 * testsuite/19_diagnostics/headers/system_error/errc_std_c++0x.cc: New.
1333 * testsuite/19_diagnostics/headers/system_error/types_std_c++0x.cc:
1334 Remove using tests since errc is not a namespace.
1335 * testsuite/19_diagnostics/system_error/cons-1.cc: Use errc.
1336 * testsuite/19_diagnostics/system_error/what-4.cc: Likewise.
1337 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/error_code.cc:
1339 * testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc:
1341 * testsuite/30_threads/unique_lock/locking/2.cc: Likewise.
1343 2008-10-20 Paolo Carlini <paolo.carlini@oracle.com>
1345 * include/tr1_impl/hashtable_policy.h (_Hash_node<>::_Hash_node<>
1346 (_Args&&...)): Add in C++0x mode.
1347 * include/tr1_impl/hashtable (_Hashtable<>::_M_allocate_node,
1348 _Hashtable<>::_M_deallocate_node): Use _M_get_Node_allocator in
1351 * include/tr1_impl/hashtable (_Hashtable<>::max_size): Use
1352 Node_allocator for improved accuracy.
1353 * testsuite/tr1/6_containers/unordered_multimap/capacity/
1354 29134-multimap.cc: Adjust.
1355 * testsuite/tr1/6_containers/unordered_multimap/capacity/
1356 29134-map.cc: Likewise.
1357 * testsuite/tr1/6_containers/unordered_multimap/capacity/
1358 29134-multiset.cc: Adjust.
1359 * testsuite/tr1/6_containers/unordered_multimap/capacity/
1360 29134-set.cc: Likewise.
1362 2008-10-19 Paolo Carlini <paolo.carlini@oracle.com>
1364 * include/bits/stl_tree.h (_Rb_tree_node<>::_Rb_tree_node<>
1365 (_Args&&...)): Add in C++0x mode.
1366 (_Rb_tree<>::_M_create_node<>(_Args&&...)): Add in C++0x mode,
1367 use _M_get_Node_allocator.
1368 (_Rb_tree<>::_M_destroy_node(_Link_type): Use _M_get_Node_allocator
1370 * testsuite/23_containers/set/operators/1_neg.cc: Adjust dg-error
1372 * testsuite/23_containers/map/operators/1_neg.cc: Likewise.
1374 2008-10-18 Douglas Gregor <doug.gregor@gmail.com>
1376 * include/bits/stl_pair.h (__may_be_null_pointer_init): New.
1377 (pair::pair): Eliminate the redundant pair(U1&&, U2&&) constructor.
1378 Add lvalue pair<U1, U2> constructor to handle non-const pair lvalues.
1379 Remove the old variadic constructor, and instead provide several
1380 variadic constructors that avoid failing when attempting to
1381 initialize a pointer from a null pointer constant.
1382 * testsuite/20_util/pair/moveable.cc (test3): Add new tests with
1383 initialization of pointers from the null pointer constant.
1385 2008-10-17 Paolo Carlini <paolo.carlini@oracle.com>
1387 * include/bits/forward_list.tcc (forward_list<>::
1388 _M_initialize_dispatch(_InputIterator, _InputIterator, __false_type)):
1391 2008-10-17 Paolo Carlini <paolo.carlini@oracle.com>
1393 * include/bits/forward_list.h (forward_list<>::
1394 forward_list(size_type)): Tweak, use _Base default constructor.
1396 2008-10-17 Paolo Carlini <paolo.carlini@oracle.com>
1398 * include/bits/forward_list.h (forward_list<>::insert_after): Minor
1401 2008-10-16 Edward Smith-Rowland <3dw4rd@verizon.net>
1403 * include/bits/forward_list.h: Factor list construction to dispatch
1405 * include/bits/forward_list.tcc: Likewise.
1406 * testsuite/23_containers/forward_list/modifiers/2.cc:
1408 2008-10-16 Paolo Carlini <paolo.carlini@oracle.com>
1410 * include/bits/forward_list.tcc (operator==): Use auto.
1412 2008-10-16 Paolo Carlini <paolo.carlini@oracle.com>
1414 * include/bits/forward_list.h (_Fwd_list_base<>::_M_insert_after):
1415 Move out of line, tweak to return _Fwd_list_node_base*.
1416 (forward_list<>::insert_after(const_iterator, const _Tp&),
1417 forward_list<>::insert_after(const_iterator, _Tp&&)): Use it.
1418 * include/bits/forward_list.tcc (_Fwd_list_base<>::_M_insert_after):
1421 * include/bits/forward_list.h (forward_list<>): Consistently qualify
1422 calls of base class functions with this->.
1423 * include/bits/forward_list.tcc (forward_list<>): Likewise.
1425 * include/bits/forward_list.h: Move some functions out of line...
1426 * include/bits/forward_list.tcc: ... here.
1428 * include/bits/forward_list.h (forward_list<>::resize(size_type)): Fix.
1430 2008-10-15 Paolo Carlini <paolo.carlini@oracle.com>
1432 * include/bits/forward_list.h: Remove pointless const qualifiers in
1434 * include/bits/forward_list.tcc: Likewise.
1436 * include/bits/forward_list.h (forward_list<>::pointer,
1437 const_pointer, reference, const_reference): Fix, use _Tp_alloc_type.
1438 * testsuite/23_containers/forward_list/requirements/
1439 explicit_instantiation/1.cc: New.
1440 * testsuite/23_containers/forward_list/requirements/
1441 explicit_instantiation/1.cc: Likewise.
1443 2008-10-15 Paolo Carlini <paolo.carlini@oracle.com>
1445 * include/bits/forward_list.h (forward_list<>::max_size): Use
1446 Node_allocator; minor cosmetic changes.
1447 * testsuite/23_containers/forward_list/capacity/1.cc: Adjust.
1449 2008-10-15 Edward Smith-Rowland <3dw4rd@verizon.net>
1451 * include/std/forward_list: New.
1452 * include/bits/forward_list.h: Likewise.
1453 * include/bits/forward_list.tcc: Likewise.
1454 * include/precompiled/stdc++.h: Modified to include forward_list.
1455 * include/Makefile.am: Add forward_list, forward_list.h, and
1457 * include/Makefile.in: Regenerate.
1458 * testsuite/23_containers/forward_list/modifiers/1.cc: New.
1459 * testsuite/23_containers/forward_list/modifiers/2.cc: Likewise.
1460 * testsuite/23_containers/forward_list/modifiers/3.cc: Likewise.
1461 * testsuite/23_containers/forward_list/modifiers/4.cc: Likewise.
1462 * testsuite/23_containers/forward_list/modifiers/5.cc: Likewise.
1463 * testsuite/23_containers/forward_list/cons/1.cc: Likewise.
1464 * testsuite/23_containers/forward_list/cons/2.cc: Likewise.
1465 * testsuite/23_containers/forward_list/cons/3.cc: Likewise.
1466 * testsuite/23_containers/forward_list/cons/4.cc: Likewise.
1467 * testsuite/23_containers/forward_list/cons/5.cc: Likewise.
1468 * testsuite/23_containers/forward_list/cons/6.cc: Likewise.
1469 * testsuite/23_containers/forward_list/cons/7.cc: Likewise.
1470 * testsuite/23_containers/forward_list/cons/8.cc: Likewise.
1471 * testsuite/23_containers/forward_list/cons/9.cc: Likewise.
1472 * testsuite/23_containers/forward_list/requirements/1.cc: Likewise.
1473 * testsuite/23_containers/forward_list/operations/1.cc: Likewise.
1474 * testsuite/23_containers/forward_list/operations/2.cc: Likewise.
1475 * testsuite/23_containers/forward_list/operations/3.cc: Likewise.
1476 * testsuite/23_containers/forward_list/operations/4.cc: Likewise.
1477 * testsuite/23_containers/forward_list/operations/5.cc: Likewise.
1478 * testsuite/23_containers/forward_list/operations/6.cc: Likewise.
1479 * testsuite/23_containers/forward_list/operations/7.cc: Likewise.
1480 * testsuite/23_containers/forward_list/capacity/1.cc: Likewise.
1481 * testsuite/23_containers/forward_list/comparable.cc: Likewise.
1482 * testsuite/23_containers/forward_list/moveable.cc: Likewise.
1483 * testsuite/23_containers/headers/forward_list/synopsis.cc: Likewise.
1484 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Update.
1485 * testsuite/17_intro/headers/c++200x/all: Likewise.
1487 2008-10-14 Paolo Carlini <paolo.carlini@oracle.com>
1489 * include/bits/stl_list.h (_List_node<>::_List_node<>(_Args&&...)):
1491 (list<>::_M_create_node<>(_Args&&...)): Use _M_get_Node_allocator.
1492 (list<>::_M_erase(iterator): Likewise, in C++0x mode.
1493 * include/bits/list.tcc (_List_base<>::_M_clear): Likewise.
1494 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
1495 Adjust dg-error line number.
1496 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
1498 * testsuite/23_containers/list/requirements/dr438/
1499 constructor_1_neg.cc: Likewise.
1500 * testsuite/23_containers/list/requirements/dr438/
1501 constructor_2_neg.cc: Likewise.
1503 2008-10-14 Paolo Carlini <paolo.carlini@oracle.com>
1505 * include/bits/stl_tree.h (_Rb_tree<>::max_size): Use Node_allocator
1506 for improved accuracy.
1507 * include/bits/stl_list.h (list<>::max_size): Likewise.
1508 * testsuite/23_containers/multimap/capacity/29134.cc: Adjust.
1509 * testsuite/23_containers/set/capacity/29134.cc: Likewise.
1510 * testsuite/23_containers/multiset/capacity/29134.cc: Likewise.
1511 * testsuite/23_containers/list/capacity/29134.cc: Likewise.
1512 * testsuite/23_containers/map/capacity/29134.cc: Likewise.
1514 2008-10-10 Paolo Carlini <paolo.carlini@oracle.com>
1516 * testsuite/20_util/reference_wrapper/24803.cc: Avoid uninitialized
1519 2008-10-10 Paolo Carlini <paolo.carlini@oracle.com>
1521 * include/std/system_error (native_category): Remove.
1522 (posix_category): Add.
1523 (error_code::error_code(_ErrorCodeEnum, typename enable_if<>:type*):
1524 Fix _M_cat initialization.
1525 (error_code::operator=(_ErrorCodeEnum)): Assign _M_cat too.
1526 (error_condition::_M_cat, error_condtion::operator=
1527 (_ErrorConditionEnum)): Implement resolution of DR 804.
1528 (error_condition::error_condition(_ErrorConditionEnum, typename
1529 enable_if<>:type*): Fix.
1530 (error_condition::clear, error_condition::assign): Implement.
1531 (operator==, operator!=): Fix uglification of parameters.
1532 (make_error_code, make_error_condition): Define in namespace
1534 (operator<<(basic_ostream<>&, const error_code&)): Define here.
1535 * include/std/ostream (operator<<(basic_ostream<>&,
1536 const error_code&)): Do not define here.
1537 * testsuite/19_diagnostics/error_condition/cons/1.cc: New.
1538 * testsuite/19_diagnostics/error_condition/operators/bool.cc: Likewise.
1539 * testsuite/19_diagnostics/error_condition/operators/bool_neg.cc:
1541 * testsuite/19_diagnostics/error_condition/operators/equal.cc:
1543 * testsuite/19_diagnostics/error_condition/operators/not_equal.cc:
1545 * testsuite/19_diagnostics/error_code/cons/1.cc: Tweak.
1546 * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Adjust
1547 dg-error line numbers.
1548 * testsuite/30_threads/unique_lock/locking/2.cc: Tweak.
1550 * testsuite/util/testsuite_error.h: Minor tweaks.
1551 * testsuite/util/testsuite_hooks.cc: Avoid uninitialized warning.
1553 2008-10-10 Chris Fairles <cfairles@gcc.gnu.org>
1555 * testsuite/20_util/duration/cons/1.cc: Remove invalid check of
1556 uninitialized duration.
1558 2008-10-08 Bob Walters <bob.s.walters@gmail.com>
1560 * include/bits/stl_vector.h (_Vector_base<>::_Vector_impl::_M_start,
1561 _M_finish, _M_end_of_storage, _Vector_base<>::_M_allocate,
1562 _M_deallocate): Use _Tp_alloc_type::pointer.
1564 2008-10-07 Jason Merrill <jason@redhat.com>
1567 * testsuite/abi/demangle/abi_examples/20.cc: Adjust expected spacing.
1568 * testsuite/abi/demangle/abi_text/02.cc: Likewise.
1569 * testsuite/abi/demangle/regression/cw-16.cc: Likewise.
1571 2008-10-07 Paolo Carlini <paolo.carlini@oracle.com>
1573 * include/bits/stl_iterator.h (operator-(const reverse_iterator<>&,
1574 const reverse_iterator<>&), operator-(const __normal_iterator<>&,
1575 const __normal_iterator<>&), operator-(const move_iterator<>&,
1576 const move_iterator<>&)): Use the auto -> return type syntax,
1579 2008-10-06 Jason Merrill <jason@redhat.com>
1581 * config/abi/pre/gnu.ver: Update char16/32_t manglings.
1583 2008-10-05 Paolo Carlini <paolo.carlini@oracle.com>
1585 * testsuite/20_util/reference_wrapper/invoke.cc: New.
1586 * testsuite/20_util/reference_wrapper/24803.cc: Likewise.
1587 * testsuite/20_util/reference_wrapper/typedefs.cc: Likewise.
1589 2008-10-01 Andrew Pinski <andrew_pinski@playstation.sony.com>
1591 * config/locale/generic/c_locale.cc (__convert_to_v): Fix
1592 !__FLT_HAS_INFINITY__ case.
1594 2008-09-30 Chris Fairles <cfairles@gcc.gnu.org>
1596 * include/std/tuple (tuple<>::swap): Implement swap for tuple as per
1598 * testsuite/20_util/tuple/swap.cc: New.
1600 2008-09-30 Paolo Carlini <paolo.carlini@oracle.com>
1602 PR libstdc++/30085 (again)
1603 * include/debug/unordered_map (unordered_map<>, unordered_multimap<>):
1604 Do not derive from _Safe_association, derive from _GLIBCXX_STD_D::
1605 unordered_map / unordered_multimap; add missing member functions.
1606 * include/debug/unordered_set (unordered_set<>, unordered_multiset<>):
1607 Likewise for _GLIBCXX_STD_D::unordered_set / unordered_multiset.
1608 * include/debug/safe_association.h: Remove.
1609 * include/Makefile.am: Adjust.
1610 * include/Makefile.in: Regenerate.
1611 * testsuite/23_containers/unordered_multimap/init-list.cc: Remove
1614 2008-09-28 Paolo Carlini <paolo.carlini@oracle.com>
1616 * include/bits/unique_ptr.h (unique_ptr<_Tp[]>::template<typename U>
1617 void reset(U)): Add as deleted function, per DR 821 [Ready].
1618 * include/bits/unique_ptr.h: Prefer everywhere deleted to private
1619 member function declarations; minor formatting tweaks.
1620 * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: New.
1621 * testsuite/20_util/unique_ptr/assign/assign.cc: Adjust DejaGNU
1624 2008-09-28 Chris Fairles <cfairles@gcc.gnu.org>
1626 * include/std/mutex (try_lock): Implement generic try_lock.
1627 * testsuite/30_threads/try_lock/1.cc: New.
1628 * testsuite/30_threads/try_lock/2.cc: Likewise.
1629 * testsuite/30_threads/try_lock/3.cc: Likewise.
1630 * testsuite/30_threads/mutex/cons/assign_neg.cc: Adjust line numbers.
1631 * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise.
1632 * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Likewise.
1633 * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Likewise.
1634 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
1635 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
1636 * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc:
1638 * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc: Likewise.
1640 2008-09-26 Peter O'Gorman <pogma@thewrittenword.com>
1641 Steve Ellcey <sje@cup.hp.com>
1643 * configure: Regenerate for new libtool.
1644 * aclocal.m4: Ditto.
1645 * Makefile.in: Ditto.
1646 * src/Makefile.in: Ditto.
1647 * doc/Makefile.in: Ditto.
1648 * po/Makefile.in: Ditto.
1649 * libmath/Makefile.in: Ditto.
1650 * include/Makefile.in: Ditto.
1651 * libsupc++/Makefile.in: Ditto.
1652 * testsuite/Makefile.in: Ditto.
1654 2008-09-24 Paolo Carlini <paolo.carlini@oracle.com>
1656 * include/std/bitset: Adjust comment to reflect DR 853.
1657 * include/debug/bitset: Likewise.
1658 * doc/xml/manual/intro.xml: Add an entry for DR 853.
1660 2008-09-23 Paolo Carlini <paolo.carlini@oracle.com>
1662 Implement DR 396 [Ready].
1663 * include/std/bitset (bitset<>::bitset(const std::basic_string<>&,
1664 size_t, size_t, _CharT, _CharT), bitset<>::bitset(const char*,
1665 char, char), bitset<>::to_string(_CharT, _CharT),
1666 bitset<>::_M_copy_from_string(const std::basic_string<>&, size_t,
1667 size_t, _CharT, _CharT), bitset<>::_M_copy_to_string
1668 (std::basic_string<>&, _CharT, _CharT), bitset<>::_M_copy_from_ptr(
1669 const _CharT*, size_t, size_t, size_t, _CharT, _CharT)): Add.
1670 (operator>>(std::basic_istream<>&, bitset<_Nb>&), operator<<(
1671 std::basic_ostream<>&, const bitset<_Nb>&)): Adjust.
1672 * include/debug/bitset (bitset<>::bitset(const std::basic_string<>&,
1673 size_t, size_t, _CharT, _CharT), bitset<>::bitset(const char*,
1674 char, char), bitset<>::to_string(_CharT, _CharT)): Add.
1675 * doc/xml/manual/intro.xml: Add an entry for DR 396.
1676 * testsuite/23_containers/bitset/cons/dr396.cc: Add.
1677 * testsuite/23_containers/bitset/to_string/dr396.cc: Likewise.
1679 2008-09-23 Chris Fairles <cfairles@gcc.gnu.org>
1681 * testsuite/25_algorithms/min/37547.cc: Return void to avoid warnings.
1682 * testsuite/25_algorithms/max/37547.cc: Likewise.
1683 * testsuite/25_algorithms/minmax/37547.cc: Likewise.
1685 2008-09-23 Chris Fairles <cfairles@gcc.gnu.org>
1687 * include/std/chrono: If _GLIBCXX_USE_MONOTONIC_CLOCK is defined, don't
1688 typedef monotonic_clock to system_clock and instead declare new class.
1689 * src/chrono.cc: Conditionally define monotonic_clock::now().
1690 * include/std/condition_variable (wait_until): Throw exception if
1691 __gthread_cond_timedwait returns with error other than timed_out. Use
1692 system_clock as known clock type (__clock_t) and add overloads for known
1693 and unknown clocks. In the unknown case, sync to the known clock.
1694 Implement overload taking a predicate.
1695 (wait_for): Implement overload taking a predicate.
1696 * config/abi/pre/gnu.ver: Add exports for monotonic_clock.
1697 * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc: Modify
1699 * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
1701 * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Likewise.
1702 * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Likewise.
1703 * testsuite/30_threads/condition_variable/member/1.cc: New.
1704 * testsuite/30_threads/condition_variable/member/2.cc: Likewise.
1706 2008-09-23 Paolo Carlini <paolo.carlini@oracle.com>
1709 * testsuite/22_locale/num_get/get/char/10.cc: Skip long double case
1710 when strtold is not available.
1711 * testsuite/22_locale/num_get/get/wchar_t/10.cc: Likewise.
1713 2008-09-23 Benjamin Kosnik <bkoz@redhat.com>
1715 PR libstdc++/37391 continued.
1716 * doc/html/ext/pb_ds/assoc_examples.html: Don't use base tag,
1717 specify full path for source file links.
1718 * doc/html/ext/pb_ds/pq_examples.html: Same.
1720 2008-09-23 Paolo Carlini <paolo.carlini@oracle.com>
1722 * include/bits/locale_facets.tcc (__pad<>::_S_pad): Don't use const
1723 by value parameters.
1724 * include/bits/locale_facets.h (__pad<>::_S_pad): Likewise.
1726 2008-09-22 Paolo Carlini <paolo.carlini@oracle.com>
1728 PR libstdc++/32422, DR 23 [Ready in R60]
1729 * config/locale/gnu/c_locale.cc (__convert_to_v(const char*, float&,
1730 ios_base::iostate&, const __c_locale&), __convert_to_v(const char*,
1731 double&, ios_base::iostate&, const __c_locale&), __convert_to_v(const
1732 char*, long double&, ios_base::iostate&, const __c_locale&)): Implement
1733 DR 23 and deal correctly with broken exponents.
1734 * config/locale/generic/c_locale.cc (__convert_to_v(const char*,
1735 float&, ios_base::iostate&, const __c_locale&), __convert_to_v(const
1736 char*, double&, ios_base::iostate&, const __c_locale&),
1737 __convert_to_v(const char*, long double&, ios_base::iostate&, const
1738 __c_locale&)): Likewise.
1739 * include/bits/locale_facets.tcc (num_get<>::_M_extract_int(_InIter,
1740 _InIter, ios_base&, ios_base::iostate&, _ValueT&)): Likewise.
1741 (num_get<>::_M_extract_float(_InIter, _InIter, ios_base&,
1742 ios_base::iostate&, string&): Change grouping check to set instead of
1743 OR failbit; do not check for eofbit here...
1744 (num_get<>::do_get(iter_type, iter_type, ios_base&,
1745 ios_base::iostate&, float&), num_get<>::do_get(iter_type, iter_type,
1746 ios_base&, ios_base::iostate&, double&), num_get<>::do_get(iter_type,
1747 iter_type, ios_base&, ios_base::iostate&, long double&),
1748 num_get<>::__do_get(iter_type, iter_type, ios_base&,
1749 ios_base::iostate&, double&)): ... do it here instead.
1750 (num_get<>::do_get(iter_type, iter_type, ios_base&,
1751 ios_base::iostate&, bool&)): Implement DR 23.
1752 (num_get<>::do_get(iter_type, iter_type, ios_base&,
1753 ios_base::iostate&, void*&)): Adjust.
1754 * doc/xml/manual/intro.xml: Add and entry for DR 23.
1755 * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/10.cc:
1757 * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc:
1759 * testsuite/22_locale/num_get/get/wchar_t/22131.cc: Likewise.
1760 * testsuite/22_locale/num_get/get/wchar_t/10.cc: Likewise.
1761 * testsuite/22_locale/num_get/get/wchar_t/12.cc: Likewise.
1762 * testsuite/22_locale/num_get/get/wchar_t/15.cc: Likewise.
1763 * testsuite/22_locale/num_get/get/wchar_t/16.cc: Likewise.
1764 * testsuite/22_locale/num_get/get/char/22131.cc: Likewise.
1765 * testsuite/22_locale/num_get/get/char/10.cc: Likewise.
1766 * testsuite/22_locale/num_get/get/char/12.cc: Likewise.
1767 * testsuite/22_locale/num_get/get/char/15.cc: Likewise.
1768 * testsuite/22_locale/num_get/get/char/16.cc: Likewise.
1770 2008-09-22 Benjamin Kosnik <bkoz@redhat.com>
1773 * doc/html/ext/pb_ds/*.html: Fix external links.
1775 2008-09-22 Benjamin Kosnik <bkoz@redhat.com>
1777 * doc/doxygen/user.cfg.in: Define _GLIBCXX_HAS_GTHREADS for mutex,
1778 condition_variable, and thread output.
1780 2008-09-22 Paolo Carlini <paolo.carlini@oracle.com>
1782 * doc/html/ext/lwg-closed.html: Update to Revision R59.
1783 * doc/html/ext/lwg-active.html: Likewise.
1784 * doc/html/ext/lwg-defects.html: Likewise.
1785 * doc/xml/manual/intro.xml: Adjust.
1787 2008-09-21 Paolo Carlini <paolo.carlini@oracle.com>
1789 * include/bits/stl_algo.h (minmax(initializer_list<>): Use make_pair,
1790 consistently with the other overload for initializer_list.
1792 2008-09-19 Johannes Singler <singler@ira.uka.de>
1795 * include/parallel/base.h: Rename log2 to __log2.
1796 (__log2) Avoid infinite loop for n <= 0, return 0.
1797 * include/parallel/losertree.h: Rename log2 to __log2.
1798 * include/parallel/multiseq_selection.h: Likewise.
1799 * include/parallel/random_shuffle.h: Likewise.
1801 2008-09-18 Paolo Carlini <paolo.carlini@oracle.com>
1803 * include/bits/shared_ptr.h (__shared_count<>::
1804 __shared_count(_Ptr, _Deleter), __shared_count<>::
1805 __shared_count(_Ptr, _Deleter, _Alloc), __shared_count<>::
1806 __shared_count(_Sp_make_shared_tag, _Tp*, _Alloc, _Args&&...)):
1807 Qualify new with ::.
1809 2008-09-17 Paolo Carlini <paolo.carlini@oracle.com>
1812 * include/bits/stl_algo.h (min(initializer_list<>),
1813 min(initializer_list<>, Compare), max(initializer_list<>),
1814 max(initializer_list<>, Compare), minmax(initializer_list<>),
1815 minmax(initializer_list<>, Compare)): Fix return type.
1816 * include/bits/algorithmfwd.h: Adjust.
1817 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
1818 * testsuite/25_algorithms/max/requirements/explicit_instantiation/3.cc:
1820 * testsuite/25_algorithms/max/requirements/explicit_instantiation/
1822 * testsuite/25_algorithms/min/requirements/explicit_instantiation/3.cc:
1824 * testsuite/25_algorithms/min/requirements/explicit_instantiation/
1826 * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
1828 * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
1830 * testsuite/25_algorithms/max/37547.cc: New.
1831 * testsuite/25_algorithms/min/37547.cc: Likewise.
1832 * testsuite/25_algorithms/minmax/37547.cc: Likewise.
1834 2008-09-16 Chris Fairles <chris.fairles@gmail.com>
1836 * testsuite/25_algorithms/min/requirements/explicit_instantiation/3.cc:
1838 * testsuite/25_algorithms/min/requirements/explicit_instantiation/
1840 * testsuite/25_algorithms/min/3.cc: Likewise.
1841 * testsuite/25_algorithms/min/4.cc: Likewise.
1842 * testsuite/25_algorithms/max/requirements/explicit_instantiation/3.cc:
1844 * testsuite/25_algorithms/max/requirements/explicit_instantiation/
1846 * testsuite/25_algorithms/max/3.cc: Likewise.
1847 * testsuite/25_algorithms/max/4.cc: Likewise.
1848 * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
1850 * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
1852 * testsuite/25_algorithms/minmax/2.cc: Likewise.
1853 * testsuite/25_algorithms/minmax/3.cc: Likewise.
1855 2008-09-16 Paolo Carlini <paolo.carlini@oracle.com>
1857 * include/bits/stl_algo.h (min(initializer_list<>),
1858 min(initializer_list<>, Compare), max(initializer_list<>),
1859 max(initializer_list<>, Compare), minmax(initializer_list<>),
1860 minmax(initializer_list<>, Compare)): Add in C++0x mode.
1861 * include/bits/algorithmfwd.h: Add.
1862 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
1864 2008-09-13 Chris Fairles <chris.fairles@gmail.com>
1866 * testsuite/30_threads/thread/algorithm/1.cc: Join thread before
1868 * testsuite/30_threads/thread/algorithm/2.cc: Likewise.
1869 * testsuite/30_threads/thread/this_thread/3.cc: Define test variable.
1870 * testsuite/30_threads/thread/this_thread/4.cc: Likewise.
1872 2008-09-12 Chris Fairles <chris.fairles@gmail.com>
1873 Benjamin Kosnik <bkoz@redhat.com>
1875 * include/std/thread: New.
1876 * include/Makefile.am: Update.
1877 * include/Makefile.in: Regenerate.
1878 * src/thread.cc: New.
1879 * src/Makefile.am: Update.
1880 * src/Makefile.in: Regenerate.
1881 * acinclude.m4: Add check for nanosleep.
1882 * configure.ac: Call it.
1883 * configure: Regenerate.
1884 * config.h.in: Likewise.
1885 * config/abi/pre/gnu.ver: Add exports.
1886 * doc/doxygen/user.cfg.in: Add thread header.
1887 * testsuite/lib/libstdc++.exp (check_v3_target_nanosleep): Add.
1888 * testsuite/lib/dg-options.exp (dg-require-nanosleep): Add.
1889 * testsuite/30_threads/thread/cons/1.cc: New.
1890 * testsuite/30_threads/thread/cons/2.cc: Likewise.
1891 * testsuite/30_threads/thread/cons/3.cc: Likewise.
1892 * testsuite/30_threads/thread/cons/4.cc: Likewise.
1893 * testsuite/30_threads/thread/algorithm/1.cc: Likewise.
1894 * testsuite/30_threads/thread/algorithm/2.cc: Likewise.
1895 * testsuite/30_threads/thread/member/1.cc: Likewise.
1896 * testsuite/30_threads/thread/member/2.cc: Likewise.
1897 * testsuite/30_threads/thread/member/3.cc: Likewise.
1898 * testsuite/30_threads/thread/this_thread/1.cc: Likewise.
1899 * testsuite/30_threads/thread/this_thread/2.cc: Likewise.
1900 * testsuite/30_threads/thread/this_thread/3.cc: Likewise.
1901 * testsuite/30_threads/thread/this_thread/4.cc: Likewise.
1902 * testsuite/30_threads/headers/thread/types_std_c++0x.cc: Likewise.
1903 * testsuite/30_threads/headers/thread/std_c++0x_neg.cc: Likewise.
1904 * testsuite/17_intro/headers/c++200x/all.cc: Add thread.
1905 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc:
1906 Add thread, condition_variable and mutex.
1908 2008-09-10 Paolo Carlini <paolo.carlini@oracle.com>
1910 * src/ctype.cc (use_facet<ctype<char> >, use_facet<ctype<wchar_t>):
1911 Remove specializations.
1912 * src/locale-inst.cc (use_facet<ctype<C> >): Instantiate.
1913 * include/bits/locale_facets.tcc (use_facet<ctype<char> >,
1914 use_facet<ctype<wchar_t>): Declare as extern template.
1915 * include/bits/locale_facets.h (use_facet<ctype<char> >,
1916 use_facet<ctype<wchar_t>): Do not declare as specializations.
1918 2008-09-10 Paolo Carlini <paolo.carlini@oracle.com>
1920 * config/locale/darwin/ctype_members.cc (ctype<char>::_M_narrow_init,
1921 ctype<char>::_M_widen_init): Don't define here.
1922 * config/locale/gnu/ctype_members.cc: Likewise.
1923 * config/locale/generic/ctype_members.cc: Likewise.
1924 * src/ctype.cc: Define here.
1926 2008-09-10 Paolo Carlini <paolo.carlini@oracle.com>
1929 * include/bits/locale_facets.h (ctype<char>::_M_narrow_init,
1930 ctype<char>::_M_widen_init): Don't define inline.
1931 * config/locale/darwin/ctype_members.cc: ... define here.
1932 * config/locale/gnu/ctype_members.cc: ... likewise.
1933 * config/locale/generic/ctype_members.cc: ... likewise.
1934 * config/abi/pre/gnu.ver: Export.
1936 2008-09-09 Benjamin Kosnik <bkoz@redhat.com>
1938 * doc/xml/manual/abi.xml: Update for new releases.
1939 * doc/doxygen/user.cfg.in: Include C compatibility headers.
1940 * doc/html/*: Regenerate.
1942 2008-09-09 Paolo Carlini <paolo.carlini@oracle.com>
1944 * include/tr1_impl/cinttypes: Restore __STDC_FORMAT_MACROS after
1945 inclusion of <inttypes.h>.
1946 * include/tr1_impl/cstdint: Likewise for __STDC_LIMIT_MACROS and
1947 __STDC_CONSTANT_MACROS after <stdint.h>.
1948 * include/bits/postypes.h: Likewise.
1950 2008-09-09 Andreas Schwab <schwab@suse.de>
1952 * acinclude.m4 (GLIBCXX_CHECK_STANDARD_LAYOUT): Fix compile check
1953 not to redefine main.
1955 2008-09-07 Paolo Carlini <paolo.carlini@oracle.com>
1957 * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Check wcstoimax and
1958 wcstoumax, define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1.
1959 * include/tr1_impl/cinttypes: Use the latter.
1960 * testsuite/tr1/8_c_compatibility/cinttypes/functions.cc: Likewise.
1961 * configure: Regenerate.
1962 * config.h.in: Likewise.
1964 2008-09-05 Peter Dimov <pdimov@mmltd.net>
1966 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref_2.cc: New.
1968 2008-09-05 Paolo Carlini <paolo.carlini@oracle.com>
1970 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref.cc: Rename
1972 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref_1.cc: ...
1975 2008-09-04 Jonathan Wakely <jwakely.gcc@gmail.com>
1978 * include/Makefile.am: Update headers.
1979 * include/Makefile.in: Regenerate.
1980 * include/std/memory: Update headers.
1981 * include/tr1/memory: Likewise.
1982 * include/tr1_impl/boost_shared_ptr.h: Remove, splitting into
1983 separate implementations for std and tr1.
1984 * include/bits/boost_sp_shared_count.h: Remove.
1985 * include/tr1/boost_sp_shared_count.h: Remove.
1986 * include/bits/shared_ptr.h: New. Combines boost_sp_shared_count.h
1987 and boost_shared_ptr.h into one file.
1988 (__shared_count,__shared_ptr,shared_ptr,swap): Add unique_ptr
1989 and rvalue-reference support as per current WP.
1990 * include/tr1/shared_ptr.h: New. Combines boost_sp_shared_count.h
1991 and boost_shared_ptr.h into one file.
1992 * testsuite/20_util/shared_ptr/cons/unique_ptr.cc: New.
1993 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter.cc: New.
1994 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref.cc: New.
1995 * testsuite/20_util/shared_ptr/cons/unique_ptr_neg.cc: New.
1996 * testsuite/20_util/shared_ptr/assign/auto_ptr_rvalue.cc: New.
1997 * testsuite/20_util/shared_ptr/assign/unique_ptr_lvalue_neg.cc: New.
1998 * testsuite/20_util/shared_ptr/assign/unique_ptr_rvalue.cc: New.
1999 * testsuite/20_util/shared_ptr/modifiers/swap_rvalue.cc: New.
2000 * testsuite/20_util/shared_ptr/assign/auto_ptr_rvalue_neg.cc: Remove.
2002 2008-09-04 Jonathan Wakely <jwakely.gcc@gmail.com>
2004 * doc/xml/manual/locale.xml: Fix typo.
2006 2008-09-04 Paolo Carlini <paolo.carlini@oracle.com>
2008 * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Tidy checks in case of
2010 * configure: Regenerate.
2012 2008-09-04 Chris Fairles <chris.fairles@gmail.com>
2014 * include/std/mutex (once_flag): Construct __gthread_once_t in a
2015 temporary variable before assigning to _M_once to avoid initialization
2018 2008-09-03 Paolo Carlini <paolo.carlini@oracle.com>
2020 * config/abi/pre/gnu.ver: Also export __once_functor_lock; tighten
2021 GLIBCXX_3.4 exports (necessary in case of undef _GLIBCXX_HAVE_TLS).
2023 * Makefile.in: Regenerate.
2024 * src/Makefile.in: Likewise.
2025 * doc/Makefile.in: Likewise.
2026 * po/Makefile.in: Likewise.
2027 * libmath/Makefile.in: Likewise.
2028 * include/Makefile.in: Likewise.
2029 * libsupc++/Makefile.in: Likewise.
2030 * testsuite/Makefile.in: Likewise.
2032 2008-09-03 Paolo Carlini <paolo.carlini@oracle.com>
2034 * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Fix typo in last commit,
2035 check _POSIX_TIMEOUTS, not _POSIX_TIMERS.
2036 * configure: Regenerate.
2038 2008-09-03 Paolo Carlini <paolo.carlini@oracle.com>
2040 * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Check _POSIX_TIMERS too.
2041 * configure: Regenerate.
2043 2008-09-03 Chris Fairles <chris.fairles@gmail.com>
2045 * include/std/condition_variable: Use new deleted ctors.
2046 * include/std/mutex: Likewise plus implement timed_mutex,
2047 recursive_timed_mutex and call_once.
2048 * src/condition_variable.cc: Implement wait(). Use gthread types.
2049 Remove _GTHREADS_HAS_COND checks in favor of global
2050 _GLIBCXX_HAS_GTHREADS.
2051 * src/mutex.cc (call_once): Implementation using TLS with mutex
2053 * config/abi/pre/gnu.ver: Add exported symbols.
2054 * testsuite/lib/libstdc++.exp (check_v3_target_gthreads): New.
2055 * testsuite/lib/dg-options.exp (dg-require-gthreads): Likewise.
2056 * testsuite/30_threads/lock_guard/requirements/typedefs.cc: Use
2057 dg-require-gthreads and dg-require-cstdint.
2058 * testsuite/30_threads/lock_guard/requirements/
2059 explicit_instantiation.cc: Likewise.
2060 * testsuite/30_threads/mutex/dest/destructor_locked.cc: Likewise.
2061 * testsuite/30_threads/mutex/native_handle/1.cc: Likewise.
2062 * testsuite/30_threads/mutex/cons/1.cc: Likewise.
2063 * testsuite/30_threads/mutex/requirements/typedefs.cc: Likewise.
2064 * testsuite/30_threads/mutex/try_lock/1.cc: Likewise.
2065 * testsuite/30_threads/mutex/try_lock/2.cc: Likewise.
2066 * testsuite/30_threads/mutex/lock/1.cc: Likewise.
2067 * testsuite/30_threads/mutex/unlock/1.cc: Likewise.
2068 * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc:
2070 * testsuite/30_threads/recursive_mutex/native_handle/1.cc: Likewise.
2071 * testsuite/30_threads/recursive_mutex/cons/1.cc: Likewise.
2072 * testsuite/30_threads/recursive_mutex/requirements/typedefs.cc:
2074 * testsuite/30_threads/recursive_mutex/try_lock/1.cc: Likewise.
2075 * testsuite/30_threads/recursive_mutex/try_lock/2.cc: Likewise.
2076 * testsuite/30_threads/recursive_mutex/lock/1.cc: Likewise.
2077 * testsuite/30_threads/recursive_mutex/unlock/1.cc: Likewise.
2078 * testsuite/30_threads/unique_lock/requirements/
2079 explicit_instantiation.cc: Likewise.
2080 * testsuite/30_threads/unique_lock/requirements/typedefs.cc: Likewise.
2081 * testsuite/30_threads/mutex/cons/assign_neg.cc: Also adjust dg-error
2082 lines for deleted members.
2083 * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise.
2084 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
2085 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
2086 * testsuite/30_threads/call_once/once_flag.cc: New.
2087 * testsuite/30_threads/call_once/call_once1.cc: Likewise.
2088 * testsuite/30_threads/condition_variable/cons/1.cc: Likewise.
2089 * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Likewise
2090 * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Likewise.
2091 * testsuite/30_threads/condition_variable_any/cons/1.cc: Likewise.
2092 * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
2094 * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc:
2096 * testsuite/30_threads/timed_mutex/dest/destructor_locked.cc: Likewise.
2097 * testsuite/30_threads/timed_mutex/native_handle/1.cc: Likewise.
2098 * testsuite/30_threads/timed_mutex/try_lock_until/1.cc: Likewise.
2099 * testsuite/30_threads/timed_mutex/try_lock_until/2.cc: Likewise.
2100 * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Likewise.
2101 * testsuite/30_threads/timed_mutex/cons/1.cc: Likewise.
2102 * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Likewise.
2103 * testsuite/30_threads/timed_mutex/requirements/typedefs.cc: Likewise.
2104 * testsuite/30_threads/timed_mutex/try_lock/1.cc: Likewise.
2105 * testsuite/30_threads/timed_mutex/try_lock/2.cc: Likewise.
2106 * testsuite/30_threads/timed_mutex/lock/1.cc: Likewise.
2107 * testsuite/30_threads/timed_mutex/unlock/1.cc: Likewise.
2108 * testsuite/30_threads/timed_mutex/try_lock_for/1.cc: Likewise.
2109 * testsuite/30_threads/timed_mutex/try_lock_for/2.cc: Likewise.
2110 * testsuite/30_threads/timed_mutex/try_lock_for/3.cc: Likewise.
2111 * testsuite/30_threads/recursive_timed_mutex/dest/destructor_locked.cc:
2113 * testsuite/30_threads/recursive_timed_mutex/try_lock_until/1.cc:
2115 * testsuite/30_threads/recursive_timed_mutex/try_lock_until/2.cc:
2117 * testsuite/30_threads/recursive_timed_mutex/native_handle/1.cc:
2119 * testsuite/30_threads/recursive_timed_mutex/cons: Likewise.
2120 * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc:
2122 * testsuite/30_threads/recursive_timed_mutex/cons/1.cc: Likewise.
2123 * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc:
2125 * testsuite/30_threads/recursive_timed_mutex/requirements/typedefs.cc:
2127 * testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc: Likewise.
2128 * testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc: Likewise.
2129 * testsuite/30_threads/recursive_timed_mutex/lock/1.cc: Likewise.
2130 * testsuite/30_threads/recursive_timed_mutex/lock/2.cc: Likewise.
2131 * testsuite/30_threads/recursive_timed_mutex/unlock/1.cc: Likewise.
2132 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/1.cc:
2134 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/2.cc:
2136 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/3.cc:
2138 * testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise.
2139 * testsuite/30_threads/unique_lock/modifiers/2.cc: Likewise.
2140 * testsuite/30_threads/unique_lock/cons/1.cc: Likewise.
2141 * testsuite/30_threads/unique_lock/cons/2.cc: Likewise.
2142 * testsuite/30_threads/unique_lock/cons/3.cc: Likewise.
2143 * testsuite/30_threads/unique_lock/cons/4.cc: Likewise.
2144 * testsuite/30_threads/unique_lock/cons/5.cc: Likewise.
2145 * testsuite/30_threads/unique_lock/cons/6.cc: Likewise.
2146 * testsuite/30_threads/unique_lock/locking/1.cc: Likewise.
2147 * testsuite/30_threads/unique_lock/locking/2.cc: Likewise.
2148 * testsuite/30_threads/unique_lock/locking/3.cc: Likewise.
2149 * testsuite/30_threads/unique_lock/locking/4.cc: Likewise.
2151 2008-09-01 Mark Mitchell <mark@codesourcery.com>
2153 * include/std/type_traits (__make_unsigned_selector<>): Consider
2154 enums of size smaller than short.
2155 (__make_signed_selector<>): Likewise.
2156 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
2157 Adjust line numbers.
2158 * testsuite/20_util/make_usigned/requirements/typedefs_neg.cc:
2159 Adjust line numbers.
2160 * testsuite/20_util/make_signed/requirements/typedefs-2.cc:
2161 Ensure test_enum is the same size as short.
2162 * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc:
2163 Ensure test_enum is the same size as short.
2165 2008-08-31 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
2167 * acinclude.m4 <enable_symvers>: Don't use symvers on Windows.
2168 * configure: Regenerated.
2169 * Makefile.in: Regenerated.
2170 * src/Makefile.in: Regenerated.
2171 * doc/Makefile.in: Regenerated.
2172 * po/Makefile.in: Regenerated.
2173 * libmath/Makefile.in: Regenerated.
2174 * include/Makefile.in: Regenerated.
2175 * libsupc++/Makefile.in: Regenerated.
2176 * testsuite/Makefile.in: Regenerated.
2178 2008-08-29 Mark Mitchell <mark@codesourcery.com>
2180 * testsuite/25_algorithms/nth_element/2.cc: Constrain iterations
2181 when testing on a simultor.
2183 2008-08-28 Paolo Carlini <paolo.carlini@oracle.com>
2185 * testsuite/tr1/6_containers/unordered_set/requirements/typedef.cc:
2186 Rename to .../typedefs.cc.
2187 * testsuite/tr1/6_containers/unordered_map/requirements/typedef.cc:
2189 * testsuite/tr1/6_containers/unordered_multiset/requirements/
2190 typedef.cc: Likewise.
2191 * testsuite/tr1/6_containers/unordered_multimap/requirements/
2192 typedef.cc: Likewise.
2193 * testsuite/23_containers/unordered_set/requirements/typedef.cc:
2195 * testsuite/23_containers/unordered_map/requirements/typedef.cc:
2197 * testsuite/23_containers/unordered_multiset/requirements/typedef.cc:
2199 * testsuite/23_containers/unordered_multimap/requirements/typedef.cc:
2202 2008-08-28 Chris Fairles <chris.fairles@gmail.com>
2204 * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): New. Checks for gthread
2205 support used by c++0x thread library.
2206 * configure.ac: Test unconditionally.
2207 * configure: Regenerate.
2208 * config.h.in: Regenerate.
2210 2008-08-27 Benjamin Kosnik <bkoz@redhat.com>
2212 * doc/Makefile.am: Edit xml file list.
2213 * doc/Makefile.in: Regenerate.
2214 * configure: Regenerate.
2215 * doc/xml/manual/intro.xml: Edit, correct links, structure.
2216 * doc/xml/manual/configure.xml: Same.
2217 * doc/xml/manual/debug.xml: Same.
2218 * doc/xml/manual/test.xml: Same.
2219 * doc/xml/manual/build.xml: Remove.
2220 * doc/xml/manual/prerequisites.xml: Add.
2221 * doc/html/*: Regenerate.
2223 2008-08-27 Paolo Carlini <paolo.carlini@oracle.com>
2225 * include/tr1_impl/hashtable (_Hashtable<>): Add missing pointer and
2226 const_pointer typedefs.
2227 * testsuite/tr1/6_containers/unordered_set/requirements/typedef.cc:
2229 * testsuite/tr1/6_containers/unordered_map/requirements/typedef.cc:
2231 * testsuite/tr1/6_containers/unordered_multiset/requirements/
2232 typedef.cc: Likewise.
2233 * testsuite/tr1/6_containers/unordered_multimap/requirements/
2234 typedef.cc: Likewise.
2235 * testsuite/23_containers/unordered_set/requirements/typedef.cc:
2237 * testsuite/23_containers/unordered_map/requirements/typedef.cc:
2239 * testsuite/23_containers/unordered_multiset/requirements/typedef.cc:
2241 * testsuite/23_containers/unordered_multimap/requirements/typedef.cc:
2244 2008-08-27 Paul Brook <paul@codesourcery.com>
2246 * libsupc++/eh_call.cc (__cxa_call_unexpected): Fix name of
2247 __get_object_from_ambiguous_exception.
2249 2008-08-26 Ben Elliston <bje@au.ibm.com>
2251 * src/mt_allocator.cc (__pool): Fix error in comment.
2253 2008-08-25 Paolo Carlini <paolo.carlini@oracle.com>
2255 * linkage.m4 ([GLIBCXX_CHECK_BUILTIN_MATH_DECL_AND_LINKAGE_1],
2256 [GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT]): Remove
2257 * configure.ac: Do not call the latter.
2258 * crossconfig.m4: Likewise.
2259 * libmath/mathconf.h: Adjust.
2260 * configure: Regenerate.
2261 * config.h.in: Likewise.
2263 2008-08-24 Paolo Carlini <paolo.carlini@oracle.com>
2265 * acinclude.m4 ([GLIBCXX_CHECK_RANDOM_TR1]): Simplify, just use
2266 two test -r instead of an AC_TRY_RUN.
2267 * configure: Regenerate.
2268 * config.h.in: Likewise.
2270 2008-08-24 Paolo Carlini <paolo.carlini@oracle.com>
2272 * acinclude.m4 ([GLIBCXX_ENABLE_CLOCK_GETTIME]): Improve documentation.
2273 * doc/xml/manual/configure.xml: Likewise.
2275 2008-08-23 Paolo Carlini <paolo.carlini@oracle.com>
2277 * acinclude.m4 ([GLIBCXX_ENABLE_CLOCK_GETTIME]): Use [=KIND] in
2279 * configure: Regenerate.
2281 2008-08-23 Paolo Carlini <paolo.carlini@oracle.com>
2283 * acinclude.m4 ([GLIBCXX_CHECK_GETTIMEOFDAY]): Change to use
2284 GCC_TRY_COMPILE_OR_LINK.
2285 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Rename to
2286 [GLIBCXX_ENABLE_CLOCK_GETTIME], a versatile configure-time option,
2287 [no] by default, since it includes TRY_LINK checks. librt is also
2288 searched, if requested.
2289 * doc/xml/manual/configure.xml: Document the latter.
2290 * configure.ac: Move the above checks outside native-only.
2291 * configure: Regenerate.
2293 2008-08-23 Paolo Carlini <paolo.carlini@oracle.com>
2295 * testsuite/lib/libstdc++.exp (check_v3_target_atomic_builtins): Add.
2296 * testsuite/lib/dg-options.exp (dg-require-atomic-builtins): Likewise.
2297 * testsuite/18_support/exception_ptr/current_exception.cc: Use it.
2298 * testsuite/18_support/exception_ptr/rethrow_exception.cc: Likewise.
2299 * testsuite/18_support/exception_ptr/lifespan.cc: Likewise.
2301 2008-08-23 Sebastian Redl <sebastian.redl@getdesigned.at>
2303 Add (again) exception propagation support as per N2179. Feature is
2304 available only when _GLIBCXX_ATOMIC_BUILTINS_4 is defined.
2305 * libsupc++/exception_ptr.h (exception_ptr, current_exception,
2306 copy_exception, rethrow_exception): New file, implement exception
2308 * libsupc++/eh_ptr.cc (exception_ptr, current_exception,
2309 rethrow_exception, __gxx_dependent_exception_cleanup): Likewise.
2310 * libsupc++/unwind-cxx.h (__cxa_exception): Add reference count.
2311 (__cxa_dependent_exception, __cxa_allocate_dependent_exception,
2312 __cxa_free_dependent_exception, __get_dependent_exception_from_ue,
2313 __GXX_INIT_DEPENDENT_EXCEPTION_CLASS, __is_dependent_exception,
2314 __gxx_dependent_exception_class, __get_object_from_ue,
2315 __get_object_from_ambiguous_exception): Add.
2316 (__GXX_INIT_EXCEPTION_CLASS, __gxx_exception_class): Rename.
2317 (__is_gxx_exception_class): Handle dependent exceptions.
2318 * libsupc++/eh_arm.cc (__cxa_type_match): Likewise.
2319 * libsupc++/eh_call.cc (__cxa_call_unexpected): Likewise.
2320 * libsupc++/eh_personality.cc (__gxx_personality_*): Likewise.
2321 * libsupc++/eh_type.cc (__cxa_current_exception_type): Likewise.
2322 * libsupc++/eh_alloc.cc (__cxa_allocate_dependent_exception,
2323 __cxa_free_dependent_exception): Add.
2324 * libsupc++/eh_throw.cc (__gxx_exception_cleanup): Handle reference
2326 * libsupc++/exception: Conditionally include exception_ptr.h.
2327 * libsupc++/Makefile.am: Register new files.
2328 * libsupc++/Makefile.in: Regenerate.
2329 * config/abi/pre/gnu.ver: Add new symbols.
2330 * testsuite/18_support/exception_ptr/current_exception.cc: Test the
2331 core functionality of current_exception().
2332 * testsuite/18_support/exception_ptr/rethrow_exception.cc: Test the
2333 core functionality of rethrow_exception().
2334 * testsuite/18_support/exception_ptr/lifespan.cc: Test the life span of
2335 exception objects during exception propagation.
2337 2008-08-22 Paolo Carlini <paolo.carlini@oracle.com>
2339 Revert again the N2179 patch.
2341 2008-08-21 Sebastian Redl <sebastian.redl@getdesigned.at>
2343 * libsupc++/eh_ptr.cc (__gxx_dependent_exception_cleanup): Call
2344 __cxa_free_dependent_exception.
2346 2008-08-20 Paolo Carlini <paolo.carlini@oracle.com>
2348 * include/bits/char_traits.h (char_traits<char16_t>::
2349 assign(char_type*, size_t, char_type), char_traits<char32_t>::
2350 assign(char_type*, size_t, char_type)): For now, just open-code.
2352 2008-08-20 Paolo Carlini <paolo.carlini@oracle.com>
2354 PR c++/33979 (partial)
2355 * include/bits/postypes.h (u16streampos, u32streampos): Add.
2356 * include/bits/char_traits.h (char_traits<char16_t>,
2357 char_traits<char32_t>): Add.
2358 * include/bits/stringfwd.h (u16string, u32string): Add.
2359 * include/ext/vstring_fwd.h: Add typedefs for char16_t/char32_t.
2360 * testsuite/21_strings/char_traits/requirements/char32_t/typedefs.cc:
2362 * testsuite/21_strings/char_traits/requirements/
2363 explicit_instantiation/short/1.cc: Likewise.
2364 * testsuite/21_strings/char_traits/requirements/
2365 explicit_instantiation/char32_t/1.cc: Likewise.
2366 * testsuite/21_strings/char_traits/requirements/
2367 explicit_instantiation/wchar_t/1.cc: Likewise.
2368 * testsuite/21_strings/char_traits/requirements/
2369 explicit_instantiation/char16_t/1.cc: Likewise.
2370 * testsuite/21_strings/char_traits/requirements/
2371 explicit_instantiation/char/1.cc: Likewise.
2372 * testsuite/21_strings/char_traits/requirements/char16_t/typedefs.cc:
2374 * testsuite/21_strings/basic_string/requirements/
2375 explicit_instantiation/char32_t/1.cc: Likewise.
2376 * testsuite/21_strings/basic_string/requirements/
2377 explicit_instantiation/wchar_t/1.cc: Likewise.
2378 * testsuite/21_strings/basic_string/requirements/
2379 explicit_instantiation/char16_t/1.cc: Likewise.
2380 * testsuite/21_strings/basic_string/requirements/
2381 explicit_instantiation/char/1.cc: Likewise.
2382 * testsuite/21_strings/headers/string/types_std_c++0x.cc: Likewise.
2383 * testsuite/ext/vstring/requirements/explicit_instantiation/
2384 char32_t/1.cc: Likewise.
2385 * testsuite/ext/vstring/requirements/explicit_instantiation/
2386 char16_t/1.cc: Likewise.
2388 2008-08-18 Paolo Carlini <paolo.carlini@oracle.com>
2391 * testsuite/27_io/basic_ostream/inserters_other/char/4.cc: Include
2393 * testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc:
2395 * testsuite/27_io/objects/char/12048-1.cc: Likewise.
2396 * testsuite/27_io/objects/char/12048-3.cc: Likewise.
2397 * testsuite/27_io/objects/wchar_t/12048-1.cc: Likewise.
2398 * testsuite/27_io/objects/wchar_t/12048-3.cc: Likewise.
2399 * testsuite/ext/malloc_allocator/deallocate_global.cc: Likewise.
2400 * testsuite/ext/malloc_allocator/deallocate_local.cc: Likewise.
2401 * testsuite/ext/mt_allocator/deallocate_global-2.cc: Likewise.
2402 * testsuite/ext/mt_allocator/deallocate_global-4.cc: Likewise.
2403 * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Likewise.
2404 * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Likewise.
2405 * testsuite/ext/mt_allocator/deallocate_local-2.cc: Likewise.
2406 * testsuite/ext/mt_allocator/deallocate_local-4.cc: Likewise.
2407 * testsuite/ext/mt_allocator/deallocate_local-6.cc: Likewise.
2408 * testsuite/ext/mt_allocator/deallocate_local-8.cc: Likewise.
2409 * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Likewise.
2410 * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Likewise.
2411 * testsuite/ext/mt_allocator/deallocate_local_thread-5.cc: Likewise.
2412 * testsuite/ext/mt_allocator/deallocate_local_thread-7.cc: Likewise.
2413 * testsuite/ext/new_allocator/deallocate_global.cc: Likewise.
2414 * testsuite/ext/new_allocator/deallocate_local.cc: Likewise.
2415 * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Likewise.
2416 * include/std/regex: Include <sstream>.
2417 * include/tr1/regex: Likewise.
2419 2008-08-18 Paolo Carlini <paolo.carlini@oracle.com>
2421 * configure.ac: Do not hardcode HAVE_S_ISREG and HAVE_S_IFREG for
2423 * configure: Regenerate.
2425 2008-08-18 Paolo Carlini <paolo.carlini@oracle.com>
2428 * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Tighten checks on stdint.h,
2429 check the macros too.
2430 * configure: Regenerate.
2432 2008-08-17 Paolo Carlini <paolo.carlini@oracle.com>
2434 * acinclude.m4 ([AC_LC_MESSAGES]): Use AC_TRY_COMPILE instead of
2436 * configure.ac: Run unconditionally AC_LC_MESSAGES.
2437 * crossconfig.m4: Adjust.
2438 * configure: Regenerate.
2440 2008-08-17 Paolo Carlini <paolo.carlini@oracle.com>
2442 * acinclude.m4 ([GLIBCXX_CHECK_LFS], [GLIBCXX_CHECK_POLL],
2443 [GLIBCXX_CHECK_S_ISREG_OR_S_IFREG], [GLIBCXX_CHECK_WRITEV]):
2444 Use GCC_TRY_COMPILE_OR_LINK instead of AC_TRY_LINK, in C++,
2445 with -fno-exceptions as flags.
2446 * configure.ac: Run unconditionally GLIBCXX_CHECK_LFS,
2447 GLIBCXX_CHECK_POLL, GLIBCXX_CHECK_S_ISREG_OR_S_IFREG,
2448 GLIBCXX_CHECK_WRITEV and commonized AC_CHECK_HEADERS.
2449 * crossconfig.m4: Adjust; remove AC_CHECK_HEADERS commonized
2451 * configure: Regenerate.
2453 2008-08-13 Paolo Carlini <paolo.carlini@oracle.com>
2455 Re-instate last patch, amended to use __exchange_and_add_dispatch
2456 and __atomic_add_dispatch in eh_ptr.cc and eh_throw.cc.
2458 2008-08-13 Paolo Carlini <paolo.carlini@oracle.com>
2460 Revert the last patch.
2462 2008-08-13 Sebastian Redl <sebastian.redl@getdesigned.at>
2464 Add exception propagation support as per N2179.
2465 * libsupc++/exception_ptr.h (exception_ptr, current_exception,
2466 copy_exception, rethrow_exception): New file, implement exception
2468 * libsupc++/eh_ptr.cc (exception_ptr, current_exception,
2469 rethrow_exception, __gxx_dependent_exception_cleanup): Likewise.
2470 * libsupc++/unwind-cxx.h (__cxa_exception): Add reference count.
2471 (__cxa_dependent_exception, __cxa_allocate_dependent_exception,
2472 __cxa_free_dependent_exception, __get_dependent_exception_from_ue,
2473 __GXX_INIT_DEPENDENT_EXCEPTION_CLASS, __is_dependent_exception,
2474 __gxx_dependent_exception_class, __get_object_from_ue,
2475 __get_object_from_ambiguous_exception): Add.
2476 (__GXX_INIT_EXCEPTION_CLASS, __gxx_exception_class): Rename.
2477 (__is_gxx_exception_class): Handle dependent exceptions.
2478 * libsupc++/eh_arm.cc (__cxa_type_match): Likewise.
2479 * libsupc++/eh_call.cc (__cxa_call_unexpected): Likewise.
2480 * libsupc++/eh_personality.cc (__gxx_personality_*): Likewise.
2481 * libsupc++/eh_type.cc (__cxa_current_exception_type): Likewise.
2482 * libsupc++/eh_alloc.cc (__cxa_allocate_dependent_exception,
2483 __cxa_free_dependent_exception): Add.
2484 * libsupc++/eh_throw.cc (__gxx_exception_cleanup): Handle reference
2486 * libsupc++/exception: Conditionally include exception_ptr.h.
2487 * libsupc++/Makefile.am: Register new files.
2488 * libsupc++/Makefile.in: Regenerate.
2489 * config/abi/pre/gnu.ver: Add new symbols.
2490 * testsuite/18_support/exception_ptr/current_exception.cc: Test the
2491 core functionality of current_exception().
2492 * testsuite/18_support/exception_ptr/rethrow_exception.cc: Test the
2493 core functionality of rethrow_exception().
2494 * testsuite/18_support/exception_ptr/lifespan.cc: Test the life span of
2495 exception objects during exception propagation.
2497 2008-08-12 Paolo Carlini <paolo.carlini@oracle.com>
2500 * include/bits/stl_pair.h: Fix documentation URL in comment.
2502 2008-08-12 Johannes Singler <singler@ira.uka.de>
2504 * include/paralle/losertree.h
2505 (LoserTreePointerBase<>::~LoserTreePointerBase):
2506 Replace delete by appropriate delete[].
2508 2008-08-12 Paolo Carlini <paolo.carlini@oracle.com>
2510 * configure.ac: Run unconditionally GLIBCXX_CHECK_INT64_T and
2511 GLIBCXX_CHECK_C99_TR1; remove sigsetjmp and mmap checks (unused).
2512 * crossconfig.m4: Adjust; remove HAVE_GETPAGESIZE defines (unused).
2513 * configure: Regenerate.
2514 * config.h.in: Likewise.
2516 * acinclude.m4: Minor formatting fixes.
2518 2008-08-11 Stephen M. Webb <stephenw@xandros.com>
2520 * include/tr1_impl/regex: Formatting fixes.
2521 * testsuite/tr1/7_regular_expressions/regex_traits/char/value.cc:
2523 * testsuite/tr1/7_regular_expressions/regex_traits/wchar_t/value.cc:
2526 2008-08-11 Paolo Carlini <paolo.carlini@oracle.com>
2528 * config/locale/generic/c_locale.cc: Include <cstdio>.
2530 2008-08-11 Paolo Carlini <paolo.carlini@oracle.com>
2532 * configure.ac: Run GLIBCXX_CHECK_STDIO_MACROS unconditionally.
2533 * configure: Regenerate.
2535 2008-08-10 Paolo Carlini <paolo.carlini@oracle.com>
2537 * include/tr1_impl/type_traits (_DEFINE_SPEC*): Simplify.
2538 (_DEFINE_SPEC_BODY): Remove.
2539 (__is_void_helper, __is_integral_helper, __is_floating_point_helper,
2540 __is_member_object_pointer_helper, __is_member_function_pointer_helper,
2541 __remove_pointer_helper): Add.
2542 (is_void, is_integral, is_floating_point, is_member_object_pointer,
2543 is_member_function_pointer, remove_pointer): Use the latter.
2544 * include/tr1/type_traits (_DEFINE_SPEC): Simplify.
2545 (_DEFINE_SPEC_HELPER): Remove.
2546 (__is_signed_helper, __is_unsigned_helper): Add.
2547 (is_signed, is_unsigned): Use the latter.
2549 2008-08-09 Paolo Carlini <paolo.carlini@oracle.com>
2551 Revert fix for libstdc++/35637, thanks to other/36901.
2552 * include/tr1_impl/type_traits (__is_function_helper): New, uses
2554 (is_function): Forward to the latter.
2555 (__in_array): Remove.
2557 2008-08-09 Paolo Carlini <paolo.carlini@oracle.com>
2559 * config/locale/darwin/ctype_members.cc: Include <cstdio>.
2561 2008-08-08 Paolo Carlini <paolo.carlini@oracle.com>
2563 * include/bits/ios_base.h: Undef _IOS_BASE_SEEK_CUR and
2564 _IOS_BASE_SEEK_END at the end of the file.
2565 * include/bits/char_traits.h: Likewise for _CHAR_TRAITS_EOF.
2567 2008-08-07 Stephen M. Webb <stephenw@xandros.com>
2569 * include/tr1_impl/regex (match_results<>::cbegin, cend): Add, per
2572 2008-08-06 Paolo Carlini <paolo.carlini@oracle.com>
2574 * acinclude.m4 ([GLIBCXX_CHECK_STDIO_MACROS]): New, checks for
2575 common values of EOF, SEEK_CUR, SEEK_END.
2576 * configure.ac: Use it.
2577 * include/bits/ios_base.h: Likewise.
2578 * include/bits/char_traits.h: Likewise.
2579 * config/locale/gnu/ctype_members.cc: Include <cstdio>.
2580 * config/locale/generic/ctype_members.cc: Likewise.
2581 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust dg-error lines.
2582 * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
2583 * configure: Regenerate.
2584 * config.h.in: Likewise.
2586 2008-08-06 Paolo Carlini <paolo.carlini@oracle.com>
2588 * acinclude.m4 ([GLIBCXX_CHECK_INT64_T]): Also check whether int64_t
2589 is actually a typedef to long or long long.
2590 * include/bits/postypes.h: If int64_t is actually a typedef for
2591 long or long long don't include <stdint.h> unnecessarily.
2592 * configure: Regenerate.
2593 * config.h.in: Likewise.
2595 2008-08-05 Paolo Carlini <paolo.carlini@oracle.com>
2597 * testsuite/util/testsuite_api.h (diamond_derivation<>::test):
2598 Expect ambiguity together with the standard exception classes.
2599 * testsuite/27_io/ios_base/failure/cons_virtual_derivation.cc: Remove
2601 * testsuite/19_diagnostics/logic_error/cons_virtual_derivation.cc:
2603 * testsuite/19_diagnostics/runtime_error/cons_virtual_derivation.cc:
2605 * testsuite/19_diagnostics/system_error/cons_virtual_derivation.cc:
2607 * testsuite/18_support/bad_alloc/cons_virtual_derivation.cc: Likewise.
2608 * testsuite/18_support/bad_cast/cons_virtual_derivation.cc: Likewise.
2609 * testsuite/18_support/bad_exception/cons_virtual_derivation.cc:
2611 * testsuite/18_support/bad_typeid/cons_virtual_derivation.cc:
2613 * testsuite/ext/concurrence_lock_error/cons_virtual_derivation.cc:
2615 * testsuite/ext/forced_exception_error/cons_virtual_derivation.cc:
2617 * testsuite/ext/concurrence_unlock_error/cons_virtual_derivation.cc:
2619 * testsuite/20_util/bad_function_call/cons_virtual_derivation.cc:
2622 2008-08-04 Paolo Carlini <paolo.carlini@oracle.com>
2624 * include/bits/postypes.h: Reinstate inclusion of <stdint.h>;
2625 also define the __STDC_* macros.
2626 (streamoff): Adjust.
2628 * include/tr1_impl/cstdint: Check that the __STDC_* macros are
2629 not defined before defining.
2631 2008-08-01 Paolo Bonzini <bonzini@gnu.org>
2632 Chris Fairles <chris.fairles@gmail.com>
2634 * acinclude.m4 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Reinstate clock_gettime
2635 search, but only in libposix4, never link librt.
2636 * src/Makefile.am: Reinstate previous change to add GLIBCXX_LIBS.
2637 * configure: Regenerate.
2638 * configure.in: Likewise.
2639 * Makefile.in: Likewise.
2640 * src/Makefile.in: Likewise.
2641 * libsup++/Makefile.in: Likewise.
2642 * po/Makefile.in: Likewise.
2643 * doc/Makefile.in: Likewise.
2645 2008-07-31 Chris Fairles <chris.fairles@gmail.com>
2647 * include/std/chrono (duration): Use explicitly defaulted ctor, cctor,
2648 dtor and assignment. Add diagnostics as per 20.8.3 paragraphs 2, 3
2649 and 4 in WD. Other minor tweaks.
2650 * testsuite/20_util/duration/cons/1_neg.cc: Adjust line numbers.
2651 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: New.
2652 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Likewise.
2653 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Likewise.
2655 2008-07-31 Paolo Carlini <paolo.carlini@oracle.com>
2657 * testsuite/lib/libstdc++.exp (libstdc++_init): Set v3-libgomp.
2658 (check_v3_target_parallel_mode): Robustify, just follow the
2659 structure of testsuite/Makefile.am.
2661 2008-07-29 Paolo Carlini <paolo.carlini@oracle.com>
2663 * include/debug/set.h: Minor formatting fixes.
2664 * include/debug/multiset.h: Likewise.
2665 * include/debug/safe_association.h: Likewise.
2666 * include/debug/vector: Likewise.
2667 * include/debug/map.h: Likewise.
2668 * include/debug/string: Likewise.
2669 * include/debug/multimap.h: Likewise.
2670 * include/bits/stl_list.h: Likewise.
2671 * include/bits/stl_map.h: Likewise.
2672 * include/bits/stl_set.h: Likewise.
2673 * include/bits/stl_multimap.h: Likewise.
2674 * include/bits/stl_vector.h: Likewise.
2675 * include/bits/stl_multiset.h: Likewise.
2676 * include/bits/stl_bvector.h: Likewise.
2678 2008-07-29 Paolo Carlini <paolo.carlini@oracle.com>
2680 * include/std/utility: Include <initializer_list>, per the current WP.
2682 * testsuite/lib/libstdc++.exp (check_v3_target_cstdint): Tweak,
2683 don't use -std=gnu++0x unnecessarily.
2684 * testsuite/18_support/numeric_limits/char16_32_t.cc: Use
2686 * testsuite/18_support/headers/cstdint/types_std_c++0x.cc: Likewise.
2687 * testsuite/tr1/8_c_compatibility/cstdint/types_std_tr1.cc: Likewise.
2689 2008-07-28 Paolo Carlini <paolo.carlini@oracle.com>
2692 * include/tr1_impl/boost_shared_ptr.h
2693 (__shared_ptr(_Sp_make_shared_tag, _Alloc, _Args&&...): Call
2694 __enable_shared_from_this_helper.
2695 * testsuite/20_util/shared_ptr/creation/36949.cc: New.
2697 2008-07-24 Paolo Carlini <paolo.carlini@oracle.com>
2701 2008-07-23 Chris Fairles <chris.fairles@gmail.com>
2703 * acinclude.m4 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Define GLIBCXX_LIBS.
2704 Holds the lib that defines clock_gettime (-lrt or -lposix4).
2705 * src/Makefile.am: Use it.
2706 * configure: Regenerate.
2707 * configure.in: Likewise.
2708 * Makefile.in: Likewise.
2709 * src/Makefile.in: Likewise.
2710 * libsup++/Makefile.in: Likewise.
2711 * po/Makefile.in: Likewise.
2712 * doc/Makefile.in: Likewise.
2714 2008-07-23 Chris Fairles <chris.fairles@gmail.com>
2716 * include/std/condition_variable: Update to N2691 WD.
2717 * include/std/mutex: Likewise.
2718 * testsuite/30_threads/mutex/cons/assign_neg.cc: Adjust line numbers.
2719 * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise.
2720 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
2721 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
2723 2008-07-23 Chris Fairles <chris.fairles@gmail.com>
2725 * acinclude.m4 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Define GLIBCXX_LIBS.
2726 Holds the lib that defines clock_gettime (-lrt or -lposix4).
2727 * src/Makefile.am: Use it.
2728 * configure: Regenerate.
2729 * configure.in: Likewise.
2730 * Makefile.in: Likewise.
2731 * src/Makefile.in: Likewise.
2732 * libsup++/Makefile.in: Likewise.
2733 * po/Makefile.in: Likewise.
2734 * doc/Makefile.in: Likewise.
2736 2008-07-22 Paolo Carlini <paolo.carlini@oracle.com>
2738 * include/ext/sso_string_base.h
2739 (__sso_string_base<>::__sso_string_base(std::initializer_list<_CharT>,
2740 const _Alloc&)): Remove.
2741 * include/ext/rc_string_base.h
2742 (__rc_string_base<>::__rc_string_base(std::initializer_list<_CharT>,
2743 const _Alloc&)): Likewise.
2744 * include/ext/vstring.h
2745 (__versa_string<>::__versa_string(std::initializer_list<_CharT>,
2746 const _Alloc&)): Adjust.
2748 2008-07-21 Jason Merrill <jason@redhat.com>
2750 Add initializer_list support as per N2679.
2751 * include/debug/unordered_map: Add initializer_list support.
2752 * include/debug/safe_association.h: Likewise.
2753 * include/debug/unordered_set: Likewise.
2754 * include/debug/vector: Likewise.
2755 * include/debug/deque: Likewise.
2756 * include/debug/map.h: Likewise.
2757 * include/debug/set.h: Likewise.
2758 * include/debug/string: Likewise.
2759 * include/debug/list: Likewise.
2760 * include/debug/multimap.h: Likewise.
2761 * include/tr1_impl/unordered_map: Likewise.
2762 * include/tr1_impl/hashtable: Likewise.
2763 * include/tr1_impl/unordered_set: Likewise.
2764 * include/tr1_impl/regex: Likewise.
2765 * include/std/valarray: Likewise.
2766 * include/std/unordered_map: Likewise.
2767 * include/std/unordered_set: Likewise.
2768 * include/bits/stl_list.h: Likewise.
2769 * include/bits/stl_map.h: Likewise.
2770 * include/bits/stl_set.h: Likewise.
2771 * include/bits/basic_string.h: Likewise.
2772 * include/bits/basic_string.tcc: Likewise.
2773 * include/bits/stl_multimap.h: Likewise.
2774 * include/bits/stl_vector.h: Likewise.
2775 * include/bits/stl_deque.h: Likewise.
2776 * include/bits/stl_multiset.h: Likewise.
2777 * include/bits/stl_bvector.h: Likewise.
2778 * include/ext/vstring.h: Likewise.
2779 * include/ext/rc_string_base.h: Likewise.
2780 * include/ext/sso_string_base.h: Likewise.
2781 * src/Makefile.am (w?string-inst): Build with -std=gnu++0x.
2782 * src/Makefile.in: Likewise.
2783 * config/abi/pre/gnu.ver: Add new w?string exports.
2784 * testsuite/21_strings/basic_string/init-list.cc: New test.
2785 * testsuite/23_containers/vector/init-list.cc: New test.
2786 * testsuite/23_containers/deque/init-list.cc: New test.
2787 * testsuite/23_containers/list/init-list.cc: New test.
2788 * testsuite/23_containers/map/init-list.cc: New test.
2789 * testsuite/23_containers/multimap/init-list.cc: New test.
2790 * testsuite/23_containers/set/init-list.cc: New test.
2791 * testsuite/23_containers/multiset/init-list.cc: New test.
2792 * testsuite/23_containers/unordered_map/init-list.cc: New test.
2793 * testsuite/23_containers/unordered_multimap/init-list.cc: New test.
2794 * testsuite/23_containers/unordered_set/init-list.cc: New test.
2795 * testsuite/23_containers/unordered_multiset/init-list.cc: New test.
2796 * testsuite/26_numerics/valarray/init-list.cc: New test.
2797 * testsuite/28_regex/init-list.cc: New test.
2798 * testsuite/ext/vstring/init-list.cc: New test.
2799 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
2800 Update error lineno.
2801 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
2802 Update error lineno.
2803 * testsuite/23_containers/vector/requirements/dr438/
2804 constructor_1_neg.cc: Update error lineno.
2805 * testsuite/23_containers/vector/requirements/dr438/
2806 constructor_2_neg.cc: Update error lineno.
2807 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
2808 Update error lineno.
2809 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
2810 Update error lineno.
2811 * testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc:
2812 Update error lineno.
2813 * testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc:
2814 Update error lineno.
2815 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
2816 Update error lineno.
2817 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
2818 Update error lineno.
2819 * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
2820 Update error lineno.
2821 * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
2822 Update error lineno.
2824 2008-07-21 Mark Mitchell <mark@codesourcery.com>
2826 * config/os/gnu-linux/arm-eabi-extra.ver: New file.
2827 * configure.host: Use it for arm*-*-linux-*eabi.
2829 2008-07-19 Paolo Carlini <paolo.carlini@oracle.com>
2831 * include/ext/pb_ds/detail/binomial_heap_base_/debug_fn_imps.hpp
2832 (assert_node_consistent): Avoid ambiguous else warning.
2834 * include/ext/pb_ds/detail/debug_map_base.hpp: Include <iostream>.
2836 * include/bits/c++config: In debug-mode (and parallel-mode) set
2837 _GLIBCXX_EXTERN_TEMPLATE to -1, not 0, thus disabling extern
2838 templates only for basic_string (per libstdc++/21674).
2839 * include/bits/basic_string.tcc: Use extern templates when
2840 _GLIBCXX_EXTERN_TEMPLATE > 0.
2842 2008-07-18 Kris Van Hees <kris.van.hees@oracle.com>
2843 Holger Hopp <holger.hopp@sap.com>
2845 * config/abi/pre/gnu.ver: Support char16_t and char32_t.
2846 * testsuite/util/testsuite_abi.cc (check_version): Add
2847 CXXABI_1.3.3 to known_versions.
2849 2008-07-16 Paolo Carlini <paolo.carlini@oracle.com>
2851 * include/debug/vector (insert(iterator, _Tp&&), push_back(_Tp&&)):
2852 Enable only when _Tp != bool.
2854 * testsuite/25_algorithms/heap/1.cc: Avoid unused variable warnings.
2856 2008-07-18 Paolo Carlini <paolo.carlini@oracle.com>
2858 * testsuite/lib/libstdc++.exp (check_v3_target_c_std): Avoid unused
2859 variable warnings leading to spurious fails of the test.
2861 2008-07-16 Paolo Carlini <paolo.carlini@oracle.com>
2863 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Adjust
2865 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
2866 * testsuite/20_util/duration/cons/1_neg.cc: Likewise.
2868 * include/tr1_impl/type_traits: Fix comment typo.
2870 2008-07-16 Paolo Carlini <paolo.carlini@oracle.com>
2872 * include/bits/unique_ptr.h: Remove stray character.
2874 2008-07-15 Benjamin Kosnik <bkoz@redhat.com>
2876 * doc/doxygen/user.cfg.in: Add complex, ratio,
2878 (PREDEFINED): Add _GLIBCXX_USE_C99_STDINT_TR1.
2879 * doc/doxygen/doxygroups.cc: Add std::chrono.
2880 * include/bits/unique_ptr.h (default_delete, unique_ptr): Add markup.
2881 * libsupc++/initializer_list (initializer_list): Same.
2882 * include/std/ratio: Same.
2883 * include/std/chrono: Same.
2884 * include/std/complex: Disambiguate file markup.
2886 2008-07-15 Chris Fairles <chris.fairles@gmail.com>
2888 * include/std/chrono: New, as per N2661.
2889 * src/chrono.cc: New.
2890 * include/Makefile.am: Update.
2891 * src/Makefile.am: Likewise.
2892 * include/Makefile.in: Regenerate.
2893 * src/Makefile.in: Likewise.
2894 * acinclude.m4: Add tests for clock_gettime and gettimeofday that
2895 define _GLIBCXX_HAS_CLOCK_GETTIME and/or _GLIBCXX_HAS_GETTIMEOFDAY.
2896 * configure.ac: Use them.
2897 * configure: Regenerate.
2898 * config.h.in: Likewise.
2899 * config/abi/pre/gnu.ver: Add symbols for system_clock::now() and
2900 system_clock::is_monotonic.
2901 * testsuite/20_util/duration/cons/1.cc: New.
2902 * testsuite/20_util/duration/cons/2.cc: Likewise.
2903 * testsuite/20_util/duration/cons/1_neg.cc: Likewise.
2904 * testsuite/20_util/duration/requirements/explicit_instantiation/
2905 explicit_instantiation.cc: Likewise.
2906 * testsuite/20_util/duration/arithmetic/1.cc: Likewise.
2907 * testsuite/20_util/duration/arithmetic/2.cc: Likewise.
2908 * testsuite/20_util/duration/comparisons/1.cc: Likewise.
2909 * testsuite/20_util/time_point/requirements/explicit_instantiation/
2910 explicit_instantiation.cc: Likewise.
2911 * testsuite/20_util/time_point/1.cc: Likewise.
2912 * testsuite/20_util/time_point/2.cc: Likewise.
2913 * testsuite/20_util/time_point/3.cc: Likewise.
2914 * testsuite/20_util/clocks/1.cc: Likewise.
2915 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Add
2917 * testsuite/17_intro/headers/c++200x/all.cc: Likewise.
2918 * include/precompiled/stdc++.h: Likewise and remove <date_time>.
2919 * doc/doxygen/user.cfg.in: Likewise.
2921 2008-07-15 Paolo Carlini <paolo.carlini@oracle.com>
2924 * include/ext/rope (_Destroy_const): Add.
2925 (rope<>::copy): Call it.
2926 * testsuite/ext/rope/36832.cc: New.
2928 2008-07-15 Johannes Singler <singler@ira.uka.de>
2930 * include/parallel/find_selectors.h:
2931 Correct name for include guard #ifndef.
2932 * include/parallel/balanced_quicksort.h: Likewise.
2933 * include/parallel/unique_copy.h: Likewise.
2934 * include/parallel/multiway_mergesort.h: Likewise.
2935 * include/parallel/checkers.h: Likewise.
2936 * include/parallel/[various files]:
2937 Add/correct comment for #endif of include guard (at end of file)
2939 2008-07-12 Paolo Carlini <paolo.carlini@oracle.com>
2941 * include/std/date_time: Remove, per N2549, in WP.
2942 * src/date_time.cc: Likewise.
2943 * config/abi/pre/gnu.ver: Remove <date_time> symbols.
2944 * include/Makefile.am: Remove date_time in std headers.
2945 * src/Makefile.am: Remove date_time.cc to source files.
2946 * include/Makefile.in: Regenerate.
2947 * src/Makefile.in: Likewise.
2948 * testsuite/31_date_time/headers/date_time/types_std.cc: Remove.
2949 * testsuite/31_date_time/headers/date_time/std_c++0x_neg.cc: Likewise.
2950 * testsuite/31_date_time/headers/date_time/functions_std.cc: Likewise.
2951 * testsuite/31_date_time/headers/date_time/synopsis.cc: Likewise.
2952 * testsuite/31_date_time/nanoseconds/requirements/traits.cc: Likewise.
2953 * testsuite/31_date_time/nanoseconds/requirements/duration.cc: Likewise.
2954 * testsuite/31_date_time/system_time/requirements: Likewise.
2955 * testsuite/31_date_time/system_time/requirements/traits.cc: Likewise.
2956 * testsuite/17_intro/headers/c++200x/all.cc: Adjust.
2957 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Adjust.
2959 2008-07-10 Johannes Singler <singler@ira.uka.de>
2961 * include/parallel/balanced_quicksort.h:
2962 (qsb_divide) Replace "*end" by "*(end - 1)" in assertion.
2964 2008-07-09 Benjamin Kosnik <bkoz@redhat.com>
2967 * doc/xml/manual/allocator.xml: Fix links.
2968 * doc/html/*: Regenerate.
2970 2008-07-09 Joseph Myers <joseph@codesourcery.com>
2972 * libsupc++/unwind-cxx.h (__is_gxx_forced_unwind_class,
2973 __GXX_INIT_FORCED_UNWIND_CLASS): Define for ARM EABI unwinder.
2974 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Call
2975 __GXX_INIT_FORCED_UNWIND_CLASS for forced unwind with ARM EABI
2977 * libsupc++/eh_arm.cc (__cxa_type_match): Use
2978 __is_gxx_forced_unwind_class to check for forced unwind.
2980 2008-07-09 Andreas Beckmann <gcc@abeckmann.de>
2983 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2984 null_metadata.hpp: Remove self-include.
2986 2008-07-09 Joseph Myers <joseph@codesourcery.com>
2988 * testsuite/20_util/make_signed/requirements/typedefs-2.cc,
2989 testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Use
2990 -Wl,--no-enum-size-warning for arm*-*-linux*eabi.
2992 2008-07-09 Johannes Singler <singler@ira.uka.de>
2995 * include/parallel/random_shuffle.h:
2996 (sequential_random_shuffle) Copy data back.
2997 * testsuite/25_algorithms/random_shuffle/1.cc:
2998 New. Generic random_shuffle functionality test.
3000 2008-07-08 Chris Fairles <chris.fairles@gmail.com>
3002 * include/std/type_traits: Add common_type.
3003 * testsuite/20_util/common_type/requirements/
3004 explicit_instantiation.cc: New.
3005 * testsuite/20_util/common_type/requirements/
3006 typedefs-1.cc: Likewise.
3008 2008-07-07 Paolo Carlini <paolo.carlini@oracle.com>
3010 * testsuite/lib/libstdc++.exp (check_v3_target_stdint): New.
3011 * testsuite/lib/dg-options.exp (dg-require-cstdint): New.
3012 * testsuite/20_util/ratio/cons/cons1.cc: Use it.
3013 * testsuite/20_util/ratio/cons/cons_overflow.cc: Likewise.
3014 * testsuite/20_util/ratio/operations/ops1.cc: Likewise.
3015 * testsuite/20_util/ratio/operations/ops2.cc: Likewise.
3016 * testsuite/20_util/ratio/operations/ops3.cc: Likewise.
3017 * testsuite/20_util/ratio/operations/ops_overflow.cc: Likewise.
3018 * testsuite/20_util/ratio/comparisons/comp1.cc: Likewise.
3019 * testsuite/20_util/ratio/comparisons/comp2.cc: Likewise.
3021 * include/std/type_traits: Fix comment typo.
3023 2008-07-06 Roger Sayle <roger@eyesopen.com>
3025 * include/std/system_error (is_error_code_enum): Use identifier
3026 _Tp instead of _T to avoid conflict with system macro on Darwin.
3027 (is_error_condition_enum): Likewise.
3029 2008-07-05 Paolo Carlini <paolo.carlini@oracle.com>
3031 * include/bits/postypes.h: Do not include <stdint.h>.
3033 * include/Makefile.am: Reorder.
3035 2008-07-05 Paolo Carlini <paolo.carlini@oracle.com>
3037 * include/std/ratio: Prefer __INTMAX_MAX__ to INTMAX_MAX (INTMAX_MIN).
3039 2008-07-05 Chris Fairles <chris.fairles@gmail.com>
3041 * include/std/ratio: Documentation for std::ratio class. Add conditions
3042 to ratio_less to prevent overflow.
3043 * testsuite/20_util/ratio/comparisons/comp2.cc: New.
3044 * testsuite/20_util/ratio/cons/cons_overflow.cc: Update dg-error line
3047 2008-07-04 Chris Fairles <chris.fairles@gmail.com>
3049 * include/std/ratio: New, per N2661.
3050 * include/Makefile.am: Update.
3051 * include/Makefile.in: Regenerate.
3052 * testsuite/20_util/ratio/cons/cons1.cc: New.
3053 * testsuite/20_util/ratio/cons/cons_overflow.cc: Likewise.
3054 * testsuite/20_util/ratio/operations/ops1.cc: Likewise.
3055 * testsuite/20_util/ratio/operations/ops2.cc: Likewise.
3056 * testsuite/20_util/ratio/operations/ops3.cc: Likewise.
3057 * testsuite/20_util/ratio/operations/ops_overflow.cc: Likewise.
3058 * testsuite/20_util/ratio/comparisons/comp1.cc: Likewise.
3060 2008-07-04 Paolo Carlini <paolo.carlini@oracle.com>
3063 * testsuite/22_locale/time_put/put/char/4.cc: Just use es_ES instead.
3064 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
3066 2008-07-03 Paolo Carlini <paolo.carlini@oracle.com>
3068 * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
3069 Improve check on long double limits.
3070 * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
3072 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3074 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3077 2008-07-03 Paolo Carlini <paolo.carlini@oracle.com>
3079 * libsupc++/Makefile.am: Add initializer_list to the headers.
3080 * libsupc++/Makefile.in: Regenerate.
3082 * libsupc++/initializer_list: Minor cosmetic changes.
3084 2008-07-02 Jason Merrill <jason@redhat.com>
3086 * libsupc++/initializer_list: Uglify and wrap in
3087 __GXX_EXPERIMENTAL_CXX0X__.
3088 * include/bits/stl_map.h (insert(initializer_list)): Wrap.
3090 2008-07-02 Jason Merrill <jason@redhat.com>
3092 * libsupc++/initializer_list: New file.
3093 * include/bits/stl_map.h (insert(initializer_list)): New method.
3095 2008-06-30 Alfred E. Heggestad <aeh@db.org>
3097 * include/backward/backward_warning.h: Fix typo.
3099 2008-06-29 Paolo Carlini <paolo.carlini@oracle.com>
3101 * src/string_conversions.cc: Remove.
3102 * config/abi/pre/gnu.ver: Delete exports.
3103 * src/Makefile.am: Update.
3104 * include/ext/string_conversions.h: Add.
3105 * include/Makefile.am: Update.
3106 * include/bits/basic_string.h: Include string_conversions.h,
3107 define numeric conversion functions.
3108 * include/ext/vstring.h: Likewise.
3109 * src/Makefile.in: Regenerate.
3110 * include/Makefile.in: Regenerate.
3112 2008-06-29 Paolo Carlini <paolo.carlini@oracle.com>
3114 * include/bits/stl_algo.h (copy_n): Add in C++0x mode.
3115 * include/bits/algorithmfwd.h: Add.
3116 * include/bits/stl_uninitialized.h (uninitialized_copy_n): Add
3118 * testsuite/20_util/specialized_algorithms/uninitialized_copy_n/
3119 move_iterators/1.cc: New
3120 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
3121 * testsuite/25_algorithms/copy_n/1.cc: New.
3122 * testsuite/25_algorithms/copy_n/2.cc: Likewise.
3123 * testsuite/25_algorithms/copy_n/3.cc: Likewise.
3124 * testsuite/25_algorithms/copy_n/4.cc: Likewise.
3125 * testsuite/25_algorithms/copy_n/move_iterators/1.cc: Likewise.
3126 * testsuite/25_algorithms/copy_n/requirements/
3127 explicit_instantiation/2.cc: Likewise.
3128 * testsuite/25_algorithms/partition_point/requirements/
3129 explicit_instantiation/pod.cc: Likewise.
3131 2008-06-28 Paolo Carlini <paolo.carlini@oracle.com>
3133 * include/bits/stl_algo.h (partition_point): Add in C++0x mode.
3134 * include/bits/algorithmfwd.h: Add.
3135 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
3136 * testsuite/25_algorithms/partition_point/1.cc: New.
3137 * testsuite/25_algorithms/partition_point/check_type.cc: Likewise.
3138 * testsuite/25_algorithms/partition_point/requirements/
3139 explicit_instantiation/2.cc: Likewise.
3140 * testsuite/25_algorithms/partition_point/requirements/
3141 explicit_instantiation/pod.cc: Likewise.
3143 2008-06-28 Paolo Carlini <paolo.carlini@oracle.com>
3146 * include/ext/pb_ds/detail/resize_policy/
3147 sample_resize_trigger.hpp: Remove spurious namespace end.
3149 2008-06-27 Mark Mitchell <mark@codesourcery.com>
3151 * libsupc++/vec.cc (__aeabi_vec_dtor_cookie): Handle NULL array
3153 (__aeabi_vec_delete): Likewise.
3154 (__aeabi_vec_delete3): Likewise.
3155 (__aeabi_vec_delete3_nodtor): Likewise.
3157 2008-06-27 Paolo Carlini <paolo.carlini@oracle.com>
3159 * include/bits/stl_algo.h (is_partitioned): Add in C++0x mode.
3160 * include/bits/algorithmfwd.h: Add.
3161 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
3162 * testsuite/25_algorithms/is_partitioned/1.cc: New.
3163 * testsuite/25_algorithms/is_partitioned/check_type.cc: Likewise.
3164 * testsuite/25_algorithms/is_partitioned/requirements/
3165 explicit_instantiation/2.cc: Likewise.
3166 * testsuite/25_algorithms/is_partitioned/requirements/
3167 explicit_instantiation/pod.cc: Likewise.
3169 2008-06-27 Paolo Carlini <paolo.carlini@oracle.com>
3171 * include/bits/stl_numeric.h (iota): Add in C++0x mode.
3172 * testsuite/util/testsuite_character.h (pod_int): Add operator++
3174 * testsuite/util/testsuite_api.h (NonDefaultConstructible): Likewise.
3175 * testsuite/26_numerics/iota/1.cc: New.
3176 * testsuite/26_numerics/iota/requirements/explicit_instantiation/
3178 * testsuite/26_numerics/iota/requirements/explicit_instantiation/
3181 * include/ext/algorithm: Do not fiddle with the legacy headers.
3183 * testsuite/26_numerics/partial_sum/1.cc: Minor changes, comments,
3185 * testsuite/26_numerics/accumulate/1.cc: Likewise.
3186 * testsuite/26_numerics/adjacent_difference/1.cc: Likewise.
3187 * testsuite/26_numerics/inner_product/1.cc: Likewise.
3189 2008-06-26 Paolo Carlini <paolo.carlini@oracle.com>
3191 * include/bits/stl_algo.h (partition_copy): Add in C++0x mode.
3192 * include/bits/algorithmfwd.h: Add.
3193 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
3194 * testsuite/25_algorithms/partition_copy/1.cc: New.
3195 * testsuite/25_algorithms/partition_copy/check_type.cc: Likewise.
3196 * testsuite/25_algorithms/partition_copy/requirements/
3197 explicit_instantiation/2.cc: Likewise.
3198 * testsuite/25_algorithms/partition_copy/requirements/
3199 explicit_instantiation/pod.cc: Likewise.
3201 2008-06-26 Chris Fairles <chris.fairles@gmail.com>
3203 * testsuite/20_util/unique_ptr/cons/pointer_array.cc: New.
3204 * testsuite/20_util/unique_ptr/cons/pointer.cc: Likewise.
3205 * testsuite/20_util/unique_ptr/cons/pointer_array_convertible.cc:
3207 * testsuite/20_util/unique_ptr/assign/move_array.cc: Likewise.
3208 * testsuite/20_util/unique_ptr/assign/move.cc: Likewise.
3209 * testsuite/20_util/unique_ptr/specialized_algorithms/
3210 comparisons_array.cc: Likewise.
3211 * testsuite/20_util/unique_ptr/specialized_algorithms/comparisons.cc:
3213 * testsuite/20_util/unique_ptr/specialized_algorithms/swap.cc:
3216 2008-06-26 Paolo Carlini <paolo.carlini@oracle.com>
3218 * include/parallel/base.h (plus, multiplies): Use __typeof__,
3221 2008-06-25 Paolo Carlini <paolo.carlini@oracle.com>
3223 * testsuite/29_atomics/atomic_flag/cons/default.cc: Avoid -Wall
3225 * testsuite/29_atomics/atomic_flag/cons/aggregate.cc: Likewise.
3226 * testsuite/29_atomics/headers/cstdatomic/types_std_c++0x.cc:
3228 * testsuite/29_atomics/headers/stdatomic.h/types.c: Likewise.
3229 * testsuite/util/testsuite_common_types.h (struct assignable,
3230 struct default_constructible, struct copy_constructible,
3231 struct explicit_value_constructible): Use a tad of simulated
3232 concept checking techniques to avoid spurious warnings.
3233 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust dg-error
3235 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
3237 2008-06-25 Paolo Carlini <paolo.carlini@oracle.com>
3239 * include/bits/stl_algo.h (__find_if_not, find_if_not, all_of,
3240 any_of, none_of): Add in C++0x, per N2666.
3241 * include/bits/algorithmfwd.h: Update.
3242 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
3243 * testsuite/25_algorithms/all_of/check_type.cc: New.
3244 * testsuite/25_algorithms/all_of/1.cc: Likewise.
3245 * testsuite/25_algorithms/all_of/requirements/explicit_instantiation/
3247 * testsuite/25_algorithms/all_of/requirements/explicit_instantiation/
3249 * testsuite/25_algorithms/any_of/check_type.cc: Likewise.
3250 * testsuite/25_algorithms/any_of/1.cc: Likewise.
3251 * testsuite/25_algorithms/any_of/requirements/explicit_instantiation/
3253 * testsuite/25_algorithms/any_of/requirements/explicit_instantiation/
3255 * testsuite/25_algorithms/none_of/check_type.cc: Likewise.
3256 * testsuite/25_algorithms/none_of/1.cc: Likewise.
3257 * testsuite/25_algorithms/none_of/requirements/explicit_instantiation/
3259 * testsuite/25_algorithms/none_of/requirements/explicit_instantiation/
3261 * testsuite/25_algorithms/find_if_not/check_type.cc: Likewise.
3262 * testsuite/25_algorithms/find_if_not/1.cc: Likewise.
3263 * testsuite/25_algorithms/find_if_not/requirements/
3264 explicit_instantiation/2.cc: Likewise.
3265 * testsuite/25_algorithms/find_if_not/requirements/
3266 explicit_instantiation/pod.cc: Likewise.
3267 * testsuite/25_algorithms/copy_if/check_type.cc: Likewise.
3268 * testsuite/25_algorithms/remove_copy_if/check_type.cc: Likewise.
3269 * testsuite/25_algorithms/find_if/1.cc: Minor tweaks.
3271 2008-06-24 Benjamin Kosnik <bkoz@redhat.com>
3273 * doc/xml/manual/parallel_mode.xml: Clarify use of explicit
3274 parallel algorithms.
3275 * doc/xml/manual/using.xml: Markup fixes caught by validation check.
3276 * doc/xml/manual/test.xml: Remove empty para tags.
3278 * doc/html/*: Regenerate.
3280 2008-06-24 Paolo Carlini <paolo.carlini@oracle.com>
3282 * include/bits/stl_algo.h (remove_if): Cast __pred result to bool.
3283 (copy_if): Add, per N2666.
3284 * testsuite/25_algorithms/copy_if/requirements/explicit_instantiation/
3286 * testsuite/25_algorithms/copy_if/requirements/explicit_instantiation/
3288 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
3290 2008-06-24 Paolo Carlini <paolo.carlini@oracle.com>
3291 Chalathip Thumkanon <chalathip@gmail.com>
3294 * include/ext/pb_ds/exception.hpp (__throw_container_error,
3295 __throw_insert_error, __throw_join_error, __throw_resize_error):
3298 2008-06-22 Paolo Carlini <paolo.carlini@oracle.com>
3300 * include/bits/move.h (swap(_Tp (&)[_Nm], _Tp (&)[_Nm])): Add,
3302 * include/bits/algorithmfwd.h: Add.
3303 * doc/xml/manual/intro.xml: Add an entry for DR 809.
3304 * testsuite/25_algorithms/swap/dr809.cc: New.
3306 * testsuite/25_algorithms/swap/requirements/explicit_instantiation/
3307 2.cc: Remove stray empty line.
3309 2008-06-21 Paolo Carlini <paolo.carlini@oracle.com>
3311 * include/bits/stl_move.h: Rename to move.h.
3312 * include/std/utility: Adjust.
3313 * include/ext/vstring_util.h: Likewise.
3314 * include/ext/throw_allocator.h: Likewise.
3315 * include/ext/pool_allocator.h: Likewise.
3316 * include/ext/bitmap_allocator.h: Likewise.
3317 * include/ext/new_allocator.h: Likewise.
3318 * include/ext/malloc_allocator.h: Likewise.
3319 * include/ext/array_allocator.h: Likewise.
3320 * include/ext/mt_allocator.h: Likewise.
3321 * include/bits/stl_algobase.h: Likewise.
3322 * include/bits/stl_heap.h: Likewise.
3323 * include/bits/stl_pair.h: Likewise.
3324 * include/bits/stl_iterator.h: Likewise.
3325 * testsuite/util/testsuite_allocator.h: Likewise.
3326 * testsuite/util/testsuite_iterators.h: Likewise.
3327 * include/Makefile.am: Likewise.
3328 * include/Makefile.in: Regenerate.
3330 2008-06-21 Chris Fairles <chris.fairles@gmail.com>
3332 * include/bits/unique_ptr.h: New.
3333 * include/std/memory: Adjust.
3334 * include/Makefile.am: Add.
3335 * testsuite/20_util/unique_ptr/requirements/explicit_instantiation/
3336 explicit_instantiation.cc: New.
3337 * testsuite/20_util/unique_ptr/assign/assign.cc: Likewise.
3338 * include/Makefile.in: Regenerate.
3340 2008-06-21 Jonathan Wakely <jwakely.gcc@gmail.com>
3342 * include/c_global/climits, include/tr1/climits: Add parentheses.
3344 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3346 * configure: Regenerate.
3348 2008-06-17 Chris Fairles <chris.fairles@gmail.com>
3350 * include/bits/stl_iterator_base_funcs.h (next, prev): Add in
3352 * testsuite/24_iterators/operations/next.cc: New.
3353 * testsuite/24_iterators/operations/prev.cc: Likewise.
3355 2008-06-17 Paolo Carlini <paolo.carlini@oracle.com>
3357 * src/string_conversions.cc (__to_xstring<>): New.
3358 (to_string, to_wstring): Use it.
3360 2008-06-16 Paolo Carlini <paolo.carlini@oracle.com>
3362 * include/bits/basic_string.h (stod, stof, stoi, stol, stold, stoll,
3363 stoul, stoull, to_string, to_wstring): Declare in C++0x mode.
3364 * src/string_conversions.cc: Add.
3365 * src/Makefile.am: Update.
3366 * config/abi/pre/gnu.ver: Adjust exports.
3367 * src/Makefile.in: Regenerate.
3368 * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
3370 * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
3372 * testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
3374 * testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
3376 * testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc:
3378 * testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc:
3380 * testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
3382 * testsuite/21_strings/basic_string/numeric_conversions/char/stoull.cc:
3384 * testsuite/21_strings/basic_string/numeric_conversions/char/
3385 to_string.cc: Likewise.
3386 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3388 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3390 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3392 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3394 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3396 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3398 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3400 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3401 stoull.cc: Likewise.
3402 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3403 to_wstring.cc: Likewise.
3405 2008-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3407 * include/Makefile.am: Remove trailing white space, fix typo.
3408 (parallel_headers): Remove duplicate file, sort entries.
3409 * include/Makefile.in: Regenerate.
3411 2008-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3413 * src/condition_variable.cc (~condition_variable): Drop unused
3416 2008-06-13 Paolo Carlini <paolo.carlini@oracle.com>
3418 * include/bits/stl_deque.h (deque<>::push_back(_Args&&...),
3419 deque<>::push_front(_Args&&...)): Remove.
3420 (deque<>::push_back(value_type&&),
3421 deque<>::push_front(value_type&&)): Add.
3422 (deque<>::push_back(const value_type&),
3423 deque<>::push_front(const value_type&)): Add back.
3424 (deque<>::emplace_back(_Args&&...),
3425 deque<>::emplace_front(_Args&&...)): Declare...
3426 * include/bits/deque.tcc: ... and define.
3427 * include/bits/stl_list.h (list<>::push_back(_Args&&...),
3428 list<>::push_front(_Args&&...)): Remove.
3429 (list<>::push_back(value_type&&), list<>::push_front(value_type&&),
3430 list<>::emplace_back(_Args&&...), list<>::emplace_front(_Args&&...)):
3432 (list<>::push_back(const value_type&),
3433 list<>::push_front(const value_type&)): Add back.
3434 * include/bits/stl_vector.h (vector<>::push_back(_Args&&...)): Remove.
3435 (vector<>::push_back(value_type&&)): Add.
3436 (vector<>::push_back(const value_type&)): Add back.
3437 (vector<>::emplace_back(_Args&&...)): Declare...
3438 * include/bits/vector.tcc: ... and define.
3439 * include/bits/stl_queue.h (queue<>::push(_Args&&...),
3440 priority_queue<>::push(_Args&&...)): Remove.
3441 (queue<>::push(value_type&&), queue<>::emplace(_Args&&...),
3442 priority_queue<>::push(value_type&&),
3443 priority_queue<>::emplace(_Args&&...)): Add.
3444 (queue<>::push(const value_type&),
3445 priority_queue<>::push(const value_type&)): Add back.
3446 * include/bits/stl_stack.h (stack<>::push(_Args&&...)): Remove.
3447 (stack<>::push(value_type&&), stack<>::emplace(_Args&&...)): Add.
3448 (stack<>::push(const value_type&)): Add back.
3449 * include/debug/deque (deque<>::push_back(_Args&&...),
3450 deque<>::push_front(_Args&&...)): Remove.
3451 (deque<>::push_back(value_type&&), deque<>::push_front(value_type&&),
3452 deque<>::emplace_back(_Args&&...), deque<>::emplace_front(_Args&&...)):
3454 (deque<>::push_back(const value_type&),
3455 deque<>::push_front(const value_type&)): Add back.
3456 * include/debug/list (list<>::push_back(_Args&&...),
3457 list<>::push_front(_Args&&...)): Remove.
3458 (list<>::push_back(value_type&&), list<>::push_front(value_type&&),
3459 list<>::emplace_back(_Args&&...), list<>::emplace_front(_Args&&...)):
3461 (list<>::push_back(const value_type&),
3462 list<>::push_front(const value_type&)): Add back.
3463 * include/debug/vector (vector<>::push_back(_Args&&...)): Remove.
3464 (vector<>::push_back(value_type&&),
3465 vector<>::emplace_back(_Args&&...)): Add.
3466 (vector<>::push_back(const value_type&)): Add back.
3467 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
3468 Adjust dg-error line numbers.
3469 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
3471 * testsuite/23_containers/deque/requirements/dr438/
3472 constructor_1_neg.cc: Likewise.
3473 * testsuite/23_containers/deque/requirements/dr438/
3474 constructor_2_neg.cc: Likewise.
3475 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
3476 Adjust dg-error line numbers.
3477 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
3479 * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
3481 * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
3483 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
3484 Adjust dg-error line numbers.
3485 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
3487 * testsuite/23_containers/vector/requirements/dr438/
3488 constructor_1_neg.cc: Likewise.
3489 * testsuite/23_containers/vector/requirements/dr438/
3490 constructor_2_neg.cc: Likewise.
3492 2008-06-13 Paolo Carlini <paolo.carlini@oracle.com>
3494 * include/tr1_impl/array (array<>::assign): Do not define in
3495 C++0x mode, per DR 776...
3496 (array<>::fill): ... define instead.
3497 * doc/xml/manual/intro.xml: Add an entry for DR 776.
3498 * testsuite/23_containers/array/requirements/fill.cc: New.
3500 2008-06-12 Paolo Carlini <paolo.carlini@oracle.com>
3502 * include/std/complex (pow(const complex<>&, int)): Do not define in
3503 C++0x mode, per DR 844.
3504 * include/tr1/complex (pow(const complex<>&, int)): Remove.
3505 * doc/xml/manual/intro.xml: Add an entry for DR 844.
3506 * testsuite/26_numerics/complex/dr844.cc: New.
3507 * testsuite/tr1/8_c_compatibility/complex/overloads_int.cc: Adjust.
3509 2008-06-11 Paolo Carlini <paolo.carlini@oracle.com>
3511 * include/tr1_impl/hashtable (_Hashtable<>::cbegin(size_type),
3512 cend(size_type)): Add per DR 691.
3513 * testsuite/23_containers/unordered_map/requirements/cliterators.cc:
3515 * testsuite/23_containers/unordered_multimap/requirements/
3516 cliterators.cc: Likewise.
3517 * testsuite/23_containers/unordered_set/requirements/cliterators.cc:
3519 * testsuite/23_containers/unordered_multiset/requirements/
3520 cliterators.cc: Likewise.
3521 * doc/xml/manual/intro.xml: Add an entry for DR 691.
3523 2008-06-11 Matthias Klose <doko@ubuntu.com>
3525 * testsuite/30_threads/lock_error, testsuite/30_threads/once_flag:
3526 Remove empty directories.
3528 2008-06-07 Joseph Myers <joseph@codesourcery.com>
3530 * configure.host (xscale, ep9312, m680[246]0, solaris2.5,
3531 solaris2.5.[0-9], solaris2.6, windiss*): Remove.
3532 * crossconfig.m4 (*-solaris2.5, *-solaris2.6, *-windiss*): Remove.
3533 * configure: Regenerate.
3534 * config/os/solaris/solaris2.5: Remove directory.
3535 * config/os/solaris/solaris2.6: Remove directory.
3536 * config/os/windiss: Remove directory.
3538 2008-06-06 Benjamin Kosnik <bkoz@redhat.com>
3540 * doc/xml/manual/using.xml: Outline exception topics.
3542 * include/ext/pb_ds/detail/binary_heap_/insert_fn_imps.hpp: Format.
3543 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
3544 policy_access_fn_imps.hpp: Same.
3545 * include/ext/pb_ds/priority_queue.hpp: Same.
3546 * include/ext/throw_allocator.h: Same.
3548 * include/ext/pb_ds/tag_and_trait.hpp (string_tag): New tag.
3549 (sequence_tag): New tag. Doxygen markup fixes.
3551 * testsuite/lib/libstdc++.exp: Remove twister_ran_gen.cc source file.
3553 * testsuite/performance/ext/pb_ds/text_find_timing.cc: Fix
3554 comment typo, include paths, format.
3555 * testsuite/performance/ext/pb_ds/tree_text_insert_timing.cc: Same.
3556 * testsuite/performance/ext/pb_ds/
3557 hash_random_int_erase_mem_usage.cc: Same.
3558 * testsuite/performance/ext/pb_ds/
3559 random_int_subscript_find_timing.cc: Same.
3560 * testsuite/performance/ext/pb_ds/
3561 priority_queue_text_push_timing.cc: Same.
3562 * testsuite/performance/ext/pb_ds/tree_split_join_timing.cc: Same.
3563 * testsuite/performance/ext/pb_ds/random_int_find_timing.cc: Same.
3564 * testsuite/performance/ext/pb_ds/multimap_text_insert_mem_usage.hpp
3565 * testsuite/performance/ext/pb_ds/multimap_text_find_timing.hpp
3566 * testsuite/performance/ext/pb_ds/
3567 priority_queue_random_int_push_timing.cc: Same.
3568 * testsuite/performance/ext/pb_ds/priority_queue_text_modify_timing.hpp
3569 * testsuite/performance/ext/pb_ds/tree_order_statistics_timing.cc: Same.
3570 * testsuite/performance/ext/pb_ds/
3571 priority_queue_text_push_pop_timing.cc: Same.
3572 * testsuite/performance/ext/pb_ds/
3573 priority_queue_text_join_timing.cc: Same.
3574 * testsuite/performance/ext/pb_ds/
3575 priority_queue_random_int_push_pop_timing.cc: Same.
3576 * testsuite/performance/ext/pb_ds/
3577 random_int_subscript_insert_timing.cc: Same.
3578 * testsuite/performance/ext/pb_ds/tree_text_lor_find_timing.cc: Same.
3579 * testsuite/performance/ext/pb_ds/multimap_text_insert_timing.hpp
3580 * testsuite/performance/ext/pb_ds/
3581 priority_queue_text_pop_mem_usage.cc: Same.
3582 * testsuite/performance/ext/pb_ds/
3583 hash_zlob_random_int_find_timing.cc: Same.
3584 * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Same.
3585 * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
3586 * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand.cc: Same.
3587 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
3588 * testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc: Same.
3589 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
3590 * testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Same.
3591 * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
3592 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
3593 * testsuite/util/regression/trait/priority_queue/trait.hpp: Same.
3594 * testsuite/util/regression/trait/erase_if_fn.hpp: Same.
3595 * testsuite/util/regression/trait/assoc/native_type_trait.hpp: Same.
3596 * testsuite/util/regression/trait/assoc/node_update_trait.hpp: Same.
3597 * testsuite/util/regression/trait/assoc/get_set_load_trait.hpp: Same.
3598 * testsuite/util/regression/trait/assoc/get_set_loads_trait.hpp: Same.
3599 * testsuite/util/regression/trait/assoc/trait.hpp: Same.
3600 * testsuite/util/regression/trait/assoc/resize_trait.hpp: Same.
3601 * testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
3602 * testsuite/util/regression/trait/assoc/to_string.hpp: Same.
3603 * testsuite/util/regression/basic_type.hpp: Same.
3604 * testsuite/util/common_type/priority_queue/string_form.hpp: Same.
3605 * testsuite/util/common_type/priority_queue/detail/
3606 ds_string_form.hpp: Same.
3607 * testsuite/util/common_type/assoc/string_form.hpp: Same.
3608 * testsuite/util/common_type/assoc/detail/
3609 resize_policy_string_form.hpp: Same.
3610 * testsuite/util/common_type/assoc/detail/
3611 trigger_policy_string_form.hpp: Same.
3612 * testsuite/util/common_type/assoc/detail/
3613 comb_hash_fn_string_form.hpp: Same.
3614 * testsuite/util/common_type/assoc/detail/ds_string_form.hpp: Same.
3615 * testsuite/util/common_type/assoc/detail/
3616 size_policy_string_form.hpp: Same.
3617 * testsuite/util/common_type/assoc/detail/
3618 probe_fn_string_form.hpp: Same.
3619 * testsuite/util/common_type/assoc/detail/
3620 list_update_policy_string_form.hpp: Same.
3621 * testsuite/util/common_type/assoc/detail/
3622 store_hash_string_form.hpp: Same.
3623 * testsuite/util/common_type/assoc/native_set.hpp: Same.
3624 * testsuite/util/io/prog_bar.cc: Same.
3626 * testsuite/util/regression/rand/io: Remove.
3627 * testsuite/util/regression/rand/io/priority_queue: Same.
3628 * testsuite/util/regression/rand/io/assoc: Same.
3629 * testsuite/util/regression/rand/io/priority_queue/
3630 xml_formatter.hpp: Consolidate this...
3631 * testsuite/util/regression/rand/io/assoc/xml_formatter.hpp: ...this
3632 * testsuite/util/regression/rand/io/xml_formatter.hpp: ... and this
3633 * testsuite/util/regression/rand/xml_formatter.hpp: ...here.
3635 * testsuite/util/regression/rand/priority_queue/
3636 container_rand_regression_test.hpp:To ...
3637 container_rand_regression_test.h: ... this.
3638 * testsuite/util/regression/rand/priority_queue/detail/*.hpp:To ...
3639 * testsuite/util/regression/rand/priority_queue/
3640 container_rand_regression_test.tcc: ... this.
3641 PB_DS_THROW_IF_FAIL: Change to _GLIBCXX_THROW_IF, adjust predicate.
3642 PB_DS_SET_DESTRUCT_PRINT: Fold inline.
3643 PB_DS_CANCEL_DESTRUCT_PRINT: Fold inline.
3644 * testsuite/util/regression/rand/priority_queue/
3645 rand_regression_test.hpp: Adjust includes.
3647 * testsuite/util/regression/rand/assoc/
3648 container_rand_regression_test.hpp: To ...
3649 * testsuite/util/regression/rand/assoc/
3650 container_rand_regression_test.h: ... this.
3651 * testsuite/util/regression/rand/assoc/detail/*.hpp:To ...
3652 * testsuite/util/regression/rand/assoc/
3653 container_rand_regression_test.tcc: ...this.
3654 * testsuite/util/regression/rand/assoc/rand_regression_test.hpp: Adjust
3657 * testsuite/util/regression/priority_queue: Remove.
3658 * testsuite/util/regression/assoc: Remove.
3659 * testsuite/util/regression/priority_queue/
3660 common_type.hpp: Consolidate this...
3661 * testsuite/util/regression/assoc/common_type.hpp: ... and this
3662 * testsuite/util/regression/common_type.hpp: ...here.
3664 * testsuite/util/rng: Remove.
3665 * testsuite/util/rng/twister_rand_gen.cc: Consolidate...
3666 * testsuite/util/rng/twister_rand_gen.hpp: ... and this
3667 * testsuite/util/testsuite_rng.h: ...here.
3669 * testsuite/util/native_type/priority_queue: Remove.
3670 * testsuite/util/native_type/priority_queue/
3671 native_priority_queue.hpp: To...
3672 * testsuite/util/native_type/native_priority_queue.hpp: ...here.
3674 * testsuite/util/native_type/assoc: Remove.
3675 * testsuite/util/native_type/assoc/native_multimap.hpp: To...
3676 * testsuite/util/native_type/assoc/native_tree_tag.hpp: To...
3677 * testsuite/util/native_type/assoc/native_hash_multimap.hpp: To...
3678 * testsuite/util/native_type/assoc/native_set.hpp: To...
3679 * testsuite/util/native_type/assoc/native_map.hpp: To...
3680 * testsuite/util/native_type/assoc/native_hash_set.hpp: To...
3681 * testsuite/util/native_type/assoc/native_hash_tag.hpp: To...
3682 * testsuite/util/native_type/assoc/native_hash_map.hpp: To...
3683 * testsuite/util/native_type/native_multimap.hpp: ...here.
3684 * testsuite/util/native_type/native_tree_tag.hpp: ...here.
3685 * testsuite/util/native_type/native_hash_multimap.hpp: ...here.
3686 * testsuite/util/native_type/native_set.hpp: ...here.
3687 * testsuite/util/native_type/native_map.hpp: ...here.
3688 * testsuite/util/native_type/native_hash_set.hpp: ...here.
3689 * testsuite/util/native_type/native_hash_tag.hpp: ...here.
3690 * testsuite/util/native_type/native_hash_map.hpp: ...here.
3692 * testsuite/util/common_type/priority_queue/common_type.hpp:
3693 Make include guard distinct.
3694 * testsuite/util/common_type/assoc/common_type.hpp: Same.
3696 2008-06-06 Joseph Myers <joseph@codesourcery.com>
3698 * configure.ac: Do not check for gconv.h.
3699 * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Do not test for gconv.h or
3700 gconf.h. For glibc and uClibc systems, define
3701 _GLIBCXX_USE_RANDOM_TR1 and HAVE_MMAP and use AC_LC_MESSAGES and
3703 * configure, config.h.in: Regenerate.
3705 2008-06-06 Joseph Myers <joseph@codesourcery.com>
3707 * testsuite/17_intro/headers/all.cc,
3708 testsuite/17_intro/headers/all_c++200x_compatibility.cc,
3709 testsuite/17_intro/headers/all_pedantic_errors.cc,
3710 testsuite/ext/headers.cc: Only include
3711 <ext/codecvt_specializations.h> and <ext/enc_filebuf.h> if
3712 _GLIBCXX_HAVE_ICONV.
3714 2008-06-05 Johannes Singler <singler@ira.uka.de>
3716 * include/parallel/random_shuffle.h:
3717 (parallel_random_shuffle_drs) Get the actual number of
3718 threads after entering the parallel region. Indentation.
3719 * include/parallel/algo.h: (random_shuffle(begin, end))
3720 Add namespace qualification to avoid ambiguity.
3722 2008-06-04 Benjamin Kosnik <bkoz@redhat.com>
3724 * include/ext/pb_ds/assoc_container.hpp: Change allocator typedef
3725 to allocator_type, as per existing conventions.
3726 * include/ext/pb_ds/detail/binomial_heap_base_/
3727 binomial_heap_base_.hpp: Same.
3728 * include/ext/pb_ds/detail/cc_hash_table_map_/cc_ht_map_.hpp: Same.
3729 * include/ext/pb_ds/detail/pat_trie_/pat_trie_.hpp: Same.
3730 * include/ext/pb_ds/detail/bin_search_tree_/bin_search_tree_.hpp: Same.
3731 * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Same.
3732 * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp: Same.
3733 * include/ext/pb_ds/detail/trie_policy/trie_policy_base.hpp: Same.
3734 * include/ext/pb_ds/detail/pairing_heap_/pairing_heap_.hpp: Same.
3735 * include/ext/pb_ds/detail/binomial_heap_/binomial_heap_.hpp: Same.
3736 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
3737 left_child_next_sibling_heap_.hpp: Same.
3738 * include/ext/pb_ds/detail/thin_heap_/thin_heap_.hpp: Same.
3739 * include/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp: Same.
3740 * include/ext/pb_ds/detail/splay_tree_/splay_tree_.hpp: Same.
3741 * include/ext/pb_ds/detail/list_update_map_/lu_map_.hpp: Same.
3742 * include/ext/pb_ds/detail/rc_binomial_heap_/
3743 rc_binomial_heap_.hpp: Same.
3744 * include/ext/pb_ds/detail/rc_binomial_heap_/rc.hpp: Same.
3745 * include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp: Same.
3746 * include/ext/pb_ds/list_update_policy.hpp: Same.
3747 * include/ext/pb_ds/exception.hpp: Same.
3748 * include/ext/pb_ds/tree_policy.hpp: Same.
3749 * include/ext/pb_ds/trie_policy.hpp: Same.
3750 * include/ext/pb_ds/priority_queue.hpp: Same.
3751 * testsuite/util/regression/trait/assoc/trait.hpp: Same.
3752 * testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
3753 * testsuite/util/regression/rand/priority_queue/detail/
3754 defs_fn_imps.hpp: Same.
3755 * testsuite/util/regression/rand/priority_queue/detail/
3756 operator_fn_imps.hpp: Same.
3757 * testsuite/util/regression/rand/priority_queue/
3758 container_rand_regression_test.hpp: Same.
3759 * testsuite/util/regression/rand/assoc/detail/defs_fn_imps.hpp: Same.
3760 * testsuite/util/regression/rand/assoc/detail/
3761 operator_fn_imps.hpp: Same.
3762 * testsuite/util/regression/rand/assoc/
3763 container_rand_regression_test.hpp: Same.
3764 * testsuite/util/native_type/assoc/native_multimap.hpp: Same.
3765 * testsuite/util/native_type/assoc/native_hash_multimap.hpp: Same.
3766 * testsuite/util/common_type/assoc/detail/
3767 tree_supports_order_statistics.hpp: Same.
3768 * testsuite/util/common_type/assoc/detail/
3769 trie_supports_prefix_search.hpp: Same.
3770 * testsuite/util/common_type/assoc/detail/
3771 trie_supports_order_statistics.hpp: Same.
3773 2008-06-02 Sandra Loosemore <sandra@codesourcery.com>
3774 Daniel Jacobowitz <dan@codesourcery.com>
3776 * testsuite/27_io/basic_filebuf/sputbackc/char/9425.cc: Use
3778 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Likewise.
3779 * testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc: Likewise.
3781 2008-06-02 Paolo Carlini <paolo.carlini@oracle.com>
3783 * include/bits/vector.tcc (vector<>::_M_insert_aux): In C++0x mode,
3784 avoid a memory leak if the first __uninitialized_move_a throws.
3785 (vector<>::_M_fill_insert): Do not always copy to __x_copy, similarly
3787 * testsuite/23_containers/vector/modifiers/moveable.cc: Adjust.
3788 * testsuite/23_containers/vector/resize/moveable.cc: Likewise.
3790 2008-05-31 Paolo Carlini <paolo.carlini@oracle.com>
3791 Chris Jefferson <chris@bubblescope.net>
3794 * include/bits/stl_heap.h (sort_heap): Use __pop_heap directly.
3795 (pop_heap): Slightly tweak.
3797 2008-05-29 Paolo Carlini <paolo.carlini@oracle.com>
3799 * include/debug/bitset (bitset(const char*)): Implement DR 778
3802 * include/bits/cpp_type_traits.h (__is_integer): In C++0x mode
3803 deal with char16_t and char32_t.
3805 2008-05-26 Paolo Carlini <paolo.carlini@oracle.com>
3807 * include/c_global/cmath (pow(float, int), pow(double, int),
3808 pow(long double, int)): Do not define in C++0x mode, per DR 550.
3809 * include/tr1_impl/cmath (pow): Do not bring in unconditionally
3811 * include/tr1/cmath (pow(double, double), pow(float, float),
3812 pow(long double, long double), pow(_Tp, _Up)): Define.
3813 * include/tr1/complex (pow): Do not bring in from namespace std.
3814 (pow(const std::complex<_Tp>&, int), pow(const std::complex<_Tp>&,
3815 const _Tp&), pow(const _Tp&, const std::complex<_Tp>&),
3816 pow(const std::complex<_Tp>&, const std::complex<_Tp>&)): Define.
3817 * include/tr1_impl/complex (pow(const std::complex<_Tp>&,
3818 const _Up&), pow(const _Tp&, const std::complex<_Up>&),
3819 pow(const std::complex<_Tp>&, const std::complex<_Up>&)): Always
3821 * doc/xml/manual/intro.xml: Add an entry for DR 550.
3822 * testsuite/26_numerics/headers/cmath/dr550.cc: New.
3823 * testsuite/tr1/8_c_compatibility/cmath/overloads.cc: Adjust.
3825 2008-05-25 Paolo Carlini <paolo.carlini@oracle.com>
3827 * include/std/tuple: Ifndef __GXX_EXPERIMENTAL_CXX0X__ just error out.
3828 * include/std/date_time: Likewise.
3829 * include/std/system_error: Likewise.
3830 * include/std/type_traits: Likewise; fix typo in macro name.
3831 * include/std/regex: Likewise.
3832 * include/std/random: Likewise.
3833 * include/std/unordered_map: Likewise.
3834 * include/std/condition_variable: Likewise.
3835 * include/std/unordered_set: Likewise.
3836 * include/std/mutex: Likewise.
3837 * include/std/array: Likewise.
3839 * include/c_std/cmath: Fix obsolete comment.
3840 * include/c_global/cmath: Likewise.
3842 2008-05-25 Paolo Carlini <paolo.carlini@oracle.com>
3844 * include/std/complex (complex<>::real(_Tp), complex<>::imag(_Tp),
3845 complex<float>::real(float), complex<float>::imag(float),
3846 complex<double>::real(double), complex<double>::imag(double),
3847 complex<long double>::real(long double),
3848 complex<long double>::imag(long double)): Add per DR 387.
3849 (complex<>::real(), complex<>::imag(), complex<float>::real(),
3850 complex<float>::imag(), complex<double>::real(),
3851 complex<double>::imag(), complex<long double>::real(),
3852 complex<long double>::imag(long double)): Adjust in C++0x mode.
3853 (real(complex<>&), imag(complex<>&), real(const complex<>&),
3854 imag(const complex<>&)): Likewise.
3855 * testsuite/26_numerics/complex/dr387.cc: New.
3856 * doc/xml/manual/intro.xml: Add an entry for DR 387.
3858 2008-05-25 Paolo Carlini <paolo.carlini@oracle.com>
3860 * include/std/complex: Trivial stylistic changes, define inline
3861 members inline, consistently with the rest of the library.
3862 (pow(const _Tp&, const complex<>&)): Minor tweak.
3864 2008-05-24 Paolo Carlini <paolo.carlini@oracle.com>
3866 * src/atomic.cc (atomic_flag_test_and_set_explicit,
3867 atomic_flag_clear_explicit): Suppress unused parameter warnings.
3869 2008-05-23 Paolo Carlini <paolo.carlini@oracle.com>
3871 * include/std/tuple: Replace int -> size_t throughout per DR 775.
3872 * include/tr1_impl/array: Likewise.
3873 * include/tr1_impl/utility: Likewise.
3874 * doc/xml/manual/intro.xml: Add an entry for DR 775.
3876 2008-05-23 Paolo Carlini <paolo.carlini@oracle.com>
3878 * doc/xml/manual/intro.xml: Adjust links to ISO documents.
3880 2008-05-23 Paolo Carlini <paolo.carlini@oracle.com>
3882 * include/c_std/cmath (fpclassify): Use __builtin_fpclassify.
3883 * include/c_global/cmath (fpclassify): Likewise.
3885 2008-05-22 Paolo Carlini <paolo.carlini@oracle.com>
3887 * include/tr1_impl/hashtable_policy.h (_Map_base<,,
3888 std::_Select1st<_Pair>, true,>::at): Add per DR 761.
3889 * testsuite/23_containers/unordered_map/dr761.cc: New.
3890 * doc/xml/manual/intro.xml: Add an entry for DR 761.
3892 2008-05-22 Paolo Carlini <paolo.carlini@oracle.com>
3894 * testsuite/26_numerics/complex/dr781.cc: Add test variable.
3896 2008-05-22 Paolo Carlini <paolo.carlini@oracle.com>
3898 * include/std/complex (proj(const std::complex<>&), proj(_Tp)):
3900 * include/tr1_impl/complex(polar(const _Tp&, const _Up&)): Move to...
3901 * include/tr1/complex: ... here.
3902 * doc/xml/manual/intro.xml: Add an entry for DR 781.
3903 * testsuite/26_numerics/complex/dr781.cc: Add.
3904 * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Update.
3905 * configure: Regenerate.
3907 2008-05-21 Paolo Carlini <paolo.carlini@oracle.com>
3909 * include/std/bitset (bitset<>::bitset(const char*)): Add per DR 778.
3910 (bitset<>::_M_copy_from_ptr): Add.
3911 (bitset<>::_M_copy_from_string): Forward to the latter.
3912 * doc/xml/manual/intro.xml: Add an entry for DR 778.
3913 * testsuite/23_containers/bitset/cons/2.cc: Add.
3915 2008-05-21 Paolo Carlini <paolo.carlini@oracle.com>
3917 * doc/html/ext/lwg-active.html: Update to Revision R56.
3918 * doc/html/ext/lwg-closed.html: Likewise.
3919 * doc/html/ext/lwg-defects.html: Likewise.
3921 2008-05-20 Paolo Carlini <paolo.carlini@oracle.com>
3923 PR c++/33979 (partial)
3924 * include/tr1_impl/functional_hash.h (hash<char16_t>,
3925 hash<char32_t>): Add specializations.
3926 * include/tr1_impl/type_traits (is_integral<char16_t>,
3927 is_integral<char32_t>): Likewise.
3928 * include/std/limits (numeric_limits<char16_t>,
3929 numeric_limits<char32_t>): Likewise.
3930 * src/limits_c++0x.cc: Add.
3931 * src/Makefile.am: Update.
3932 * testsuite/20_util/hash/requirements/explicit_instantiation.cc:
3934 * testsuite/20_util/is_integral/value.cc: New.
3935 * testsuite/20_util/is_integral/requirements/typedefs.cc: Likewise.
3936 * testsuite/20_util/is_integral/requirements/
3937 explicit_instantiation.cc: Likewise.
3938 * testsuite/18_support/numeric_limits/char16_32_t.cc: Likewise.
3939 * config/abi/pre/gnu.ver: Export new numeric_limits symbols at
3941 * configure: Regenerate.
3942 * src/Makefile.in: Likewise.
3943 * config.h.in: Likewise.
3945 2008-05-16 Benjamin Kosnik <bkoz@redhat.com>
3947 * include/std/system_error: Align to current draft specifications.
3948 * src/system_error.cc: Same.
3949 * src/functexcept.cc: Adjust for corrected system_error construction.
3950 * include/std/ostream: Adjust error_code inserter.
3951 * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Remove sys_nerr test.
3952 * config/abi/pre/gnu.ver: Add new exports.
3954 * testsuite/util/testsuite_error.h: Consolidate error testing
3956 * testsuite/19_diagnostics/error_code/cons/1.cc: Use
3957 testsuite_error, adjust line numbers and constructor calls.
3958 * testsuite/19_diagnostics/error_code/operators/equal.cc: Same.
3959 * testsuite/19_diagnostics/error_code/operators/not_equal.cc: Same.
3960 * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Same.
3961 * testsuite/19_diagnostics/error_category/cons/default.cc: Same.
3962 * testsuite/19_diagnostics/error_category/operators/equal.cc: Same.
3963 * testsuite/19_diagnostics/error_category/operators/not_equal.cc: Same.
3964 * testsuite/19_diagnostics/system_error/cons_virtual_derivation.cc:
3966 * testsuite/19_diagnostics/system_error/cons-1.cc: Same.
3967 * testsuite/19_diagnostics/system_error/what-1.cc: Same.
3968 * testsuite/19_diagnostics/system_error/what-2.cc: Same.
3969 * testsuite/19_diagnostics/system_error/what-big.cc: Same.
3970 * testsuite/19_diagnostics/system_error/what-3.cc: Same.
3971 * testsuite/19_diagnostics/system_error/what-4.cc: Same.
3973 2008-05-15 Bernd Schmidt <bernd.schmidt@analog.com>
3975 * configure.ac: Don't check AC_LIBTOOL_DLOPEN if using newlib.
3976 * configure: Regenerate.
3978 2008-05-15 Johannes Singler <singler@ira.uka.de>
3980 * xml/manual/parallel_mode.xml:
3981 General revision and documentation of new compile-time
3982 options for sorting.
3984 2008-05-14 Benjamin Kosnik <bkoz@redhat.com>
3986 * include/std/mutex (mutex::try_lock): Eat errors.
3987 (mutex::unlock): Same.
3988 (recursive_mutex::try_lock): Eat errors.
3989 (recursive_mutex::unlock): Same.
3990 * testsuite/30_threads/mutex/dest/destructor_locked.cc: Add
3991 -pthreads, adjust line numbers.
3992 * testsuite/30_threads/mutex/native_handle/1.cc: Same.
3993 * testsuite/30_threads/mutex/cons/1.cc: Same.
3994 * testsuite/30_threads/mutex/try_lock/1.cc: Same.
3995 * testsuite/30_threads/mutex/try_lock/2.cc: Same.
3996 * testsuite/30_threads/mutex/lock/1.cc: Same.
3997 * testsuite/30_threads/mutex/unlock/1.cc: Same.
3998 * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc: Same.
3999 * testsuite/30_threads/recursive_mutex/native_handle/1.cc: Same.
4000 * testsuite/30_threads/recursive_mutex/cons/1.cc: Same.
4002 2008-05-14 Benjamin Kosnik <bkoz@redhat.com>
4004 * include/std/sstream: Adjust braces.
4005 * include/bits/fstream.tcc: Same.
4006 * testsuite/29_atomics/atomic_flag/test_and_set/explicit.c: Add
4008 * testsuite/29_atomics/atomic_flag/test_and_set/implicit.c: Same.
4010 * doc/doxygen/user.cfg.in: Remove thread include.
4012 2008-05-13 David Daney <ddaney@avtrex.com>
4014 * config/cpu/mips/atomicity.h: Remove file.
4015 * config/cpu/mips: Remove directory.
4016 * configure.host: Remove host specific handling for mips*-*-*.
4018 2008-05-12 Stefano Soffia <soffia@cs.unipr.it>
4019 Paolo Carlini <paolo.carlini@oracle.com>
4021 * include/debug/vector (vector<>::_M_requires_reallocation): Just
4022 use this->capacity().
4023 (vector<>::capacity): Move non-pedantic / pedantic logic here.
4024 * testsuite/23_containers/vector/
4025 debug_mode_requires_reallocation-2.cc: New.
4027 * testsuite/23_containers/vector/debug_mode_requires_reallocation.cc:
4028 Rename to debug_mode_requires_reallocation-1.cc
4030 2008-05-10 Roberto Bagnara <bagnara@cs.unipr.it>
4031 Paolo Carlini <paolo.carlini@oracle.com>
4033 * include/debug/vector (vector<>::_M_requires_reallocation): Fix macro.
4034 * testsuite/23_containers/vector/debug_mode_requires_reallocation.cc:
4037 2008-05-07 Johannes Singler <singler@ira.uka.de>
4039 * include/parallel/quicksort.h:
4040 (parallel_sort_qs_conquer) Explicitly request number of threads
4041 in the parallel clause.
4042 (parallel_sort_qs) Remove setting the number of threads globally.
4044 2008-05-06 Benjamin Kosnik <bkoz@redhat.com>
4046 * include/std/mutex (mutex::mutex): Fix usage of initializing macro.
4047 (recursive_mutex::recursive_mutex): Same.
4048 (once_flag::once_flag): Same.
4049 * testsuite/30_threads/mutex/cons/assign_neg.cc: Fix line numbers.
4050 * testsuite/30_threads/mutex/cons/copy_neg.cc: Same.
4051 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Same.
4052 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Same.
4054 2008-05-06 Benjamin Kosnik <bkoz@redhat.com>
4056 * include/std/condition_variable: New.
4057 * include/std/mutex: New.
4058 * src/condition_variable.cc: New.
4059 * src/mutex.cc: New.
4060 * include/bits/functexcept.h: Add __throw_system_error varients.
4061 * src/functexcept.cc: Same.
4062 * config/abi/pre/gnu.ver: Add exports.
4064 * doc/xml/manual/using.xml: Add new includes.
4065 * doc/doxygen/user.cfg.in: Doxygen support.
4066 * doc/doxygen/doxygroups.cc: Same.
4068 * include/Makefile.am: Add mutex, condition_variable.
4069 * include/Makefile.in: Regenerated.
4070 * src/Makefile.am: Add mutex.cc, condition_variable.cc.
4071 * src/Makefile.in: Regenerated.
4073 * testsuite/30_threads: New.
4074 * testsuite/30_threads/lock_error: New.
4075 * testsuite/30_threads/mutex: New.
4076 * testsuite/30_threads/mutex/dest: New.
4077 * testsuite/30_threads/mutex/dest/destructor_locked.cc: New.
4078 * testsuite/30_threads/mutex/native_handle: New.
4079 * testsuite/30_threads/mutex/native_handle/1.cc: New.
4080 * testsuite/30_threads/mutex/cons: New.
4081 * testsuite/30_threads/mutex/cons/assign_neg.cc: New.
4082 * testsuite/30_threads/mutex/cons/1.cc: New.
4083 * testsuite/30_threads/mutex/cons/copy_neg.cc: New.
4084 * testsuite/30_threads/mutex/requirements: New.
4085 * testsuite/30_threads/mutex/requirements/typedefs.cc: New.
4086 * testsuite/30_threads/mutex/try_lock: New.
4087 * testsuite/30_threads/mutex/try_lock/1.cc: New.
4088 * testsuite/30_threads/mutex/try_lock/2.cc: New.
4089 * testsuite/30_threads/mutex/lock: New.
4090 * testsuite/30_threads/mutex/lock/1.cc: New.
4091 * testsuite/30_threads/mutex/unlock: New.
4092 * testsuite/30_threads/mutex/unlock/1.cc: New.
4093 * testsuite/30_threads/recursive_mutex: New.
4094 * testsuite/30_threads/recursive_mutex/dest: New.
4095 * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc: New.
4096 * testsuite/30_threads/recursive_mutex/native_handle: New.
4097 * testsuite/30_threads/recursive_mutex/native_handle/1.cc: New.
4098 * testsuite/30_threads/recursive_mutex/cons: New.
4099 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: New.
4100 * testsuite/30_threads/recursive_mutex/cons/1.cc: New.
4101 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: New.
4102 * testsuite/30_threads/recursive_mutex/requirements: New.
4103 * testsuite/30_threads/recursive_mutex/requirements/typedefs.cc: New.
4104 * testsuite/30_threads/lock_guard: New.
4105 * testsuite/30_threads/lock_guard/requirements: New.
4106 * testsuite/30_threads/lock_guard/requirements/typedefs.cc: New.
4107 * testsuite/30_threads/lock_guard/requirements/
4108 explicit_instantiation.cc: New.
4109 * testsuite/30_threads/headers: New.
4110 * testsuite/30_threads/headers/mutex: New.
4111 * testsuite/30_threads/headers/mutex/types_std_c++0x.cc: New.
4112 * testsuite/30_threads/headers/mutex/std_c++0x_neg.cc: New.
4113 * testsuite/30_threads/headers/condition_variable: New.
4114 * testsuite/30_threads/headers/condition_variable/
4115 types_std_c++0x.cc: New.
4116 * testsuite/30_threads/headers/condition_variable/std_c++0x_neg.cc: New.
4117 * testsuite/30_threads/once_flag: New.
4118 * testsuite/30_threads/unique_lock: New.
4119 * testsuite/30_threads/unique_lock/requirements: New.
4120 * testsuite/30_threads/unique_lock/requirements/typedefs.cc: New.
4121 * testsuite/30_threads/unique_lock/requirements/
4122 explicit_instantiation.cc: New.
4123 * testsuite/17_intro/headers/c++200x/all.cc: Add new includes.
4125 2008-05-06 Benjamin Kosnik <bkoz@redhat.com>
4128 * include/bits/c++config: Namespace macros and setup only in C++.
4129 * testsuite/29_atomics/headers/stdatomic.h/debug_mode.c: New.
4131 2008-05-06 Johannes Singler <singler@ira.uka.de>
4133 * include/parallel/multiway_merge.h:
4134 (multiway_merge_*_unguarded):
4135 Pass sentinel directly, to allow correct determination.
4136 (multiway_merge_loser_tree_unguarded):
4137 Remove over-cautious assertion.
4138 (calls to multiway_merge_*_splitting):
4139 Parametrize with type that is correct in all cases.
4140 * include/parallel/losertree.h:
4141 (delete_min_insert (in many classes)):
4142 Correct and standardize assertions.
4144 2008-05-05 Benjamin Kosnik <bkoz@redhat.com>
4146 * testsuite/util/testsuite_visualization.h: Move contents into...
4147 * testsuite/util/testsuite_performance.h: ...here.
4148 * testsuite/util/testsuite_common_types.h: Move
4149 performance-related test infrastructure into
4150 testsuite_performance.
4151 * testsuite/performance/25_algorithms/search_n.cc: Fix includes.
4152 * testsuite/performance/23_containers/find/map.cc: Same.
4153 * testsuite/performance/23_containers/create/map.cc: Same.
4154 * testsuite/performance/23_containers/insert_erase/associative.cc: Same.
4155 * testsuite/performance/23_containers/insert/sequence.cc: Same.
4156 * testsuite/performance/23_containers/insert/associative.cc: Same.
4157 * testsuite/performance/23_containers/create_from_sorted/set.cc: Same.
4158 * testsuite/performance/23_containers/index/map.cc: Same.
4159 * testsuite/performance/23_containers/insert_from_sorted/set.cc: Same.
4160 * testsuite/performance/23_containers/create_sort/list.cc: Same.
4161 * testsuite/performance/23_containers/sort_search/list.cc: Same.
4162 * testsuite/performance/23_containers/producer_consumer/sequence.cc:
4164 * testsuite/performance/23_containers/producer_consumer/associative.cc:
4167 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers.
4168 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
4170 2008-05-05 Benjamin Kosnik <bkoz@redhat.com>
4172 * 20_util/make_signed/requirements/typedefs-1.cc: Correct requirements.
4173 * 20_util/make_unsigned/requirements/typedefs-1.cc: Same.
4175 2008-05-01 Benjamin Kosnik <bkoz@redhat.com>
4177 * include/bits/c++config: Revert _GLIBCXX_LONG_DOUBLE_COMPAT change.
4179 2008-04-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4181 * include/Makefile.am (install-headers): Cope with empty
4183 * include/Makefile.in: Regenerate.
4185 2008-04-29 Benjamin Kosnik <bkoz@redhat.com>
4187 * include/bits/c++config: Remove space between '#' and 'undef' for
4188 _GLIBCXX_LONG_DOUBLE_COMPAT.
4190 2008-04-29 Joseph Myers <joseph@codesourcery.com>
4192 * Makefile.am (install-html, install-pdf): Add dummy targets.
4193 * Makefile.in: Regenerate.
4194 * doc/Makefile.am (install-html, install-pdf): Remove.
4195 * doc/Makefile.in: Regenerate.
4197 2008-04-28 Benjamin Kosnik <bkoz@redhat.com>
4199 * include/bits/c++config: Move os_defines and cpu_defines after
4200 namespace definitions and base macros.
4202 2008-04-28 Benjamin Kosnik <bkoz@redhat.com>
4205 * acinclude.m4 (GLIBCXX_ENABLE_PARALLEL): Revert back to just
4207 * configure: Regenerate.
4209 2008-04-25 Benjamin Kosnik <bkoz@redhat.com>
4212 * include/std/unordered_map: Include debug/unordered_map if
4214 * testsuite/23_containers/unordered_map/requirements/debug.cc: Move...
4215 * testsuite/23_containers/unordered_map/requirements/
4216 debug_container.cc: ...here.
4217 * testsuite/23_containers/unordered_map/requirements/debug_mode.cc: New.
4218 * testsuite/23_containers/unordered_set/requirements/debug.cc: Move...
4219 * testsuite/23_containers/unordered_set/requirements/
4220 debug_container.cc: ...here.
4221 * testsuite/23_containers/unordered_set/requirements/debug_mode.cc: New.
4223 2008-04-25 Benjamin Kosnik <bkoz@redhat.com>
4226 * acinclude.m4: (GLIBCXX_ENABLE_PARALLEL): Check for thread support.
4227 * configure.ac: Re-order compiler macros.
4228 * configure: Regenerated.
4230 2008-04-24 Benjamin Kosnik <bkoz@redhat.com>
4233 * configure.ac: Add default argument to GLIBCXX_ENABLE_PARALLEL.
4234 Move atomic warnings to GLIBCXX_ENABLE_ATOMIC_BUILTINS.
4235 * acinclude.m4 (GLIBCXX_ENABLE_PARALLEL): Check for --disable-libgomp.
4236 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Add warning information.
4237 * configure: Regenerate.
4238 * include/Makefile.am (parallel_headers): Make conditional on
4240 * include/Makefile.in: Regenerate.
4242 2008-04-24 Paolo Carlini <pcarlini@suse.de>
4245 * include/debug/list (merge): Use _M_transfer_iter, consistently
4246 with the splice members.
4247 * testsuite/23_containers/list/operations/35969.cc: New.
4249 * testsuite/23_containers/list/operators: Rename to
4250 testsuite/23_containers/list/operations.
4252 2008-04-24 Benjamin Kosnik <bkoz@redhat.com>
4254 * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Check for set of
4255 all used __sync builtins, in two sizes.
4256 * config.h.in: Regenerate.
4257 * configure: Regenerate.
4258 * src/atomic.cc: Use _GLIBCXX_ATOMIC_BUILTINS_1.
4259 * include/ext/atomicity.h: Use _GLIBCXX_ATOMIC_BUILTINS_4.
4260 * libsupc++/guard.cc: Use _GLIBCXX_ATOMIC_BUILTINS_4.
4261 * doc/xml/manual/concurrency.xm: Update docs.
4263 2008-04-23 Benjamin Kosnik <bkoz@redhat.com>
4265 * config/os/hpux/os_defines.h: Use _GLIBCXX_BEGIN_NAMESPACE,
4266 _GLIBCXX_BEGIN_EXTERN_C, etc.
4268 2008-04-23 Johannes Singler <singler@ira.uka.de>
4270 * include/parallel/quicksort.h: Reformat,
4271 (parallel_sort_qs): Do not pass number of elements.
4272 * include/parallel/balanced_quicksort.h: Reformat,
4273 (parallel_sort_qsb): Do not pass number of elements.
4274 * include/parallel/tags.h:
4275 Introduce new tags for compile-time choice.
4276 * include/parallel/merge.h:
4277 (parallel_merge_advance):Beautified.
4278 * include/parallel/algo.h: Reformatting (spaces for tabs)
4279 New sort and stable_sort variants, corresponding to the tags.
4280 * include/parallel/sort.h:
4281 New sort and stable_sort variants, corresponding to the tags.
4282 Changed determining the desired number of threads.
4284 2008-04-23 Johannes Singler <singler@ira.uka.de>
4286 * include/parallel/multiway_merge.h
4287 (multiway_merge_loser_tree):
4288 Leave checks to callers, add precondition instead.
4289 (multiway_merge_loser_tree_unguarded): Likewise.
4290 (multiway_merge_loser_tree_sentinel): Likewise.
4291 (sequential_multiway_merge): Added checks for total length 0.
4292 (parallel_multiway_merge): Skip empty sequences.
4293 (multiway_merge, all variants):
4294 Remove temporary variable, return directly.
4295 (stable_multiway_merge, all variants): Likewise.
4296 (multiway_merge_sentinels, all variants): Likewise.
4297 (stable_multiway_merge_sentinels, all variants): Likewise.
4298 * include/parallel/multiseq_selection.h
4299 (multiseq_partition): More detailed assertions.
4301 2008-04-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4303 * acinclude.m4 (GLIBCXX_CHECK_SETRLIMIT, GLIBCXX_ENABLE_C99)
4304 (GLIBCXX_CHECK_C99_TR1, GLIBCXX_CHECK_RANDOM_TR1)
4305 (GLIBCXX_ENABLE_VISIBILITY): Fix cache variable names.
4306 (GLIBCXX_CHECK_SYSTEM_ERROR): Likewise. Factorize.
4307 * configure: Regenerate.
4309 2008-04-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4312 * include/Makefile.am (pch*_output): Do not touch pch*_output_anchor.
4313 Call 'mkdir -p' unconditionally, but ignore its return value.
4314 * include/Makefile.in: Regenerate.
4316 * include/Makefile.am: Fix most stamp rules to regenerate
4317 the links for all sources newer than the stamp file.
4318 * include/Makefile.in: Regenerate.
4319 * Makefile.in: Likewise.
4320 * src/Makefile.in: Likewise.
4321 * doc/Makefile.in: Likewise.
4322 * po/Makefile.in: Likewise.
4323 * libmath/Makefile.in: Likewise.
4324 * libsupc++/Makefile.in: Likewise.
4325 * testsuite/Makefile.in: Likewise.
4327 2008-04-18 Paolo Bonzini <bonzini@gnu.org>
4330 * aclocal.m4: Regenerate.
4331 * configure: Regenerate.
4333 2008-04-16 Andreas Tobler <a.tobler@schweiz.org>
4336 * configure.ac: Use GCC_HEADER_STDINT.
4337 * src/atomic.cc: Include gstdint.h
4338 * configure: Regenerate.
4339 * Makefile.in: Likewise.
4340 * doc/Makefile.in: Likewise.
4341 * include/Makefile.in: Likewise.
4342 * libmath/Makefile.in: Likewise.
4343 * libsupc++/Makefile.in: Likewise.
4344 * po/Makefile.in: Likewise.
4345 * src/Makefile.in: Likewise.
4346 * testsuite/Makefile.in: Likewise.
4347 * aclocal.m4: Likewise.
4349 2008-04-14 Benjamin Kosnik <bkoz@redhat.com>
4352 * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Set CXXFLAGS to
4353 -O0 when checking for atomic builtins.
4354 * configure: Regenerate.
4356 2008-04-14 Benjamin Kosnik <bkoz@redhat.com>
4358 * include/bits/c++config: Guard _LDBL_ macros with __cplusplus.
4360 2008-04-10 Benjamin Kosnik <bkoz@redhat.com>
4362 * doc/html/*: Regenerate.
4364 2008-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4366 * doc/xml/manual/bitmap_allocator.xml: Improve wording a bit.
4367 * doc/xml/authors.xml: Fix typos.
4368 * doc/xml/faq.xml: Likewise.
4369 * doc/xml/manual/abi.xml: Likewise.
4370 * doc/xml/manual/allocator.xml: Likewise.
4371 * doc/xml/manual/appendix_contributing.xml: Likewise.
4372 * doc/xml/manual/backwards_compatibility.xml: Likewise.
4373 * doc/xml/manual/build_hacking.xml: Likewise.
4374 * doc/xml/manual/codecvt.xml: Likewise.
4375 * doc/xml/manual/concurrency.xml: Likewise.
4376 * doc/xml/manual/ctype.xml: Likewise.
4377 * doc/xml/manual/debug_mode.xml: Likewise.
4378 * doc/xml/manual/diagnostics.xml: Likewise.
4379 * doc/xml/manual/evolution.xml: Likewise.
4380 * doc/xml/manual/extensions.xml: Likewise.
4381 * doc/xml/manual/locale.xml: Likewise.
4382 * doc/xml/manual/messages.xml: Likewise.
4383 * doc/xml/manual/parallel_mode.xml: Likewise.
4384 * doc/xml/manual/status_cxx200x.xml: Likewise.
4385 * doc/xml/manual/strings.xml: Likewise.
4386 * doc/xml/manual/support.xml: Likewise.
4387 * doc/xml/manual/test.xml: Likewise.
4388 * doc/xml/manual/using.xml: Likewise.
4390 2008-04-10 Benjamin Kosnik <bkoz@redhat.com>
4391 Johannes Singler <singler@ira.uka.de>
4393 * doc/xml/manual/parallel_mode.xml: Remove map/set bulk
4394 insertors. Correct omp_set_num_threads example.
4396 2008-04-10 Benjamin Kosnik <bkoz@redhat.com>
4398 * include/c_global/cstdatomic: C++ types only, format, doxygen markup.
4399 * include/c_compatibility/stdatomic.h: "C" only, format, doxygen markup.
4400 * src/atomic.c: Format, doxygen markup, edits.
4402 * include/Makefile.am (cstdatomic, stdatomic.h): Add.
4403 * src/Makefile.am (atomic.c): Add.
4404 * acinclude.m4 (GLIBCXX_CHECK_STANDARD_LAYOUT): New.
4405 * configure.ac: Call it.
4406 * include/Makefile.in: Regenerate.
4407 * src/Makefile.in: Same.
4408 * Makefile.in: Same.
4409 * doc/Makefile.in: Same.
4410 * po/Makefile.in: Same.
4411 * libmath/Makefile.in: Same.
4412 * include/Makefile.in: Same.
4413 * testsuite/Makefile.in: Same.
4414 * libsupc++/Makefile.in: Same.
4415 * config.h.in: Same.
4418 * config/abi/pre/gnu.ver: Add atomics exports.
4420 * include/ext/typelist.h (apply_generator): New.
4421 * include/bits/c++config (_GLIBCXX_BEGIN_EXTERN_C): New.
4422 (_GLIBCXX_END_EXTERN_C): New.
4423 Deal with _GLIBCXX_BEGIN_NAMESPACE, _GLIBCXX_END_NAMESPACE when
4425 * testsuite/lib/libstdc++.exp (v3_target_compile_as_c): Add -L
4427 * testsuite/util/testsuite_common_types.h (integral_types): New
4429 (atomics, atomics_tl): Same.
4430 (assignable, default_constructible, copy_constructible,
4431 explicit_value_constructible): New.
4432 * testsuite/17_intro/headers/c++200x/all.cc: Test new headers.
4433 * testsuite/29_atomics: New.
4434 * testsuite/29_atomics/atomic_address: Same.
4435 * testsuite/29_atomics/atomic_address/cons: Same.
4436 * testsuite/29_atomics/atomic_address/cons/explicit_value.cc: Same.
4437 * testsuite/29_atomics/atomic_address/cons/assign_neg.cc: Same.
4438 * testsuite/29_atomics/atomic_address/cons/copy_neg.cc: Same.
4439 * testsuite/29_atomics/atomic_address/cons/default.cc: Same.
4440 * testsuite/29_atomics/atomic_address/cons/aggregate.cc: Same.
4441 * testsuite/29_atomics/atomic_flag: Same.
4442 * testsuite/29_atomics/atomic_flag/cons: Same.
4443 * testsuite/29_atomics/atomic_flag/cons/assign_neg.cc: Same.
4444 * testsuite/29_atomics/atomic_flag/cons/copy_neg.cc: Same.
4445 * testsuite/29_atomics/atomic_flag/cons/default.cc: Same.
4446 * testsuite/29_atomics/atomic_flag/cons/aggregate.cc: Same.
4447 * testsuite/29_atomics/atomic_flag/requirements: Same.
4448 * testsuite/29_atomics/atomic_flag/requirements/standard_layout.cc:
4450 * testsuite/29_atomics/atomic_flag/
4451 atomic_global_fence_compatibility.cc: Same.
4452 * testsuite/29_atomics/atomic_flag/test_and_set: Same.
4453 * testsuite/29_atomics/atomic_flag/test_and_set/explicit.c: Same.
4454 * testsuite/29_atomics/atomic_flag/test_and_set/explicit.cc: Same.
4455 * testsuite/29_atomics/atomic_flag/test_and_set/implicit.c: Same.
4456 * testsuite/29_atomics/atomic_flag/test_and_set/implicit.cc: Same.
4457 * testsuite/29_atomics/headers: Same.
4458 * testsuite/29_atomics/headers/cstdatomic: Same.
4459 * testsuite/29_atomics/headers/cstdatomic/types_std_c++0x.cc: Same.
4460 * testsuite/29_atomics/headers/cstdatomic/functions_std_c++0x.cc: Same.
4461 * testsuite/29_atomics/headers/cstdatomic/std_c++0x_neg.cc: Same.
4462 * testsuite/29_atomics/headers/cstdatomic/macros.cc: Same.
4463 * testsuite/29_atomics/headers/stdatomic.h: Same.
4464 * testsuite/29_atomics/headers/stdatomic.h/macros.c: Same.
4465 * testsuite/29_atomics/headers/stdatomic.h/types.c: Same.
4466 * testsuite/29_atomics/headers/stdatomic.h/functions.c: Same.
4467 * testsuite/29_atomics/atomic: Same.
4468 * testsuite/29_atomics/atomic/cons: Same.
4469 * testsuite/29_atomics/atomic/cons/explicit_value.cc: Same.
4470 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
4471 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
4472 * testsuite/29_atomics/atomic/cons/default.cc: Same.
4473 * testsuite/29_atomics/atomic/requirements: Same.
4474 * testsuite/29_atomics/atomic/requirements/explicit_instantiation: Same.
4475 * testsuite/29_atomics/atomic/requirements/explicit_instantiation/
4478 2008-04-10 Lawrence Crowl <crowl@google.com>
4480 * include/c_global/cstdatomic: New.
4481 * include/c_compatibility/stdatomic.h: New.
4482 * src/atomic.c: New.
4484 2008-04-10 Benjamin Kosnik <bkoz@redhat.com>
4486 * include/std/tuple: Consistency check for include guard, doxygen
4488 * include/std/date_time: Same.
4489 * include/std/type_traits: Same.
4490 * include/std/regex: Same.
4491 * include/std/array: Same.
4492 * include/std/system_error: Same, add error_code ctor.
4494 2008-04-07 Johannes Singler <singler@ira.uka.de>
4496 * include/parallel/multiway_merge.h: Moved decisions to
4497 compile-time instead of run-time.
4498 * include/parallel/losertree.h: Removed obsolete variants, added
4499 variant that uses pointers in the loser tree.
4500 * include/parallel/types.h: Remove obsolete settings options from enum.
4501 * include/parallel/features.h: Remove obsolete compile-time switches.
4502 * include/parallel/compiletime_settings.h: Remove obsolete variant
4503 that copies back *after* sorting.
4504 * include/parallel/tags.h: Add one new tag for compile-time switch.
4505 * include/parallel/merge.h: Adapt to changes in multiway_merge.h.
4506 * include/parallel/multiway_mergesort.h: Adapt to changes in
4507 multiway_merge.h. Factor out splitting variants. Remove obsolete
4508 variant that copies back *after* sorting.
4509 * include/parallel/sort.h: Adapt to changes in multiway_mergesort.h.
4510 * testsuite/25_algorithms/sort/35588.cc: Added test case from /
4513 2008-03-29 Paolo Carlini <pcarlini@suse.de>
4516 * include/bits/stl_algobase.h (__fill_a(_ForwardIterator,
4517 _ForwardIterator, _Tp), __fill_a(_Tp*, _Tp*, _Tp),
4518 __fill_n_a(_OutputIterator, _Size, _Tp), __fill_n_a(_Tp*, _Size,
4519 _Tp)): Fix signatures.
4520 * testsuite/25_algorithms/fill/35725.cc: New.
4521 * testsuite/25_algorithms/fill_n/35725.cc: Likewise.
4523 2008-03-29 Matthias Klose <doko@ubuntu.com>
4525 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Update.
4526 * config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Likewise.
4527 * config/abi/post/mips-linux-gnu/baseline_symbols.txt: Likewise.
4528 * config/abi/post/sparc-linux-gnu/baseline_symbols.txt: Likewise.
4530 2008-03-27 Ian Lance Taylor <iant@google.com>
4532 * acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Set
4533 glibcxx_ld_is_gold. Check for gold in --gc-sections test.
4534 (GLIBCXX_ENABLE_SYMVERS): Check for gold.
4535 * aclocal.m4, configure: Rebuild.
4537 2008-03-26 Benjamin Kosnik <bkoz@redhat.com>
4539 * testsuite/util/testsuite_abi.h: Remove symbol_objects,
4540 symbol_names typedefs.
4541 * testsuite/util/testsuite_abi.cc (compare_symbols): Correct check
4542 for long double compatiblity symbols, simplify data structures used.
4544 2008-03-25 Benjamin Kosnik <bkoz@redhat.com>
4546 * scripts/run_doxygen: Remove html_output_dir. Downgrade to
4548 * doc/doxygen/style.css: Delete.
4549 * doc/doxygen/user.cfg.in: Regenerate with Doxygen 1.5.1.
4551 (PREDEFINED): Update.
4552 (HTML_OUTPUT): Remove html_output_dir, use html.
4553 (HTML_STYLESHEET): Remove style.css.
4554 * doc/doxygen/tables.html: Remove style.css use.
4555 * doc/doxygen/mainpage.html: Nested lists for Namespaces and Classes.
4556 * doc/doxygen/doxygroups.cc: Namespace edits.
4557 * doc/doxygen/Intro.3: Correct typo.
4559 * doc/xml/api.xml: Add gcc-4.3 links.
4560 * doc/html/api.html: Regenerate.
4562 * include/debug/debug.h: Document namepaces here.
4563 * include/parallel/base.h: Same.
4564 * include/ext/typelist.h: Same.
4565 * include/ext/pb_ds/tag_and_trait.hpp: Same.
4567 * include/tr1_impl/random: Adjust line break.
4568 * include/tr1_impl/unordered_map: Correct and or add markup.
4569 * include/tr1_impl/boost_shared_ptr.h: Correct and or add markup.
4570 * include/tr1_impl/functional_hash.h: Same.
4571 * include/tr1_impl/cmath: Same.
4572 * include/tr1_impl/functional: Same.
4573 * include/tr1_impl/unordered_set: Same.
4574 * include/tr1_impl/complex: Same.
4575 * include/tr1_impl/type_traits: Same.
4576 * include/tr1_impl/regex: Same.
4577 * include/tr1_impl/array: Same.
4578 * include/std/tuple: Same.
4579 * include/std/date_time: Same.
4580 * include/std/system_error: Same.
4581 * include/std/type_traits: Same.
4582 * include/ext/enc_filebuf.h: Same.
4583 * include/ext/throw_allocator.h: Same.
4584 * include/ext/pool_allocator.h: Same.
4585 * include/ext/bitmap_allocator.h: Same.
4586 * include/ext/concurrence.h: Same.
4587 * include/ext/codecvt_specializations.h: Same.
4588 * include/ext/stdio_sync_filebuf.h: Same.
4589 * include/ext/array_allocator.h: Same.
4590 * include/ext/mt_allocator.h: Same.
4591 * include/bits/locale_classes.h: Same.
4592 * include/bits/locale_facets.h: Same.
4593 * include/bits/codecvt.h: Same.
4594 * include/bits/char_traits.h: Same.
4595 * include/bits/allocator.h: Same.
4596 * include/bits/locale_facets_nonio.h: Same.
4597 * include/tr1/poly_laguerre.tcc: Same.
4598 * include/tr1/riemann_zeta.tcc: Same.
4599 * include/tr1/beta_function.tcc: Same.
4600 * include/tr1/tuple: Same.
4601 * include/tr1/exp_integral.tcc: Same.
4602 * include/tr1/gamma.tcc: Same.
4603 * include/tr1/hypergeometric.tcc: Same.
4604 * include/tr1/modified_bessel_func.tcc: Same.
4605 * include/tr1/legendre_function.tcc: Same.
4606 * include/tr1/type_traits: Same.
4607 * include/tr1/special_function_util.h: Same.
4608 * include/tr1/bessel_function.tcc: Same.
4609 * include/tr1/cmath: Same.
4610 * include/tr1/poly_hermite.tcc: Same.
4611 * include/tr1/ell_integral.tcc: Same.
4612 * config/abi/compatibility.h: Adjust file name.
4614 * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Adjust
4616 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
4617 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
4619 2008-03-23 Paolo Carlini <pcarlini@suse.de>
4621 * doc/xml/faq.xml: Fix various links.
4622 * doc/xml/api.xml: Likewise.
4623 * doc/xml/manual/parallel_mode.xml: Likewise.
4624 * doc/html/faq.html: Regenerate.
4625 * doc/html/api.html: Likewise.
4626 * doc/html/manual/bk01pt12ch31s03.html: Likewise.
4628 2008-03-20 Benjamin Kosnik <bkoz@redhat.com>
4630 * testsuite/util/testsuite_abi.cc: Add support for not counting
4631 GLIBCXX_LDBL_* compat symbols missing if no long double compat
4634 2008-03-20 Paolo Carlini <pcarlini@suse.de>
4637 * include/tr1_impl/type_traits (struct __in_array): Add back.
4638 (is_function): Use it.
4639 * testsuite/tr1/4_metaprogramming/is_function/35637.cc: New.
4641 2008-03-20 Johannes Singler <singler@ira.uka.de>
4643 * include/parallel/set_operations.h (set_intersection): Remove.
4645 2008-03-19 Benjamin Kosnik <bkoz@redhat.com>
4648 * doc/xml/manual/parallel_mode.xml: Correct configuration documentation.
4649 * doc/html/manual/bk01pt12ch31s04.html: Regenerate.
4651 2008-03-18 Benjamin Kosnik <bkoz@redhat.com>
4653 * configure.ac (libtool_VERSION): To 6:11:0.
4654 * configure: Regenerate.
4655 * aclocal.m4: Regenerate.
4657 2008-03-16 Paolo Carlini <pcarlini@suse.de>
4659 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc:
4661 * testsuite/17_intro/headers/c++200x/all.cc: Likewise.
4662 * include/precompiled/stdc++.h: Likewise.
4664 2008-03-16 Pedro Lamarão <pedro.lamarao@gmail.com>
4666 * include/std/date_time: New file.
4667 * src/date_time.cc: New file.
4668 * config/abi/pre/gnu.ver: Added <date_time> symbols in version
4669 GLIBCXX_3.4.11 and changed two patterns in version GLIBCXX_3.4
4670 that matched new symbols.
4671 * include/Makefile.am: Add date_time in std headers.
4672 * src/Makefile.am: Add date_time.cc to source files.
4673 * include/Makefile.in: Regenerate.
4674 * src/Makefile.in: Likewise.
4676 2008-03-16 Pedro Lamarão <pedro.lamarao@gmail.com>
4678 * testsuite/31_date_time/headers/date_time/types_std.cc: New.
4679 * testsuite/31_date_time/headers/date_time/std_c++0x_neg.cc: Likewise.
4680 * testsuite/31_date_time/headers/date_time/functions_std.cc: Likewise.
4681 * testsuite/31_date_time/headers/date_time/synopsis.cc: Likewise.
4682 * testsuite/31_date_time/nanoseconds/requirements/traits.cc: Likewise.
4683 * testsuite/31_date_time/nanoseconds/requirements/duration.cc: Likewise.
4684 * testsuite/31_date_time/system_time/requirements: Likewise.
4685 * testsuite/31_date_time/system_time/requirements/traits.cc: Likewise.
4687 2008-03-16 Paolo Carlini <pcarlini@suse.de>
4689 * config.h.in: Regenerate.
4691 2008-03-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4693 * aclocal.m4: Regenerate.
4694 * configure: Likewise.
4695 * Makefile.in: Likewise.
4696 * doc/Makefile.in: Likewise.
4697 * include/Makefile.in: Likewise.
4698 * libmath/Makefile.in: Likewise.
4699 * libsupc++/Makefile.in: Likewise.
4700 * po/Makefile.in: Likewise.
4701 * src/Makefile.in: Likewise.
4702 * testsuite/Makefile.in: Likewise.
4704 2008-03-13 Dennis Czeremin <dennis.czeremin@smiths-heimann.com>
4707 * include/bits/stl_multimap.h (multimap<>::multimap(_InputIterator,
4708 _InputIterator)): Forward to _M_insert_equal, not _M_insert_unique.
4710 2008-03-13 Paolo Carlini <pcarlini@suse.de>
4713 * include/debug/functions.h (__check_sorted_set_aux): Fix signature.
4714 * testsuite/25_algorithms/set_difference/35541.cc: New.
4716 2008-03-07 Jakub Jelinek <jakub@redhat.com>
4718 * config/abi/pre/gnu.ver: Move <system_error> related
4719 symbols to GLIBCXX_3.4.11 symbol version.
4720 * testsuite/util/testsuite_abi.cc (check_version): Allow
4723 2008-03-06 Chris Jefferson <chris@bubblescope.net>
4724 Paolo Carlini <pcarlini@suse.de>
4727 * include/tr1/tuple (operator==, operator<): Fix.
4728 * include/std/tuple (operator==, operator<): Likewise.
4729 * testsuite/tr1/6_containers/tuple/comparison_operators/35480.cc: New.
4730 * testsuite/20_util/tuple/comparison_operators/35480.cc: Likewise.
4732 2008-03-04 Joseph Myers <joseph@codesourcery.com>
4734 * crossconfig.m4 (*-mingw32*): Define HAVE_STRTOF and
4736 * configure: Regenerate.
4738 2008-03-02 Hans-Peter Nilsson <hp@axis.com>
4740 * testsuite/20_util/shared_ptr/assign/shared_ptr_neg.cc,
4741 testsuite/tr1/2_general_utilities/shared_ptr/assign/shared_ptr_neg.cc:
4742 Mark changed error message prelude, adding "in file included from",
4743 using dg-excess-errors.
4745 2008-03-01 Jakub Jelinek <jakub@redhat.com>
4747 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
4748 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
4749 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
4750 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise.
4751 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
4753 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
4754 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
4756 2008-02-29 Jakub Jelinek <jakub@redhat.com>
4758 * config/abi/pre/gnu.ver: Remove
4759 _ZNKSt3tr14hashIgEclEg@@GLIBCXX_3.4.10 and
4760 _ZNKSt4hashIgEclEg@@GLIBCXX_3.4.10 export.
4761 * config/os/gnu-linux/ldbl-extra.ver: Export
4762 _ZNKSt3tr14hashIgEclEg@@GLIBCXX_LDBL_3.4.10
4763 and _ZNKSt4hashIgEclEg@@GLIBCXX_LDBL_3.4.10.
4764 * src/hash.cc: Only define long double hash specialization if
4765 _GLIBCXX_LONG_DOUBLE_COMPAT_IMPL is defined.
4766 * src/compatibility-ldbl.cc: Include "hash.cc".
4767 (_GLIBCXX_LONG_DOUBLE_COMPAT_IMPL): Define.
4768 (_ZNKSt4hashIeEclEe): New alias.
4769 * testsuite/util/testsuite_abi.cc (check_version): Support
4770 GLIBCXX_LDBL_3.4.10.
4772 2008-02-25 Jan Beulich <jbeulich@novell.com>
4774 * acinclude.m4: Also check for EIDRM and ETXTBSY.
4775 * configure: Re-generate.
4776 * config/os/generic/error_constants.h (namespace posix_error):
4777 Also wrap uses of EIDRM and ETXTBSY in conditionals.
4778 * testsuite/19_diagnostics/headers/system_error/types_std_c++0x.cc:
4781 2008-02-20 Jason Merrill <jason@redhat.com>
4783 * include/bits/c++config: Use 'inline namespace' instead of
4786 2008-02-18 Pedro Lamarao <pedro.lamarao@mndfck.org>
4788 * include/std/tuple: Fixes for moveable, non-copyable types.
4789 * testsuite/20_util/tuple/moveable2.cc: New.
4791 2008-02-18 Paolo Carlini <pcarlini@suse.de>
4793 * include/std/tuple (operator+(tuple<>&&, tuple<>&&): Remove.
4795 2008-02-17 Ed Smith-Rowland <3dw4rd@verizon.net>
4797 * include/tr1/poly_laguerre.tcc: Doxygen fixes.
4798 * include/tr1/exp_integral.tcc: Same.
4799 * include/tr1/gamma.tcc: Same.
4800 * include/tr1/hypergeometric.tcc: Same.
4802 2008-02-17 Benjamin Kosnik <bkoz@redhat.com>
4805 * include/parallel/settings.h (_Settings): Reconstruct Settings class
4806 here, uglify, remove anonymous namespace and static
4807 members. Convert to datum.
4808 * include/parallel/types.h: Move Settings:: enumerations here, uglify.
4809 * src/parallel_settings.cc: New, definition for _Settings member
4811 * include/parallel/multiway_merge.h: Same.
4812 * include/parallel/for_each.h: Same.
4813 * include/parallel/workstealing.h: Same.
4814 * include/parallel/base.h: Same.
4815 * include/parallel/numeric
4816 * include/parallel/features.h: Same.
4817 * include/parallel/quicksort.h: Same.
4818 * include/parallel/equally_split.h: Same.
4819 * include/parallel/algorithmfwd.h: Same.
4820 * include/parallel/omp_loop_static.h: Same.
4821 * include/parallel/random_shuffle.h: Same.
4822 * include/parallel/balanced_quicksort.h: Same.
4823 * include/parallel/tags.h: Same.
4824 * include/parallel/multiway_mergesort.h: Same.
4825 * include/parallel/numericfwd.h: Same.
4826 * include/parallel/partition.h: Same.
4827 * include/parallel/partial_sum.h: Same.
4828 * include/parallel/find.h: Same.
4829 * include/parallel/algo.h: Same.
4830 * include/parallel/omp_loop.h: Same.
4831 * include/parallel/sort.h: Same.
4833 * src/Makefile.am (parallel_sources): Add parallel_settings.cc.
4834 * src/Makefile.in: Regenerate.
4836 * config/abi/pre/gnu.ver: Export _Settings::get and _Settings::set.
4838 2008-02-17 Paolo Carlini <pcarlini@suse.de>
4841 * include/parallel/types.h: Reinstate integer types typedefs.
4842 * include/parallel/multiseq_selection.h: Adjust.
4843 * include/parallel/compatibility.h: Likewise.
4844 * include/parallel/random_shuffle.h: Likewise.
4845 * include/parallel/random_number.h: Likewise.
4846 * include/parallel/base.h: Likewise.
4848 2008-02-17 Paolo Carlini <pcarlini@suse.de>
4851 * config/abi/pre/gnu.ver: Export stdio_sync_filebuf symbols.
4852 * testsuite/ext/stdio_sync_filebuf/char/35209.cc: New.
4853 * testsuite/ext/stdio_sync_filebuf/wchar_t/35209.cc: Likewise.
4855 2008-02-16 Benjamin Kosnik <bkoz@redhat.com>
4857 * include/parallel/random_number.h: Use TR1's mersenne_twister.
4858 (random_number::genrand_bits()): Remove.
4859 (random_number::set_seed): Remove.
4861 2008-02-15 Benjamin Kosnik <bkoz@redhat.com>
4863 * include/parallel/types.h: Remove enum parallelism.
4865 2008-02-15 Benjamin Kosnik <bkoz@redhat.com>
4867 * include/parallel/types.h: Move enum parallelism here. Use
4868 tr1/cstdint's int16_t, uint16_t, int32_t, uint32_t, int64_t,
4870 * include/parallel/multiseq_selection.h: Adjust for cstdint.
4871 * include/parallel/compatibility.h: Same.
4872 * include/parallel/tags.h: Just compile-time tags.
4873 * include/parallel/base.h: Put namespace bits here.
4875 * src/Makefile.am (PARALLEL_FLAGS): Use it.
4876 * src/Makefile.in: Regenerate.
4878 * testsuite/25_algorithms/nth_element/1.cc: Add test variable.
4880 2008-02-15 Hans-Peter Nilsson <hp@axis.com>
4882 * testsuite/config/default.exp: Load gcc dejapatches.exp.
4884 2008-02-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4886 * testsuite/27_io/fpos/14320-1.cc: Check for "long long" and
4889 2008-02-14 Benjamin Kosnik <bkoz@redhat.com>
4891 * config/os/generic/error_constants.h (posix_errno): Guard
4892 not_supported use of ENOTSUP.
4893 * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Add check for ENOTSUP
4895 * aclocal.m4: Regenerate.
4896 * configure: Rengerate.
4897 * config.h.in: Same.
4899 2008-02-13 Benjamin Kosnik <bkoz@redhat.com>
4901 * doc/doxygen/mainpage.html: Correct links.
4903 2008-02-11 Benjamin Kosnik <bkoz@redhat.com>
4905 * doc/html/*: Populate with regenerated files.
4907 2008-02-11 Benjamin Kosnik <bkoz@redhat.com>
4909 * doc/html/*: Remove all but contents of ext/pb_ds.
4910 * doc/html/index.html: New.
4911 * doc/html/README: New.
4913 2008-02-11 Benjamin Kosnik <bkoz@redhat.com>
4915 * doc/doxygen/mainpage.html: Add in corrected links.
4916 * README: Edit, move most into...
4917 * doc/xml/manual/appendix_contributing.xml (Directory Layout): ...here.
4918 (Documentation Style): Revise.
4919 * doc/xml/spine.xml: Edit file names.
4920 * doc/Makefile.am: Edit xml_sources.
4921 * doc/Makefile.in: Regenerate.
4923 2008-02-11 Paolo Carlini <pcarlini@suse.de>
4925 * configure: Regenerate with documented autoconf and automake
4926 versions (i.e., 2.59 and 1.9.6).
4927 * Makefile.in: Likewise.
4928 * src/Makefile.in: Likewise.
4929 * doc/Makefile.in: Likewise.
4930 * po/Makefile.in: Likewise.
4931 * libmath/Makefile.in: Likewise.
4932 * include/Makefile.in: Likewise.
4933 * libsupc++/Makefile.in: Likewise.
4934 * testsuite/Makefile.in: Likewise.
4935 * aclocal.m4: Likewise.
4937 2008-02-10 Benjamin Kosnik <bkoz@redhat.com>
4939 Convert documentation to DocBook.
4940 * doc/Makefile.am (doc-doxygen-html): Changed to doc-html-doxygen.
4941 (doc-doxygen-man): Changed to doc-man-doxygen.
4942 (doc-performance): Changed to doc-html-performance.
4943 (doc-xml-doxygen): New.
4944 (doc-xml-single): New.
4945 (doc-xml-validate): New.
4947 (doc-html-single): New.
4950 (doc-pdf-fop-xml): New.
4951 (doc-pdf-fop-fo): New.
4952 (doc-pdf-xmlto): New.
4953 (doc-pdf-xmlroff): New.
4954 (doc-pdf-prince): New.
4955 * doc/xml: New directory.
4956 * doc/xml/authors.xml: New.
4957 * doc/xml/images: New directory.
4958 * doc/xml/images/confdeps.png: Add.
4959 * doc/xml/images/confdeps.dot: Add.
4960 * doc/xml/faq.xml: New.
4961 * doc/xml/api.xml: New.
4962 * doc/xml/gnu: New directory.
4963 * doc/xml/gnu/gpl-3.0.xml: New.
4964 * doc/xml/gnu/fdl-1.2.xml: New.
4965 * doc/xml/gnu/gpl-2.0.xml: New.
4966 * doc/xml/manual: New directory.
4967 * doc/xml/manual/mt_allocator.xml: New.
4968 * doc/xml/manual/allocator.xml: New.
4969 * doc/xml/manual/ctype.xml: New.
4970 * doc/xml/manual/numerics.xml: New.
4971 * doc/xml/manual/codecvt.xml: New.
4972 * doc/xml/manual/concurrency.xml: New.
4973 * doc/xml/manual/backwards_compatibility.xml: New.
4974 * doc/xml/manual/intro.xml: New.
4975 * doc/xml/manual/shared_ptr.xml: New.
4976 * doc/xml/manual/abi.xml: New.
4977 * doc/xml/manual/status_cxxtr1.xml: New.
4978 * doc/xml/manual/auto_ptr.xml: New.
4979 * doc/xml/manual/build.xml: New.
4980 * doc/xml/manual/internals.xml: New.
4981 * doc/xml/manual/parallel_mode.xml: New.
4982 * doc/xml/manual/status_cxx1998.xml: New.
4983 * doc/xml/manual/containers.xml: New.
4984 * doc/xml/manual/io.xml: New.
4985 * doc/xml/manual/appendix_porting.xml: New.
4986 * doc/xml/manual/utilities.xml: New.
4987 * doc/xml/manual/bitmap_allocator.xml: New.
4988 * doc/xml/manual/support.xml: New.
4989 * doc/xml/manual/configure.xml: New.
4990 * doc/xml/manual/build_hacking.xml: New.
4991 * doc/xml/manual/evolution.xml: New.
4992 * doc/xml/manual/using.xml: New.
4993 * doc/xml/manual/debug.xml: New.
4994 * doc/xml/manual/localization.xml: New.
4995 * doc/xml/manual/strings.xml: New.
4996 * doc/xml/manual/debug_mode.xml: New.
4997 * doc/xml/manual/locale.xml: New.
4998 * doc/xml/manual/extensions.xml: New.
4999 * doc/xml/manual/appendix_contributing.xml: New.
5000 * doc/xml/manual/messages.xml: New.
5001 * doc/xml/manual/diagnostics.xml: New.
5002 * doc/xml/manual/appendix_free.xml: New.
5003 * doc/xml/manual/algorithms.xml: New.
5004 * doc/xml/manual/iterators.xml: New.
5005 * doc/xml/manual/spine.xml: New.
5006 * doc/xml/manual/test.xml: New.
5007 * doc/xml/manual/status_cxx200x.xml: New.
5008 * doc/xml/spine.xml: New.
5010 * doc/xml/book.txml: New. Template file.
5011 * doc/xml/chapter.txml: Same.
5012 * doc/xml/class.txml: Same.
5014 * doc/doxygen/guide.html: Removed, integrated into other docs.
5015 * doc/doxygen/user.cfg.in: Clean up XML generation.
5016 * doc/doxygen/run_doxygen: Move to..
5017 * scripts/run_doxygen: ...here.
5019 * configure: Regenerate.
5020 * Makefile.in: Regenerate.
5021 * src/Makefile.in: Regenerate.
5022 * doc/Makefile.in: Regenerate.
5023 * po/Makefile.in: Regenerate.
5024 * libmath/Makefile.in: Regenerate.
5025 * include/Makefile.in: Regenerate.
5026 * libsupc++/Makefile.in: Regenerate.
5027 * testsuite/Makefile.in: Regenerate.
5028 * aclocal.m4: Regenerate.
5030 2008-02-10 Paolo Carlini <pcarlini@suse.de>
5033 * include/std/istream (basic_istream<>::basic_istream()): Call
5035 (basic_iostream<>::basic_iostream(basic_streambuf<>*)): Don't
5036 do it here, per 27.6.1.5.1/1.
5037 * include/std/ostream (basic_ostream<>::basic_ostream()): Call
5039 * testsuite/27_io/basic_iostream/cons/16251.C: New.
5041 * testsuite/27_io/basic_iostream/cons/2020.cc: Minor tweaks.
5043 2008-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5045 * include/backward/auto_ptr.h: Fix comment typos.
5046 * include/bits/algorithmfwd.h: Likewise.
5047 * include/bits/basic_ios.h: Likewise.
5048 * include/bits/c++config: Likewise.
5049 * include/bits/char_traits.h: Likewise.
5050 * include/bits/codecvt.h: Likewise.
5051 * include/bits/gslice.h: Likewise.
5052 * include/bits/ios_base.h: Likewise.
5053 * include/bits/locale_facets.h: Likewise.
5054 * include/bits/locale_facets_nonio.tcc: Likewise.
5055 * include/bits/postypes.h: Likewise.
5056 * include/bits/sstream.tcc: Likewise.
5057 * include/bits/stl_algo.h: Likewise.
5058 * include/bits/stl_deque.h: Likewise.
5059 * include/bits/stl_iterator.h: Likewise.
5060 * include/bits/stl_iterator_base_types.h Likewise.
5061 * include/bits/stl_list.h: Likewise.
5062 * include/bits/stl_map.h: Likewise.
5063 * include/bits/stl_multimap.h: Likewise.
5064 * include/bits/stl_multiset.h: Likewise.
5065 * include/bits/stl_set.h: Likewise.
5066 * include/bits/stl_vector.h: Likewise.
5067 * include/bits/valarray_array.h: Likewise.
5068 * include/debug/safe_base.h: Likewise.
5069 * include/ext/bitmap_allocator.h: Likewise.
5070 * include/ext/codecvt_specializations.h Likewise.
5071 * include/ext/mt_allocator.h: Likewise.
5072 * include/ext/rc_string_base.h: Likewise.
5073 * include/ext/rope: Likewise.
5074 * include/parallel/checkers.h: Likewise.
5075 * include/parallel/find.h: Likewise.
5076 * include/parallel/multiseq_selection.h: Likewise.
5077 * include/parallel/partition.h: Likewise.
5078 * include/parallel/settings.h: Likewise.
5079 * include/std/bitset: Likewise.
5080 * include/std/complex: Likewise.
5081 * include/std/fstream: Likewise.
5082 * include/std/istream: Likewise.
5083 * include/std/limits: Likewise.
5084 * include/std/ostream: Likewise.
5085 * include/std/stdexcept: Likewise.
5086 * include/std/streambuf: Likewise.
5087 * include/tr1/bessel_function.tcc: Likewise.
5088 * include/tr1/cmath: Likewise.
5089 * include/tr1/ell_integral.tcc: Likewise.
5090 * include/tr1/hypergeometric.tcc: Likewise.
5091 * include/tr1/legendre_function.tcc: Likewise.
5092 * include/tr1_impl/random: Likewise.
5093 * include/tr1_impl/regex: Likewise.
5095 2008-01-31 Paolo Carlini <pcarlini@suse.de>
5097 * testsuite/27_io/basic_istream/extractors_character/pod/3983-2.cc:
5098 Avoid -Wall warnings.
5099 * testsuite/22_locale/global_templates/user_facet_hierarchies.cc:
5101 * testsuite/22_locale/global_templates/standard_facet_hierarchies.cc:
5103 * testsuite/tr1/6_containers/hash/operators/size_t.cc: Likewise.
5104 * testsuite/tr1/6_containers/tuple/cons/big_tuples.cc: Likewise.
5105 * testsuite/tr1/6_containers/tuple/cons/constructor.cc: Likewise.
5106 * testsuite/tr1/6_containers/array/cons/aggregate_initialization.cc:
5108 * testsuite/tr1/6_containers/array/requirements/contiguous.cc:
5110 * testsuite/tr1/6_containers/array/requirements/member_swap.cc:
5112 * testsuite/tr1/6_containers/array/requirements/assign.cc: Likewise.
5113 * testsuite/tr1/6_containers/array/specialized_algorithms/swap.cc:
5115 * testsuite/tr1/6_containers/array/comparison_operators/
5116 less_or_equal.cc: Likewise.
5117 * testsuite/tr1/6_containers/array/comparison_operators/
5118 greater_or_equal.cc: Likewise.
5119 * testsuite/tr1/6_containers/array/comparison_operators/less.cc:
5121 * testsuite/tr1/6_containers/array/comparison_operators/equal.cc:
5123 * testsuite/tr1/6_containers/array/comparison_operators/not_equal.cc:
5125 * testsuite/tr1/6_containers/array/comparison_operators/greater.cc:
5127 * testsuite/tr1/6_containers/array/tuple_interface/get.cc: Likewise.
5128 * testsuite/tr1/6_containers/array/element_access/at_out_of_range.cc:
5130 * testsuite/tr1/6_containers/array/element_access/back.cc: Likewise.
5131 * testsuite/tr1/6_containers/array/element_access/front.cc: Likewise.
5132 * testsuite/tr1/6_containers/array/element_access/data.cc: Likewise.
5133 * testsuite/tr1/6_containers/array/iterators/end_is_one_past.cc:
5135 * testsuite/tr1/6_containers/array/capacity/empty.cc: Likewise.
5136 * testsuite/tr1/6_containers/array/capacity/max_size.cc: Likewise.
5137 * testsuite/tr1/6_containers/array/capacity/size.cc: Likewise.
5138 * testsuite/thread/guard.cc: Likewise.
5139 * testsuite/20_util/tuple/cons/big_tuples.cc: Likewise.
5140 * testsuite/20_util/tuple/cons/constructor.cc: Likewise.
5141 * testsuite/20_util/shared_ptr/creation/dr402.cc: Likewise.
5142 * testsuite/20_util/shared_ptr/creation/make.cc: Likewise.
5143 * testsuite/20_util/shared_ptr/creation/alloc.cc: Likewise.
5144 * testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc: Likewise.
5145 * testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc:
5148 2008-01-26 David Edelsohn <edelsohn@gnu.org>
5151 * config/os/aix/os_defines.h: Define __COMPATMATH__.
5153 2008-01-24 David Edelsohn <edelsohn@gnu.org>
5155 * configure: Regenerate.
5157 2008-01-21 Matthias Klose <doko@ubuntu.com>
5159 * doc/doxygen/user.cfg.in: Set SHORT_NAMES to YES.
5161 2008-01-19 Paolo Carlini <pcarlini@suse.de>
5163 * configure: Regenerate.
5164 * Makefile.in: Likewise.
5165 * src/Makefile.in: Likewise.
5166 * doc/Makefile.in: Likewise.
5167 * po/Makefile.in: Likewise.
5168 * libmath/Makefile.in: Likewise.
5169 * include/Makefile.in: Likewise.
5170 * libsupc++/Makefile.in: Likewise.
5171 * testsuite/Makefile.in: Likewise.
5172 * aclocal.m4: Likewise.
5174 2008-01-18 Benjamin Kosnik <bkoz@redhat.com>
5178 * testsuite/Makefile.am: Move doc-performance to...
5179 * Makefile.am: Add doc to SUBDIRS, move doxygen-* rules to...
5180 * doc/Makefile.am: Consolidate documentation creation here.
5181 (doc-doxygen-html): New.
5182 (doc-doxygen-man): New.
5183 (doc-performance): New.
5184 * doc/Makefile.in: New.
5185 * acinclude.m4 (glibcxx_SUBDIRS): Add doc directory.
5186 * doc/doxygen/guide.html: Edit for unified html configuration.
5187 * doc/doxygen/mainpage.html: Same.
5188 * doc/doxygen/run_doxygen: Same, more namespace fixups for man
5190 * doc/doxygen/user.cfg.in: Update for doxygen 1.5.4.
5192 * include/tr1_impl/random: Remove maint from doxygen markup.
5193 * include/tr1_impl/functional: Same.
5194 * include/std/tuple: Same.
5195 * include/std/streambuf: Same.
5196 * include/std/bitset: Same.
5197 * include/std/limits: Same.
5198 * include/std/fstream: Same.
5199 * include/std/istream: Same.
5200 * include/std/sstream: Same.
5201 * include/ext/pool_allocator.h: Same.
5202 * include/ext/rc_string_base.h: Same.
5203 * include/bits/basic_ios.h: Same.
5204 * include/bits/stl_list.h: Same.
5205 * include/bits/stl_map.h: Same.
5206 * include/bits/locale_classes.h: Same.
5207 * include/bits/stl_set.h: Same.
5208 * include/bits/stl_iterator_base_types.h: Same.
5209 * include/bits/basic_string.h: Same.
5210 * include/bits/stl_multimap.h: Same.
5211 * include/bits/stl_vector.h: Same.
5212 * include/bits/ios_base.h: Same.
5213 * include/bits/stl_deque.h: Same.
5214 * include/bits/postypes.h: Same.
5215 * include/bits/stl_multiset.h: Same.
5216 * include/bits/stl_algo.h: Same.
5217 * include/bits/stl_iterator.h: Same.
5218 * include/bits/stl_tempbuf.h: Same.
5219 * include/bits/stl_construct.h: Same.
5220 * include/bits/stl_relops.h: Same.
5221 * include/tr1/tuple: Same.
5222 * include/backward/auto_ptr.h: Same.
5224 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
5225 Fixups for line number changes.
5226 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
5227 * testsuite/23_containers/vector/requirements/dr438/
5228 constructor_1_neg.cc: Same.
5229 * testsuite/23_containers/vector/requirements/dr438/
5230 constructor_2_neg.cc: Same.
5231 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
5232 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
5233 * testsuite/23_containers/deque/requirements/dr438/
5234 constructor_1_neg.cc: Same.
5235 * testsuite/23_containers/deque/requirements/dr438/
5236 constructor_2_neg.cc: Same.
5237 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
5238 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
5239 * testsuite/23_containers/list/requirements/dr438/
5240 constructor_1_neg.cc: Same.
5241 * testsuite/23_containers/list/requirements/dr438/
5242 constructor_2_neg.cc: Same.
5243 * testsuite/20_util/auto_ptr/assign_neg.cc: Same.
5245 * aclocal.m4: Regenerate.
5246 * config.h.in: Regenerate.
5247 * configure: Regenerate.
5248 * Makefile.in: Regenerate.
5249 * src/Makefile.in: Regenerate.
5250 * po/Makefile.in: Regenerate.
5251 * libmath/Makefile.in: Regenerate.
5252 * include/Makefile.in: Regenerate.
5253 * libsupc++/Makefile.in: Regenerate.
5254 * testsuite/Makefile.in: Regenerate.
5256 * scripts/make_graphs.py: Correct paths for new layout.
5258 2008-01-17 Benjamin Kosnik <bkoz@redhat.com>
5260 * acinclude.m4 (AC_LC_MESSAGES): Remove serial.
5261 * linkage.m4 (AC_REPLACE_MATHFUNCS): Same.
5262 * configure: Regenerate.
5263 * aclocal.m4: Regenerate.
5265 2008-01-14 Paolo Carlini <pcarlini@suse.de>
5267 * include/parallel/list_partition.h: Formatting fixes, inline tweaks.
5268 * include/parallel/numeric: Likewise.
5269 * include/parallel/balanced_quicksort.h: Likewise.
5270 * include/parallel/unique_copy.h: Likewise.
5271 * include/parallel/algobase.h: Likewise.
5272 * include/parallel/algo.h: Likewise.
5274 2008-01-14 Seongbae Park <seongbae.park@gmail.com>
5276 * crossconfig.m4: Add missing header checks, C99 TR1 check,
5277 and sigsetjmp check.
5279 2008-01-14 Paolo Carlini <pcarlini@suse.de>
5281 * include/parallel/tree.h: Remove.
5282 * include/Makefile.am: Update.
5283 * include/Makefile.in: Rebuild.
5285 * src/Makefile.am: Remove spurious trailing backslash.
5286 * src/Makefile.in: Rebuild.
5287 * po/Makefile.in: Likewise.
5288 * libmath/Makefile.in: Likewise.
5289 * testsuite/Makefile.in: Likewise.
5290 * libsupc++/Makefile.in: Likewise.
5291 * aclocal.m4: Likewise.
5292 * Makefile.in: Likewise.
5293 * configure: Likewise.
5295 2008-01-12 Paolo Carlini <pcarlini@suse.de>
5298 * include/debug/functions.h (__check_sorted_set,
5299 __check_sorted_set_aux): Add.
5300 (__check_sorted): Check StrictWeakOrdering.
5301 * include/debug/macros.h (__glibcxx_check_strict_weak_ordering,
5302 __glibcxx_check_strict_weak_ordering_pred): Remove.
5303 (__glibcxx_check_sorted, __glibcxx_check_sorted_pred): Adjust.
5304 (__glibcxx_check_sorted_set, __glibcxx_check_sorted_set_pred): Add.
5305 * include/debug/debug.h (__glibcxx_requires_sorted_set,
5306 __glibcxx_requires_sorted_set_pred): Add.
5307 * include/bits/stl_algo.h (merge, includes, set_union,
5308 set_intersection, set_difference, set_symmetric_difference):
5309 Adjust, use __glibcxx_requires_sorted_set* instead.
5310 * testsuite/25_algorithms/set_intersection/34730.cc: New.
5312 2008-01-09 Paolo Carlini <pcarlini@suse.de>
5314 * include/parallel/multiway_merge.h: Reformat to 80 columns;
5315 adjust some inline specifiers; other minor style fixes.
5316 * include/parallel/losertree.h: Likewise.
5317 * include/parallel/list_partition.h: Likewise.
5318 * include/parallel/multiseq_selection.h: Likewise.
5319 * include/parallel/workstealing.h: Likewise.
5320 * include/parallel/base.h: Likewise.
5321 * include/parallel/par_loop.h: Likewise.
5322 * include/parallel/numeric: Likewise.
5323 * include/parallel/quicksort.h: Likewise.
5324 * include/parallel/algorithmfwd.h: Likewise.
5325 * include/parallel/for_each_selectors.h: Likewise.
5326 * include/parallel/omp_loop_static.h: Likewise.
5327 * include/parallel/random_shuffle.h: Likewise.
5328 * include/parallel/balanced_quicksort.h: Likewise.
5329 * include/parallel/set_operations.h: Likewise.
5330 * include/parallel/tree.h: Likewise.
5331 * include/parallel/merge.h: Likewise.
5332 * include/parallel/unique_copy.h: Likewise.
5333 * include/parallel/settings.h: Likewise.
5334 * include/parallel/multiway_mergesort.h: Likewise.
5335 * include/parallel/numericfwd.h: Likewise.
5336 * include/parallel/search.h: Likewise.
5337 * include/parallel/partition.h: Likewise.
5338 * include/parallel/compatibility.h: Likewise.
5339 * include/parallel/partial_sum.h: Likewise.
5340 * include/parallel/find.h: Likewise.
5341 * include/parallel/algo.h: Likewise.
5342 * include/parallel/queue.h: Likewise.
5343 * include/parallel/omp_loop.h: Likewise.
5344 * include/parallel/sort.h: Likewise.
5345 * include/parallel/random_number.h: Likewise.
5347 2008-01-09 Benjamin Kosnik <bkoz@redhat.com>
5349 * docs/html/17_intro/api.html: Fix markup for rope.h.
5351 2008-01-09 Paolo Carlini <pcarlini@suse.de>
5353 * include/parallel/iterator.h: Reformat to 80 columns; adjust some
5355 * include/parallel/find_selectors.h: Likewise.
5356 * include/parallel/losertree.h: Likewise.
5357 * include/parallel/list_partition.h: Likewise.
5358 * include/parallel/for_each.h: Likewise.
5359 * include/parallel/multiseq_selection.h: Likewise.
5360 * include/parallel/algorithmfwd.h: Likewise.
5361 * include/parallel/for_each_selectors.h: Likewise.
5362 * include/parallel/balanced_quicksort.h: Likewise.
5363 * include/parallel/merge.h: Likewise.
5364 * include/parallel/algobase.h: Likewise.
5365 * include/parallel/find.h: Likewise.
5366 * include/parallel/algo.h: Likewise.
5367 * include/parallel/checkers.h: Likewise.
5369 2008-01-09 Francesco Biscani <bluescarni@gmail.com>
5371 * include/tr1_impl/hashtable (_Hashtable): Fix friend declaration
5372 of __detail::_Map_base<>.
5374 2008-01-08 Paolo Carlini <pcarlini@suse.de>
5376 * testsuite/22_locale/global_templates/user_facet_hierarchies.cc: Do
5377 not include <cassert>.
5378 * testsuite/22_locale/global_templates/standard_facet_hierarchies.cc:
5380 * testsuite/util/testsuite_common_types.h: Include <algorithm>.
5382 2008-01-08 Jakub Jelinek <jakub@redhat.com>
5384 * configure.ac (--enable-linux-futex): Add new configure option.
5385 (HAVE_LINUX_FUTEX): New AC_DEFINE.
5386 * Makefile.in: Rebuilt.
5387 * aclocal.m4: Rebuilt.
5388 * configure: Rebuilt.
5389 * config.h.in: Rebuilt.
5390 * config/cpu/generic/cxxabi_tweaks.h (_GLIBCXX_GUARD_BIT,
5391 _GLIBCXX_GUARD_PENDING_BIT, _GLIBCXX_GUARD_WAITING_BIT): Define.
5392 * config/cpu/arm/cxxabi_tweaks.h (_GLIBCXX_GUARD_BIT,
5393 _GLIBCXX_GUARD_PENDING_BIT, _GLIBCXX_GUARD_WAITING_BIT): Define.
5394 * libsupc++/guard.cc: Include climits and syscall.h.
5395 (_GLIBCXX_USE_FUTEX): Define if futex syscall and atomic builtins
5397 (_GLIBCXX_FUTEX_WAIT, _GLIBCXX_FUTEX_WAKE): Likewise.
5398 (__guard_test_bit): New static inline.
5399 (__cxa_guard_acquire, __cxa_guard_release, __cxa_guard_abort): Use
5400 atomic builtins and futex syscall if _GLIBCXX_USE_FUTEX.
5402 2008-01-07 Paolo Carlini <pcarlini@suse.de>
5405 * include/bits/locale_classes.h (has_facet<>, use_facet<>): Do not
5406 use dynamic_cast when run-time type identification is disabled; do
5407 not mark inline; only declare, define...
5408 * include/bits/locale_classes.tcc: ... here.
5410 2008-01-06 Ted Phelps <phelps@gnusto.com>
5413 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Check
5414 _GLIBCXX_HAVE_GETIPINFO instead of HAVE_GETIPINFO.
5416 2008-01-01 Paolo Carlini <pcarlini@suse.de>
5419 * include/parallel/multiway_merge.h (multiway_merge_bubble,
5420 parallel_multiway_merge): Together with ::operator new use
5422 * include/parallel/losertree.h (LoserTree<>::~LoserTree): Likewise.
5423 * include/parallel/quicksort.h (parallel_sort_qs_divide): Likewise.
5424 * include/parallel/random_shuffle.h (parallel_random_shuffle_drs_pu,
5425 sequential_random_shuffle): Likewise.
5426 * include/parallel/tree.h (_M_not_sorted_bulk_insertion_construction):
5428 * include/parallel/multiway_mergesort.h (parallel_sort_mwms_pu,
5429 parallel_sort_mwms): Likewise.
5430 * include/parallel/partial_sum.h (parallel_partial_sum_linear):
5432 * testsuite/25_algorithms/sort/34095.cc: New.
5434 2008-01-01 Paolo Carlini <pcarlini@suse.de>
5436 * testsuite/25_algorithms/sort/34636.cc: Fix Copyright year.
5438 2008-01-01 Paolo Carlini <pcarlini@suse.de>
5441 * include/parallel/algobase.h (lexicographical_compare_switch(...,
5442 random_access_iterator_tag, random_access_iterator_tag)): Careful
5443 with undereferenceable iterators.
5444 * testsuite/25_algorithms/sort/34636.cc: New.