1 2009-03-22 Mark Mitchell <mark@codesourcery.com>
3 * testsuite/25_algorithms/search_n/iterator.cc: Condition
4 iterations for simulators.
5 * testsuite/25_algorithms/heap/moveable.cc: Likewise.
6 * testsuite/21_strings/basic_string/inserters_extractors/char/28277.cc
7 Condition stream width for simulators.
8 * testsuite/27_io/basic_ostream/inserters_character/char/28277-3.cc:
10 * testsuite/27_io/basic_ostream/inserters_character/char/28277-4.cc:
12 * testsuite/ext/vstring/inserters_extractors/char/28277.cc: Likewise.
14 2009-03-17 Benjamin Kosnik <bkoz@redhat.com>
16 * doc/xml/manual/appendix_contributing.xml: Add docbook style
17 sheet version information. Table-ize docbook element examples.
18 * doc/xml/manual/using.xml: Human-readable header
19 markup. Alphabetized. Add new headers.
20 * doc/html: Regenerate.
22 2009-03-15 Paolo Carlini <paolo.carlini@oracle.com>
24 * doc/xml/faq.xml: Fix link to setup documentation.
26 2009-03-14 Paolo Carlini <paolo.carlini@oracle.com>
28 * include/std/type_traits (__add_lvalue_reference_helper,
29 __add_rvalue_reference_helper): As an optimization, rewrite
30 condition (avoid is_function).
32 2009-03-13 Paolo Carlini <paolo.carlini@oracle.com>
35 * testsuite/20_util/shared_ptr/cons/39405.cc: New.
36 * testsuite/tr1/2_general_utilities/shared_ptr/cons/39405.cc: Likewise.
38 2009-03-12 Benjamin Kosnik <bkoz@redhat.com>
40 * testsuite/30_threads/condition_variable_any/native_handle/
41 typesizes.cc: Include tweaks.
42 * testsuite/30_threads/mutex/native_handle/typesizes.cc: Same.
43 * testsuite/30_threads/timed_mutex/native_handle/typesizes.cc: Same.
44 * testsuite/30_threads/thread/native_handle/typesizes.cc: Same.
45 * testsuite/30_threads/recursive_mutex/native_handle/typesizes.cc: Same.
46 * testsuite/30_threads/condition_variable/native_handle/
49 2009-03-11 Jonathan Wakely <jwakely.gcc@gmail.com>
51 * include/bits/shared_ptr.h: Add include guards.
52 * include/tr1/shared_ptr.h: Likewise.
54 2009-03-11 Jonathan Wakely <jwakely.gcc@gmail.com>
56 * include/std/iostream: Fix doxygen link.
57 * include/bits/forward_list.h: Fix doxygen markup.
58 * include/ext/vstring.h: Escape backslash in doxygen comment.
59 * include/bits/basic_string.h: Likewise.
61 2009-03-10 Paolo Carlini <paolo.carlini@oracle.com>
63 * doc/xml/faq.xml: Fix links to implementation status pages.
65 2009-03-10 Paolo Carlini <paolo.carlini@oracle.com>
67 * include/std/complex (operator+(const complex<>&, const _Tp&),
68 operator+(const _Tp&, const complex<>&),
69 operator-(const complex<>&, const _Tp&),
70 operator-(const _Tp&, const complex<>&)): Do not assume real()
71 returns a reference (against DR 387).
72 * testsuite/26_numerics/complex/dr387_2.cc: New.
74 2009-03-02 Benjamin Kosnik <bkoz@redhat.com>
76 * testsuite/thread/pthread4.cc: Move...
77 * testsuite/21_strings/basic_string/pthread4.cc: ...here.
78 * testsuite/thread/pthread5.cc: Move...
79 * testsuite/23_containers/list/pthread5.cc: ...here.
80 * testsuite/thread/pthread6.cc: Move...
81 * testsuite/23_containers/map/pthread6.cc: ...here.
82 * testsuite/thread/pthread7-rope.cc: Move...
83 * testsuite/ext/rope/pthread7-rope.cc: ...here.
84 * testsuite/thread/guard.cc: Move...
85 * testsuite/18_support/pthread_guard.cc: ...here.
86 * testsuite/thread/18185.cc: Move...
87 * testsuite/21_strings/basic_string/pthread18185.cc: ...here.
88 * testsuite/thread/pthread1.cc: Move...
89 * testsuite/23_containers/list/pthread1.cc: ...here.
90 * testsuite/thread/pthread2.cc: Move...
91 * testsuite/27_io/basic_ofstream/pthread2.cc: ...here.
92 * testsuite/thread/pthread3.cc: Move...
93 * testsuite/27_io/basic_ostringstream/pthread3.cc: ...here.
95 * testsuite/libstdc++-dg/conformance.exp: Remove thread directory.
96 * testsuite/thread: Remove.
98 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
100 * configure: Regenerate.
102 2009-02-23 Adam Nemet <anemet@caviumnetworks.com>
104 * testsuite/libstdc++-abi/abi.exp: Add multilib support.
105 * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Remove MULTISUBDIR
107 * configure: Regenerate.
108 * testsuite/Makefile.am (baseline_file): Remove variable.
109 (site.exp): Set baseline_dir rather than baseline_file.
110 (check-abi): Pass AM_RUNTESTFLAGS and RUNTESTFLAGS to runtest.
111 * testsuite/Makefile.in: Regenerate.
113 2009-02-20 Benjamin Kosnik <bkoz@redhat.com>
115 * testsuite/30_threads/thread/this_thread: Move...
116 * testsuite/30_threads/this_thread: ...here.
117 * testsuite/20_util/unique_ptr/assign/assign.cc: Move...
118 * testsuite/20_util/unique_ptr/assign/assign_neg.cc: ...here.
119 * testsuite/20_util/ratio/cons/cons_overflow.cc: Move...
120 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: ...here.
121 * testsuite/20_util/ratio/operations/ops_overflow.cc: Move...
122 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: ...here.
124 2009-02-20 Benjamin Kosnik <bkoz@redhat.com>
126 * doc/doxygen/user.cfg.in: Tweaks.
127 * doc/doxygen/doxygroups.cc: Prefer markup that can be elsewhere,
130 * include/tr1_impl/unordered_map: Just use most specialized
132 * include/tr1_impl/unordered_set: Same.
133 * include/tr1_impl/array: Same.
134 * include/bits/stl_list.h: Same.
135 * include/bits/stl_map.h: Same.
136 * include/bits/stl_queue.h: Same.
137 * include/bits/stl_set.h: Same.
138 * include/bits/stl_stack.h: Same.
139 * include/bits/forward_list.h: Same.
140 * include/bits/basic_string.h: Same.
141 * include/bits/stl_multimap.h: Same.
142 * include/bits/stl_vector.h: Same.
143 * include/bits/stl_deque.h: Same.
144 * include/bits/stl_multiset.h: Same.
145 * include/bits/stl_bvector.h: Same.
147 * include/backward/binders.h: Change binder module to binders.
149 * include/std/complex: Add complex_numers module.
150 * include/tr1_impl/complex: Same.
152 * include/std/valarray: Add numeric_arrays module.
153 * include/bits/gslice_array.h: Same.
154 * include/bits/gslice.h: Same.
155 * include/bits/mask_array.h: Same.
156 * include/bits/slice_array.h: Same.
157 * include/bits/indirect_array.h: Same.
159 * include/bits/allocator.h: Add allocators module.
160 * include/ext/throw_allocator.h
161 * include/ext/pool_allocator.h
162 * include/ext/bitmap_allocator.h
163 * include/ext/new_allocator.h
164 * include/ext/malloc_allocator.h
165 * include/ext/array_allocator.h
166 * include/ext/mt_allocator.h
167 * include/ext/debug_allocator.h
168 * include/ext/extptr_allocator.h
170 * include/tr1_impl/functional: Move namespace markup here.
171 * include/tr1_impl/regex: Same.
173 * include/tr1_impl/type_traits: Add metaprogramming module.
174 * include/std/type_traits: Same.
176 * include/std/memory: Add memory module.
178 * include/std/ratio: Add ratio module.
180 * include/std/chrono: Move namespace markup here, add time module.
182 * include/std/thread: Move namespace markup here, add concurrency
184 * include/std/mutex: Use concurrency module.
185 * include/std/condition_variable: Same.
188 * include/bits/ios_base.h: Refine io module.
189 * include/bits/basic_ios.h: Same.
190 * include/std/fstream: Same.
191 * include/std/istream: Same.
192 * include/std/ostream: Same.
193 * include/std/sstream: Same.
195 * include/ext/vstring.h: Correct parameter markup.
197 * include/bits/shared_ptr.h: Add pointer_abstractions module.
198 * include/bits/unique_ptr.h: Same.
200 * include/bits/algorithmfwd.h: Add mutating_algorithms,
201 non_mutating_algorithms, sorting_algorithms. Adjust nesting.
202 * include/bits/stl_heap.h: Add markup for new groupings.
203 * include/bits/stl_algobase.h: Same.
204 * include/bits/stl_algo.h: Same.
206 * include/c_compatibility/stdatomic.h: Add atomics module.
207 * include/c_global/cstdatomic: Same.
209 * libsupc++/exception: Add exceptions module.
210 * libsupc++/typeinfo: Same.
211 * libsupc++/new: Same.
212 * libsupc++/exception_ptr.h: Same.
213 * include/std/system_error: Same.
214 * include/std/stdexcept: Same.
216 * libsupc++/cxxabi.h: Move doxygroups.cc markup here.
217 * libsupc++/cxxabi-forced.h: Same.
219 * testsuite/27_io/ios_base/cons/assign_neg.cc: Fix up line numbers.
220 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
221 * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc: Same.
222 * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc: Same.
223 * testsuite/30_threads/mutex/cons/assign_neg.cc: Same.
224 * testsuite/30_threads/mutex/cons/copy_neg.cc: Same.
225 * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Same.
226 * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Same.
227 * testsuite/30_threads/thread/cons/assign_neg.cc: Same.
228 * testsuite/30_threads/thread/cons/copy_neg.cc: Same.
229 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Same.
230 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Same.
231 * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Same.
232 * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Same.
233 * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc: Same.
234 * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc: Same.
235 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
236 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
237 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Same.
238 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
239 * testsuite/23_containers/vector/requirements/dr438/
240 constructor_1_neg.cc: Same.
241 * testsuite/23_containers/vector/requirements/dr438/
242 constructor_2_neg.cc: Same.
243 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
244 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
245 * testsuite/23_containers/deque/requirements/dr438/
246 constructor_1_neg.cc: Same.
247 * testsuite/23_containers/deque/requirements/dr438/
248 constructor_2_neg.cc: Same.
249 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
250 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
251 * testsuite/23_containers/list/requirements/dr438/
252 constructor_1_neg.cc: Same.
253 * testsuite/23_containers/list/requirements/dr438/
254 constructor_2_neg.cc: Same.
255 * testsuite/20_util/duration/cons/1_neg.cc: Same.
256 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Same.
257 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same.
258 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same.
259 * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Same.
260 * testsuite/20_util/unique_ptr/assign/assign.cc: Same.
261 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
262 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
263 * testsuite/20_util/ratio/cons/cons_overflow.cc: Same.
264 * testsuite/20_util/ratio/operations/ops_overflow.cc: Same.
266 2009-02-18 Benjamin Kosnik <bkoz@redhat.com>
268 * doc/doxygen/doxygroups.cc: Move algorithm groups into algorithmfwd.h.
269 * doc/doxygen/user.cfg.in: Update.
270 * scripts/run_doxygen: Adjust for new group names.
272 * include/tr1_impl/random: Update doxygen group markup.
273 * include/tr1_impl/unordered_map: Same.
274 * include/tr1_impl/unordered_set: Same.
275 * include/tr1_impl/array: Same.
276 * include/std/numeric: Same.
277 * include/std/utility: Same.
278 * include/std/bitset: Same.
279 * include/std/iosfwd: Same.
280 * include/bits/stl_list.h: Same.
281 * include/bits/stl_map.h: Same.
282 * include/bits/stl_algobase.h: Same.
283 * include/bits/stl_queue.h: Same.
284 * include/bits/stl_set.h: Same.
285 * include/bits/stl_stack.h: Same.
286 * include/bits/stl_iterator_base_types.h: Same.
287 * include/bits/forward_list.h: Same.
288 * include/bits/basic_string.h: Same.
289 * include/bits/stl_multimap.h: Same.
290 * include/bits/stl_vector.h: Same.
291 * include/bits/stl_deque.h: Same.
292 * include/bits/stl_multiset.h: Same.
293 * include/bits/stl_algo.h: Same.
294 * include/bits/stl_bvector.h: Same.
295 * include/bits/algorithmfwd.h: Same.
296 * include/bits/stl_function.h: Same.
297 * include/tr1/cmath: Same.
298 * include/backward/binders.h: Same.
300 2009-02-17 Benjamin Kosnik <bkoz@redhat.com>
302 * include/std/system_error (system_category): To system_category().
303 (generic_category): To generic_category. DR 890.
304 * src/system_error.cc: Define.
305 * include/bits/functexcept.h: Only one __throw_system_error.
306 * src/functexcept.cc: Same.
307 * include/std/mutex: Fixup for changes above.
308 * testsuite/19_diagnostics/error_condition/cons/1.cc: Same.
309 * testsuite/19_diagnostics/error_code/cons/1.cc: Same.
310 * testsuite/19_diagnostics/system_error/cons-1.cc: Same.
311 * config/abi/pre/gnu.ver: Clean up exports.
313 2009-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
315 * include/std/thread: Fix typo.
316 * src/thread.cc (thread::join): Use NULL.
318 2009-02-15 Paolo Carlini <paolo.carlini@oracle.com>
321 * src/locale_facets.cc (__verify_grouping(const char*, size_t,
322 const string&)): Also check that the value != CHAR_MAX.
323 * include/bits/locale_facets.tcc (__numpunct_cache<>::
324 _M_cache(const locale&), __add_grouping(_CharT*, _CharT,
325 const char*, size_t, const _CharT*, const _CharT*)): Likewise.
326 * include/bits/locale_facets_nonio.tcc (__moneypunct_cache<>::
327 _M_cache(const locale&)): Likewise.
328 * testsuite/22_locale/money_put/put/wchar_t/39168.cc: New.
329 * testsuite/22_locale/money_put/put/char/39168.cc: Likewise.
330 * testsuite/22_locale/money_get/get/wchar_t/39168.cc: Likewise.
331 * testsuite/22_locale/money_get/get/char/39168.cc: Likewise.
332 * testsuite/22_locale/num_get/get/wchar_t/39168.cc: Likewise.
333 * testsuite/22_locale/num_get/get/char/39168.cc: Likewise.
335 2009-02-13 Chris Fairles <cfairles@gcc.gnu.org>
336 Benjamin Kosnik <bkoz@redhat.com>
338 * include/std/thread (_Impl_base): Move _M_id out and into ...
339 (thread): ...here. Call _M_make_routine in body of constructors.
340 Adjust data member usage to reflect changes.
341 (_M_make_routine): From _M_make_shared_data.
342 (_M_start_thread): Add __shared_base_type argument.
343 * src/thread.cc: Fixups for above.
344 * config/abi/pre/gnu.ver: Adjust exports.
345 * testsuite/30_threads/thread/native_handle/typesizes.cc: Enable.
346 * testsuite/30_threads/thread/cons/assign_neg.cc: Adjust line numbers.
347 * testsuite/30_threads/thread/cons/copy_neg.cc: Same.
349 2009-02-12 Benjamin Kosnik <bkoz@redhat.com>
351 * testsuite/util/thread/all.h (compare_type_to_native_type_sizes): To...
352 (compare_type_to_native_type): ...this, add alignment check.
353 * testsuite/30_threads/condition_variable_any/native_handle/
354 typesizes.cc: Modify as above.
355 * testsuite/30_threads/mutex/native_handle/typesizes.cc: Same.
356 * testsuite/30_threads/timed_mutex/native_handle/typesizes.cc: Same.
357 * testsuite/30_threads/thread/native_handle/typesizes.cc: Same.
358 * testsuite/30_threads/recursive_mutex/native_handle/typesizes.cc: Same.
359 * testsuite/30_threads/condition_variable/native_handle/
361 * testsuite/30_threads/recursive_timed_mutex/native_handle/
364 * testsuite/30_threads/thread/cons/1.cc: Add comments.
365 * testsuite/30_threads/thread/cons/2.cc: Same.
366 * testsuite/30_threads/thread/cons/3.cc: Same.
367 * testsuite/30_threads/thread/cons/4.cc: Same.
368 * testsuite/30_threads/thread/cons/5.cc: Same.
369 * testsuite/30_threads/thread/cons/6.cc: Same.
370 * testsuite/30_threads/thread/cons/7.cc: Same.
371 * testsuite/30_threads/thread/cons/8.cc: Same.
373 * testsuite/30_threads/thread/cons/9.cc: New.
374 * testsuite/30_threads/thread/cons/moveable.cc: New.
376 * src/condition_variable.cc: Clean up whitespace.
377 * include/std/condition_variable: Same.
379 2009-02-09 Benjamin Kosnik <bkoz@redhat.com>
381 * include/std/condition_variable (condition_variable): Remove
382 _M_internal_mutex. Add private __native_type typedef.
383 * src/condition_variable.cc (condition_variable::notify_one):
384 Remove _M_internal_mutex use. Use typedef.
385 (condition_variable::notify_all): Same.
386 * include/std/mutex (mutex): Add private __native_type typedef. Use it.
387 (recursive_mutex): Same.
389 (recursive_timed_mutex): Same.
390 (once_flag): Make __native_type typedef private.
392 * include/std/thread (this_thread): Add minimal markup.
394 * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc:
396 * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc: Same.
397 * testsuite/30_threads/mutex/cons/assign_neg.cc: Same.
398 * testsuite/30_threads/mutex/cons/copy_neg.cc: Same.
399 * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Same.
400 * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Same.
401 * testsuite/30_threads/thread/cons/assign_neg.cc: Same.
402 * testsuite/30_threads/thread/cons/copy_neg.cc: Same.
403 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Same.
404 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Same.
405 * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Same.
406 * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Same.
407 * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc: Same.
408 * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc: Same.
410 * testsuite/util/thread/all.h: Testsuite utilities for testing thread.
411 * testsuite/30_threads/condition_variable_any/native_handle/
413 * testsuite/30_threads/mutex/native_handle/typesizes.cc: Same.
414 * testsuite/30_threads/timed_mutex/native_handle/typesizes.cc: Same.
415 * testsuite/30_threads/thread/native_handle/typesizes.cc: Same.
416 * testsuite/30_threads/recursive_mutex/native_handle/typesizes.cc: Same.
417 * testsuite/30_threads/condition_variable/native_handle/
419 * testsuite/30_threads/recursive_timed_mutex/native_handle/
422 2009-02-09 Jack Howarth <howarth@bromo.med.uc.edu>
425 * libstdc++-v3/testsuite/27_io/ios_base/storage/2.cc: Skip
428 2009-02-09 Adam Nemet <anemet@caviumnetworks.com>
430 * configure.host: Set abi_baseline_pair for mips64*-linux.
431 * config/abi/post/mips64-linux-gnu/baseline_symbols.txt: New file.
433 2009-02-08 Chris Fairles <cfairles@gcc.gnu.org>
435 * include/std/thread (this_thread::get_id): Inline.
437 2009-02-08 Chris Fairles <cfairles@gcc.gnu.org>
439 * include/std/thread (thread<>::thread(_Callable)): Explicitly use
440 _Callable as template argument for _M_make_shared_data.
441 * testsuite/30_threads/thread/cons/6.cc: New.
442 * testsuite/30_threads/thread/cons/7.cc: New.
443 * testsuite/30_threads/thread/cons/8.cc: New.
445 2009-02-07 Benjamin Kosnik <bkoz@redhat.com>
447 * testsuite/30_threads/thread/member: To..
448 * testsuite/30_threads/thread/members: ...this.
449 * testsuite/30_threads/condition_variable/member: To...
450 * testsuite/30_threads/condition_variable/members: ...this.
452 2009-02-06 Benjamin Kosnik <bkoz@redhat.com>
454 * include/std/thread (thread::id): Move definition inside thread.
455 Use native_handle_type. Remove this_thread::get_id friend.
456 Change __thread_data_ptr to __shared_base_ptr.
457 (thread::id::id(native_handle_type): Make public. Still explicit.
458 Use native_handle_type. Change _M_thread_id to _M_thread.
459 (thread::__thread_data_base): Rename to _Impl_base. Use id, change
460 _M_thread_handle to _M_id.
461 (thread::__thread_data): Rename to _Impl.
463 (thread::_M_make_thread_data): Return derived type.
464 (thread::hardware_concurrency): Add definition for default case.
465 (thread::get_id): Now can define inline.
466 (thread): Change _M_thread_data to _M_data.
467 (this_thread::get_id): Now can define inline.
468 * src/thread.cc (__thread_proxy): Rename to
469 execute_native_thread_routine.
470 Fixup for other renames.
471 * testsuite/30_threads/thread/cons/assign_neg.cc: New.
472 * testsuite/30_threads/thread/cons/copy_neg.cc: New.
473 * testsuite/30_threads/thread/algorithm: Move to..
474 * testsuite/30_threads/thread/swap: ...this.
475 * testsuite/30_threads/thread/member/hardware_concurrency.cc: Add.
476 * testsuite/30_threads/thread/id/operators.cc: New.
478 2009-02-05 Chris Fairles <cfairles@gcc.gnu.org>
480 * include/std/tuple (_Head_base<>::_Head_base(_UHead&&)): Formatting.
481 (_Head_base<>::__swap_impl): Rename to _M_swap_impl.
482 (_Tuple_impl<>::__swap_impl): Likewise and make protected to avoid
483 exposing it in public std::tuple interface.
485 2009-02-05 Chris Fairles <cfairles@gcc.gnu.org>
486 Benjamin Kosnik <bkoz@redhat.com>
488 * include/std/thread (__thread_data_base): Nest class in std::thread.
489 (__thread_data): Likewise.
490 (__thread_data_ptr): Nest typedef in std::thread.
491 * src/thread.cc (__thread_proxy): Qualify the above names.
492 * config/abi/pre/gnu.ver: Remove unused exports.
494 2009-02-04 Benjamin Kosnik <bkoz@redhat.com>
496 * include/bits/unique_ptr.h: Remove private __this_type typedef.
497 * include/bits/stl_vector.h: Remove private vector_type typedef.
498 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
500 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
501 * testsuite/23_containers/vector/requirements/dr438/
502 constructor_1_neg.cc: Same.
503 * testsuite/23_containers/vector/requirements/dr438/
504 constructor_2_neg.cc: Same.
505 * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Same.
506 * testsuite/20_util/unique_ptr/assign/assign.cc: Same.
508 2009-02-03 Paolo Carlini <paolo.carlini@oracle.com>
511 * libsupc++/exception_defines.h: Depending on __EXCEPTIONS,
512 deal consistently with __try and __catch too.
513 * src/localename.cc: Replace try -> __try, catch -> __catch.
514 * src/ios.cc: Likewise.
515 * src/locale.cc: Likewise.
516 * src/istream.cc: Likewise.
517 * src/thread.cc: Likewise.
518 * src/compatibility.cc: Likewise.
519 * src/bitmap_allocator.cc: Likewise.
520 * src/ios_init.cc: Likewise.
521 * include/debug/deque: Likewise.
522 * include/debug/list: Likewise.
523 * include/tr1_impl/hashtable: Likewise.
524 * include/std/bitset: Likewise.
525 * include/ext/pb_ds/detail/resize_policy/
526 hash_load_check_resize_trigger_imp.hpp: Likewise.
527 * include/ext/pb_ds/detail/resize_policy/
528 hash_standard_resize_policy_imp.hpp: Likewise.
529 * include/ext/pb_ds/detail/cc_hash_table_map_/
530 resize_fn_imps.hpp: Likewise.
531 * include/ext/pb_ds/detail/cc_hash_table_map_/
532 constructor_destructor_fn_imps.hpp: Likewise.
533 * include/ext/pb_ds/detail/pat_trie_/
534 split_join_branch_bag.hpp: Likewise.
535 * include/ext/pb_ds/detail/pat_trie_/
536 constructors_destructor_fn_imps.hpp: Likewise.
537 * include/ext/pb_ds/detail/bin_search_tree_/
538 constructors_destructor_fn_imps.hpp: Likewise.
539 * include/ext/pb_ds/detail/gp_hash_table_map_/
540 resize_fn_imps.hpp: Likewise.
541 * include/ext/pb_ds/detail/gp_hash_table_map_/
542 constructor_destructor_fn_imps.hpp: Likewise.
543 * include/ext/pb_ds/detail/binary_heap_/
544 constructors_destructor_fn_imps.hpp: Likewise.
545 * include/ext/pb_ds/detail/binary_heap_/
546 erase_fn_imps.hpp: Likewise.
547 * include/ext/pb_ds/detail/binary_heap_/
548 split_join_fn_imps.hpp: Likewise.
549 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
550 constructors_destructor_fn_imps.hpp: Likewise.
551 * include/ext/pb_ds/detail/debug_map_base.hpp: Likewise.
552 * include/ext/pb_ds/detail/list_update_map_/
553 constructor_destructor_fn_imps.hpp: Likewise.
554 * include/ext/slist: Likewise.
555 * include/ext/memory: Likewise.
556 * include/ext/rc_string_base.h: Likewise.
557 * include/ext/ropeimpl.h: Likewise.
558 * include/ext/vstring.tcc: Likewise.
559 * include/ext/rope: Likewise.
560 * include/ext/sso_string_base.h: Likewise.
561 * include/bits/shared_ptr.h: Likewise.
562 * include/bits/stl_list.h: Likewise.
563 * include/bits/locale_classes.tcc: Likewise.
564 * include/bits/locale_facets.tcc: Likewise.
565 * include/bits/locale_classes.h: Likewise.
566 * include/bits/forward_list.h: Likewise.
567 * include/bits/stl_vector.h: Likewise.
568 * include/bits/stl_deque.h: Likewise.
569 * include/bits/istream.tcc: Likewise.
570 * include/bits/stl_uninitialized.h: Likewise.
571 * include/bits/ostream.tcc: Likewise.
572 * include/bits/vector.tcc: Likewise.
573 * include/bits/stl_tempbuf.h: Likewise.
574 * include/bits/deque.tcc: Likewise.
575 * include/bits/basic_string.tcc: Likewise.
576 * include/bits/ostream_insert.h: Likewise.
577 * include/bits/locale_facets_nonio.tcc: Likewise.
578 * include/bits/stl_tree.h: Likewise.
579 * include/bits/fstream.tcc: Likewise.
580 * include/tr1/shared_ptr.h: Likewise.
581 * include/tr1/hypergeometric.tcc: Likewise.
582 * include/backward/hashtable.h: Likewise.
583 * libsupc++/exception_ptr.h: Likewise.
584 * libsupc++/eh_personality.cc: Likewise.
585 * libsupc++/eh_call.cc: Likewise.
586 * config/locale/gnu/monetary_members.cc: Likewise.
587 * config/locale/gnu/time_members.h: Likewise.
588 * config/locale/generic/time_members.h: Likewise.
590 2009-02-03 Johannes Singler <singler@ira.uka.de>
592 * include/parallel/algorithmfwd.h:
593 Add parallelism default for many declarations.
594 * include/parallel/numericfwd.h: Likewise.
595 * include/parallel/iterator.h: Use iterator_traits as usual.
596 * include/parallel/par_loop.h:
597 Include equally_split.h.
598 (for_each_template_random_access_ed):
599 Avoid calling the Result default constructor.
600 * include/parallel/numeric: Replace
601 for_each_template_random_access by
602 for_each_template_random_access_ed in numeric functions.
604 2009-02-02 Benjamin Kosnik <bkoz@redhat.com>
606 * config/os/gnu-linux/os_defines.h: Remove superfluous
609 2009-02-02 Jakub Jelinek <jakub@redhat.com>
611 * testsuite/21_strings/c_strings/char/3.cc: New test.
612 * testsuite/21_strings/c_strings/wchar_t/3.cc: New test.
614 2009-01-30 Ulrich Drepper <drepper@redhat.com>
615 Jakub Jelinek <jakub@redhat.com>
617 PR libstdc++/30928 (partial, works together with recent glibcs)
618 * include/c_std/cstring (memchr, strchr, strpbrk, strrchr, strstr):
619 Provide inlines only if __CORRECT_ISO_CPP_STRING_H_PROTO is not
621 * include/c_std/cwchar (wcschr, wcspbrk, wcsrchr, wcsstr, wmemchr):
622 Provide inlines only if __CORRECT_ISO_CPP_WCHAR_H_PROTO is not
624 * include/c_global/cstring (memchr, strchr, strpbrk, strrchr, strstr):
625 Provide inlines only if __CORRECT_ISO_CPP_STRING_H_PROTO is not
627 * include/c_global/cwchar (wcschr, wcspbrk, wcsrchr, wcsstr, wmemchr):
628 Provide inlines only if __CORRECT_ISO_CPP_WCHAR_H_PROTO is not
630 * testsuite/21_strings/c_strings/char_t/2.cc (test02): If first
631 argument is const char *, assign result to const char * var, not
633 * testsuite/21_strings/c_strings/wchar_t/2.cc (test02): If first
634 argument is const wchar_t *, assign result to const wchar_t * var, not
637 2009-01-29 Jonathan Wakely <jwakely.gcc@gmail.com>
639 * include/std/thread: Remove unused headers.
640 (__thread_data_base): Remove unused mutex and base.
641 (thread::~thread): Only detach if joinable.
642 (thread::joinable): Test if thread data ptr is empty.
643 (thread::_M_thread_data_mutex): Remove.
644 (thread::_M_get_thread_data): Remove.
645 (thread::_M_make_thread_data): Remove overload, use make_shared.
646 (thread::id::id): Make constructor explicit.
647 * src/thread.cc (thread::join,thread::detach): Throw if not joinable.
648 (thread::_M_start_thread): Break shared_ptr cycle on error.
649 (__thread_proxy): Use shared_ptr swap instead of copy and reset.
650 * testsuite/30_threads/thread/member/4.cc: New.
651 * testsuite/30_threads/thread/member/5.cc: New.
653 2009-01-28 Benjamin Kosnik <bkoz@redhat.com>
655 * testsuite/util/testsuite_common_types.h (has_trivial_cons_dtor): New.
656 (standard_layout): Just use !has_virtual_destructor for now.
657 * testsuite/30_threads/mutex/requirements/standard_layout.cc: New.
658 * testsuite/30_threads/timed_mutex/requirements/standard_layout.cc: New.
659 * testsuite/30_threads/recursive_mutex/requirements/
660 standard_layout.cc: New.
661 * testsuite/30_threads/condition_variable/requirements/
662 standard_layout.cc: New.
663 * testsuite/29_atomics/atomic_address/requirements/
664 standard_layout.cc: Adjust.
665 * testsuite/29_atomics/atomic_flag/requirements/
666 standard_layout.cc: Same.
667 * testsuite/29_atomics/atomic_address/requirements/trivial.cc: New.
668 * testsuite/29_atomics/atomic_integral/requirements/trivial.cc: Same.
669 * testsuite/29_atomics/atomic_flag/requirements/trivial.cc: Same.
670 * testsuite/30_threads/condition_variable/requirements/typedefs.cc: New.
671 * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: Adjust
673 * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Same.
674 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
675 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
676 * testsuite/29_atomics/atomic/requirements/standard_layout.cc:
677 Remove, not required.
679 2009-01-22 Jonathan Wakely <jwakely.gcc@gmail.com>
681 * include/std/thread (__thread_data_base, thread): Rename member
682 functions to match coding style.
683 (thread::thread,thread::operator=): Define move operations.
684 * src/thread.cc (__thread_data_base, thread): Rename member functions.
685 * config/abi/pre/gnu.ver: Adjust.
687 2009-01-22 Benjamin Kosnik <bkoz@redhat.com>
690 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Disable symbol versioning
692 * configure: Regenerate.
694 2009-01-22 Dodji Seketeli <dodji@redhat.com>
696 * include/ext/bitmap_allocator.h: Reverting changes related to PR
699 2009-01-21 Benjamin Kosnik <bkoz@redhat.com>
701 * testsuite/29_atomics/headers/stdatomic.h/functions.c: Remove
704 2009-01-21 Dodji Seketeli <dodji@redhat.com>
706 * include/ext/bitmap_allocator.h: the typedefs should be made public
707 if we want them to be accessible. This has been revealed by the patch
708 that fixes PR c++/26693 in g++.
710 2009-01-20 Benjamin Kosnik <bkoz@redhat.com>
711 Uros Bizjak <ubizjak@gmail.com>
714 * config/abi/pre/gnu.ver: Correct char16_t and char32_t exports.
715 * config/os/gnu-linux/ldbl-extra.ver: Tweak.
717 2009-01-20 Benjamin Kosnik <bkoz@redhat.com>
718 Rainer Emrich <r.emrich@de.tecosim.com>
721 * crossconfig.m4: Use GLIBCXX_CHECK_MATH_SUPPORT and
722 GLIBCXX_CHECK_STDLIB_SUPPORT for mingw crosses.
723 * configure: Regenerate.
725 2009-01-18 Jonathan Wakely <jwakely.gcc@gmail.com>
727 * include/std/thread (__thread_data_base::__run): Make non-const.
728 * testsuite/30_threads/thread/cons/5.cc: New.
730 2009-01-16 Benjamin Kosnik <bkoz@redhat.com>
732 * src/Makefile.am (sources): Add math_stubs_float.cc.
733 * src/Makefile.in: Regenerate.
734 * src/math_stubs_float.cc: New, from libmath/stubs.c.
736 2009-01-15 Benjamin Kosnik <bkoz@redhat.com>
738 * src/Makefile.am (sources): Add math_stubs_long_double.cc.
739 * src/Makefile.in: Regenerate.
740 * src/math_stubs_long_double.cc: New, from libmath/stubs.c.
742 2009-01-15 Benjamin Kosnik <bkoz@redhat.com>
745 * config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Update.
747 2009-01-15 Benjamin Kosnik <bkoz@redhat.com>
750 * Makefile.am (hosted_source): Remove libmath directory.
751 * Makefile.in: Regenerate.
752 * linkage.m4 (GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT): Remove.
753 (AC_REPLACE_MATHFUNCS): Remove.
754 (GLIBCXX_CHECK_MATH_SUPPORT): Remove copysign, copysignl checks as done
755 in GLIBCXX_CHECK_C99_TR1.
756 * acinclude.m4: Remove libmath, need_math.
757 * crossconfig.m4: Remove use of HAVE_COPYSIGN, HAVE_COPYSIGNL,
758 HAVE_COPYSIGNF, GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT, need_libmath.
759 * configure.ac: Same.
760 * configure: Regenerate.
761 * fragment.am: Fix comment.
762 * config.h.in: Regenerate.
763 * src/Makefile.in: Regenerate.
764 * src/Makefile.am: Remove libmath references.
765 * doc/Makefile.in: Regenerate.
766 * po/Makefile.in: Regenerate.
767 * include/Makefile.in: Regenerate.
768 * libsupc++/Makefile.in: Regenerate.
769 * testsuite/Makefile.in: Regenerate.
771 * src/compatibility.cc: Also export long double versions of "C" math
772 library if hppa-linux.
773 * config/abi/pre/gnu.ver: Remove unused __signbit exports.
774 * doc/xml/manual/appendix_contributing.xml: Remove libmath reference.
777 * libmath/signbit.c: Same.
778 * libmath/stubs.c: Same.
779 * libmath/Makefile.in: Same.
780 * libmath/copysignf.c: Same.
781 * libmath/mathconf.h: Same.
782 * libmath/signbitf.c: Same.
783 * libmath/Makefile.am: Same.
784 * libmath/signbitl.c: Same.
786 2009-01-15 Chris Fairles <cfairles@gcc.gnu.org>
787 Paolo Carlini <paolo.carlini@oracle.com>
789 * acinclude.m4 ([GLIBCXX_ENABLE_CLOCK_GETTIME],
790 [GLIBCXX_CHECK_NANOSLEEP]): Remove.
791 ([GLIBCXX_ENABLE_LIBSTDCXX_TIME]): Add.
792 * configure.ac: Adjust.
793 * doc/xml/manual/configure.xml: Update.
794 * testsuite/lib/libstdc++.exp (check_v3_target_sched_yield): Add.
795 * testsuite/lib/dg-options.exp (dg-require-sched-yield): Add.
796 * testsuite/30_threads/thread/this_thread/2.cc: Use the latter.
797 * configure: Regenerate.
798 * config.h.in: Likewise.
800 * src/thread.cc (thread::thread(), thread::~thread, thread::get_id,
801 thread::joinable, thread::swap, this_thread::get_id,
802 this_thread::yield): Define inline...
803 * include/std/thread: ... here.
804 * config/abi/pre/gnu.ver: Adjust.
806 2009-01-13 Uros Bizjak <ubizjak@gmail.com>
808 * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc:
809 Add dg-timeout-factor 2.0.
810 * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Ditto.
811 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Ditto.
812 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Ditto.
813 * testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Ditto.
814 * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Ditto.
815 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Ditto.
817 2009-01-13 Uros Bizjak <ubizjak@gmail.com>
819 * scripts/extract_symvers: Add sed script to remove ' [<other>: xx] '
820 field from readelf output.
822 2009-01-12 Benjamin Kosnik <bkoz@redhat.com>
825 * crossconfig.m4 (hpux): Update for 10.20, 11, 11.20.
826 * configure: Regenerate.
828 2009-01-12 Benjamin Kosnik <bkoz@redhat.com>
830 * crossconfig.m4 (linux): Add GCC_CHECK_TLS to define
832 Use GLIBCXX_CHECK_COMPILER_FEATURES to compute SECTION_FLAGS.
834 2009-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
836 * include/tr1_impl/regex (basic_regex::basic_regex): Use range
837 constructor for _M_pattern.
838 * testsuite/tr1/7_regular_expressions/basic_regex/ctors/char/
839 string.cc: Test construction from different basic_string type.
840 * testsuite/tr1/7_regular_expressions/basic_regex/ctors/wchar_t/
843 2009-01-07 Benjamin Kosnik <bkoz@redhat.com>
844 Jonathan Larmour <jifl@eCosCentric.com>
847 * config/cpu/generic/atomicity_mutex/atomicity.h (get_atomic_mutex):
849 (__gnu_cxx::__exchange_and_add): Use it.
850 * src/atomic.cc (get_atomic_mutex): New.
851 * src/debug.cc (get_safe_base_mutex): New.
852 * src/locale.cc (get_locale_cache_mutex): New.
853 * src/mt_allocator.cc (get_freelist): New.
854 (get_freelist_mutex): New.
855 * src/pool_allocator.cc (get_palloc_mutex): New.
856 * include/std/mutex (__once_functor_lock): To
857 (__get_once_functor_lock): ...this.
858 * src/mutex.cc (__once_mutex): Don't export, use
859 (get_once_mutex): ...this.
860 * config/abi/pre/gnu.ver: Adjust exports.
862 2009-01-07 Jakub Jelinek <jakub@redhat.com>
865 * libsupc++/unwind-cxx.h (__cxxabiv1::__cxa_exception): Remove
866 referenceCount field again.
867 (__cxxabiv1::__cxa_refcounted_exception): New struct.
868 (__cxxabiv1::__get_refcounted_exception_header_from_obj,
869 __cxxabiv1::__get_refcounted_exception_header_from_ue): New static
871 * libsupc++/eh_alloc.cc (__cxxabiv1::__cxa_allocate_exception,
872 __cxxabiv1::__cxa_free_exception): Use __cxa_refcounted_exception
873 instead of __cxa_exception.
874 * libsupc++/eh_throw.cc (__gxx_exception_cleanup,
875 __cxxabiv1::__cxa_throw): Likewise.
876 * libsupc++/eh_ptr.cc (std::rethrow_exception,
877 std::__exception_ptr::exception_ptr::_M_addref,
878 std::__exception_ptr::exception_ptr::_M_release,
879 __gxx_dependent_exception_cleanup): Likewise.
880 * testsuite/18_support/exception/38732.cc: New test.
883 * acinclude.m4 (HAVE_AS_SYMVER_DIRECTIVE): New test.
884 * src/compatibility.cc: Don't use .symver directives if
885 _GLIBCXX_HAVE_AS_SYMVER_DIRECTIVE is not defined.
886 * config.h.in: Regenerated.
887 * configure: Likewise.
889 2009-01-07 Paolo Carlini <paolo.carlini@oracle.com>
892 * include/bits/stl_pair.h: Document C++03 pair vs swap.
894 2009-01-06 Benjamin Kosnik <bkoz@redhat.com>
896 * src/locale_init.cc (locale::_S_initialize_once): Move construction
898 (locale::classic): Here.
900 2009-01-06 Jonathan Wakely <jwakely.gcc@gmail.com>
902 * include/tr1_impl/regex: Fix bad return statements and typos.
904 2009-01-05 Benjamin Kosnik <bkoz@redhat.com>
906 * include/tr1_impl/regex: Remove unimplemented function definitions.
907 * testsuite/28_regex/init-list.cc: Compile only.
908 * testsuite/tr1/7_regular_expressions/regex/cons/char/
909 c_string_extended.cc: Same.
910 * testsuite/tr1/7_regular_expressions/basic_regex/assign/*: Same.
911 * testsuite/tr1/7_regular_expressions/basic_regex/ctors/*: Same.
913 2009-01-05 Benjamin Kosnik <bkoz@redhat.com>
916 * crossconfig.m4: Define HAVE_FABSF for hpux crosses.
917 * configure: Regenerate.
919 2009-01-05 Ben Elliston <bje@au.ibm.com>
921 * configure.ac (GLIBCXX_CHECK_STANDARD_LAYOUT): Remove invocation.
922 * configure: Regenerate.
924 2009-01-05 Ben Elliston <bje@au.ibm.com>
926 * configure.ac: Exchange the order of GLIBCXX_ENABLE_THREADS and
927 GLIBCXX_ENABLE_ATOMIC_BUILTINS macro invocations.
928 * configure: Regenerate.
930 2009-01-04 Richard Guenther <rguenther@suse.de>
933 * include/ext/pointer.h (_Relative_pointer_impl): Use an unsigned
934 integer type for storage, arithmetic and comparisons.
935 * testsuite/ext/ext_pointer/1_neg.cc: Adjust line numbers.
937 2009-01-04 Paolo Carlini <paolo.carlini@oracle.com>
940 * include/bits/forward_list.h (_Fwd_list_iterator<>::_M_next,
941 _Fwd_list_const_iterator::_M_next): Fix return type.
943 2009-01-03 Paolo Carlini <paolo.carlini@oracle.com>
945 * Revert last commit, reopen and suspend libstdc++/38678.
947 2009-01-01 Paolo Carlini <paolo.carlini@oracle.com>
950 * include/std/istream (basic_istream<>::_M_read): New.
951 * include/bits/istream.tcc (basic_istream<>::_M_read): Define.
952 (basic_istream<>::read, basic_istream<>::readsome): Use it.
953 * include/std/ostream (basic_ostream<>::_M_write_): New.
954 (basic_ostream<>::_M_write): Adjust.
955 * include/bits/ostream.tcc (basic_ostream<>::_M_write_): Define.
956 * testsuite/27_io/basic_istream/read/char/38678.cc: New.
957 * testsuite/27_io/basic_istream/read/wchar_t/38678.cc: Likewise.
958 * testsuite/27_io/basic_ostream/write/char/38678.cc: Likewise.
959 * testsuite/27_io/basic_ostream/write/wchar_t/38678.cc: Likewise.
961 2008-12-22 Jonathan Larmour <jifl@eCosCentric.com>
963 * include/ext/concurrence.h: Fix __gthread_cond_t initialisation
966 2008-12-22 Benjamin Kosnik <bkoz@redhat.com>
968 * doc/doxygen/stdheader.cc: Add cstdlib.
969 * doc/doxygen/user.cfg.in: Regenerate for doxygen 1.5.7.
971 2008-12-21 Andrew Pinski <pinskia@gmail.com>
974 * configure: Regenerate.
976 2008-12-21 Paolo Carlini <paolo.carlini@oracle.com>
979 * include/tr1_impl/functional (function<>::target,
980 function<>::target_type): Provide only when __GXX_RTTI is defined.
981 (_Function_base::_M_manager, _Ref_manager<>::_M_manager,
982 _Function_handler<void(_ArgTypes...), _Member _Class::*>::_M_manager):
985 2008-12-19 Ben Elliston <bje@au.ibm.com>
987 * acinclude.m4: Guard a variable test against an empty string.
988 * configure: Regenerate.
990 2008-12-18 Jack Howarth <howarth@bromo.med.uc.edu>
992 * testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc:
993 Add xfail on all targets except darwin.
994 * libstdc++-v3/testsuite/21_strings/basic_string/element_access/char/
996 * libstdc++-v3/testsuite/22_locale/ctype/is/char/2.cc: Correct syntax
997 for xfailing on all targets except linux.
999 2008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1001 * configure: Regenerate.
1003 2008-12-17 Jack Howarth <howarth@bromo.med.uc.edu>
1005 * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
1006 Don't xfail test on darwin8 or later.
1008 2008-12-16 Jack Howarth <howarth@bromo.med.uc.edu>
1010 * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
1011 Don't xfail excessive errors on darwin8 or later.
1013 2008-12-15 Benjamin Kosnik <bkoz@redhat.com>
1015 * include/c_global/cstdatomic: Remove assert include.
1016 * include/debug/debug.h: Consolidate __replacement_assert...
1017 * include/parallel/base.h: Consolidate __replacement_assert...
1018 * include/bits/c++config: ...here.
1019 * include/bits/atomic_0.h: Use it.
1020 * include/bits/atomic_2.h: Same.
1021 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers.
1022 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
1024 2008-12-13 Benjamin Kosnik <bkoz@redhat.com>
1026 * src/atomic.cc: Revert last change.
1027 * include/bits/atomic_2.h: Move cassert include to...
1028 * include/c_global/cstdatomic: ...here.
1029 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers.
1030 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
1032 2008-12-12 Benjamin Kosnik <bkoz@redhat.com>
1034 * src/Makefile.am: Remove -x c++ for atomic build rules.
1035 * src/Makefile.in: Regenerate.
1036 * src/atomic.cc: Move mutex include before cstdatomic.
1038 2008-12-12 H.J. Lu <hongjiu.lu@intel.com>
1041 * testsuite/util/regression/trait/assoc/type_trait.hpp
1042 (regression_test_type_traits): Add const to pair_type_rebind.
1044 2008-12-12 Benjamin Kosnik <bkoz@redhat.com>
1046 * src/atomic.cc: Correct guards to match mutex.cc.
1048 2008-12-11 Benjamin Kosnik <bkoz@redhat.com>
1049 Richard Henderson <rth@redhat.com>
1051 * include/c_global/cstdatomic: Update to N2798.
1052 (atomic): Remove explicit constructors as per DR 845.
1053 * include/bits/atomic_0.h: New. Switchable implementation.
1054 * include/bits/atomic_2.h: New. Lock-free implementation.
1055 * include/c_compatibility/stdatomic.h: Use foward headers.
1056 * include/bits/atomicfwd_cxx.h: New.
1057 * include/bits/atomicfwd_c.h: New.
1058 * src/atomic.cc: Adjust.
1059 * acinclude.m4 (GLIBCXX_CHECK_STANDARD_LAYOUT): Remove,
1060 unconditionally use default/deleted syntax.
1061 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Check for 2, 8.
1062 * include/Makefile.am (bits_headers): Add atomicfwd_c.h,
1063 atomicfwd_cxx.h, atomic_0.h, atomic_2.h.
1064 * include/Makefile.in: Regenerate.
1065 * configure: Regenerate.
1066 * config.h.in: Regenerate.
1067 * config/abi/pre/gnu.ver: Adjust exports.
1069 * testsuite/27_io/ios_base/types/fmtflags/bitmask_operators.cc: Adjust.
1070 * testsuite/27_io/ios_base/types/openmode/bitmask_operators.cc: Same.
1071 * testsuite/27_io/ios_base/types/iostate/bitmask_operators.cc: Same.
1072 * testsuite/29_atomics/atomic_address/cons/assign_neg.cc: Same.
1073 * testsuite/29_atomics/atomic_address/cons/explicit_value.cc: Move to..
1074 * testsuite/29_atomics/atomic_address/cons/single_value.cc: ...this.
1075 * testsuite/29_atomics/atomic_address/cons/copy_neg.cc
1076 * testsuite/29_atomics/atomic_integral/cons/single_value.cc: New.
1077 * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: New.
1078 * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: New.
1079 * testsuite/29_atomics/atomic_integral/cons/default.cc: New.
1080 * testsuite/29_atomics/atomic_integral/cons/direct_list.cc: New.
1081 * testsuite/29_atomics/atomic_integral/cons/copy_list.cc: New.
1082 * testsuite/29_atomics/atomic_integral/requirements/
1083 standard_layout.cc: New.
1084 * testsuite/29_atomics/atomic_integral/operators/
1085 integral_assignment.cc: New.
1086 * testsuite/29_atomics/atomic_integral/operators/increment_neg.cc: New.
1087 * testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc: New.
1088 * testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc: New.
1089 * testsuite/29_atomics/atomic_integral/operators/increment.cc: New.
1090 * testsuite/29_atomics/atomic_integral/operators/decrement.cc: New.
1091 * testsuite/29_atomics/atomic_integral/operators/bitwise.cc: New.
1092 * testsuite/29_atomics/atomic_integral/operators/
1093 integral_conversion.cc: New.
1094 * testsuite/29_atomics/atomic_flag/cons/assign_neg.cc: Adjust.
1095 * testsuite/29_atomics/atomic_flag/cons/copy_neg.cc: Same.
1096 * testsuite/29_atomics/atomic_flag/requirements/
1097 standard_layout.cc: Same.
1098 * testsuite/29_atomics/atomic_flag/
1099 atomic_global_fence_compatibility.cc: Kill.
1100 * testsuite/29_atomics/headers/cstdatomic/types_std_c++0x.cc: Adjust.
1101 * testsuite/29_atomics/headers/cstdatomic/functions_std_c++0x.cc: Same.
1102 * testsuite/29_atomics/headers/cstdatomic/macros.cc: Same.
1103 * testsuite/29_atomics/headers/stdatomic.h/macros.c: Same.
1104 * testsuite/29_atomics/headers/stdatomic.h/types.c: Same.
1105 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
1106 * testsuite/29_atomics/atomic/cons/explicit_value.cc: Move to...
1107 * testsuite/29_atomics/atomic/cons/single_value.cc: ...this.
1108 * testsuite/29_atomics/atomic/cons/copy_neg.cc
1109 * testsuite/29_atomics/atomic/cons/direct_list.cc: New.
1110 * testsuite/29_atomics/atomic/cons/copy_list.cc: New.
1111 * testsuite/29_atomics/atomic/requirements/standard_layout.cc: New.
1112 * testsuite/29_atomics/atomic/requirements/base_classes.cc: New.
1113 * testsuite/29_atomics/atomic/operators/integral_assignment.cc: New.
1114 * testsuite/29_atomics/atomic/operators/integral_conversion.cc: New.
1115 * testsuite/util/testsuite_hooks.h (bitmask_operators): Move...
1116 * testsuite/util/testsuite_common_types.h: ...here.
1117 (atomic_integrals_no_bool): New.
1118 (atomic_integrals): New.
1119 (has_increment_operators, has_decrement_operators)
1120 (direct_list_initializable, single_value_constructible)
1121 (standard_layout, has_bitwise_operators, integral_convertable)
1122 (integral_assignable): Add.
1124 2008-12-11 Jakub Jelinek <jakub@redhat.com>
1127 * testsuite/26_numerics/headers/cmath/37582.cc: New.
1129 2008-12-08 Paolo Carlini <paolo.carlini@oracle.com>
1131 * include/tr1_impl/cmath: Undef remquof / remquol too; add using
1133 * acinclude.m4 [GLIBCXX_CHECK_C99_TR1]: Check remquof / remquol too.
1134 * testsuite/tr1/8_c_compatibility/cmath/functions.cc: Adjust.
1135 * configure: Regenerate.
1137 2008-12-08 Edward Smith-Rowland <3dw4rd@verizon.net>
1139 * include/bits/forward_list.h: Fixed spurious "forward_swap" in doxy.
1141 2008-12-06 Paolo Carlini <paolo.carlini@oracle.com>
1144 * include/tr1/ell_integral.tcc: Avoid __ea, future SPU badname.
1145 * doc/xml/manual/appendix_contributing.xml: Add __ea to the list
1148 2008-12-05 Tom Tromey <tromey@redhat.com>
1150 * include/tr1_impl/functional (_Mu): Fix typo.
1152 2008-12-05 Paolo Carlini <paolo.carlini@oracle.com>
1155 * include/bits/locale_facets_nonio.tcc (money_get<>::
1156 _M_extract(iter_type, iter_type, ios_base&, ios_base::iostate&,
1157 string&)): Fix, reject decimal point when frac_digits <= 0.
1158 * testsuite/22_locale/money_get/get/char/38399.cc: New.
1159 * testsuite/22_locale/money_get/get/wchar_t/38399.cc: Likewise.
1160 * testsuite/22_locale/money_get/get/char/5.cc: Adjust.
1161 * testsuite/22_locale/money_get/get/wchar_t/5.cc: Likewise.
1163 2008-12-05 Paolo Carlini <paolo.carlini@oracle.com>
1166 * testsuite/22_locale/numpunct/members/char/2.cc: Use is_IS instead
1168 * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Likewise.
1169 * testsuite/22_locale/locale/cons/7.cc: Likewise.
1171 2008-12-04 Paolo Carlini <paolo.carlini@oracle.com>
1174 * config/locale/gnu/numeric_members.cc (numpunct<char>::
1175 _M_initialize_numpunct, numpunct<wchar_t>::_M_initialize_numpunct):
1176 Fix for THOUSANDS_SEP == '\0' consistently with "C" locale.
1177 * config/locale/gnu/monetary_members.cc (moneypunct<char, true>::
1178 _M_initialize_moneypunct, moneypunct<char, false>::
1179 _M_initialize_moneypunct, moneypunct<wchar_t, true>::
1180 _M_initialize_moneypunct, moneypunct<wchar_t, false>::
1181 _M_initialize_moneypunct): Fix for __MON_DECIMAL_POINT == '\0' or
1182 __MON_THOUSANDS_SEP == '\0' consistently with "C" locale.
1183 * testsuite/22_locale/locale/cons/38368.cc: New.
1185 2008-12-02 Paolo Carlini <paolo.carlini@oracle.com>
1187 PR libstdc++/38365 (cont)
1188 * src/localename.cc (locale::locale(const locale&, const locale&,
1189 category)): Revert last changes.
1190 (locale::_Impl::_M_replace_categories(const _Impl*, category)):
1191 Fix here instead; rework.
1193 2008-12-02 Paolo Carlini <paolo.carlini@oracle.com>
1196 * src/localename.cc (locale::locale(const locale&, const locale&,
1198 * testsuite/22_locale/locale/cons/38365.cc: New.
1200 2008-12-01 Benjamin Kosnik <bkoz@redhat.com>
1203 * include/std/iostream: Correct URL.
1204 * include/std/streambuf: Same.
1205 * include/std/bitset: Same.
1206 * include/std/iosfwd: Same.
1207 * include/std/fstream: Same.
1208 * include/std/istream: Same.
1209 * include/std/ostream: Same.
1210 * include/std/sstream: Same.
1211 * include/bits/basic_ios.h: Same.
1212 * include/bits/stl_map.h: Same.
1213 * include/bits/stl_set.h: Same.
1214 * include/bits/stl_multimap.h: Same.
1215 * include/bits/ios_base.h: Same.
1216 * include/bits/stl_multiset.h: Same.
1217 * include/bits/char_traits.h: Same.
1218 * include/bits/stl_relops.h: Same.
1219 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
1220 * testsuite/27_io/ios_base/cons/copy_neg.cc: Ditto.
1222 2008-11-26 Janis Johnson <janis187@us.ibm.com>
1225 * testsuite/lib/libstdc++.exp: Include new timeout library files.
1226 (libstdc++_init): Define tool_timeout.
1227 (dg-test): Override DejaGnu proc.
1228 (v3_target_compile): Set timeout value from new proc.
1229 (v3_target_compile_as_c): Ditto.
1231 2008-11-24 Paolo Carlini <paolo.carlini@oracle.com>
1233 PR libstdc++/38244 (cont, debug bits)
1234 * include/debug/bitset (bitset<>::bitset(const char*, char, char)):
1235 Remove, do not implement DR 778.
1237 2008-11-24 Paolo Carlini <paolo.carlini@oracle.com>
1240 * include/std/bitset (bitset<>::bitset(const char*, char, char)):
1241 Remove, do not implement DR 778.
1242 * doc/xml/manual/intro.xml: Remove entry for DR 778.
1243 * testsuite/23_containers/bitset/cons/2.cc: Remove.
1244 * testsuite/23_containers/bitset/cons/dr396.cc: Tweak.
1245 * testsuite/23_containers/bitset/cons/38244.cc: Add.
1247 2008-11-21 Paolo Carlini <paolo.carlini@oracle.com>
1249 * testsuite/22_locale/num_put/put/char/38210.cc: Tweak.
1250 * testsuite/22_locale/num_put/put/wchar_t/38210.cc: Likewise.
1252 2008-11-21 Paolo Carlini <paolo.carlini@oracle.com>
1255 * include/bits/locale_facets.tcc (num_put<>::do_put(iter_type,
1256 ios_base&, char_type, const void*)): Fix.
1257 * testsuite/22_locale/num_put/put/char/38210.cc: New.
1258 * testsuite/22_locale/num_put/put/wchar_t/38210.cc: Likewise.
1260 2008-11-20 Paolo Carlini <paolo.carlini@oracle.com>
1263 * include/bits/locale_facets.tcc (num_put<>::do_put(iter_type,
1264 ios_base&, char_type, bool)): Fix.
1265 * testsuite/22_locale/num_put/put/char/38196.cc: New.
1266 * testsuite/22_locale/num_put/put/wchar_t/38196.cc: Likewise.
1268 2008-11-18 Paolo Carlini <paolo.carlini@oracle.com>
1270 * include/tr1_impl/cinttypes: Remove redundant pragma system_header.
1271 * include/tr1_impl/cfenv: Likewise.
1272 * include/tr1_impl/cstdint: Likewise.
1274 2008-11-13 Paolo Carlini <paolo.carlini@oracle.com>
1277 * include/c_global/csignal: Do not use include_next.
1278 * include/c_global/cstdlib: Likewise.
1279 * include/c_global/cstdio: Likewise.
1280 * include/c_global/cstdarg: Likewise.
1281 * include/c_global/cctype: Likewise.
1282 * include/c_global/cerrno: Likewise.
1283 * include/c_global/cmath: Likewise.
1284 * include/c_global/clocale: Likewise.
1285 * include/c_global/climits: Likewise.
1286 * include/c_global/cassert: Likewise.
1287 * include/c_global/csetjmp: Likewise.
1288 * include/c_global/cwchar: Likewise.
1289 * include/c_global/cfloat: Likewise.
1290 * include/c_global/cstdbool: Likewise.
1291 * include/c_global/cstring: Likewise.
1292 * include/c_global/cstddef: Likewise.
1293 * include/c_global/cwctype: Likewise.
1294 * include/tr1/cstdbool: Likewise.
1295 * include/tr1_impl/cinttypes: Do not include <inttypes.h>.
1296 * include/c_global/cinttypes: Do it here.
1297 * include/tr1/cinttypes: Likewise.
1298 * include/tr1_impl/cfenv: Do not include <fenv.h>.
1299 * include/c_global/cfenv: Do it here.
1300 * include/tr1/cfenv: Likewise.
1301 * include/tr1_impl/cstdint: Do not include <stdint.h>.
1302 * include/c_global/cstdint: Do it here.
1303 * include/tr1/cstdint: Likewise.
1304 * include/c_compatibility/fenv.h: Include <tr1_impl/cfenv>.
1305 * include/c_compatibility/stdint.h: Include <tr1_impl/cstdint>.
1306 * include/c_compatibility/inttypes.h: Include <tr1_impl/cinttypes>.
1308 * include/c_compatibility/math.h: Minor tweak, add comment.
1310 2008-11-12 Steve Ellcey <sje@cup.hp.com>
1312 * configure.ac: Move call to GCC_CHECK_UNWIND_GETIPINFO.
1313 * configure: Regenerate to get new GCC_CHECK_UNWIND_GETIPINFO.
1315 2008-11-12 Paolo Carlini <paolo.carlini@oracle.com>
1317 PR libstdc++/37986 (cont)
1318 * include/tr1_impl/random (struct _Adaptor): Use only remove_reference
1320 (struct _Adaptor<_Engine*, _Distribution>): Add.
1321 * testsuite/tr1/5_numerical_facilities/random/variate_generator/
1324 2008-11-11 Paolo Carlini <paolo.carlini@oracle.com>
1327 * include/tr1_impl/random (struct _Adaptor): Use remove_pointer
1328 and remove_reference on _Engine.
1329 * testsuite/tr1/5_numerical_facilities/random/variate_generator/
1332 2008-11-11 Paolo Carlini <paolo.carlini@oracle.com>
1334 * testsuite/ext/ext_pointer/1_neg.cc: Adjust dg-error line numbers.
1336 2008-11-11 Paolo Carlini <paolo.carlini@oracle.com>
1338 * testsuite/23_containers/vector/ext_pointer/modifiers/erase.cc: Fix.
1339 * testsuite/23_containers/vector/ext_pointer/modifiers/element.cc:
1342 2008-11-11 Bob Walters <bob.s.walters@gmail.com>
1344 * include/bits/forward_list.h: Support non-standard pointer types
1345 (_Fwd_list_node_base): Add _Alloc template parameter.
1346 (_Fwd_list_node<>): Likewise.
1347 (_Fwd_list_iterator<>): Likewise.
1348 (_Fwd_list_const_iterator<>): Likewise.
1349 (_Fwd_list_node_base::_M_next, _M_transfer_after, _M_reverse_after):
1350 Use _Alloc<_Tp>::pointer.
1351 (_Fwd_list_iterator<>::_M_node): Use _Node_base::_Pointer.
1352 (_Fwd_list_base<>::_M_get_node, _M_create_node, _M_create_node,
1353 _M_insert_after, _M_put_node, _M_erase_after): Likewise.
1354 (_Fwd_list_const_iterator<>::_M_node): use _Node_base::_Const_pointer.
1355 (forward_list<>): Use __static_pointer_cast in place of static_cast,
1356 and __const_pointer_cast in place of const_cast.
1357 * include/bits/forward_list.tcc
1358 (_Fwd_list_node<>::_M_sort_after): Using _Pointer typedefs in place
1359 of standard pointers, __static_pointer_cast in place of static_cast.
1360 (_Fwd_list_base<>::_Fwd_list_base, _M_insert_after, _M_erase_after):
1362 (forward_list<>::_M_initialize_dispatch, _M_fill_initialize,
1363 splice_after, remove, remove_if, merge): Likewise.
1364 * testsuite/23_containers/forward_list/ext_pointer/modifiers/1.cc: New.
1365 * testsuite/23_containers/forward_list/ext_pointer/modifiers/2.cc:
1367 * testsuite/23_containers/forward_list/ext_pointer/modifiers/3.cc:
1369 * testsuite/23_containers/forward_list/ext_pointer/modifiers/4.cc:
1371 * testsuite/23_containers/forward_list/ext_pointer/modifiers/5.cc:
1373 * testsuite/23_containers/forward_list/ext_pointer/operations/1.cc:
1375 * testsuite/23_containers/forward_list/ext_pointer/operations/2.cc:
1377 * testsuite/23_containers/forward_list/ext_pointer/operations/3.cc:
1379 * testsuite/23_containers/forward_list/ext_pointer/operations/4.cc:
1381 * testsuite/23_containers/forward_list/ext_pointer/operations/5.cc:
1383 * testsuite/23_containers/forward_list/ext_pointer/operations/6.cc:
1385 * testsuite/23_containers/forward_list/ext_pointer/operations/7.cc:
1387 * testsuite/23_containers/forward_list/ext_pointer/requirements/1.cc:
1389 * testsuite/23_containers/forward_list/ext_pointer/requirements/
1390 explicit_instantiation/1.cc: Likewise.
1391 * testsuite/23_containers/forward_list/ext_pointer/requirements/
1392 explicit_instantiation/3.cc: Likewise.
1393 * testsuite/23_containers/forward_list/ext_pointer/1.cc: Likewise.
1395 2008-11-11 Paolo Carlini <paolo.carlini@oracle.com>
1397 * include/ext/extptr_allocator.h: Minor tweaks.
1398 * include/ext/pointer.h: Likewise.
1399 * include/ext/cast.h: Likewise.
1401 2008-11-10 Paolo Carlini <paolo.carlini@oracle.com>
1404 * config/locale/gnu/monetary_members.cc (moneypunct<>::
1405 _M_initialize_moneypunct(__c_locale, const char*)): Use correct vector
1406 delete for __wcs_ps and __wcs_ns.
1408 2008-11-07 Bob Walters <bob.s.walters@gmail.com>
1410 * include/ext/pointer.h: New, add experimental support for non-standard
1411 pointer types in containers via the allocator::pointer typedef.
1412 (Currently only supported/working with std::vector)
1413 * include/ext/cast.h: New, add overload-able pointer casting functions
1414 for use in containers supporting non-standard pointer types.
1415 * include/ext/extptr_allocator.h: New, add _ExtPtr_allocator.
1416 * include/Makefile.am: Update.
1417 * include/precompiled/extc++.h: Likewise.
1418 * include/Makefile.in: Regenerate.
1419 * testsuite/ext/ext_pointer/1.cc: New.
1420 * testsuite/ext/ext_pointer/1_neg.cc: Likewise.
1421 * testsuite/23_containers/vector/ext_pointer/citerators.cc: New.
1422 * testsuite/23_containers/vector/ext_pointer/data_access.cc: Likewise.
1423 * testsuite/23_containers/vector/ext_pointer/resize.cc: Likewise.
1424 * testsuite/23_containers/vector/ext_pointer/types/1.cc: Likewise.
1425 * testsuite/23_containers/vector/ext_pointer/modifiers/element.cc:
1427 * testsuite/23_containers/vector/ext_pointer/modifiers/erase.cc:
1429 * testsuite/23_containers/vector/ext_pointer/modifiers/insert.cc:
1431 * testsuite/23_containers/vector/ext_pointer/explicit_instantiation/
1433 * testsuite/23_containers/vector/ext_pointer/explicit_instantiation/
1436 2008-11-05 Jonathan Wakely <jwakely.gcc@gmail.com>
1440 * include/tr1_impl/functional (result_of,reference_wrapper): Update
1441 to use C++0x features.
1442 * testsuite/20_util/function_objects/return_types/result_of.cc: New.
1443 * testsuite/20_util/function_objects/return_types/result_of_neg.cc:
1445 * testsuite/20_util/function_objects/return_types/result_of_ref.cc:
1447 * testsuite/20_util/reference_wrapper/24803.cc: Uncomment FIXMEs.
1449 2008-11-05 Jonathan Wakely <jwakely.gcc@gmail.com>
1453 * include/tr1_impl/functional (result_of,reference_wrapper): Update
1454 to use C++0x features.
1455 * testsuite/20_util/function_objects/return_types/result_of.cc: New.
1456 * testsuite/20_util/function_objects/return_types/result_of_neg.cc:
1458 * testsuite/20_util/function_objects/return_types/result_of_ref.cc:
1460 * testsuite/20_util/reference_wrapper/24803.cc: Uncomment FIXMEs.
1462 2008-11-03 Paolo Carlini <paolo.carlini@oracle.com>
1464 * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
1465 iter_type, ios_base&, ios_base::iostate&, bool&): Tidy.
1466 * testsuite/22_locale/num_get/get/char/37958.cc: Extend.
1467 * testsuite/22_locale/num_get/get/wchar_t/37958.cc: Likewise.
1469 2008-11-01 Paolo Carlini <paolo.carlini@oracle.com>
1471 PR libstdc++/37958 (cont again)
1472 * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
1473 iter_type, ios_base&, ios_base::iostate&, bool&): Fix again.
1474 * testsuite/22_locale/num_get/get/char/37958.cc: Extend.
1475 * testsuite/22_locale/num_get/get/wchar_t/37958.cc: Likewise.
1477 2008-11-01 Paolo Carlini <paolo.carlini@oracle.com>
1479 * include/bits/locale_facets.tcc (num_get<>::do_get(, long&),
1480 num_get<>::do_get(, unsigned short&),
1481 num_get<>::do_get(, unsigned int&),
1482 num_get<>::do_get(, unsigned long&),
1483 num_get<>::do_get(, long long&),
1484 num_get<>::do_get(, unsigned long long&),
1485 num_put<>::do_put(, long), num_put<>::do_put(, unsigned long),
1486 num_put<>::do_put(, long long),
1487 num_put<>::do_put(, unsigned long long)): Move inline...
1488 * include/bits/locale_facets.h: ... here.
1490 2008-11-01 Paolo Carlini <paolo.carlini@oracle.com>
1492 PR libstdc++/37958 (cont)
1493 * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
1494 iter_type, ios_base&, ios_base::iostate&, bool&): Fix again.
1496 2008-11-01 Jonathan Wakely <jwakely.gcc@gmail.com>
1498 * include/bits/shared_ptr.h: Update comparisons to match WP.
1499 (_Sp_counted_ptr): Make copy and assignment members deleted.
1500 (_Sp_counted_deleter): Remove private copy and assignment members.
1501 (__shared_count::_M_less,__weak_count::_M_less,operator<): Replace
1502 friend operator< with overloaded _M_less member functions to allow
1503 comparison with either shared_count or weak_count.
1504 (__shared_ptr::_M_less,__weak_ptr::_M_less): Replace with...
1505 (__shared_ptr::owner_before,__weak_ptr::owner_before): New overloads
1506 for ownership-based ordering.
1507 (operator<(__shared_ptr,__shared_ptr)): Compare stored pointers,
1509 (operator==(__shared_ptr,__shared_ptr)): Make non-friend.
1510 (operator!=(__shared_ptr,__shared_ptr)): Likewise.
1511 (less<__shared_ptr<>>,less<shared_ptr<>>,_Sp_less): Explicitly call
1512 pointer specialization.
1513 (__weak_ptr::operator<,weak_ptr::operator<=,weak_ptr::operator>,
1514 weak_ptr::operator>=): Remove operator< and delete all comparisons.
1515 (_Sp_owner_less,owner_less): Predicate for ownership-based ordering.
1516 (operator<(shared_ptr,shared_ptr): Overload for derived shared_ptr.
1517 (operator==(shared_ptr,shared_ptr): Likewise.
1518 (operator!=(shared_ptr,shared_ptr): Likewise.
1519 (swap(shared_ptr,shared_ptr)): Fix parameter types.
1520 (swap(weak_ptr,weak_ptr)): Add missing overload.
1521 * testsuite/20_util/owner_less/cmp.cc: New.
1522 * testsuite/20_util/shared_ptr/comparison/cmp.cc: Test other ops.
1523 * testsuite/20_util/shared_ptr/comparison/less.cc: New.
1524 * testsuite/20_util/shared_ptr/observers/owner_before.cc: New.
1525 * testsuite/20_util/weak_ptr/observers/owner_before.cc: New.
1526 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: New.
1528 2008-10-31 Paolo Carlini <paolo.carlini@oracle.com>
1531 * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
1532 iter_type, ios_base&, ios_base::iostate&, bool&): Fix.
1533 * testsuite/22_locale/num_get/get/char/37958.cc: New.
1534 * testsuite/22_locale/num_get/get/wchar_t/37958.cc: Likewise.
1536 2008-10-27 Paolo Carlini <paolo.carlini@oracle.com>
1540 2008-10-18 Douglas Gregor <doug.gregor@gmail.com>
1542 * include/bits/stl_pair.h (__may_be_null_pointer_init): New.
1543 (pair::pair): Eliminate the redundant pair(U1&&, U2&&) constructor.
1544 Add lvalue pair<U1, U2> constructor to handle non-const pair lvalues.
1545 Remove the old variadic constructor, and instead provide several
1546 variadic constructors that avoid failing when attempting to
1547 initialize a pointer from a null pointer constant.
1548 * testsuite/20_util/pair/moveable.cc (test3): Add new tests with
1549 initialization of pointers from the null pointer constant.
1551 2008-10-27 Paolo Carlini <paolo.carlini@oracle.com>
1554 * config/os/mingw32/os_defines.h: Define _GLIBCXX_HAVE_BROKEN_VSWPRINTF
1555 * include/bits/basic_string.h: Guard string conversions with
1556 !defined(_GLIBCXX_HAVE_BROKEN_VSWPRINTF) too.
1557 * testsuite/lib/libstdc++.exp (check_v3_target_string_conversions):
1559 * testsuite/lib/dg-options.exp (dg-require-string-conversions): New.
1560 * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
1562 * testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc:
1564 * testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
1566 * testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
1568 * testsuite/21_strings/basic_string/numeric_conversions/char/
1569 stoull.cc: Likewise.
1570 * testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc:
1572 * testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
1574 * testsuite/21_strings/basic_string/numeric_conversions/char/
1575 to_string.cc: Likewise.
1576 * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
1579 2008-10-24 Paolo Carlini <paolo.carlini@oracle.com>
1581 * config/os/generic/error_constants.h (enum errc): Remove
1582 no_posix_equivalent.
1583 * config/os/mingw32/error_constants.h (enum errc): Likewise.
1584 * testsuite/19_diagnostics/headers/system_error/errc_std_c++0x.cc:
1587 2008-10-24 Jakub Jelinek <jakub@redhat.com>
1589 * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Remove dejagnu.
1590 (RUNTESTDEFAULTFLAGS, EXPECT, check_DEJAGNU_normal_targets): New
1592 (%/site.exp, check-DEJAGNU%): New targets.
1593 (check-am): Run $(MAKE) check-DEJAGNU.
1594 * testsuite/Makefile.in: Regenerated.
1596 2008-10-23 Chris Fairles <cfairles@gcc.gnu.org>
1598 * config/os/generic/error_constants.h (errc): Use long type.
1599 * config/os/mingw32/error_constants.h (errc): Likewise.
1601 2008-10-22 Chris Fairles <cfairles@gcc.gnu.org>
1603 * include/std/system_error (is_error_code_enum): Specialize for errc.
1604 (error_category::error_category): Defaulted and protected.
1605 (error_category::~error_category): New, virtual.
1606 (error_category::error_category(const error_category&),
1607 error_category::operator=(const error_category&)): Deleted.
1608 (get_system_category, get_posix_category): Remove (DR 890).
1609 (system_category): External linkage (DR 890).
1610 (posix_category): Remove.
1611 (generic_category): Add. External linkage (DR 890).
1612 (error_code::error_code<>(_ErrorCodeEnum)): Use generic_category.
1613 (error_code::clear, error_code::operator=<>(_ErrorCodeEnum)): Forward to
1614 error_code::assign, use generic_category.
1615 (error_condition::error_condition,
1616 error_condition::error_condition<>(_ErrorConditionEnum)): Use
1618 (error_condition::clear,
1619 error_condition::operator=<>(_ErrorConditionEnum)): Forward to
1620 error_code::assign, use generic_category.
1621 (make_error_code, make_error_condition): Define in namespace std.
1622 * include/std/mutex (unique_lock<>::lock, unique_lock<>::try_lock,
1623 unique_lock<>::try_lock_until<>(duration),
1624 unique_lock<>::try_lock_for<>(duration)): Replace posix_error with errc.
1625 * src/system_error.cc (system_error_category, generic_error_category):
1627 (gnu_error_category): Remove.
1628 (get_system_category, get_posix_category): Remove (DR 890).
1629 (system_category, generic_category): Define.
1630 * src/functexcept.cc (__throw_system_error): Use generic_category.
1631 * config/abi/pre/gnu.ver: Export system_category and generic_category,
1632 remove get_system_category and get_generic_category (DR 890).
1633 * config/os/generic/error_constants.h (posix_errno): Rename to errc, use
1634 enum class type. Fix spelling.
1635 * config/os/mingw32/error_constants.h (posix_errno): Likewise.
1636 * testsuite/19_diagnostics/error_code/cons/1.cc: Use errc and
1638 * testsuite/19_diagnostics/error_code/operators/bool.cc: Use errc.
1639 * testsuite/19_diagnostics/error_code/operators/equal.cc: Likewise.
1640 * testsuite/19_diagnostics/error_code/operators/not_equal.cc: Likewise.
1641 * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Update
1642 dg-error line numbers.
1643 * testsuite/19_diagnostics/error_condition/cons/1.cc: Use
1645 * testsuite/19_diagnostics/error_condition/operators/bool.cc: Use errc.
1646 * testsuite/19_diagnostics/error_condition/operators/equal.cc: Likewise.
1647 * testsuite/19_diagnostics/error_condition/operators/not_equal.cc:
1649 * testsuite/19_diagnostics/headers/system_error/errc_std_c++0x.cc: New.
1650 * testsuite/19_diagnostics/headers/system_error/types_std_c++0x.cc:
1651 Remove using tests since errc is not a namespace.
1652 * testsuite/19_diagnostics/system_error/cons-1.cc: Use errc.
1653 * testsuite/19_diagnostics/system_error/what-4.cc: Likewise.
1654 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/error_code.cc:
1656 * testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc:
1658 * testsuite/30_threads/unique_lock/locking/2.cc: Likewise.
1660 2008-10-20 Paolo Carlini <paolo.carlini@oracle.com>
1662 * include/tr1_impl/hashtable_policy.h (_Hash_node<>::_Hash_node<>
1663 (_Args&&...)): Add in C++0x mode.
1664 * include/tr1_impl/hashtable (_Hashtable<>::_M_allocate_node,
1665 _Hashtable<>::_M_deallocate_node): Use _M_get_Node_allocator in
1668 * include/tr1_impl/hashtable (_Hashtable<>::max_size): Use
1669 Node_allocator for improved accuracy.
1670 * testsuite/tr1/6_containers/unordered_multimap/capacity/
1671 29134-multimap.cc: Adjust.
1672 * testsuite/tr1/6_containers/unordered_multimap/capacity/
1673 29134-map.cc: Likewise.
1674 * testsuite/tr1/6_containers/unordered_multimap/capacity/
1675 29134-multiset.cc: Adjust.
1676 * testsuite/tr1/6_containers/unordered_multimap/capacity/
1677 29134-set.cc: Likewise.
1679 2008-10-19 Paolo Carlini <paolo.carlini@oracle.com>
1681 * include/bits/stl_tree.h (_Rb_tree_node<>::_Rb_tree_node<>
1682 (_Args&&...)): Add in C++0x mode.
1683 (_Rb_tree<>::_M_create_node<>(_Args&&...)): Add in C++0x mode,
1684 use _M_get_Node_allocator.
1685 (_Rb_tree<>::_M_destroy_node(_Link_type): Use _M_get_Node_allocator
1687 * testsuite/23_containers/set/operators/1_neg.cc: Adjust dg-error
1689 * testsuite/23_containers/map/operators/1_neg.cc: Likewise.
1691 2008-10-18 Douglas Gregor <doug.gregor@gmail.com>
1693 * include/bits/stl_pair.h (__may_be_null_pointer_init): New.
1694 (pair::pair): Eliminate the redundant pair(U1&&, U2&&) constructor.
1695 Add lvalue pair<U1, U2> constructor to handle non-const pair lvalues.
1696 Remove the old variadic constructor, and instead provide several
1697 variadic constructors that avoid failing when attempting to
1698 initialize a pointer from a null pointer constant.
1699 * testsuite/20_util/pair/moveable.cc (test3): Add new tests with
1700 initialization of pointers from the null pointer constant.
1702 2008-10-17 Paolo Carlini <paolo.carlini@oracle.com>
1704 * include/bits/forward_list.tcc (forward_list<>::
1705 _M_initialize_dispatch(_InputIterator, _InputIterator, __false_type)):
1708 2008-10-17 Paolo Carlini <paolo.carlini@oracle.com>
1710 * include/bits/forward_list.h (forward_list<>::
1711 forward_list(size_type)): Tweak, use _Base default constructor.
1713 2008-10-17 Paolo Carlini <paolo.carlini@oracle.com>
1715 * include/bits/forward_list.h (forward_list<>::insert_after): Minor
1718 2008-10-16 Edward Smith-Rowland <3dw4rd@verizon.net>
1720 * include/bits/forward_list.h: Factor list construction to dispatch
1722 * include/bits/forward_list.tcc: Likewise.
1723 * testsuite/23_containers/forward_list/modifiers/2.cc:
1725 2008-10-16 Paolo Carlini <paolo.carlini@oracle.com>
1727 * include/bits/forward_list.tcc (operator==): Use auto.
1729 2008-10-16 Paolo Carlini <paolo.carlini@oracle.com>
1731 * include/bits/forward_list.h (_Fwd_list_base<>::_M_insert_after):
1732 Move out of line, tweak to return _Fwd_list_node_base*.
1733 (forward_list<>::insert_after(const_iterator, const _Tp&),
1734 forward_list<>::insert_after(const_iterator, _Tp&&)): Use it.
1735 * include/bits/forward_list.tcc (_Fwd_list_base<>::_M_insert_after):
1738 * include/bits/forward_list.h (forward_list<>): Consistently qualify
1739 calls of base class functions with this->.
1740 * include/bits/forward_list.tcc (forward_list<>): Likewise.
1742 * include/bits/forward_list.h: Move some functions out of line...
1743 * include/bits/forward_list.tcc: ... here.
1745 * include/bits/forward_list.h (forward_list<>::resize(size_type)): Fix.
1747 2008-10-15 Paolo Carlini <paolo.carlini@oracle.com>
1749 * include/bits/forward_list.h: Remove pointless const qualifiers in
1751 * include/bits/forward_list.tcc: Likewise.
1753 * include/bits/forward_list.h (forward_list<>::pointer,
1754 const_pointer, reference, const_reference): Fix, use _Tp_alloc_type.
1755 * testsuite/23_containers/forward_list/requirements/
1756 explicit_instantiation/1.cc: New.
1757 * testsuite/23_containers/forward_list/requirements/
1758 explicit_instantiation/1.cc: Likewise.
1760 2008-10-15 Paolo Carlini <paolo.carlini@oracle.com>
1762 * include/bits/forward_list.h (forward_list<>::max_size): Use
1763 Node_allocator; minor cosmetic changes.
1764 * testsuite/23_containers/forward_list/capacity/1.cc: Adjust.
1766 2008-10-15 Edward Smith-Rowland <3dw4rd@verizon.net>
1768 * include/std/forward_list: New.
1769 * include/bits/forward_list.h: Likewise.
1770 * include/bits/forward_list.tcc: Likewise.
1771 * include/precompiled/stdc++.h: Modified to include forward_list.
1772 * include/Makefile.am: Add forward_list, forward_list.h, and
1774 * include/Makefile.in: Regenerate.
1775 * testsuite/23_containers/forward_list/modifiers/1.cc: New.
1776 * testsuite/23_containers/forward_list/modifiers/2.cc: Likewise.
1777 * testsuite/23_containers/forward_list/modifiers/3.cc: Likewise.
1778 * testsuite/23_containers/forward_list/modifiers/4.cc: Likewise.
1779 * testsuite/23_containers/forward_list/modifiers/5.cc: Likewise.
1780 * testsuite/23_containers/forward_list/cons/1.cc: Likewise.
1781 * testsuite/23_containers/forward_list/cons/2.cc: Likewise.
1782 * testsuite/23_containers/forward_list/cons/3.cc: Likewise.
1783 * testsuite/23_containers/forward_list/cons/4.cc: Likewise.
1784 * testsuite/23_containers/forward_list/cons/5.cc: Likewise.
1785 * testsuite/23_containers/forward_list/cons/6.cc: Likewise.
1786 * testsuite/23_containers/forward_list/cons/7.cc: Likewise.
1787 * testsuite/23_containers/forward_list/cons/8.cc: Likewise.
1788 * testsuite/23_containers/forward_list/cons/9.cc: Likewise.
1789 * testsuite/23_containers/forward_list/requirements/1.cc: Likewise.
1790 * testsuite/23_containers/forward_list/operations/1.cc: Likewise.
1791 * testsuite/23_containers/forward_list/operations/2.cc: Likewise.
1792 * testsuite/23_containers/forward_list/operations/3.cc: Likewise.
1793 * testsuite/23_containers/forward_list/operations/4.cc: Likewise.
1794 * testsuite/23_containers/forward_list/operations/5.cc: Likewise.
1795 * testsuite/23_containers/forward_list/operations/6.cc: Likewise.
1796 * testsuite/23_containers/forward_list/operations/7.cc: Likewise.
1797 * testsuite/23_containers/forward_list/capacity/1.cc: Likewise.
1798 * testsuite/23_containers/forward_list/comparable.cc: Likewise.
1799 * testsuite/23_containers/forward_list/moveable.cc: Likewise.
1800 * testsuite/23_containers/headers/forward_list/synopsis.cc: Likewise.
1801 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Update.
1802 * testsuite/17_intro/headers/c++200x/all: Likewise.
1804 2008-10-14 Paolo Carlini <paolo.carlini@oracle.com>
1806 * include/bits/stl_list.h (_List_node<>::_List_node<>(_Args&&...)):
1808 (list<>::_M_create_node<>(_Args&&...)): Use _M_get_Node_allocator.
1809 (list<>::_M_erase(iterator): Likewise, in C++0x mode.
1810 * include/bits/list.tcc (_List_base<>::_M_clear): Likewise.
1811 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
1812 Adjust dg-error line number.
1813 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
1815 * testsuite/23_containers/list/requirements/dr438/
1816 constructor_1_neg.cc: Likewise.
1817 * testsuite/23_containers/list/requirements/dr438/
1818 constructor_2_neg.cc: Likewise.
1820 2008-10-14 Paolo Carlini <paolo.carlini@oracle.com>
1822 * include/bits/stl_tree.h (_Rb_tree<>::max_size): Use Node_allocator
1823 for improved accuracy.
1824 * include/bits/stl_list.h (list<>::max_size): Likewise.
1825 * testsuite/23_containers/multimap/capacity/29134.cc: Adjust.
1826 * testsuite/23_containers/set/capacity/29134.cc: Likewise.
1827 * testsuite/23_containers/multiset/capacity/29134.cc: Likewise.
1828 * testsuite/23_containers/list/capacity/29134.cc: Likewise.
1829 * testsuite/23_containers/map/capacity/29134.cc: Likewise.
1831 2008-10-10 Paolo Carlini <paolo.carlini@oracle.com>
1833 * testsuite/20_util/reference_wrapper/24803.cc: Avoid uninitialized
1836 2008-10-10 Paolo Carlini <paolo.carlini@oracle.com>
1838 * include/std/system_error (native_category): Remove.
1839 (posix_category): Add.
1840 (error_code::error_code(_ErrorCodeEnum, typename enable_if<>:type*):
1841 Fix _M_cat initialization.
1842 (error_code::operator=(_ErrorCodeEnum)): Assign _M_cat too.
1843 (error_condition::_M_cat, error_condtion::operator=
1844 (_ErrorConditionEnum)): Implement resolution of DR 804.
1845 (error_condition::error_condition(_ErrorConditionEnum, typename
1846 enable_if<>:type*): Fix.
1847 (error_condition::clear, error_condition::assign): Implement.
1848 (operator==, operator!=): Fix uglification of parameters.
1849 (make_error_code, make_error_condition): Define in namespace
1851 (operator<<(basic_ostream<>&, const error_code&)): Define here.
1852 * include/std/ostream (operator<<(basic_ostream<>&,
1853 const error_code&)): Do not define here.
1854 * testsuite/19_diagnostics/error_condition/cons/1.cc: New.
1855 * testsuite/19_diagnostics/error_condition/operators/bool.cc: Likewise.
1856 * testsuite/19_diagnostics/error_condition/operators/bool_neg.cc:
1858 * testsuite/19_diagnostics/error_condition/operators/equal.cc:
1860 * testsuite/19_diagnostics/error_condition/operators/not_equal.cc:
1862 * testsuite/19_diagnostics/error_code/cons/1.cc: Tweak.
1863 * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Adjust
1864 dg-error line numbers.
1865 * testsuite/30_threads/unique_lock/locking/2.cc: Tweak.
1867 * testsuite/util/testsuite_error.h: Minor tweaks.
1868 * testsuite/util/testsuite_hooks.cc: Avoid uninitialized warning.
1870 2008-10-10 Chris Fairles <cfairles@gcc.gnu.org>
1872 * testsuite/20_util/duration/cons/1.cc: Remove invalid check of
1873 uninitialized duration.
1875 2008-10-08 Bob Walters <bob.s.walters@gmail.com>
1877 * include/bits/stl_vector.h (_Vector_base<>::_Vector_impl::_M_start,
1878 _M_finish, _M_end_of_storage, _Vector_base<>::_M_allocate,
1879 _M_deallocate): Use _Tp_alloc_type::pointer.
1881 2008-10-07 Jason Merrill <jason@redhat.com>
1884 * testsuite/abi/demangle/abi_examples/20.cc: Adjust expected spacing.
1885 * testsuite/abi/demangle/abi_text/02.cc: Likewise.
1886 * testsuite/abi/demangle/regression/cw-16.cc: Likewise.
1888 2008-10-07 Paolo Carlini <paolo.carlini@oracle.com>
1890 * include/bits/stl_iterator.h (operator-(const reverse_iterator<>&,
1891 const reverse_iterator<>&), operator-(const __normal_iterator<>&,
1892 const __normal_iterator<>&), operator-(const move_iterator<>&,
1893 const move_iterator<>&)): Use the auto -> return type syntax,
1896 2008-10-06 Jason Merrill <jason@redhat.com>
1898 * config/abi/pre/gnu.ver: Update char16/32_t manglings.
1900 2008-10-05 Paolo Carlini <paolo.carlini@oracle.com>
1902 * testsuite/20_util/reference_wrapper/invoke.cc: New.
1903 * testsuite/20_util/reference_wrapper/24803.cc: Likewise.
1904 * testsuite/20_util/reference_wrapper/typedefs.cc: Likewise.
1906 2008-10-01 Andrew Pinski <andrew_pinski@playstation.sony.com>
1908 * config/locale/generic/c_locale.cc (__convert_to_v): Fix
1909 !__FLT_HAS_INFINITY__ case.
1911 2008-09-30 Chris Fairles <cfairles@gcc.gnu.org>
1913 * include/std/tuple (tuple<>::swap): Implement swap for tuple as per
1915 * testsuite/20_util/tuple/swap.cc: New.
1917 2008-09-30 Paolo Carlini <paolo.carlini@oracle.com>
1919 PR libstdc++/30085 (again)
1920 * include/debug/unordered_map (unordered_map<>, unordered_multimap<>):
1921 Do not derive from _Safe_association, derive from _GLIBCXX_STD_D::
1922 unordered_map / unordered_multimap; add missing member functions.
1923 * include/debug/unordered_set (unordered_set<>, unordered_multiset<>):
1924 Likewise for _GLIBCXX_STD_D::unordered_set / unordered_multiset.
1925 * include/debug/safe_association.h: Remove.
1926 * include/Makefile.am: Adjust.
1927 * include/Makefile.in: Regenerate.
1928 * testsuite/23_containers/unordered_multimap/init-list.cc: Remove
1931 2008-09-28 Paolo Carlini <paolo.carlini@oracle.com>
1933 * include/bits/unique_ptr.h (unique_ptr<_Tp[]>::template<typename U>
1934 void reset(U)): Add as deleted function, per DR 821 [Ready].
1935 * include/bits/unique_ptr.h: Prefer everywhere deleted to private
1936 member function declarations; minor formatting tweaks.
1937 * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: New.
1938 * testsuite/20_util/unique_ptr/assign/assign.cc: Adjust DejaGNU
1941 2008-09-28 Chris Fairles <cfairles@gcc.gnu.org>
1943 * include/std/mutex (try_lock): Implement generic try_lock.
1944 * testsuite/30_threads/try_lock/1.cc: New.
1945 * testsuite/30_threads/try_lock/2.cc: Likewise.
1946 * testsuite/30_threads/try_lock/3.cc: Likewise.
1947 * testsuite/30_threads/mutex/cons/assign_neg.cc: Adjust line numbers.
1948 * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise.
1949 * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Likewise.
1950 * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Likewise.
1951 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
1952 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
1953 * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc:
1955 * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc: Likewise.
1957 2008-09-26 Peter O'Gorman <pogma@thewrittenword.com>
1958 Steve Ellcey <sje@cup.hp.com>
1960 * configure: Regenerate for new libtool.
1961 * aclocal.m4: Ditto.
1962 * Makefile.in: Ditto.
1963 * src/Makefile.in: Ditto.
1964 * doc/Makefile.in: Ditto.
1965 * po/Makefile.in: Ditto.
1966 * libmath/Makefile.in: Ditto.
1967 * include/Makefile.in: Ditto.
1968 * libsupc++/Makefile.in: Ditto.
1969 * testsuite/Makefile.in: Ditto.
1971 2008-09-24 Paolo Carlini <paolo.carlini@oracle.com>
1973 * include/std/bitset: Adjust comment to reflect DR 853.
1974 * include/debug/bitset: Likewise.
1975 * doc/xml/manual/intro.xml: Add an entry for DR 853.
1977 2008-09-23 Paolo Carlini <paolo.carlini@oracle.com>
1979 Implement DR 396 [Ready].
1980 * include/std/bitset (bitset<>::bitset(const std::basic_string<>&,
1981 size_t, size_t, _CharT, _CharT), bitset<>::bitset(const char*,
1982 char, char), bitset<>::to_string(_CharT, _CharT),
1983 bitset<>::_M_copy_from_string(const std::basic_string<>&, size_t,
1984 size_t, _CharT, _CharT), bitset<>::_M_copy_to_string
1985 (std::basic_string<>&, _CharT, _CharT), bitset<>::_M_copy_from_ptr(
1986 const _CharT*, size_t, size_t, size_t, _CharT, _CharT)): Add.
1987 (operator>>(std::basic_istream<>&, bitset<_Nb>&), operator<<(
1988 std::basic_ostream<>&, const bitset<_Nb>&)): Adjust.
1989 * include/debug/bitset (bitset<>::bitset(const std::basic_string<>&,
1990 size_t, size_t, _CharT, _CharT), bitset<>::bitset(const char*,
1991 char, char), bitset<>::to_string(_CharT, _CharT)): Add.
1992 * doc/xml/manual/intro.xml: Add an entry for DR 396.
1993 * testsuite/23_containers/bitset/cons/dr396.cc: Add.
1994 * testsuite/23_containers/bitset/to_string/dr396.cc: Likewise.
1996 2008-09-23 Chris Fairles <cfairles@gcc.gnu.org>
1998 * testsuite/25_algorithms/min/37547.cc: Return void to avoid warnings.
1999 * testsuite/25_algorithms/max/37547.cc: Likewise.
2000 * testsuite/25_algorithms/minmax/37547.cc: Likewise.
2002 2008-09-23 Chris Fairles <cfairles@gcc.gnu.org>
2004 * include/std/chrono: If _GLIBCXX_USE_MONOTONIC_CLOCK is defined, don't
2005 typedef monotonic_clock to system_clock and instead declare new class.
2006 * src/chrono.cc: Conditionally define monotonic_clock::now().
2007 * include/std/condition_variable (wait_until): Throw exception if
2008 __gthread_cond_timedwait returns with error other than timed_out. Use
2009 system_clock as known clock type (__clock_t) and add overloads for known
2010 and unknown clocks. In the unknown case, sync to the known clock.
2011 Implement overload taking a predicate.
2012 (wait_for): Implement overload taking a predicate.
2013 * config/abi/pre/gnu.ver: Add exports for monotonic_clock.
2014 * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc: Modify
2016 * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
2018 * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Likewise.
2019 * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Likewise.
2020 * testsuite/30_threads/condition_variable/member/1.cc: New.
2021 * testsuite/30_threads/condition_variable/member/2.cc: Likewise.
2023 2008-09-23 Paolo Carlini <paolo.carlini@oracle.com>
2026 * testsuite/22_locale/num_get/get/char/10.cc: Skip long double case
2027 when strtold is not available.
2028 * testsuite/22_locale/num_get/get/wchar_t/10.cc: Likewise.
2030 2008-09-23 Benjamin Kosnik <bkoz@redhat.com>
2032 PR libstdc++/37391 continued.
2033 * doc/html/ext/pb_ds/assoc_examples.html: Don't use base tag,
2034 specify full path for source file links.
2035 * doc/html/ext/pb_ds/pq_examples.html: Same.
2037 2008-09-23 Paolo Carlini <paolo.carlini@oracle.com>
2039 * include/bits/locale_facets.tcc (__pad<>::_S_pad): Don't use const
2040 by value parameters.
2041 * include/bits/locale_facets.h (__pad<>::_S_pad): Likewise.
2043 2008-09-22 Paolo Carlini <paolo.carlini@oracle.com>
2045 PR libstdc++/32422, DR 23 [Ready in R60]
2046 * config/locale/gnu/c_locale.cc (__convert_to_v(const char*, float&,
2047 ios_base::iostate&, const __c_locale&), __convert_to_v(const char*,
2048 double&, ios_base::iostate&, const __c_locale&), __convert_to_v(const
2049 char*, long double&, ios_base::iostate&, const __c_locale&)): Implement
2050 DR 23 and deal correctly with broken exponents.
2051 * config/locale/generic/c_locale.cc (__convert_to_v(const char*,
2052 float&, ios_base::iostate&, const __c_locale&), __convert_to_v(const
2053 char*, double&, ios_base::iostate&, const __c_locale&),
2054 __convert_to_v(const char*, long double&, ios_base::iostate&, const
2055 __c_locale&)): Likewise.
2056 * include/bits/locale_facets.tcc (num_get<>::_M_extract_int(_InIter,
2057 _InIter, ios_base&, ios_base::iostate&, _ValueT&)): Likewise.
2058 (num_get<>::_M_extract_float(_InIter, _InIter, ios_base&,
2059 ios_base::iostate&, string&): Change grouping check to set instead of
2060 OR failbit; do not check for eofbit here...
2061 (num_get<>::do_get(iter_type, iter_type, ios_base&,
2062 ios_base::iostate&, float&), num_get<>::do_get(iter_type, iter_type,
2063 ios_base&, ios_base::iostate&, double&), num_get<>::do_get(iter_type,
2064 iter_type, ios_base&, ios_base::iostate&, long double&),
2065 num_get<>::__do_get(iter_type, iter_type, ios_base&,
2066 ios_base::iostate&, double&)): ... do it here instead.
2067 (num_get<>::do_get(iter_type, iter_type, ios_base&,
2068 ios_base::iostate&, bool&)): Implement DR 23.
2069 (num_get<>::do_get(iter_type, iter_type, ios_base&,
2070 ios_base::iostate&, void*&)): Adjust.
2071 * doc/xml/manual/intro.xml: Add and entry for DR 23.
2072 * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/10.cc:
2074 * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc:
2076 * testsuite/22_locale/num_get/get/wchar_t/22131.cc: Likewise.
2077 * testsuite/22_locale/num_get/get/wchar_t/10.cc: Likewise.
2078 * testsuite/22_locale/num_get/get/wchar_t/12.cc: Likewise.
2079 * testsuite/22_locale/num_get/get/wchar_t/15.cc: Likewise.
2080 * testsuite/22_locale/num_get/get/wchar_t/16.cc: Likewise.
2081 * testsuite/22_locale/num_get/get/char/22131.cc: Likewise.
2082 * testsuite/22_locale/num_get/get/char/10.cc: Likewise.
2083 * testsuite/22_locale/num_get/get/char/12.cc: Likewise.
2084 * testsuite/22_locale/num_get/get/char/15.cc: Likewise.
2085 * testsuite/22_locale/num_get/get/char/16.cc: Likewise.
2087 2008-09-22 Benjamin Kosnik <bkoz@redhat.com>
2090 * doc/html/ext/pb_ds/*.html: Fix external links.
2092 2008-09-22 Benjamin Kosnik <bkoz@redhat.com>
2094 * doc/doxygen/user.cfg.in: Define _GLIBCXX_HAS_GTHREADS for mutex,
2095 condition_variable, and thread output.
2097 2008-09-22 Paolo Carlini <paolo.carlini@oracle.com>
2099 * doc/html/ext/lwg-closed.html: Update to Revision R59.
2100 * doc/html/ext/lwg-active.html: Likewise.
2101 * doc/html/ext/lwg-defects.html: Likewise.
2102 * doc/xml/manual/intro.xml: Adjust.
2104 2008-09-21 Paolo Carlini <paolo.carlini@oracle.com>
2106 * include/bits/stl_algo.h (minmax(initializer_list<>): Use make_pair,
2107 consistently with the other overload for initializer_list.
2109 2008-09-19 Johannes Singler <singler@ira.uka.de>
2112 * include/parallel/base.h: Rename log2 to __log2.
2113 (__log2) Avoid infinite loop for n <= 0, return 0.
2114 * include/parallel/losertree.h: Rename log2 to __log2.
2115 * include/parallel/multiseq_selection.h: Likewise.
2116 * include/parallel/random_shuffle.h: Likewise.
2118 2008-09-18 Paolo Carlini <paolo.carlini@oracle.com>
2120 * include/bits/shared_ptr.h (__shared_count<>::
2121 __shared_count(_Ptr, _Deleter), __shared_count<>::
2122 __shared_count(_Ptr, _Deleter, _Alloc), __shared_count<>::
2123 __shared_count(_Sp_make_shared_tag, _Tp*, _Alloc, _Args&&...)):
2124 Qualify new with ::.
2126 2008-09-17 Paolo Carlini <paolo.carlini@oracle.com>
2129 * include/bits/stl_algo.h (min(initializer_list<>),
2130 min(initializer_list<>, Compare), max(initializer_list<>),
2131 max(initializer_list<>, Compare), minmax(initializer_list<>),
2132 minmax(initializer_list<>, Compare)): Fix return type.
2133 * include/bits/algorithmfwd.h: Adjust.
2134 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
2135 * testsuite/25_algorithms/max/requirements/explicit_instantiation/3.cc:
2137 * testsuite/25_algorithms/max/requirements/explicit_instantiation/
2139 * testsuite/25_algorithms/min/requirements/explicit_instantiation/3.cc:
2141 * testsuite/25_algorithms/min/requirements/explicit_instantiation/
2143 * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
2145 * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
2147 * testsuite/25_algorithms/max/37547.cc: New.
2148 * testsuite/25_algorithms/min/37547.cc: Likewise.
2149 * testsuite/25_algorithms/minmax/37547.cc: Likewise.
2151 2008-09-16 Chris Fairles <chris.fairles@gmail.com>
2153 * testsuite/25_algorithms/min/requirements/explicit_instantiation/3.cc:
2155 * testsuite/25_algorithms/min/requirements/explicit_instantiation/
2157 * testsuite/25_algorithms/min/3.cc: Likewise.
2158 * testsuite/25_algorithms/min/4.cc: Likewise.
2159 * testsuite/25_algorithms/max/requirements/explicit_instantiation/3.cc:
2161 * testsuite/25_algorithms/max/requirements/explicit_instantiation/
2163 * testsuite/25_algorithms/max/3.cc: Likewise.
2164 * testsuite/25_algorithms/max/4.cc: Likewise.
2165 * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
2167 * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
2169 * testsuite/25_algorithms/minmax/2.cc: Likewise.
2170 * testsuite/25_algorithms/minmax/3.cc: Likewise.
2172 2008-09-16 Paolo Carlini <paolo.carlini@oracle.com>
2174 * include/bits/stl_algo.h (min(initializer_list<>),
2175 min(initializer_list<>, Compare), max(initializer_list<>),
2176 max(initializer_list<>, Compare), minmax(initializer_list<>),
2177 minmax(initializer_list<>, Compare)): Add in C++0x mode.
2178 * include/bits/algorithmfwd.h: Add.
2179 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
2181 2008-09-13 Chris Fairles <chris.fairles@gmail.com>
2183 * testsuite/30_threads/thread/algorithm/1.cc: Join thread before
2185 * testsuite/30_threads/thread/algorithm/2.cc: Likewise.
2186 * testsuite/30_threads/thread/this_thread/3.cc: Define test variable.
2187 * testsuite/30_threads/thread/this_thread/4.cc: Likewise.
2189 2008-09-12 Chris Fairles <chris.fairles@gmail.com>
2190 Benjamin Kosnik <bkoz@redhat.com>
2192 * include/std/thread: New.
2193 * include/Makefile.am: Update.
2194 * include/Makefile.in: Regenerate.
2195 * src/thread.cc: New.
2196 * src/Makefile.am: Update.
2197 * src/Makefile.in: Regenerate.
2198 * acinclude.m4: Add check for nanosleep.
2199 * configure.ac: Call it.
2200 * configure: Regenerate.
2201 * config.h.in: Likewise.
2202 * config/abi/pre/gnu.ver: Add exports.
2203 * doc/doxygen/user.cfg.in: Add thread header.
2204 * testsuite/lib/libstdc++.exp (check_v3_target_nanosleep): Add.
2205 * testsuite/lib/dg-options.exp (dg-require-nanosleep): Add.
2206 * testsuite/30_threads/thread/cons/1.cc: New.
2207 * testsuite/30_threads/thread/cons/2.cc: Likewise.
2208 * testsuite/30_threads/thread/cons/3.cc: Likewise.
2209 * testsuite/30_threads/thread/cons/4.cc: Likewise.
2210 * testsuite/30_threads/thread/algorithm/1.cc: Likewise.
2211 * testsuite/30_threads/thread/algorithm/2.cc: Likewise.
2212 * testsuite/30_threads/thread/member/1.cc: Likewise.
2213 * testsuite/30_threads/thread/member/2.cc: Likewise.
2214 * testsuite/30_threads/thread/member/3.cc: Likewise.
2215 * testsuite/30_threads/thread/this_thread/1.cc: Likewise.
2216 * testsuite/30_threads/thread/this_thread/2.cc: Likewise.
2217 * testsuite/30_threads/thread/this_thread/3.cc: Likewise.
2218 * testsuite/30_threads/thread/this_thread/4.cc: Likewise.
2219 * testsuite/30_threads/headers/thread/types_std_c++0x.cc: Likewise.
2220 * testsuite/30_threads/headers/thread/std_c++0x_neg.cc: Likewise.
2221 * testsuite/17_intro/headers/c++200x/all.cc: Add thread.
2222 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc:
2223 Add thread, condition_variable and mutex.
2225 2008-09-10 Paolo Carlini <paolo.carlini@oracle.com>
2227 * src/ctype.cc (use_facet<ctype<char> >, use_facet<ctype<wchar_t>):
2228 Remove specializations.
2229 * src/locale-inst.cc (use_facet<ctype<C> >): Instantiate.
2230 * include/bits/locale_facets.tcc (use_facet<ctype<char> >,
2231 use_facet<ctype<wchar_t>): Declare as extern template.
2232 * include/bits/locale_facets.h (use_facet<ctype<char> >,
2233 use_facet<ctype<wchar_t>): Do not declare as specializations.
2235 2008-09-10 Paolo Carlini <paolo.carlini@oracle.com>
2237 * config/locale/darwin/ctype_members.cc (ctype<char>::_M_narrow_init,
2238 ctype<char>::_M_widen_init): Don't define here.
2239 * config/locale/gnu/ctype_members.cc: Likewise.
2240 * config/locale/generic/ctype_members.cc: Likewise.
2241 * src/ctype.cc: Define here.
2243 2008-09-10 Paolo Carlini <paolo.carlini@oracle.com>
2246 * include/bits/locale_facets.h (ctype<char>::_M_narrow_init,
2247 ctype<char>::_M_widen_init): Don't define inline.
2248 * config/locale/darwin/ctype_members.cc: ... define here.
2249 * config/locale/gnu/ctype_members.cc: ... likewise.
2250 * config/locale/generic/ctype_members.cc: ... likewise.
2251 * config/abi/pre/gnu.ver: Export.
2253 2008-09-09 Benjamin Kosnik <bkoz@redhat.com>
2255 * doc/xml/manual/abi.xml: Update for new releases.
2256 * doc/doxygen/user.cfg.in: Include C compatibility headers.
2257 * doc/html/*: Regenerate.
2259 2008-09-09 Paolo Carlini <paolo.carlini@oracle.com>
2261 * include/tr1_impl/cinttypes: Restore __STDC_FORMAT_MACROS after
2262 inclusion of <inttypes.h>.
2263 * include/tr1_impl/cstdint: Likewise for __STDC_LIMIT_MACROS and
2264 __STDC_CONSTANT_MACROS after <stdint.h>.
2265 * include/bits/postypes.h: Likewise.
2267 2008-09-09 Andreas Schwab <schwab@suse.de>
2269 * acinclude.m4 (GLIBCXX_CHECK_STANDARD_LAYOUT): Fix compile check
2270 not to redefine main.
2272 2008-09-07 Paolo Carlini <paolo.carlini@oracle.com>
2274 * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Check wcstoimax and
2275 wcstoumax, define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1.
2276 * include/tr1_impl/cinttypes: Use the latter.
2277 * testsuite/tr1/8_c_compatibility/cinttypes/functions.cc: Likewise.
2278 * configure: Regenerate.
2279 * config.h.in: Likewise.
2281 2008-09-05 Peter Dimov <pdimov@mmltd.net>
2283 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref_2.cc: New.
2285 2008-09-05 Paolo Carlini <paolo.carlini@oracle.com>
2287 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref.cc: Rename
2289 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref_1.cc: ...
2292 2008-09-04 Jonathan Wakely <jwakely.gcc@gmail.com>
2295 * include/Makefile.am: Update headers.
2296 * include/Makefile.in: Regenerate.
2297 * include/std/memory: Update headers.
2298 * include/tr1/memory: Likewise.
2299 * include/tr1_impl/boost_shared_ptr.h: Remove, splitting into
2300 separate implementations for std and tr1.
2301 * include/bits/boost_sp_shared_count.h: Remove.
2302 * include/tr1/boost_sp_shared_count.h: Remove.
2303 * include/bits/shared_ptr.h: New. Combines boost_sp_shared_count.h
2304 and boost_shared_ptr.h into one file.
2305 (__shared_count,__shared_ptr,shared_ptr,swap): Add unique_ptr
2306 and rvalue-reference support as per current WP.
2307 * include/tr1/shared_ptr.h: New. Combines boost_sp_shared_count.h
2308 and boost_shared_ptr.h into one file.
2309 * testsuite/20_util/shared_ptr/cons/unique_ptr.cc: New.
2310 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter.cc: New.
2311 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref.cc: New.
2312 * testsuite/20_util/shared_ptr/cons/unique_ptr_neg.cc: New.
2313 * testsuite/20_util/shared_ptr/assign/auto_ptr_rvalue.cc: New.
2314 * testsuite/20_util/shared_ptr/assign/unique_ptr_lvalue_neg.cc: New.
2315 * testsuite/20_util/shared_ptr/assign/unique_ptr_rvalue.cc: New.
2316 * testsuite/20_util/shared_ptr/modifiers/swap_rvalue.cc: New.
2317 * testsuite/20_util/shared_ptr/assign/auto_ptr_rvalue_neg.cc: Remove.
2319 2008-09-04 Jonathan Wakely <jwakely.gcc@gmail.com>
2321 * doc/xml/manual/locale.xml: Fix typo.
2323 2008-09-04 Paolo Carlini <paolo.carlini@oracle.com>
2325 * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Tidy checks in case of
2327 * configure: Regenerate.
2329 2008-09-04 Chris Fairles <chris.fairles@gmail.com>
2331 * include/std/mutex (once_flag): Construct __gthread_once_t in a
2332 temporary variable before assigning to _M_once to avoid initialization
2335 2008-09-03 Paolo Carlini <paolo.carlini@oracle.com>
2337 * config/abi/pre/gnu.ver: Also export __once_functor_lock; tighten
2338 GLIBCXX_3.4 exports (necessary in case of undef _GLIBCXX_HAVE_TLS).
2340 * Makefile.in: Regenerate.
2341 * src/Makefile.in: Likewise.
2342 * doc/Makefile.in: Likewise.
2343 * po/Makefile.in: Likewise.
2344 * libmath/Makefile.in: Likewise.
2345 * include/Makefile.in: Likewise.
2346 * libsupc++/Makefile.in: Likewise.
2347 * testsuite/Makefile.in: Likewise.
2349 2008-09-03 Paolo Carlini <paolo.carlini@oracle.com>
2351 * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Fix typo in last commit,
2352 check _POSIX_TIMEOUTS, not _POSIX_TIMERS.
2353 * configure: Regenerate.
2355 2008-09-03 Paolo Carlini <paolo.carlini@oracle.com>
2357 * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Check _POSIX_TIMERS too.
2358 * configure: Regenerate.
2360 2008-09-03 Chris Fairles <chris.fairles@gmail.com>
2362 * include/std/condition_variable: Use new deleted ctors.
2363 * include/std/mutex: Likewise plus implement timed_mutex,
2364 recursive_timed_mutex and call_once.
2365 * src/condition_variable.cc: Implement wait(). Use gthread types.
2366 Remove _GTHREADS_HAS_COND checks in favor of global
2367 _GLIBCXX_HAS_GTHREADS.
2368 * src/mutex.cc (call_once): Implementation using TLS with mutex
2370 * config/abi/pre/gnu.ver: Add exported symbols.
2371 * testsuite/lib/libstdc++.exp (check_v3_target_gthreads): New.
2372 * testsuite/lib/dg-options.exp (dg-require-gthreads): Likewise.
2373 * testsuite/30_threads/lock_guard/requirements/typedefs.cc: Use
2374 dg-require-gthreads and dg-require-cstdint.
2375 * testsuite/30_threads/lock_guard/requirements/
2376 explicit_instantiation.cc: Likewise.
2377 * testsuite/30_threads/mutex/dest/destructor_locked.cc: Likewise.
2378 * testsuite/30_threads/mutex/native_handle/1.cc: Likewise.
2379 * testsuite/30_threads/mutex/cons/1.cc: Likewise.
2380 * testsuite/30_threads/mutex/requirements/typedefs.cc: Likewise.
2381 * testsuite/30_threads/mutex/try_lock/1.cc: Likewise.
2382 * testsuite/30_threads/mutex/try_lock/2.cc: Likewise.
2383 * testsuite/30_threads/mutex/lock/1.cc: Likewise.
2384 * testsuite/30_threads/mutex/unlock/1.cc: Likewise.
2385 * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc:
2387 * testsuite/30_threads/recursive_mutex/native_handle/1.cc: Likewise.
2388 * testsuite/30_threads/recursive_mutex/cons/1.cc: Likewise.
2389 * testsuite/30_threads/recursive_mutex/requirements/typedefs.cc:
2391 * testsuite/30_threads/recursive_mutex/try_lock/1.cc: Likewise.
2392 * testsuite/30_threads/recursive_mutex/try_lock/2.cc: Likewise.
2393 * testsuite/30_threads/recursive_mutex/lock/1.cc: Likewise.
2394 * testsuite/30_threads/recursive_mutex/unlock/1.cc: Likewise.
2395 * testsuite/30_threads/unique_lock/requirements/
2396 explicit_instantiation.cc: Likewise.
2397 * testsuite/30_threads/unique_lock/requirements/typedefs.cc: Likewise.
2398 * testsuite/30_threads/mutex/cons/assign_neg.cc: Also adjust dg-error
2399 lines for deleted members.
2400 * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise.
2401 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
2402 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
2403 * testsuite/30_threads/call_once/once_flag.cc: New.
2404 * testsuite/30_threads/call_once/call_once1.cc: Likewise.
2405 * testsuite/30_threads/condition_variable/cons/1.cc: Likewise.
2406 * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Likewise
2407 * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Likewise.
2408 * testsuite/30_threads/condition_variable_any/cons/1.cc: Likewise.
2409 * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
2411 * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc:
2413 * testsuite/30_threads/timed_mutex/dest/destructor_locked.cc: Likewise.
2414 * testsuite/30_threads/timed_mutex/native_handle/1.cc: Likewise.
2415 * testsuite/30_threads/timed_mutex/try_lock_until/1.cc: Likewise.
2416 * testsuite/30_threads/timed_mutex/try_lock_until/2.cc: Likewise.
2417 * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Likewise.
2418 * testsuite/30_threads/timed_mutex/cons/1.cc: Likewise.
2419 * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Likewise.
2420 * testsuite/30_threads/timed_mutex/requirements/typedefs.cc: Likewise.
2421 * testsuite/30_threads/timed_mutex/try_lock/1.cc: Likewise.
2422 * testsuite/30_threads/timed_mutex/try_lock/2.cc: Likewise.
2423 * testsuite/30_threads/timed_mutex/lock/1.cc: Likewise.
2424 * testsuite/30_threads/timed_mutex/unlock/1.cc: Likewise.
2425 * testsuite/30_threads/timed_mutex/try_lock_for/1.cc: Likewise.
2426 * testsuite/30_threads/timed_mutex/try_lock_for/2.cc: Likewise.
2427 * testsuite/30_threads/timed_mutex/try_lock_for/3.cc: Likewise.
2428 * testsuite/30_threads/recursive_timed_mutex/dest/destructor_locked.cc:
2430 * testsuite/30_threads/recursive_timed_mutex/try_lock_until/1.cc:
2432 * testsuite/30_threads/recursive_timed_mutex/try_lock_until/2.cc:
2434 * testsuite/30_threads/recursive_timed_mutex/native_handle/1.cc:
2436 * testsuite/30_threads/recursive_timed_mutex/cons: Likewise.
2437 * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc:
2439 * testsuite/30_threads/recursive_timed_mutex/cons/1.cc: Likewise.
2440 * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc:
2442 * testsuite/30_threads/recursive_timed_mutex/requirements/typedefs.cc:
2444 * testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc: Likewise.
2445 * testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc: Likewise.
2446 * testsuite/30_threads/recursive_timed_mutex/lock/1.cc: Likewise.
2447 * testsuite/30_threads/recursive_timed_mutex/lock/2.cc: Likewise.
2448 * testsuite/30_threads/recursive_timed_mutex/unlock/1.cc: Likewise.
2449 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/1.cc:
2451 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/2.cc:
2453 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/3.cc:
2455 * testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise.
2456 * testsuite/30_threads/unique_lock/modifiers/2.cc: Likewise.
2457 * testsuite/30_threads/unique_lock/cons/1.cc: Likewise.
2458 * testsuite/30_threads/unique_lock/cons/2.cc: Likewise.
2459 * testsuite/30_threads/unique_lock/cons/3.cc: Likewise.
2460 * testsuite/30_threads/unique_lock/cons/4.cc: Likewise.
2461 * testsuite/30_threads/unique_lock/cons/5.cc: Likewise.
2462 * testsuite/30_threads/unique_lock/cons/6.cc: Likewise.
2463 * testsuite/30_threads/unique_lock/locking/1.cc: Likewise.
2464 * testsuite/30_threads/unique_lock/locking/2.cc: Likewise.
2465 * testsuite/30_threads/unique_lock/locking/3.cc: Likewise.
2466 * testsuite/30_threads/unique_lock/locking/4.cc: Likewise.
2468 2008-09-01 Mark Mitchell <mark@codesourcery.com>
2470 * include/std/type_traits (__make_unsigned_selector<>): Consider
2471 enums of size smaller than short.
2472 (__make_signed_selector<>): Likewise.
2473 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
2474 Adjust line numbers.
2475 * testsuite/20_util/make_usigned/requirements/typedefs_neg.cc:
2476 Adjust line numbers.
2477 * testsuite/20_util/make_signed/requirements/typedefs-2.cc:
2478 Ensure test_enum is the same size as short.
2479 * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc:
2480 Ensure test_enum is the same size as short.
2482 2008-08-31 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
2484 * acinclude.m4 <enable_symvers>: Don't use symvers on Windows.
2485 * configure: Regenerated.
2486 * Makefile.in: Regenerated.
2487 * src/Makefile.in: Regenerated.
2488 * doc/Makefile.in: Regenerated.
2489 * po/Makefile.in: Regenerated.
2490 * libmath/Makefile.in: Regenerated.
2491 * include/Makefile.in: Regenerated.
2492 * libsupc++/Makefile.in: Regenerated.
2493 * testsuite/Makefile.in: Regenerated.
2495 2008-08-29 Mark Mitchell <mark@codesourcery.com>
2497 * testsuite/25_algorithms/nth_element/2.cc: Constrain iterations
2498 when testing on a simultor.
2500 2008-08-28 Paolo Carlini <paolo.carlini@oracle.com>
2502 * testsuite/tr1/6_containers/unordered_set/requirements/typedef.cc:
2503 Rename to .../typedefs.cc.
2504 * testsuite/tr1/6_containers/unordered_map/requirements/typedef.cc:
2506 * testsuite/tr1/6_containers/unordered_multiset/requirements/
2507 typedef.cc: Likewise.
2508 * testsuite/tr1/6_containers/unordered_multimap/requirements/
2509 typedef.cc: Likewise.
2510 * testsuite/23_containers/unordered_set/requirements/typedef.cc:
2512 * testsuite/23_containers/unordered_map/requirements/typedef.cc:
2514 * testsuite/23_containers/unordered_multiset/requirements/typedef.cc:
2516 * testsuite/23_containers/unordered_multimap/requirements/typedef.cc:
2519 2008-08-28 Chris Fairles <chris.fairles@gmail.com>
2521 * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): New. Checks for gthread
2522 support used by c++0x thread library.
2523 * configure.ac: Test unconditionally.
2524 * configure: Regenerate.
2525 * config.h.in: Regenerate.
2527 2008-08-27 Benjamin Kosnik <bkoz@redhat.com>
2529 * doc/Makefile.am: Edit xml file list.
2530 * doc/Makefile.in: Regenerate.
2531 * configure: Regenerate.
2532 * doc/xml/manual/intro.xml: Edit, correct links, structure.
2533 * doc/xml/manual/configure.xml: Same.
2534 * doc/xml/manual/debug.xml: Same.
2535 * doc/xml/manual/test.xml: Same.
2536 * doc/xml/manual/build.xml: Remove.
2537 * doc/xml/manual/prerequisites.xml: Add.
2538 * doc/html/*: Regenerate.
2540 2008-08-27 Paolo Carlini <paolo.carlini@oracle.com>
2542 * include/tr1_impl/hashtable (_Hashtable<>): Add missing pointer and
2543 const_pointer typedefs.
2544 * testsuite/tr1/6_containers/unordered_set/requirements/typedef.cc:
2546 * testsuite/tr1/6_containers/unordered_map/requirements/typedef.cc:
2548 * testsuite/tr1/6_containers/unordered_multiset/requirements/
2549 typedef.cc: Likewise.
2550 * testsuite/tr1/6_containers/unordered_multimap/requirements/
2551 typedef.cc: Likewise.
2552 * testsuite/23_containers/unordered_set/requirements/typedef.cc:
2554 * testsuite/23_containers/unordered_map/requirements/typedef.cc:
2556 * testsuite/23_containers/unordered_multiset/requirements/typedef.cc:
2558 * testsuite/23_containers/unordered_multimap/requirements/typedef.cc:
2561 2008-08-27 Paul Brook <paul@codesourcery.com>
2563 * libsupc++/eh_call.cc (__cxa_call_unexpected): Fix name of
2564 __get_object_from_ambiguous_exception.
2566 2008-08-26 Ben Elliston <bje@au.ibm.com>
2568 * src/mt_allocator.cc (__pool): Fix error in comment.
2570 2008-08-25 Paolo Carlini <paolo.carlini@oracle.com>
2572 * linkage.m4 ([GLIBCXX_CHECK_BUILTIN_MATH_DECL_AND_LINKAGE_1],
2573 [GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT]): Remove
2574 * configure.ac: Do not call the latter.
2575 * crossconfig.m4: Likewise.
2576 * libmath/mathconf.h: Adjust.
2577 * configure: Regenerate.
2578 * config.h.in: Likewise.
2580 2008-08-24 Paolo Carlini <paolo.carlini@oracle.com>
2582 * acinclude.m4 ([GLIBCXX_CHECK_RANDOM_TR1]): Simplify, just use
2583 two test -r instead of an AC_TRY_RUN.
2584 * configure: Regenerate.
2585 * config.h.in: Likewise.
2587 2008-08-24 Paolo Carlini <paolo.carlini@oracle.com>
2589 * acinclude.m4 ([GLIBCXX_ENABLE_CLOCK_GETTIME]): Improve documentation.
2590 * doc/xml/manual/configure.xml: Likewise.
2592 2008-08-23 Paolo Carlini <paolo.carlini@oracle.com>
2594 * acinclude.m4 ([GLIBCXX_ENABLE_CLOCK_GETTIME]): Use [=KIND] in
2596 * configure: Regenerate.
2598 2008-08-23 Paolo Carlini <paolo.carlini@oracle.com>
2600 * acinclude.m4 ([GLIBCXX_CHECK_GETTIMEOFDAY]): Change to use
2601 GCC_TRY_COMPILE_OR_LINK.
2602 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Rename to
2603 [GLIBCXX_ENABLE_CLOCK_GETTIME], a versatile configure-time option,
2604 [no] by default, since it includes TRY_LINK checks. librt is also
2605 searched, if requested.
2606 * doc/xml/manual/configure.xml: Document the latter.
2607 * configure.ac: Move the above checks outside native-only.
2608 * configure: Regenerate.
2610 2008-08-23 Paolo Carlini <paolo.carlini@oracle.com>
2612 * testsuite/lib/libstdc++.exp (check_v3_target_atomic_builtins): Add.
2613 * testsuite/lib/dg-options.exp (dg-require-atomic-builtins): Likewise.
2614 * testsuite/18_support/exception_ptr/current_exception.cc: Use it.
2615 * testsuite/18_support/exception_ptr/rethrow_exception.cc: Likewise.
2616 * testsuite/18_support/exception_ptr/lifespan.cc: Likewise.
2618 2008-08-23 Sebastian Redl <sebastian.redl@getdesigned.at>
2620 Add (again) exception propagation support as per N2179. Feature is
2621 available only when _GLIBCXX_ATOMIC_BUILTINS_4 is defined.
2622 * libsupc++/exception_ptr.h (exception_ptr, current_exception,
2623 copy_exception, rethrow_exception): New file, implement exception
2625 * libsupc++/eh_ptr.cc (exception_ptr, current_exception,
2626 rethrow_exception, __gxx_dependent_exception_cleanup): Likewise.
2627 * libsupc++/unwind-cxx.h (__cxa_exception): Add reference count.
2628 (__cxa_dependent_exception, __cxa_allocate_dependent_exception,
2629 __cxa_free_dependent_exception, __get_dependent_exception_from_ue,
2630 __GXX_INIT_DEPENDENT_EXCEPTION_CLASS, __is_dependent_exception,
2631 __gxx_dependent_exception_class, __get_object_from_ue,
2632 __get_object_from_ambiguous_exception): Add.
2633 (__GXX_INIT_EXCEPTION_CLASS, __gxx_exception_class): Rename.
2634 (__is_gxx_exception_class): Handle dependent exceptions.
2635 * libsupc++/eh_arm.cc (__cxa_type_match): Likewise.
2636 * libsupc++/eh_call.cc (__cxa_call_unexpected): Likewise.
2637 * libsupc++/eh_personality.cc (__gxx_personality_*): Likewise.
2638 * libsupc++/eh_type.cc (__cxa_current_exception_type): Likewise.
2639 * libsupc++/eh_alloc.cc (__cxa_allocate_dependent_exception,
2640 __cxa_free_dependent_exception): Add.
2641 * libsupc++/eh_throw.cc (__gxx_exception_cleanup): Handle reference
2643 * libsupc++/exception: Conditionally include exception_ptr.h.
2644 * libsupc++/Makefile.am: Register new files.
2645 * libsupc++/Makefile.in: Regenerate.
2646 * config/abi/pre/gnu.ver: Add new symbols.
2647 * testsuite/18_support/exception_ptr/current_exception.cc: Test the
2648 core functionality of current_exception().
2649 * testsuite/18_support/exception_ptr/rethrow_exception.cc: Test the
2650 core functionality of rethrow_exception().
2651 * testsuite/18_support/exception_ptr/lifespan.cc: Test the life span of
2652 exception objects during exception propagation.
2654 2008-08-22 Paolo Carlini <paolo.carlini@oracle.com>
2656 Revert again the N2179 patch.
2658 2008-08-21 Sebastian Redl <sebastian.redl@getdesigned.at>
2660 * libsupc++/eh_ptr.cc (__gxx_dependent_exception_cleanup): Call
2661 __cxa_free_dependent_exception.
2663 2008-08-20 Paolo Carlini <paolo.carlini@oracle.com>
2665 * include/bits/char_traits.h (char_traits<char16_t>::
2666 assign(char_type*, size_t, char_type), char_traits<char32_t>::
2667 assign(char_type*, size_t, char_type)): For now, just open-code.
2669 2008-08-20 Paolo Carlini <paolo.carlini@oracle.com>
2671 PR c++/33979 (partial)
2672 * include/bits/postypes.h (u16streampos, u32streampos): Add.
2673 * include/bits/char_traits.h (char_traits<char16_t>,
2674 char_traits<char32_t>): Add.
2675 * include/bits/stringfwd.h (u16string, u32string): Add.
2676 * include/ext/vstring_fwd.h: Add typedefs for char16_t/char32_t.
2677 * testsuite/21_strings/char_traits/requirements/char32_t/typedefs.cc:
2679 * testsuite/21_strings/char_traits/requirements/
2680 explicit_instantiation/short/1.cc: Likewise.
2681 * testsuite/21_strings/char_traits/requirements/
2682 explicit_instantiation/char32_t/1.cc: Likewise.
2683 * testsuite/21_strings/char_traits/requirements/
2684 explicit_instantiation/wchar_t/1.cc: Likewise.
2685 * testsuite/21_strings/char_traits/requirements/
2686 explicit_instantiation/char16_t/1.cc: Likewise.
2687 * testsuite/21_strings/char_traits/requirements/
2688 explicit_instantiation/char/1.cc: Likewise.
2689 * testsuite/21_strings/char_traits/requirements/char16_t/typedefs.cc:
2691 * testsuite/21_strings/basic_string/requirements/
2692 explicit_instantiation/char32_t/1.cc: Likewise.
2693 * testsuite/21_strings/basic_string/requirements/
2694 explicit_instantiation/wchar_t/1.cc: Likewise.
2695 * testsuite/21_strings/basic_string/requirements/
2696 explicit_instantiation/char16_t/1.cc: Likewise.
2697 * testsuite/21_strings/basic_string/requirements/
2698 explicit_instantiation/char/1.cc: Likewise.
2699 * testsuite/21_strings/headers/string/types_std_c++0x.cc: Likewise.
2700 * testsuite/ext/vstring/requirements/explicit_instantiation/
2701 char32_t/1.cc: Likewise.
2702 * testsuite/ext/vstring/requirements/explicit_instantiation/
2703 char16_t/1.cc: Likewise.
2705 2008-08-18 Paolo Carlini <paolo.carlini@oracle.com>
2708 * testsuite/27_io/basic_ostream/inserters_other/char/4.cc: Include
2710 * testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc:
2712 * testsuite/27_io/objects/char/12048-1.cc: Likewise.
2713 * testsuite/27_io/objects/char/12048-3.cc: Likewise.
2714 * testsuite/27_io/objects/wchar_t/12048-1.cc: Likewise.
2715 * testsuite/27_io/objects/wchar_t/12048-3.cc: Likewise.
2716 * testsuite/ext/malloc_allocator/deallocate_global.cc: Likewise.
2717 * testsuite/ext/malloc_allocator/deallocate_local.cc: Likewise.
2718 * testsuite/ext/mt_allocator/deallocate_global-2.cc: Likewise.
2719 * testsuite/ext/mt_allocator/deallocate_global-4.cc: Likewise.
2720 * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Likewise.
2721 * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Likewise.
2722 * testsuite/ext/mt_allocator/deallocate_local-2.cc: Likewise.
2723 * testsuite/ext/mt_allocator/deallocate_local-4.cc: Likewise.
2724 * testsuite/ext/mt_allocator/deallocate_local-6.cc: Likewise.
2725 * testsuite/ext/mt_allocator/deallocate_local-8.cc: Likewise.
2726 * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Likewise.
2727 * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Likewise.
2728 * testsuite/ext/mt_allocator/deallocate_local_thread-5.cc: Likewise.
2729 * testsuite/ext/mt_allocator/deallocate_local_thread-7.cc: Likewise.
2730 * testsuite/ext/new_allocator/deallocate_global.cc: Likewise.
2731 * testsuite/ext/new_allocator/deallocate_local.cc: Likewise.
2732 * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Likewise.
2733 * include/std/regex: Include <sstream>.
2734 * include/tr1/regex: Likewise.
2736 2008-08-18 Paolo Carlini <paolo.carlini@oracle.com>
2738 * configure.ac: Do not hardcode HAVE_S_ISREG and HAVE_S_IFREG for
2740 * configure: Regenerate.
2742 2008-08-18 Paolo Carlini <paolo.carlini@oracle.com>
2745 * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Tighten checks on stdint.h,
2746 check the macros too.
2747 * configure: Regenerate.
2749 2008-08-17 Paolo Carlini <paolo.carlini@oracle.com>
2751 * acinclude.m4 ([AC_LC_MESSAGES]): Use AC_TRY_COMPILE instead of
2753 * configure.ac: Run unconditionally AC_LC_MESSAGES.
2754 * crossconfig.m4: Adjust.
2755 * configure: Regenerate.
2757 2008-08-17 Paolo Carlini <paolo.carlini@oracle.com>
2759 * acinclude.m4 ([GLIBCXX_CHECK_LFS], [GLIBCXX_CHECK_POLL],
2760 [GLIBCXX_CHECK_S_ISREG_OR_S_IFREG], [GLIBCXX_CHECK_WRITEV]):
2761 Use GCC_TRY_COMPILE_OR_LINK instead of AC_TRY_LINK, in C++,
2762 with -fno-exceptions as flags.
2763 * configure.ac: Run unconditionally GLIBCXX_CHECK_LFS,
2764 GLIBCXX_CHECK_POLL, GLIBCXX_CHECK_S_ISREG_OR_S_IFREG,
2765 GLIBCXX_CHECK_WRITEV and commonized AC_CHECK_HEADERS.
2766 * crossconfig.m4: Adjust; remove AC_CHECK_HEADERS commonized
2768 * configure: Regenerate.
2770 2008-08-13 Paolo Carlini <paolo.carlini@oracle.com>
2772 Re-instate last patch, amended to use __exchange_and_add_dispatch
2773 and __atomic_add_dispatch in eh_ptr.cc and eh_throw.cc.
2775 2008-08-13 Paolo Carlini <paolo.carlini@oracle.com>
2777 Revert the last patch.
2779 2008-08-13 Sebastian Redl <sebastian.redl@getdesigned.at>
2781 Add exception propagation support as per N2179.
2782 * libsupc++/exception_ptr.h (exception_ptr, current_exception,
2783 copy_exception, rethrow_exception): New file, implement exception
2785 * libsupc++/eh_ptr.cc (exception_ptr, current_exception,
2786 rethrow_exception, __gxx_dependent_exception_cleanup): Likewise.
2787 * libsupc++/unwind-cxx.h (__cxa_exception): Add reference count.
2788 (__cxa_dependent_exception, __cxa_allocate_dependent_exception,
2789 __cxa_free_dependent_exception, __get_dependent_exception_from_ue,
2790 __GXX_INIT_DEPENDENT_EXCEPTION_CLASS, __is_dependent_exception,
2791 __gxx_dependent_exception_class, __get_object_from_ue,
2792 __get_object_from_ambiguous_exception): Add.
2793 (__GXX_INIT_EXCEPTION_CLASS, __gxx_exception_class): Rename.
2794 (__is_gxx_exception_class): Handle dependent exceptions.
2795 * libsupc++/eh_arm.cc (__cxa_type_match): Likewise.
2796 * libsupc++/eh_call.cc (__cxa_call_unexpected): Likewise.
2797 * libsupc++/eh_personality.cc (__gxx_personality_*): Likewise.
2798 * libsupc++/eh_type.cc (__cxa_current_exception_type): Likewise.
2799 * libsupc++/eh_alloc.cc (__cxa_allocate_dependent_exception,
2800 __cxa_free_dependent_exception): Add.
2801 * libsupc++/eh_throw.cc (__gxx_exception_cleanup): Handle reference
2803 * libsupc++/exception: Conditionally include exception_ptr.h.
2804 * libsupc++/Makefile.am: Register new files.
2805 * libsupc++/Makefile.in: Regenerate.
2806 * config/abi/pre/gnu.ver: Add new symbols.
2807 * testsuite/18_support/exception_ptr/current_exception.cc: Test the
2808 core functionality of current_exception().
2809 * testsuite/18_support/exception_ptr/rethrow_exception.cc: Test the
2810 core functionality of rethrow_exception().
2811 * testsuite/18_support/exception_ptr/lifespan.cc: Test the life span of
2812 exception objects during exception propagation.
2814 2008-08-12 Paolo Carlini <paolo.carlini@oracle.com>
2817 * include/bits/stl_pair.h: Fix documentation URL in comment.
2819 2008-08-12 Johannes Singler <singler@ira.uka.de>
2821 * include/paralle/losertree.h
2822 (LoserTreePointerBase<>::~LoserTreePointerBase):
2823 Replace delete by appropriate delete[].
2825 2008-08-12 Paolo Carlini <paolo.carlini@oracle.com>
2827 * configure.ac: Run unconditionally GLIBCXX_CHECK_INT64_T and
2828 GLIBCXX_CHECK_C99_TR1; remove sigsetjmp and mmap checks (unused).
2829 * crossconfig.m4: Adjust; remove HAVE_GETPAGESIZE defines (unused).
2830 * configure: Regenerate.
2831 * config.h.in: Likewise.
2833 * acinclude.m4: Minor formatting fixes.
2835 2008-08-11 Stephen M. Webb <stephenw@xandros.com>
2837 * include/tr1_impl/regex: Formatting fixes.
2838 * testsuite/tr1/7_regular_expressions/regex_traits/char/value.cc:
2840 * testsuite/tr1/7_regular_expressions/regex_traits/wchar_t/value.cc:
2843 2008-08-11 Paolo Carlini <paolo.carlini@oracle.com>
2845 * config/locale/generic/c_locale.cc: Include <cstdio>.
2847 2008-08-11 Paolo Carlini <paolo.carlini@oracle.com>
2849 * configure.ac: Run GLIBCXX_CHECK_STDIO_MACROS unconditionally.
2850 * configure: Regenerate.
2852 2008-08-10 Paolo Carlini <paolo.carlini@oracle.com>
2854 * include/tr1_impl/type_traits (_DEFINE_SPEC*): Simplify.
2855 (_DEFINE_SPEC_BODY): Remove.
2856 (__is_void_helper, __is_integral_helper, __is_floating_point_helper,
2857 __is_member_object_pointer_helper, __is_member_function_pointer_helper,
2858 __remove_pointer_helper): Add.
2859 (is_void, is_integral, is_floating_point, is_member_object_pointer,
2860 is_member_function_pointer, remove_pointer): Use the latter.
2861 * include/tr1/type_traits (_DEFINE_SPEC): Simplify.
2862 (_DEFINE_SPEC_HELPER): Remove.
2863 (__is_signed_helper, __is_unsigned_helper): Add.
2864 (is_signed, is_unsigned): Use the latter.
2866 2008-08-09 Paolo Carlini <paolo.carlini@oracle.com>
2868 Revert fix for libstdc++/35637, thanks to other/36901.
2869 * include/tr1_impl/type_traits (__is_function_helper): New, uses
2871 (is_function): Forward to the latter.
2872 (__in_array): Remove.
2874 2008-08-09 Paolo Carlini <paolo.carlini@oracle.com>
2876 * config/locale/darwin/ctype_members.cc: Include <cstdio>.
2878 2008-08-08 Paolo Carlini <paolo.carlini@oracle.com>
2880 * include/bits/ios_base.h: Undef _IOS_BASE_SEEK_CUR and
2881 _IOS_BASE_SEEK_END at the end of the file.
2882 * include/bits/char_traits.h: Likewise for _CHAR_TRAITS_EOF.
2884 2008-08-07 Stephen M. Webb <stephenw@xandros.com>
2886 * include/tr1_impl/regex (match_results<>::cbegin, cend): Add, per
2889 2008-08-06 Paolo Carlini <paolo.carlini@oracle.com>
2891 * acinclude.m4 ([GLIBCXX_CHECK_STDIO_MACROS]): New, checks for
2892 common values of EOF, SEEK_CUR, SEEK_END.
2893 * configure.ac: Use it.
2894 * include/bits/ios_base.h: Likewise.
2895 * include/bits/char_traits.h: Likewise.
2896 * config/locale/gnu/ctype_members.cc: Include <cstdio>.
2897 * config/locale/generic/ctype_members.cc: Likewise.
2898 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust dg-error lines.
2899 * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
2900 * configure: Regenerate.
2901 * config.h.in: Likewise.
2903 2008-08-06 Paolo Carlini <paolo.carlini@oracle.com>
2905 * acinclude.m4 ([GLIBCXX_CHECK_INT64_T]): Also check whether int64_t
2906 is actually a typedef to long or long long.
2907 * include/bits/postypes.h: If int64_t is actually a typedef for
2908 long or long long don't include <stdint.h> unnecessarily.
2909 * configure: Regenerate.
2910 * config.h.in: Likewise.
2912 2008-08-05 Paolo Carlini <paolo.carlini@oracle.com>
2914 * testsuite/util/testsuite_api.h (diamond_derivation<>::test):
2915 Expect ambiguity together with the standard exception classes.
2916 * testsuite/27_io/ios_base/failure/cons_virtual_derivation.cc: Remove
2918 * testsuite/19_diagnostics/logic_error/cons_virtual_derivation.cc:
2920 * testsuite/19_diagnostics/runtime_error/cons_virtual_derivation.cc:
2922 * testsuite/19_diagnostics/system_error/cons_virtual_derivation.cc:
2924 * testsuite/18_support/bad_alloc/cons_virtual_derivation.cc: Likewise.
2925 * testsuite/18_support/bad_cast/cons_virtual_derivation.cc: Likewise.
2926 * testsuite/18_support/bad_exception/cons_virtual_derivation.cc:
2928 * testsuite/18_support/bad_typeid/cons_virtual_derivation.cc:
2930 * testsuite/ext/concurrence_lock_error/cons_virtual_derivation.cc:
2932 * testsuite/ext/forced_exception_error/cons_virtual_derivation.cc:
2934 * testsuite/ext/concurrence_unlock_error/cons_virtual_derivation.cc:
2936 * testsuite/20_util/bad_function_call/cons_virtual_derivation.cc:
2939 2008-08-04 Paolo Carlini <paolo.carlini@oracle.com>
2941 * include/bits/postypes.h: Reinstate inclusion of <stdint.h>;
2942 also define the __STDC_* macros.
2943 (streamoff): Adjust.
2945 * include/tr1_impl/cstdint: Check that the __STDC_* macros are
2946 not defined before defining.
2948 2008-08-01 Paolo Bonzini <bonzini@gnu.org>
2949 Chris Fairles <chris.fairles@gmail.com>
2951 * acinclude.m4 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Reinstate clock_gettime
2952 search, but only in libposix4, never link librt.
2953 * src/Makefile.am: Reinstate previous change to add GLIBCXX_LIBS.
2954 * configure: Regenerate.
2955 * configure.in: Likewise.
2956 * Makefile.in: Likewise.
2957 * src/Makefile.in: Likewise.
2958 * libsup++/Makefile.in: Likewise.
2959 * po/Makefile.in: Likewise.
2960 * doc/Makefile.in: Likewise.
2962 2008-07-31 Chris Fairles <chris.fairles@gmail.com>
2964 * include/std/chrono (duration): Use explicitly defaulted ctor, cctor,
2965 dtor and assignment. Add diagnostics as per 20.8.3 paragraphs 2, 3
2966 and 4 in WD. Other minor tweaks.
2967 * testsuite/20_util/duration/cons/1_neg.cc: Adjust line numbers.
2968 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: New.
2969 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Likewise.
2970 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Likewise.
2972 2008-07-31 Paolo Carlini <paolo.carlini@oracle.com>
2974 * testsuite/lib/libstdc++.exp (libstdc++_init): Set v3-libgomp.
2975 (check_v3_target_parallel_mode): Robustify, just follow the
2976 structure of testsuite/Makefile.am.
2978 2008-07-29 Paolo Carlini <paolo.carlini@oracle.com>
2980 * include/debug/set.h: Minor formatting fixes.
2981 * include/debug/multiset.h: Likewise.
2982 * include/debug/safe_association.h: Likewise.
2983 * include/debug/vector: Likewise.
2984 * include/debug/map.h: Likewise.
2985 * include/debug/string: Likewise.
2986 * include/debug/multimap.h: Likewise.
2987 * include/bits/stl_list.h: Likewise.
2988 * include/bits/stl_map.h: Likewise.
2989 * include/bits/stl_set.h: Likewise.
2990 * include/bits/stl_multimap.h: Likewise.
2991 * include/bits/stl_vector.h: Likewise.
2992 * include/bits/stl_multiset.h: Likewise.
2993 * include/bits/stl_bvector.h: Likewise.
2995 2008-07-29 Paolo Carlini <paolo.carlini@oracle.com>
2997 * include/std/utility: Include <initializer_list>, per the current WP.
2999 * testsuite/lib/libstdc++.exp (check_v3_target_cstdint): Tweak,
3000 don't use -std=gnu++0x unnecessarily.
3001 * testsuite/18_support/numeric_limits/char16_32_t.cc: Use
3003 * testsuite/18_support/headers/cstdint/types_std_c++0x.cc: Likewise.
3004 * testsuite/tr1/8_c_compatibility/cstdint/types_std_tr1.cc: Likewise.
3006 2008-07-28 Paolo Carlini <paolo.carlini@oracle.com>
3009 * include/tr1_impl/boost_shared_ptr.h
3010 (__shared_ptr(_Sp_make_shared_tag, _Alloc, _Args&&...): Call
3011 __enable_shared_from_this_helper.
3012 * testsuite/20_util/shared_ptr/creation/36949.cc: New.
3014 2008-07-24 Paolo Carlini <paolo.carlini@oracle.com>
3018 2008-07-23 Chris Fairles <chris.fairles@gmail.com>
3020 * acinclude.m4 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Define GLIBCXX_LIBS.
3021 Holds the lib that defines clock_gettime (-lrt or -lposix4).
3022 * src/Makefile.am: Use it.
3023 * configure: Regenerate.
3024 * configure.in: Likewise.
3025 * Makefile.in: Likewise.
3026 * src/Makefile.in: Likewise.
3027 * libsup++/Makefile.in: Likewise.
3028 * po/Makefile.in: Likewise.
3029 * doc/Makefile.in: Likewise.
3031 2008-07-23 Chris Fairles <chris.fairles@gmail.com>
3033 * include/std/condition_variable: Update to N2691 WD.
3034 * include/std/mutex: Likewise.
3035 * testsuite/30_threads/mutex/cons/assign_neg.cc: Adjust line numbers.
3036 * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise.
3037 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
3038 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
3040 2008-07-23 Chris Fairles <chris.fairles@gmail.com>
3042 * acinclude.m4 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Define GLIBCXX_LIBS.
3043 Holds the lib that defines clock_gettime (-lrt or -lposix4).
3044 * src/Makefile.am: Use it.
3045 * configure: Regenerate.
3046 * configure.in: Likewise.
3047 * Makefile.in: Likewise.
3048 * src/Makefile.in: Likewise.
3049 * libsup++/Makefile.in: Likewise.
3050 * po/Makefile.in: Likewise.
3051 * doc/Makefile.in: Likewise.
3053 2008-07-22 Paolo Carlini <paolo.carlini@oracle.com>
3055 * include/ext/sso_string_base.h
3056 (__sso_string_base<>::__sso_string_base(std::initializer_list<_CharT>,
3057 const _Alloc&)): Remove.
3058 * include/ext/rc_string_base.h
3059 (__rc_string_base<>::__rc_string_base(std::initializer_list<_CharT>,
3060 const _Alloc&)): Likewise.
3061 * include/ext/vstring.h
3062 (__versa_string<>::__versa_string(std::initializer_list<_CharT>,
3063 const _Alloc&)): Adjust.
3065 2008-07-21 Jason Merrill <jason@redhat.com>
3067 Add initializer_list support as per N2679.
3068 * include/debug/unordered_map: Add initializer_list support.
3069 * include/debug/safe_association.h: Likewise.
3070 * include/debug/unordered_set: Likewise.
3071 * include/debug/vector: Likewise.
3072 * include/debug/deque: Likewise.
3073 * include/debug/map.h: Likewise.
3074 * include/debug/set.h: Likewise.
3075 * include/debug/string: Likewise.
3076 * include/debug/list: Likewise.
3077 * include/debug/multimap.h: Likewise.
3078 * include/tr1_impl/unordered_map: Likewise.
3079 * include/tr1_impl/hashtable: Likewise.
3080 * include/tr1_impl/unordered_set: Likewise.
3081 * include/tr1_impl/regex: Likewise.
3082 * include/std/valarray: Likewise.
3083 * include/std/unordered_map: Likewise.
3084 * include/std/unordered_set: Likewise.
3085 * include/bits/stl_list.h: Likewise.
3086 * include/bits/stl_map.h: Likewise.
3087 * include/bits/stl_set.h: Likewise.
3088 * include/bits/basic_string.h: Likewise.
3089 * include/bits/basic_string.tcc: Likewise.
3090 * include/bits/stl_multimap.h: Likewise.
3091 * include/bits/stl_vector.h: Likewise.
3092 * include/bits/stl_deque.h: Likewise.
3093 * include/bits/stl_multiset.h: Likewise.
3094 * include/bits/stl_bvector.h: Likewise.
3095 * include/ext/vstring.h: Likewise.
3096 * include/ext/rc_string_base.h: Likewise.
3097 * include/ext/sso_string_base.h: Likewise.
3098 * src/Makefile.am (w?string-inst): Build with -std=gnu++0x.
3099 * src/Makefile.in: Likewise.
3100 * config/abi/pre/gnu.ver: Add new w?string exports.
3101 * testsuite/21_strings/basic_string/init-list.cc: New test.
3102 * testsuite/23_containers/vector/init-list.cc: New test.
3103 * testsuite/23_containers/deque/init-list.cc: New test.
3104 * testsuite/23_containers/list/init-list.cc: New test.
3105 * testsuite/23_containers/map/init-list.cc: New test.
3106 * testsuite/23_containers/multimap/init-list.cc: New test.
3107 * testsuite/23_containers/set/init-list.cc: New test.
3108 * testsuite/23_containers/multiset/init-list.cc: New test.
3109 * testsuite/23_containers/unordered_map/init-list.cc: New test.
3110 * testsuite/23_containers/unordered_multimap/init-list.cc: New test.
3111 * testsuite/23_containers/unordered_set/init-list.cc: New test.
3112 * testsuite/23_containers/unordered_multiset/init-list.cc: New test.
3113 * testsuite/26_numerics/valarray/init-list.cc: New test.
3114 * testsuite/28_regex/init-list.cc: New test.
3115 * testsuite/ext/vstring/init-list.cc: New test.
3116 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
3117 Update error lineno.
3118 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
3119 Update error lineno.
3120 * testsuite/23_containers/vector/requirements/dr438/
3121 constructor_1_neg.cc: Update error lineno.
3122 * testsuite/23_containers/vector/requirements/dr438/
3123 constructor_2_neg.cc: Update error lineno.
3124 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
3125 Update error lineno.
3126 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
3127 Update error lineno.
3128 * testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc:
3129 Update error lineno.
3130 * testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc:
3131 Update error lineno.
3132 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
3133 Update error lineno.
3134 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
3135 Update error lineno.
3136 * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
3137 Update error lineno.
3138 * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
3139 Update error lineno.
3141 2008-07-21 Mark Mitchell <mark@codesourcery.com>
3143 * config/os/gnu-linux/arm-eabi-extra.ver: New file.
3144 * configure.host: Use it for arm*-*-linux-*eabi.
3146 2008-07-19 Paolo Carlini <paolo.carlini@oracle.com>
3148 * include/ext/pb_ds/detail/binomial_heap_base_/debug_fn_imps.hpp
3149 (assert_node_consistent): Avoid ambiguous else warning.
3151 * include/ext/pb_ds/detail/debug_map_base.hpp: Include <iostream>.
3153 * include/bits/c++config: In debug-mode (and parallel-mode) set
3154 _GLIBCXX_EXTERN_TEMPLATE to -1, not 0, thus disabling extern
3155 templates only for basic_string (per libstdc++/21674).
3156 * include/bits/basic_string.tcc: Use extern templates when
3157 _GLIBCXX_EXTERN_TEMPLATE > 0.
3159 2008-07-18 Kris Van Hees <kris.van.hees@oracle.com>
3160 Holger Hopp <holger.hopp@sap.com>
3162 * config/abi/pre/gnu.ver: Support char16_t and char32_t.
3163 * testsuite/util/testsuite_abi.cc (check_version): Add
3164 CXXABI_1.3.3 to known_versions.
3166 2008-07-16 Paolo Carlini <paolo.carlini@oracle.com>
3168 * include/debug/vector (insert(iterator, _Tp&&), push_back(_Tp&&)):
3169 Enable only when _Tp != bool.
3171 * testsuite/25_algorithms/heap/1.cc: Avoid unused variable warnings.
3173 2008-07-18 Paolo Carlini <paolo.carlini@oracle.com>
3175 * testsuite/lib/libstdc++.exp (check_v3_target_c_std): Avoid unused
3176 variable warnings leading to spurious fails of the test.
3178 2008-07-16 Paolo Carlini <paolo.carlini@oracle.com>
3180 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Adjust
3182 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
3183 * testsuite/20_util/duration/cons/1_neg.cc: Likewise.
3185 * include/tr1_impl/type_traits: Fix comment typo.
3187 2008-07-16 Paolo Carlini <paolo.carlini@oracle.com>
3189 * include/bits/unique_ptr.h: Remove stray character.
3191 2008-07-15 Benjamin Kosnik <bkoz@redhat.com>
3193 * doc/doxygen/user.cfg.in: Add complex, ratio,
3195 (PREDEFINED): Add _GLIBCXX_USE_C99_STDINT_TR1.
3196 * doc/doxygen/doxygroups.cc: Add std::chrono.
3197 * include/bits/unique_ptr.h (default_delete, unique_ptr): Add markup.
3198 * libsupc++/initializer_list (initializer_list): Same.
3199 * include/std/ratio: Same.
3200 * include/std/chrono: Same.
3201 * include/std/complex: Disambiguate file markup.
3203 2008-07-15 Chris Fairles <chris.fairles@gmail.com>
3205 * include/std/chrono: New, as per N2661.
3206 * src/chrono.cc: New.
3207 * include/Makefile.am: Update.
3208 * src/Makefile.am: Likewise.
3209 * include/Makefile.in: Regenerate.
3210 * src/Makefile.in: Likewise.
3211 * acinclude.m4: Add tests for clock_gettime and gettimeofday that
3212 define _GLIBCXX_HAS_CLOCK_GETTIME and/or _GLIBCXX_HAS_GETTIMEOFDAY.
3213 * configure.ac: Use them.
3214 * configure: Regenerate.
3215 * config.h.in: Likewise.
3216 * config/abi/pre/gnu.ver: Add symbols for system_clock::now() and
3217 system_clock::is_monotonic.
3218 * testsuite/20_util/duration/cons/1.cc: New.
3219 * testsuite/20_util/duration/cons/2.cc: Likewise.
3220 * testsuite/20_util/duration/cons/1_neg.cc: Likewise.
3221 * testsuite/20_util/duration/requirements/explicit_instantiation/
3222 explicit_instantiation.cc: Likewise.
3223 * testsuite/20_util/duration/arithmetic/1.cc: Likewise.
3224 * testsuite/20_util/duration/arithmetic/2.cc: Likewise.
3225 * testsuite/20_util/duration/comparisons/1.cc: Likewise.
3226 * testsuite/20_util/time_point/requirements/explicit_instantiation/
3227 explicit_instantiation.cc: Likewise.
3228 * testsuite/20_util/time_point/1.cc: Likewise.
3229 * testsuite/20_util/time_point/2.cc: Likewise.
3230 * testsuite/20_util/time_point/3.cc: Likewise.
3231 * testsuite/20_util/clocks/1.cc: Likewise.
3232 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Add
3234 * testsuite/17_intro/headers/c++200x/all.cc: Likewise.
3235 * include/precompiled/stdc++.h: Likewise and remove <date_time>.
3236 * doc/doxygen/user.cfg.in: Likewise.
3238 2008-07-15 Paolo Carlini <paolo.carlini@oracle.com>
3241 * include/ext/rope (_Destroy_const): Add.
3242 (rope<>::copy): Call it.
3243 * testsuite/ext/rope/36832.cc: New.
3245 2008-07-15 Johannes Singler <singler@ira.uka.de>
3247 * include/parallel/find_selectors.h:
3248 Correct name for include guard #ifndef.
3249 * include/parallel/balanced_quicksort.h: Likewise.
3250 * include/parallel/unique_copy.h: Likewise.
3251 * include/parallel/multiway_mergesort.h: Likewise.
3252 * include/parallel/checkers.h: Likewise.
3253 * include/parallel/[various files]:
3254 Add/correct comment for #endif of include guard (at end of file)
3256 2008-07-12 Paolo Carlini <paolo.carlini@oracle.com>
3258 * include/std/date_time: Remove, per N2549, in WP.
3259 * src/date_time.cc: Likewise.
3260 * config/abi/pre/gnu.ver: Remove <date_time> symbols.
3261 * include/Makefile.am: Remove date_time in std headers.
3262 * src/Makefile.am: Remove date_time.cc to source files.
3263 * include/Makefile.in: Regenerate.
3264 * src/Makefile.in: Likewise.
3265 * testsuite/31_date_time/headers/date_time/types_std.cc: Remove.
3266 * testsuite/31_date_time/headers/date_time/std_c++0x_neg.cc: Likewise.
3267 * testsuite/31_date_time/headers/date_time/functions_std.cc: Likewise.
3268 * testsuite/31_date_time/headers/date_time/synopsis.cc: Likewise.
3269 * testsuite/31_date_time/nanoseconds/requirements/traits.cc: Likewise.
3270 * testsuite/31_date_time/nanoseconds/requirements/duration.cc: Likewise.
3271 * testsuite/31_date_time/system_time/requirements: Likewise.
3272 * testsuite/31_date_time/system_time/requirements/traits.cc: Likewise.
3273 * testsuite/17_intro/headers/c++200x/all.cc: Adjust.
3274 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Adjust.
3276 2008-07-10 Johannes Singler <singler@ira.uka.de>
3278 * include/parallel/balanced_quicksort.h:
3279 (qsb_divide) Replace "*end" by "*(end - 1)" in assertion.
3281 2008-07-09 Benjamin Kosnik <bkoz@redhat.com>
3284 * doc/xml/manual/allocator.xml: Fix links.
3285 * doc/html/*: Regenerate.
3287 2008-07-09 Joseph Myers <joseph@codesourcery.com>
3289 * libsupc++/unwind-cxx.h (__is_gxx_forced_unwind_class,
3290 __GXX_INIT_FORCED_UNWIND_CLASS): Define for ARM EABI unwinder.
3291 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Call
3292 __GXX_INIT_FORCED_UNWIND_CLASS for forced unwind with ARM EABI
3294 * libsupc++/eh_arm.cc (__cxa_type_match): Use
3295 __is_gxx_forced_unwind_class to check for forced unwind.
3297 2008-07-09 Andreas Beckmann <gcc@abeckmann.de>
3300 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
3301 null_metadata.hpp: Remove self-include.
3303 2008-07-09 Joseph Myers <joseph@codesourcery.com>
3305 * testsuite/20_util/make_signed/requirements/typedefs-2.cc,
3306 testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Use
3307 -Wl,--no-enum-size-warning for arm*-*-linux*eabi.
3309 2008-07-09 Johannes Singler <singler@ira.uka.de>
3312 * include/parallel/random_shuffle.h:
3313 (sequential_random_shuffle) Copy data back.
3314 * testsuite/25_algorithms/random_shuffle/1.cc:
3315 New. Generic random_shuffle functionality test.
3317 2008-07-08 Chris Fairles <chris.fairles@gmail.com>
3319 * include/std/type_traits: Add common_type.
3320 * testsuite/20_util/common_type/requirements/
3321 explicit_instantiation.cc: New.
3322 * testsuite/20_util/common_type/requirements/
3323 typedefs-1.cc: Likewise.
3325 2008-07-07 Paolo Carlini <paolo.carlini@oracle.com>
3327 * testsuite/lib/libstdc++.exp (check_v3_target_stdint): New.
3328 * testsuite/lib/dg-options.exp (dg-require-cstdint): New.
3329 * testsuite/20_util/ratio/cons/cons1.cc: Use it.
3330 * testsuite/20_util/ratio/cons/cons_overflow.cc: Likewise.
3331 * testsuite/20_util/ratio/operations/ops1.cc: Likewise.
3332 * testsuite/20_util/ratio/operations/ops2.cc: Likewise.
3333 * testsuite/20_util/ratio/operations/ops3.cc: Likewise.
3334 * testsuite/20_util/ratio/operations/ops_overflow.cc: Likewise.
3335 * testsuite/20_util/ratio/comparisons/comp1.cc: Likewise.
3336 * testsuite/20_util/ratio/comparisons/comp2.cc: Likewise.
3338 * include/std/type_traits: Fix comment typo.
3340 2008-07-06 Roger Sayle <roger@eyesopen.com>
3342 * include/std/system_error (is_error_code_enum): Use identifier
3343 _Tp instead of _T to avoid conflict with system macro on Darwin.
3344 (is_error_condition_enum): Likewise.
3346 2008-07-05 Paolo Carlini <paolo.carlini@oracle.com>
3348 * include/bits/postypes.h: Do not include <stdint.h>.
3350 * include/Makefile.am: Reorder.
3352 2008-07-05 Paolo Carlini <paolo.carlini@oracle.com>
3354 * include/std/ratio: Prefer __INTMAX_MAX__ to INTMAX_MAX (INTMAX_MIN).
3356 2008-07-05 Chris Fairles <chris.fairles@gmail.com>
3358 * include/std/ratio: Documentation for std::ratio class. Add conditions
3359 to ratio_less to prevent overflow.
3360 * testsuite/20_util/ratio/comparisons/comp2.cc: New.
3361 * testsuite/20_util/ratio/cons/cons_overflow.cc: Update dg-error line
3364 2008-07-04 Chris Fairles <chris.fairles@gmail.com>
3366 * include/std/ratio: New, per N2661.
3367 * include/Makefile.am: Update.
3368 * include/Makefile.in: Regenerate.
3369 * testsuite/20_util/ratio/cons/cons1.cc: New.
3370 * testsuite/20_util/ratio/cons/cons_overflow.cc: Likewise.
3371 * testsuite/20_util/ratio/operations/ops1.cc: Likewise.
3372 * testsuite/20_util/ratio/operations/ops2.cc: Likewise.
3373 * testsuite/20_util/ratio/operations/ops3.cc: Likewise.
3374 * testsuite/20_util/ratio/operations/ops_overflow.cc: Likewise.
3375 * testsuite/20_util/ratio/comparisons/comp1.cc: Likewise.
3377 2008-07-04 Paolo Carlini <paolo.carlini@oracle.com>
3380 * testsuite/22_locale/time_put/put/char/4.cc: Just use es_ES instead.
3381 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
3383 2008-07-03 Paolo Carlini <paolo.carlini@oracle.com>
3385 * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
3386 Improve check on long double limits.
3387 * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
3389 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3391 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3394 2008-07-03 Paolo Carlini <paolo.carlini@oracle.com>
3396 * libsupc++/Makefile.am: Add initializer_list to the headers.
3397 * libsupc++/Makefile.in: Regenerate.
3399 * libsupc++/initializer_list: Minor cosmetic changes.
3401 2008-07-02 Jason Merrill <jason@redhat.com>
3403 * libsupc++/initializer_list: Uglify and wrap in
3404 __GXX_EXPERIMENTAL_CXX0X__.
3405 * include/bits/stl_map.h (insert(initializer_list)): Wrap.
3407 2008-07-02 Jason Merrill <jason@redhat.com>
3409 * libsupc++/initializer_list: New file.
3410 * include/bits/stl_map.h (insert(initializer_list)): New method.
3412 2008-06-30 Alfred E. Heggestad <aeh@db.org>
3414 * include/backward/backward_warning.h: Fix typo.
3416 2008-06-29 Paolo Carlini <paolo.carlini@oracle.com>
3418 * src/string_conversions.cc: Remove.
3419 * config/abi/pre/gnu.ver: Delete exports.
3420 * src/Makefile.am: Update.
3421 * include/ext/string_conversions.h: Add.
3422 * include/Makefile.am: Update.
3423 * include/bits/basic_string.h: Include string_conversions.h,
3424 define numeric conversion functions.
3425 * include/ext/vstring.h: Likewise.
3426 * src/Makefile.in: Regenerate.
3427 * include/Makefile.in: Regenerate.
3429 2008-06-29 Paolo Carlini <paolo.carlini@oracle.com>
3431 * include/bits/stl_algo.h (copy_n): Add in C++0x mode.
3432 * include/bits/algorithmfwd.h: Add.
3433 * include/bits/stl_uninitialized.h (uninitialized_copy_n): Add
3435 * testsuite/20_util/specialized_algorithms/uninitialized_copy_n/
3436 move_iterators/1.cc: New
3437 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
3438 * testsuite/25_algorithms/copy_n/1.cc: New.
3439 * testsuite/25_algorithms/copy_n/2.cc: Likewise.
3440 * testsuite/25_algorithms/copy_n/3.cc: Likewise.
3441 * testsuite/25_algorithms/copy_n/4.cc: Likewise.
3442 * testsuite/25_algorithms/copy_n/move_iterators/1.cc: Likewise.
3443 * testsuite/25_algorithms/copy_n/requirements/
3444 explicit_instantiation/2.cc: Likewise.
3445 * testsuite/25_algorithms/partition_point/requirements/
3446 explicit_instantiation/pod.cc: Likewise.
3448 2008-06-28 Paolo Carlini <paolo.carlini@oracle.com>
3450 * include/bits/stl_algo.h (partition_point): Add in C++0x mode.
3451 * include/bits/algorithmfwd.h: Add.
3452 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
3453 * testsuite/25_algorithms/partition_point/1.cc: New.
3454 * testsuite/25_algorithms/partition_point/check_type.cc: Likewise.
3455 * testsuite/25_algorithms/partition_point/requirements/
3456 explicit_instantiation/2.cc: Likewise.
3457 * testsuite/25_algorithms/partition_point/requirements/
3458 explicit_instantiation/pod.cc: Likewise.
3460 2008-06-28 Paolo Carlini <paolo.carlini@oracle.com>
3463 * include/ext/pb_ds/detail/resize_policy/
3464 sample_resize_trigger.hpp: Remove spurious namespace end.
3466 2008-06-27 Mark Mitchell <mark@codesourcery.com>
3468 * libsupc++/vec.cc (__aeabi_vec_dtor_cookie): Handle NULL array
3470 (__aeabi_vec_delete): Likewise.
3471 (__aeabi_vec_delete3): Likewise.
3472 (__aeabi_vec_delete3_nodtor): Likewise.
3474 2008-06-27 Paolo Carlini <paolo.carlini@oracle.com>
3476 * include/bits/stl_algo.h (is_partitioned): Add in C++0x mode.
3477 * include/bits/algorithmfwd.h: Add.
3478 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
3479 * testsuite/25_algorithms/is_partitioned/1.cc: New.
3480 * testsuite/25_algorithms/is_partitioned/check_type.cc: Likewise.
3481 * testsuite/25_algorithms/is_partitioned/requirements/
3482 explicit_instantiation/2.cc: Likewise.
3483 * testsuite/25_algorithms/is_partitioned/requirements/
3484 explicit_instantiation/pod.cc: Likewise.
3486 2008-06-27 Paolo Carlini <paolo.carlini@oracle.com>
3488 * include/bits/stl_numeric.h (iota): Add in C++0x mode.
3489 * testsuite/util/testsuite_character.h (pod_int): Add operator++
3491 * testsuite/util/testsuite_api.h (NonDefaultConstructible): Likewise.
3492 * testsuite/26_numerics/iota/1.cc: New.
3493 * testsuite/26_numerics/iota/requirements/explicit_instantiation/
3495 * testsuite/26_numerics/iota/requirements/explicit_instantiation/
3498 * include/ext/algorithm: Do not fiddle with the legacy headers.
3500 * testsuite/26_numerics/partial_sum/1.cc: Minor changes, comments,
3502 * testsuite/26_numerics/accumulate/1.cc: Likewise.
3503 * testsuite/26_numerics/adjacent_difference/1.cc: Likewise.
3504 * testsuite/26_numerics/inner_product/1.cc: Likewise.
3506 2008-06-26 Paolo Carlini <paolo.carlini@oracle.com>
3508 * include/bits/stl_algo.h (partition_copy): Add in C++0x mode.
3509 * include/bits/algorithmfwd.h: Add.
3510 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
3511 * testsuite/25_algorithms/partition_copy/1.cc: New.
3512 * testsuite/25_algorithms/partition_copy/check_type.cc: Likewise.
3513 * testsuite/25_algorithms/partition_copy/requirements/
3514 explicit_instantiation/2.cc: Likewise.
3515 * testsuite/25_algorithms/partition_copy/requirements/
3516 explicit_instantiation/pod.cc: Likewise.
3518 2008-06-26 Chris Fairles <chris.fairles@gmail.com>
3520 * testsuite/20_util/unique_ptr/cons/pointer_array.cc: New.
3521 * testsuite/20_util/unique_ptr/cons/pointer.cc: Likewise.
3522 * testsuite/20_util/unique_ptr/cons/pointer_array_convertible.cc:
3524 * testsuite/20_util/unique_ptr/assign/move_array.cc: Likewise.
3525 * testsuite/20_util/unique_ptr/assign/move.cc: Likewise.
3526 * testsuite/20_util/unique_ptr/specialized_algorithms/
3527 comparisons_array.cc: Likewise.
3528 * testsuite/20_util/unique_ptr/specialized_algorithms/comparisons.cc:
3530 * testsuite/20_util/unique_ptr/specialized_algorithms/swap.cc:
3533 2008-06-26 Paolo Carlini <paolo.carlini@oracle.com>
3535 * include/parallel/base.h (plus, multiplies): Use __typeof__,
3538 2008-06-25 Paolo Carlini <paolo.carlini@oracle.com>
3540 * testsuite/29_atomics/atomic_flag/cons/default.cc: Avoid -Wall
3542 * testsuite/29_atomics/atomic_flag/cons/aggregate.cc: Likewise.
3543 * testsuite/29_atomics/headers/cstdatomic/types_std_c++0x.cc:
3545 * testsuite/29_atomics/headers/stdatomic.h/types.c: Likewise.
3546 * testsuite/util/testsuite_common_types.h (struct assignable,
3547 struct default_constructible, struct copy_constructible,
3548 struct explicit_value_constructible): Use a tad of simulated
3549 concept checking techniques to avoid spurious warnings.
3550 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust dg-error
3552 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
3554 2008-06-25 Paolo Carlini <paolo.carlini@oracle.com>
3556 * include/bits/stl_algo.h (__find_if_not, find_if_not, all_of,
3557 any_of, none_of): Add in C++0x, per N2666.
3558 * include/bits/algorithmfwd.h: Update.
3559 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
3560 * testsuite/25_algorithms/all_of/check_type.cc: New.
3561 * testsuite/25_algorithms/all_of/1.cc: Likewise.
3562 * testsuite/25_algorithms/all_of/requirements/explicit_instantiation/
3564 * testsuite/25_algorithms/all_of/requirements/explicit_instantiation/
3566 * testsuite/25_algorithms/any_of/check_type.cc: Likewise.
3567 * testsuite/25_algorithms/any_of/1.cc: Likewise.
3568 * testsuite/25_algorithms/any_of/requirements/explicit_instantiation/
3570 * testsuite/25_algorithms/any_of/requirements/explicit_instantiation/
3572 * testsuite/25_algorithms/none_of/check_type.cc: Likewise.
3573 * testsuite/25_algorithms/none_of/1.cc: Likewise.
3574 * testsuite/25_algorithms/none_of/requirements/explicit_instantiation/
3576 * testsuite/25_algorithms/none_of/requirements/explicit_instantiation/
3578 * testsuite/25_algorithms/find_if_not/check_type.cc: Likewise.
3579 * testsuite/25_algorithms/find_if_not/1.cc: Likewise.
3580 * testsuite/25_algorithms/find_if_not/requirements/
3581 explicit_instantiation/2.cc: Likewise.
3582 * testsuite/25_algorithms/find_if_not/requirements/
3583 explicit_instantiation/pod.cc: Likewise.
3584 * testsuite/25_algorithms/copy_if/check_type.cc: Likewise.
3585 * testsuite/25_algorithms/remove_copy_if/check_type.cc: Likewise.
3586 * testsuite/25_algorithms/find_if/1.cc: Minor tweaks.
3588 2008-06-24 Benjamin Kosnik <bkoz@redhat.com>
3590 * doc/xml/manual/parallel_mode.xml: Clarify use of explicit
3591 parallel algorithms.
3592 * doc/xml/manual/using.xml: Markup fixes caught by validation check.
3593 * doc/xml/manual/test.xml: Remove empty para tags.
3595 * doc/html/*: Regenerate.
3597 2008-06-24 Paolo Carlini <paolo.carlini@oracle.com>
3599 * include/bits/stl_algo.h (remove_if): Cast __pred result to bool.
3600 (copy_if): Add, per N2666.
3601 * testsuite/25_algorithms/copy_if/requirements/explicit_instantiation/
3603 * testsuite/25_algorithms/copy_if/requirements/explicit_instantiation/
3605 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
3607 2008-06-24 Paolo Carlini <paolo.carlini@oracle.com>
3608 Chalathip Thumkanon <chalathip@gmail.com>
3611 * include/ext/pb_ds/exception.hpp (__throw_container_error,
3612 __throw_insert_error, __throw_join_error, __throw_resize_error):
3615 2008-06-22 Paolo Carlini <paolo.carlini@oracle.com>
3617 * include/bits/move.h (swap(_Tp (&)[_Nm], _Tp (&)[_Nm])): Add,
3619 * include/bits/algorithmfwd.h: Add.
3620 * doc/xml/manual/intro.xml: Add an entry for DR 809.
3621 * testsuite/25_algorithms/swap/dr809.cc: New.
3623 * testsuite/25_algorithms/swap/requirements/explicit_instantiation/
3624 2.cc: Remove stray empty line.
3626 2008-06-21 Paolo Carlini <paolo.carlini@oracle.com>
3628 * include/bits/stl_move.h: Rename to move.h.
3629 * include/std/utility: Adjust.
3630 * include/ext/vstring_util.h: Likewise.
3631 * include/ext/throw_allocator.h: Likewise.
3632 * include/ext/pool_allocator.h: Likewise.
3633 * include/ext/bitmap_allocator.h: Likewise.
3634 * include/ext/new_allocator.h: Likewise.
3635 * include/ext/malloc_allocator.h: Likewise.
3636 * include/ext/array_allocator.h: Likewise.
3637 * include/ext/mt_allocator.h: Likewise.
3638 * include/bits/stl_algobase.h: Likewise.
3639 * include/bits/stl_heap.h: Likewise.
3640 * include/bits/stl_pair.h: Likewise.
3641 * include/bits/stl_iterator.h: Likewise.
3642 * testsuite/util/testsuite_allocator.h: Likewise.
3643 * testsuite/util/testsuite_iterators.h: Likewise.
3644 * include/Makefile.am: Likewise.
3645 * include/Makefile.in: Regenerate.
3647 2008-06-21 Chris Fairles <chris.fairles@gmail.com>
3649 * include/bits/unique_ptr.h: New.
3650 * include/std/memory: Adjust.
3651 * include/Makefile.am: Add.
3652 * testsuite/20_util/unique_ptr/requirements/explicit_instantiation/
3653 explicit_instantiation.cc: New.
3654 * testsuite/20_util/unique_ptr/assign/assign.cc: Likewise.
3655 * include/Makefile.in: Regenerate.
3657 2008-06-21 Jonathan Wakely <jwakely.gcc@gmail.com>
3659 * include/c_global/climits, include/tr1/climits: Add parentheses.
3661 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3663 * configure: Regenerate.
3665 2008-06-17 Chris Fairles <chris.fairles@gmail.com>
3667 * include/bits/stl_iterator_base_funcs.h (next, prev): Add in
3669 * testsuite/24_iterators/operations/next.cc: New.
3670 * testsuite/24_iterators/operations/prev.cc: Likewise.
3672 2008-06-17 Paolo Carlini <paolo.carlini@oracle.com>
3674 * src/string_conversions.cc (__to_xstring<>): New.
3675 (to_string, to_wstring): Use it.
3677 2008-06-16 Paolo Carlini <paolo.carlini@oracle.com>
3679 * include/bits/basic_string.h (stod, stof, stoi, stol, stold, stoll,
3680 stoul, stoull, to_string, to_wstring): Declare in C++0x mode.
3681 * src/string_conversions.cc: Add.
3682 * src/Makefile.am: Update.
3683 * config/abi/pre/gnu.ver: Adjust exports.
3684 * src/Makefile.in: Regenerate.
3685 * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
3687 * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
3689 * testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
3691 * testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
3693 * testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc:
3695 * testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc:
3697 * testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
3699 * testsuite/21_strings/basic_string/numeric_conversions/char/stoull.cc:
3701 * testsuite/21_strings/basic_string/numeric_conversions/char/
3702 to_string.cc: Likewise.
3703 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3705 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3707 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3709 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3711 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3713 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3715 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3717 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3718 stoull.cc: Likewise.
3719 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3720 to_wstring.cc: Likewise.
3722 2008-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3724 * include/Makefile.am: Remove trailing white space, fix typo.
3725 (parallel_headers): Remove duplicate file, sort entries.
3726 * include/Makefile.in: Regenerate.
3728 2008-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3730 * src/condition_variable.cc (~condition_variable): Drop unused
3733 2008-06-13 Paolo Carlini <paolo.carlini@oracle.com>
3735 * include/bits/stl_deque.h (deque<>::push_back(_Args&&...),
3736 deque<>::push_front(_Args&&...)): Remove.
3737 (deque<>::push_back(value_type&&),
3738 deque<>::push_front(value_type&&)): Add.
3739 (deque<>::push_back(const value_type&),
3740 deque<>::push_front(const value_type&)): Add back.
3741 (deque<>::emplace_back(_Args&&...),
3742 deque<>::emplace_front(_Args&&...)): Declare...
3743 * include/bits/deque.tcc: ... and define.
3744 * include/bits/stl_list.h (list<>::push_back(_Args&&...),
3745 list<>::push_front(_Args&&...)): Remove.
3746 (list<>::push_back(value_type&&), list<>::push_front(value_type&&),
3747 list<>::emplace_back(_Args&&...), list<>::emplace_front(_Args&&...)):
3749 (list<>::push_back(const value_type&),
3750 list<>::push_front(const value_type&)): Add back.
3751 * include/bits/stl_vector.h (vector<>::push_back(_Args&&...)): Remove.
3752 (vector<>::push_back(value_type&&)): Add.
3753 (vector<>::push_back(const value_type&)): Add back.
3754 (vector<>::emplace_back(_Args&&...)): Declare...
3755 * include/bits/vector.tcc: ... and define.
3756 * include/bits/stl_queue.h (queue<>::push(_Args&&...),
3757 priority_queue<>::push(_Args&&...)): Remove.
3758 (queue<>::push(value_type&&), queue<>::emplace(_Args&&...),
3759 priority_queue<>::push(value_type&&),
3760 priority_queue<>::emplace(_Args&&...)): Add.
3761 (queue<>::push(const value_type&),
3762 priority_queue<>::push(const value_type&)): Add back.
3763 * include/bits/stl_stack.h (stack<>::push(_Args&&...)): Remove.
3764 (stack<>::push(value_type&&), stack<>::emplace(_Args&&...)): Add.
3765 (stack<>::push(const value_type&)): Add back.
3766 * include/debug/deque (deque<>::push_back(_Args&&...),
3767 deque<>::push_front(_Args&&...)): Remove.
3768 (deque<>::push_back(value_type&&), deque<>::push_front(value_type&&),
3769 deque<>::emplace_back(_Args&&...), deque<>::emplace_front(_Args&&...)):
3771 (deque<>::push_back(const value_type&),
3772 deque<>::push_front(const value_type&)): Add back.
3773 * include/debug/list (list<>::push_back(_Args&&...),
3774 list<>::push_front(_Args&&...)): Remove.
3775 (list<>::push_back(value_type&&), list<>::push_front(value_type&&),
3776 list<>::emplace_back(_Args&&...), list<>::emplace_front(_Args&&...)):
3778 (list<>::push_back(const value_type&),
3779 list<>::push_front(const value_type&)): Add back.
3780 * include/debug/vector (vector<>::push_back(_Args&&...)): Remove.
3781 (vector<>::push_back(value_type&&),
3782 vector<>::emplace_back(_Args&&...)): Add.
3783 (vector<>::push_back(const value_type&)): Add back.
3784 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
3785 Adjust dg-error line numbers.
3786 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
3788 * testsuite/23_containers/deque/requirements/dr438/
3789 constructor_1_neg.cc: Likewise.
3790 * testsuite/23_containers/deque/requirements/dr438/
3791 constructor_2_neg.cc: Likewise.
3792 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
3793 Adjust dg-error line numbers.
3794 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
3796 * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
3798 * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
3800 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
3801 Adjust dg-error line numbers.
3802 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
3804 * testsuite/23_containers/vector/requirements/dr438/
3805 constructor_1_neg.cc: Likewise.
3806 * testsuite/23_containers/vector/requirements/dr438/
3807 constructor_2_neg.cc: Likewise.
3809 2008-06-13 Paolo Carlini <paolo.carlini@oracle.com>
3811 * include/tr1_impl/array (array<>::assign): Do not define in
3812 C++0x mode, per DR 776...
3813 (array<>::fill): ... define instead.
3814 * doc/xml/manual/intro.xml: Add an entry for DR 776.
3815 * testsuite/23_containers/array/requirements/fill.cc: New.
3817 2008-06-12 Paolo Carlini <paolo.carlini@oracle.com>
3819 * include/std/complex (pow(const complex<>&, int)): Do not define in
3820 C++0x mode, per DR 844.
3821 * include/tr1/complex (pow(const complex<>&, int)): Remove.
3822 * doc/xml/manual/intro.xml: Add an entry for DR 844.
3823 * testsuite/26_numerics/complex/dr844.cc: New.
3824 * testsuite/tr1/8_c_compatibility/complex/overloads_int.cc: Adjust.
3826 2008-06-11 Paolo Carlini <paolo.carlini@oracle.com>
3828 * include/tr1_impl/hashtable (_Hashtable<>::cbegin(size_type),
3829 cend(size_type)): Add per DR 691.
3830 * testsuite/23_containers/unordered_map/requirements/cliterators.cc:
3832 * testsuite/23_containers/unordered_multimap/requirements/
3833 cliterators.cc: Likewise.
3834 * testsuite/23_containers/unordered_set/requirements/cliterators.cc:
3836 * testsuite/23_containers/unordered_multiset/requirements/
3837 cliterators.cc: Likewise.
3838 * doc/xml/manual/intro.xml: Add an entry for DR 691.
3840 2008-06-11 Matthias Klose <doko@ubuntu.com>
3842 * testsuite/30_threads/lock_error, testsuite/30_threads/once_flag:
3843 Remove empty directories.
3845 2008-06-07 Joseph Myers <joseph@codesourcery.com>
3847 * configure.host (xscale, ep9312, m680[246]0, solaris2.5,
3848 solaris2.5.[0-9], solaris2.6, windiss*): Remove.
3849 * crossconfig.m4 (*-solaris2.5, *-solaris2.6, *-windiss*): Remove.
3850 * configure: Regenerate.
3851 * config/os/solaris/solaris2.5: Remove directory.
3852 * config/os/solaris/solaris2.6: Remove directory.
3853 * config/os/windiss: Remove directory.
3855 2008-06-06 Benjamin Kosnik <bkoz@redhat.com>
3857 * doc/xml/manual/using.xml: Outline exception topics.
3859 * include/ext/pb_ds/detail/binary_heap_/insert_fn_imps.hpp: Format.
3860 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
3861 policy_access_fn_imps.hpp: Same.
3862 * include/ext/pb_ds/priority_queue.hpp: Same.
3863 * include/ext/throw_allocator.h: Same.
3865 * include/ext/pb_ds/tag_and_trait.hpp (string_tag): New tag.
3866 (sequence_tag): New tag. Doxygen markup fixes.
3868 * testsuite/lib/libstdc++.exp: Remove twister_ran_gen.cc source file.
3870 * testsuite/performance/ext/pb_ds/text_find_timing.cc: Fix
3871 comment typo, include paths, format.
3872 * testsuite/performance/ext/pb_ds/tree_text_insert_timing.cc: Same.
3873 * testsuite/performance/ext/pb_ds/
3874 hash_random_int_erase_mem_usage.cc: Same.
3875 * testsuite/performance/ext/pb_ds/
3876 random_int_subscript_find_timing.cc: Same.
3877 * testsuite/performance/ext/pb_ds/
3878 priority_queue_text_push_timing.cc: Same.
3879 * testsuite/performance/ext/pb_ds/tree_split_join_timing.cc: Same.
3880 * testsuite/performance/ext/pb_ds/random_int_find_timing.cc: Same.
3881 * testsuite/performance/ext/pb_ds/multimap_text_insert_mem_usage.hpp
3882 * testsuite/performance/ext/pb_ds/multimap_text_find_timing.hpp
3883 * testsuite/performance/ext/pb_ds/
3884 priority_queue_random_int_push_timing.cc: Same.
3885 * testsuite/performance/ext/pb_ds/priority_queue_text_modify_timing.hpp
3886 * testsuite/performance/ext/pb_ds/tree_order_statistics_timing.cc: Same.
3887 * testsuite/performance/ext/pb_ds/
3888 priority_queue_text_push_pop_timing.cc: Same.
3889 * testsuite/performance/ext/pb_ds/
3890 priority_queue_text_join_timing.cc: Same.
3891 * testsuite/performance/ext/pb_ds/
3892 priority_queue_random_int_push_pop_timing.cc: Same.
3893 * testsuite/performance/ext/pb_ds/
3894 random_int_subscript_insert_timing.cc: Same.
3895 * testsuite/performance/ext/pb_ds/tree_text_lor_find_timing.cc: Same.
3896 * testsuite/performance/ext/pb_ds/multimap_text_insert_timing.hpp
3897 * testsuite/performance/ext/pb_ds/
3898 priority_queue_text_pop_mem_usage.cc: Same.
3899 * testsuite/performance/ext/pb_ds/
3900 hash_zlob_random_int_find_timing.cc: Same.
3901 * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Same.
3902 * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
3903 * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand.cc: Same.
3904 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
3905 * testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc: Same.
3906 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
3907 * testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Same.
3908 * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
3909 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
3910 * testsuite/util/regression/trait/priority_queue/trait.hpp: Same.
3911 * testsuite/util/regression/trait/erase_if_fn.hpp: Same.
3912 * testsuite/util/regression/trait/assoc/native_type_trait.hpp: Same.
3913 * testsuite/util/regression/trait/assoc/node_update_trait.hpp: Same.
3914 * testsuite/util/regression/trait/assoc/get_set_load_trait.hpp: Same.
3915 * testsuite/util/regression/trait/assoc/get_set_loads_trait.hpp: Same.
3916 * testsuite/util/regression/trait/assoc/trait.hpp: Same.
3917 * testsuite/util/regression/trait/assoc/resize_trait.hpp: Same.
3918 * testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
3919 * testsuite/util/regression/trait/assoc/to_string.hpp: Same.
3920 * testsuite/util/regression/basic_type.hpp: Same.
3921 * testsuite/util/common_type/priority_queue/string_form.hpp: Same.
3922 * testsuite/util/common_type/priority_queue/detail/
3923 ds_string_form.hpp: Same.
3924 * testsuite/util/common_type/assoc/string_form.hpp: Same.
3925 * testsuite/util/common_type/assoc/detail/
3926 resize_policy_string_form.hpp: Same.
3927 * testsuite/util/common_type/assoc/detail/
3928 trigger_policy_string_form.hpp: Same.
3929 * testsuite/util/common_type/assoc/detail/
3930 comb_hash_fn_string_form.hpp: Same.
3931 * testsuite/util/common_type/assoc/detail/ds_string_form.hpp: Same.
3932 * testsuite/util/common_type/assoc/detail/
3933 size_policy_string_form.hpp: Same.
3934 * testsuite/util/common_type/assoc/detail/
3935 probe_fn_string_form.hpp: Same.
3936 * testsuite/util/common_type/assoc/detail/
3937 list_update_policy_string_form.hpp: Same.
3938 * testsuite/util/common_type/assoc/detail/
3939 store_hash_string_form.hpp: Same.
3940 * testsuite/util/common_type/assoc/native_set.hpp: Same.
3941 * testsuite/util/io/prog_bar.cc: Same.
3943 * testsuite/util/regression/rand/io: Remove.
3944 * testsuite/util/regression/rand/io/priority_queue: Same.
3945 * testsuite/util/regression/rand/io/assoc: Same.
3946 * testsuite/util/regression/rand/io/priority_queue/
3947 xml_formatter.hpp: Consolidate this...
3948 * testsuite/util/regression/rand/io/assoc/xml_formatter.hpp: ...this
3949 * testsuite/util/regression/rand/io/xml_formatter.hpp: ... and this
3950 * testsuite/util/regression/rand/xml_formatter.hpp: ...here.
3952 * testsuite/util/regression/rand/priority_queue/
3953 container_rand_regression_test.hpp:To ...
3954 container_rand_regression_test.h: ... this.
3955 * testsuite/util/regression/rand/priority_queue/detail/*.hpp:To ...
3956 * testsuite/util/regression/rand/priority_queue/
3957 container_rand_regression_test.tcc: ... this.
3958 PB_DS_THROW_IF_FAIL: Change to _GLIBCXX_THROW_IF, adjust predicate.
3959 PB_DS_SET_DESTRUCT_PRINT: Fold inline.
3960 PB_DS_CANCEL_DESTRUCT_PRINT: Fold inline.
3961 * testsuite/util/regression/rand/priority_queue/
3962 rand_regression_test.hpp: Adjust includes.
3964 * testsuite/util/regression/rand/assoc/
3965 container_rand_regression_test.hpp: To ...
3966 * testsuite/util/regression/rand/assoc/
3967 container_rand_regression_test.h: ... this.
3968 * testsuite/util/regression/rand/assoc/detail/*.hpp:To ...
3969 * testsuite/util/regression/rand/assoc/
3970 container_rand_regression_test.tcc: ...this.
3971 * testsuite/util/regression/rand/assoc/rand_regression_test.hpp: Adjust
3974 * testsuite/util/regression/priority_queue: Remove.
3975 * testsuite/util/regression/assoc: Remove.
3976 * testsuite/util/regression/priority_queue/
3977 common_type.hpp: Consolidate this...
3978 * testsuite/util/regression/assoc/common_type.hpp: ... and this
3979 * testsuite/util/regression/common_type.hpp: ...here.
3981 * testsuite/util/rng: Remove.
3982 * testsuite/util/rng/twister_rand_gen.cc: Consolidate...
3983 * testsuite/util/rng/twister_rand_gen.hpp: ... and this
3984 * testsuite/util/testsuite_rng.h: ...here.
3986 * testsuite/util/native_type/priority_queue: Remove.
3987 * testsuite/util/native_type/priority_queue/
3988 native_priority_queue.hpp: To...
3989 * testsuite/util/native_type/native_priority_queue.hpp: ...here.
3991 * testsuite/util/native_type/assoc: Remove.
3992 * testsuite/util/native_type/assoc/native_multimap.hpp: To...
3993 * testsuite/util/native_type/assoc/native_tree_tag.hpp: To...
3994 * testsuite/util/native_type/assoc/native_hash_multimap.hpp: To...
3995 * testsuite/util/native_type/assoc/native_set.hpp: To...
3996 * testsuite/util/native_type/assoc/native_map.hpp: To...
3997 * testsuite/util/native_type/assoc/native_hash_set.hpp: To...
3998 * testsuite/util/native_type/assoc/native_hash_tag.hpp: To...
3999 * testsuite/util/native_type/assoc/native_hash_map.hpp: To...
4000 * testsuite/util/native_type/native_multimap.hpp: ...here.
4001 * testsuite/util/native_type/native_tree_tag.hpp: ...here.
4002 * testsuite/util/native_type/native_hash_multimap.hpp: ...here.
4003 * testsuite/util/native_type/native_set.hpp: ...here.
4004 * testsuite/util/native_type/native_map.hpp: ...here.
4005 * testsuite/util/native_type/native_hash_set.hpp: ...here.
4006 * testsuite/util/native_type/native_hash_tag.hpp: ...here.
4007 * testsuite/util/native_type/native_hash_map.hpp: ...here.
4009 * testsuite/util/common_type/priority_queue/common_type.hpp:
4010 Make include guard distinct.
4011 * testsuite/util/common_type/assoc/common_type.hpp: Same.
4013 2008-06-06 Joseph Myers <joseph@codesourcery.com>
4015 * configure.ac: Do not check for gconv.h.
4016 * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Do not test for gconv.h or
4017 gconf.h. For glibc and uClibc systems, define
4018 _GLIBCXX_USE_RANDOM_TR1 and HAVE_MMAP and use AC_LC_MESSAGES and
4020 * configure, config.h.in: Regenerate.
4022 2008-06-06 Joseph Myers <joseph@codesourcery.com>
4024 * testsuite/17_intro/headers/all.cc,
4025 testsuite/17_intro/headers/all_c++200x_compatibility.cc,
4026 testsuite/17_intro/headers/all_pedantic_errors.cc,
4027 testsuite/ext/headers.cc: Only include
4028 <ext/codecvt_specializations.h> and <ext/enc_filebuf.h> if
4029 _GLIBCXX_HAVE_ICONV.
4031 2008-06-05 Johannes Singler <singler@ira.uka.de>
4033 * include/parallel/random_shuffle.h:
4034 (parallel_random_shuffle_drs) Get the actual number of
4035 threads after entering the parallel region. Indentation.
4036 * include/parallel/algo.h: (random_shuffle(begin, end))
4037 Add namespace qualification to avoid ambiguity.
4039 2008-06-04 Benjamin Kosnik <bkoz@redhat.com>
4041 * include/ext/pb_ds/assoc_container.hpp: Change allocator typedef
4042 to allocator_type, as per existing conventions.
4043 * include/ext/pb_ds/detail/binomial_heap_base_/
4044 binomial_heap_base_.hpp: Same.
4045 * include/ext/pb_ds/detail/cc_hash_table_map_/cc_ht_map_.hpp: Same.
4046 * include/ext/pb_ds/detail/pat_trie_/pat_trie_.hpp: Same.
4047 * include/ext/pb_ds/detail/bin_search_tree_/bin_search_tree_.hpp: Same.
4048 * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Same.
4049 * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp: Same.
4050 * include/ext/pb_ds/detail/trie_policy/trie_policy_base.hpp: Same.
4051 * include/ext/pb_ds/detail/pairing_heap_/pairing_heap_.hpp: Same.
4052 * include/ext/pb_ds/detail/binomial_heap_/binomial_heap_.hpp: Same.
4053 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
4054 left_child_next_sibling_heap_.hpp: Same.
4055 * include/ext/pb_ds/detail/thin_heap_/thin_heap_.hpp: Same.
4056 * include/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp: Same.
4057 * include/ext/pb_ds/detail/splay_tree_/splay_tree_.hpp: Same.
4058 * include/ext/pb_ds/detail/list_update_map_/lu_map_.hpp: Same.
4059 * include/ext/pb_ds/detail/rc_binomial_heap_/
4060 rc_binomial_heap_.hpp: Same.
4061 * include/ext/pb_ds/detail/rc_binomial_heap_/rc.hpp: Same.
4062 * include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp: Same.
4063 * include/ext/pb_ds/list_update_policy.hpp: Same.
4064 * include/ext/pb_ds/exception.hpp: Same.
4065 * include/ext/pb_ds/tree_policy.hpp: Same.
4066 * include/ext/pb_ds/trie_policy.hpp: Same.
4067 * include/ext/pb_ds/priority_queue.hpp: Same.
4068 * testsuite/util/regression/trait/assoc/trait.hpp: Same.
4069 * testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
4070 * testsuite/util/regression/rand/priority_queue/detail/
4071 defs_fn_imps.hpp: Same.
4072 * testsuite/util/regression/rand/priority_queue/detail/
4073 operator_fn_imps.hpp: Same.
4074 * testsuite/util/regression/rand/priority_queue/
4075 container_rand_regression_test.hpp: Same.
4076 * testsuite/util/regression/rand/assoc/detail/defs_fn_imps.hpp: Same.
4077 * testsuite/util/regression/rand/assoc/detail/
4078 operator_fn_imps.hpp: Same.
4079 * testsuite/util/regression/rand/assoc/
4080 container_rand_regression_test.hpp: Same.
4081 * testsuite/util/native_type/assoc/native_multimap.hpp: Same.
4082 * testsuite/util/native_type/assoc/native_hash_multimap.hpp: Same.
4083 * testsuite/util/common_type/assoc/detail/
4084 tree_supports_order_statistics.hpp: Same.
4085 * testsuite/util/common_type/assoc/detail/
4086 trie_supports_prefix_search.hpp: Same.
4087 * testsuite/util/common_type/assoc/detail/
4088 trie_supports_order_statistics.hpp: Same.
4090 2008-06-02 Sandra Loosemore <sandra@codesourcery.com>
4091 Daniel Jacobowitz <dan@codesourcery.com>
4093 * testsuite/27_io/basic_filebuf/sputbackc/char/9425.cc: Use
4095 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Likewise.
4096 * testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc: Likewise.
4098 2008-06-02 Paolo Carlini <paolo.carlini@oracle.com>
4100 * include/bits/vector.tcc (vector<>::_M_insert_aux): In C++0x mode,
4101 avoid a memory leak if the first __uninitialized_move_a throws.
4102 (vector<>::_M_fill_insert): Do not always copy to __x_copy, similarly
4104 * testsuite/23_containers/vector/modifiers/moveable.cc: Adjust.
4105 * testsuite/23_containers/vector/resize/moveable.cc: Likewise.
4107 2008-05-31 Paolo Carlini <paolo.carlini@oracle.com>
4108 Chris Jefferson <chris@bubblescope.net>
4111 * include/bits/stl_heap.h (sort_heap): Use __pop_heap directly.
4112 (pop_heap): Slightly tweak.
4114 2008-05-29 Paolo Carlini <paolo.carlini@oracle.com>
4116 * include/debug/bitset (bitset(const char*)): Implement DR 778
4119 * include/bits/cpp_type_traits.h (__is_integer): In C++0x mode
4120 deal with char16_t and char32_t.
4122 2008-05-26 Paolo Carlini <paolo.carlini@oracle.com>
4124 * include/c_global/cmath (pow(float, int), pow(double, int),
4125 pow(long double, int)): Do not define in C++0x mode, per DR 550.
4126 * include/tr1_impl/cmath (pow): Do not bring in unconditionally
4128 * include/tr1/cmath (pow(double, double), pow(float, float),
4129 pow(long double, long double), pow(_Tp, _Up)): Define.
4130 * include/tr1/complex (pow): Do not bring in from namespace std.
4131 (pow(const std::complex<_Tp>&, int), pow(const std::complex<_Tp>&,
4132 const _Tp&), pow(const _Tp&, const std::complex<_Tp>&),
4133 pow(const std::complex<_Tp>&, const std::complex<_Tp>&)): Define.
4134 * include/tr1_impl/complex (pow(const std::complex<_Tp>&,
4135 const _Up&), pow(const _Tp&, const std::complex<_Up>&),
4136 pow(const std::complex<_Tp>&, const std::complex<_Up>&)): Always
4138 * doc/xml/manual/intro.xml: Add an entry for DR 550.
4139 * testsuite/26_numerics/headers/cmath/dr550.cc: New.
4140 * testsuite/tr1/8_c_compatibility/cmath/overloads.cc: Adjust.
4142 2008-05-25 Paolo Carlini <paolo.carlini@oracle.com>
4144 * include/std/tuple: Ifndef __GXX_EXPERIMENTAL_CXX0X__ just error out.
4145 * include/std/date_time: Likewise.
4146 * include/std/system_error: Likewise.
4147 * include/std/type_traits: Likewise; fix typo in macro name.
4148 * include/std/regex: Likewise.
4149 * include/std/random: Likewise.
4150 * include/std/unordered_map: Likewise.
4151 * include/std/condition_variable: Likewise.
4152 * include/std/unordered_set: Likewise.
4153 * include/std/mutex: Likewise.
4154 * include/std/array: Likewise.
4156 * include/c_std/cmath: Fix obsolete comment.
4157 * include/c_global/cmath: Likewise.
4159 2008-05-25 Paolo Carlini <paolo.carlini@oracle.com>
4161 * include/std/complex (complex<>::real(_Tp), complex<>::imag(_Tp),
4162 complex<float>::real(float), complex<float>::imag(float),
4163 complex<double>::real(double), complex<double>::imag(double),
4164 complex<long double>::real(long double),
4165 complex<long double>::imag(long double)): Add per DR 387.
4166 (complex<>::real(), complex<>::imag(), complex<float>::real(),
4167 complex<float>::imag(), complex<double>::real(),
4168 complex<double>::imag(), complex<long double>::real(),
4169 complex<long double>::imag(long double)): Adjust in C++0x mode.
4170 (real(complex<>&), imag(complex<>&), real(const complex<>&),
4171 imag(const complex<>&)): Likewise.
4172 * testsuite/26_numerics/complex/dr387.cc: New.
4173 * doc/xml/manual/intro.xml: Add an entry for DR 387.
4175 2008-05-25 Paolo Carlini <paolo.carlini@oracle.com>
4177 * include/std/complex: Trivial stylistic changes, define inline
4178 members inline, consistently with the rest of the library.
4179 (pow(const _Tp&, const complex<>&)): Minor tweak.
4181 2008-05-24 Paolo Carlini <paolo.carlini@oracle.com>
4183 * src/atomic.cc (atomic_flag_test_and_set_explicit,
4184 atomic_flag_clear_explicit): Suppress unused parameter warnings.
4186 2008-05-23 Paolo Carlini <paolo.carlini@oracle.com>
4188 * include/std/tuple: Replace int -> size_t throughout per DR 775.
4189 * include/tr1_impl/array: Likewise.
4190 * include/tr1_impl/utility: Likewise.
4191 * doc/xml/manual/intro.xml: Add an entry for DR 775.
4193 2008-05-23 Paolo Carlini <paolo.carlini@oracle.com>
4195 * doc/xml/manual/intro.xml: Adjust links to ISO documents.
4197 2008-05-23 Paolo Carlini <paolo.carlini@oracle.com>
4199 * include/c_std/cmath (fpclassify): Use __builtin_fpclassify.
4200 * include/c_global/cmath (fpclassify): Likewise.
4202 2008-05-22 Paolo Carlini <paolo.carlini@oracle.com>
4204 * include/tr1_impl/hashtable_policy.h (_Map_base<,,
4205 std::_Select1st<_Pair>, true,>::at): Add per DR 761.
4206 * testsuite/23_containers/unordered_map/dr761.cc: New.
4207 * doc/xml/manual/intro.xml: Add an entry for DR 761.
4209 2008-05-22 Paolo Carlini <paolo.carlini@oracle.com>
4211 * testsuite/26_numerics/complex/dr781.cc: Add test variable.
4213 2008-05-22 Paolo Carlini <paolo.carlini@oracle.com>
4215 * include/std/complex (proj(const std::complex<>&), proj(_Tp)):
4217 * include/tr1_impl/complex(polar(const _Tp&, const _Up&)): Move to...
4218 * include/tr1/complex: ... here.
4219 * doc/xml/manual/intro.xml: Add an entry for DR 781.
4220 * testsuite/26_numerics/complex/dr781.cc: Add.
4221 * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Update.
4222 * configure: Regenerate.
4224 2008-05-21 Paolo Carlini <paolo.carlini@oracle.com>
4226 * include/std/bitset (bitset<>::bitset(const char*)): Add per DR 778.
4227 (bitset<>::_M_copy_from_ptr): Add.
4228 (bitset<>::_M_copy_from_string): Forward to the latter.
4229 * doc/xml/manual/intro.xml: Add an entry for DR 778.
4230 * testsuite/23_containers/bitset/cons/2.cc: Add.
4232 2008-05-21 Paolo Carlini <paolo.carlini@oracle.com>
4234 * doc/html/ext/lwg-active.html: Update to Revision R56.
4235 * doc/html/ext/lwg-closed.html: Likewise.
4236 * doc/html/ext/lwg-defects.html: Likewise.
4238 2008-05-20 Paolo Carlini <paolo.carlini@oracle.com>
4240 PR c++/33979 (partial)
4241 * include/tr1_impl/functional_hash.h (hash<char16_t>,
4242 hash<char32_t>): Add specializations.
4243 * include/tr1_impl/type_traits (is_integral<char16_t>,
4244 is_integral<char32_t>): Likewise.
4245 * include/std/limits (numeric_limits<char16_t>,
4246 numeric_limits<char32_t>): Likewise.
4247 * src/limits_c++0x.cc: Add.
4248 * src/Makefile.am: Update.
4249 * testsuite/20_util/hash/requirements/explicit_instantiation.cc:
4251 * testsuite/20_util/is_integral/value.cc: New.
4252 * testsuite/20_util/is_integral/requirements/typedefs.cc: Likewise.
4253 * testsuite/20_util/is_integral/requirements/
4254 explicit_instantiation.cc: Likewise.
4255 * testsuite/18_support/numeric_limits/char16_32_t.cc: Likewise.
4256 * config/abi/pre/gnu.ver: Export new numeric_limits symbols at
4258 * configure: Regenerate.
4259 * src/Makefile.in: Likewise.
4260 * config.h.in: Likewise.
4262 2008-05-16 Benjamin Kosnik <bkoz@redhat.com>
4264 * include/std/system_error: Align to current draft specifications.
4265 * src/system_error.cc: Same.
4266 * src/functexcept.cc: Adjust for corrected system_error construction.
4267 * include/std/ostream: Adjust error_code inserter.
4268 * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Remove sys_nerr test.
4269 * config/abi/pre/gnu.ver: Add new exports.
4271 * testsuite/util/testsuite_error.h: Consolidate error testing
4273 * testsuite/19_diagnostics/error_code/cons/1.cc: Use
4274 testsuite_error, adjust line numbers and constructor calls.
4275 * testsuite/19_diagnostics/error_code/operators/equal.cc: Same.
4276 * testsuite/19_diagnostics/error_code/operators/not_equal.cc: Same.
4277 * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Same.
4278 * testsuite/19_diagnostics/error_category/cons/default.cc: Same.
4279 * testsuite/19_diagnostics/error_category/operators/equal.cc: Same.
4280 * testsuite/19_diagnostics/error_category/operators/not_equal.cc: Same.
4281 * testsuite/19_diagnostics/system_error/cons_virtual_derivation.cc:
4283 * testsuite/19_diagnostics/system_error/cons-1.cc: Same.
4284 * testsuite/19_diagnostics/system_error/what-1.cc: Same.
4285 * testsuite/19_diagnostics/system_error/what-2.cc: Same.
4286 * testsuite/19_diagnostics/system_error/what-big.cc: Same.
4287 * testsuite/19_diagnostics/system_error/what-3.cc: Same.
4288 * testsuite/19_diagnostics/system_error/what-4.cc: Same.
4290 2008-05-15 Bernd Schmidt <bernd.schmidt@analog.com>
4292 * configure.ac: Don't check AC_LIBTOOL_DLOPEN if using newlib.
4293 * configure: Regenerate.
4295 2008-05-15 Johannes Singler <singler@ira.uka.de>
4297 * xml/manual/parallel_mode.xml:
4298 General revision and documentation of new compile-time
4299 options for sorting.
4301 2008-05-14 Benjamin Kosnik <bkoz@redhat.com>
4303 * include/std/mutex (mutex::try_lock): Eat errors.
4304 (mutex::unlock): Same.
4305 (recursive_mutex::try_lock): Eat errors.
4306 (recursive_mutex::unlock): Same.
4307 * testsuite/30_threads/mutex/dest/destructor_locked.cc: Add
4308 -pthreads, adjust line numbers.
4309 * testsuite/30_threads/mutex/native_handle/1.cc: Same.
4310 * testsuite/30_threads/mutex/cons/1.cc: Same.
4311 * testsuite/30_threads/mutex/try_lock/1.cc: Same.
4312 * testsuite/30_threads/mutex/try_lock/2.cc: Same.
4313 * testsuite/30_threads/mutex/lock/1.cc: Same.
4314 * testsuite/30_threads/mutex/unlock/1.cc: Same.
4315 * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc: Same.
4316 * testsuite/30_threads/recursive_mutex/native_handle/1.cc: Same.
4317 * testsuite/30_threads/recursive_mutex/cons/1.cc: Same.
4319 2008-05-14 Benjamin Kosnik <bkoz@redhat.com>
4321 * include/std/sstream: Adjust braces.
4322 * include/bits/fstream.tcc: Same.
4323 * testsuite/29_atomics/atomic_flag/test_and_set/explicit.c: Add
4325 * testsuite/29_atomics/atomic_flag/test_and_set/implicit.c: Same.
4327 * doc/doxygen/user.cfg.in: Remove thread include.
4329 2008-05-13 David Daney <ddaney@avtrex.com>
4331 * config/cpu/mips/atomicity.h: Remove file.
4332 * config/cpu/mips: Remove directory.
4333 * configure.host: Remove host specific handling for mips*-*-*.
4335 2008-05-12 Stefano Soffia <soffia@cs.unipr.it>
4336 Paolo Carlini <paolo.carlini@oracle.com>
4338 * include/debug/vector (vector<>::_M_requires_reallocation): Just
4339 use this->capacity().
4340 (vector<>::capacity): Move non-pedantic / pedantic logic here.
4341 * testsuite/23_containers/vector/
4342 debug_mode_requires_reallocation-2.cc: New.
4344 * testsuite/23_containers/vector/debug_mode_requires_reallocation.cc:
4345 Rename to debug_mode_requires_reallocation-1.cc
4347 2008-05-10 Roberto Bagnara <bagnara@cs.unipr.it>
4348 Paolo Carlini <paolo.carlini@oracle.com>
4350 * include/debug/vector (vector<>::_M_requires_reallocation): Fix macro.
4351 * testsuite/23_containers/vector/debug_mode_requires_reallocation.cc:
4354 2008-05-07 Johannes Singler <singler@ira.uka.de>
4356 * include/parallel/quicksort.h:
4357 (parallel_sort_qs_conquer) Explicitly request number of threads
4358 in the parallel clause.
4359 (parallel_sort_qs) Remove setting the number of threads globally.
4361 2008-05-06 Benjamin Kosnik <bkoz@redhat.com>
4363 * include/std/mutex (mutex::mutex): Fix usage of initializing macro.
4364 (recursive_mutex::recursive_mutex): Same.
4365 (once_flag::once_flag): Same.
4366 * testsuite/30_threads/mutex/cons/assign_neg.cc: Fix line numbers.
4367 * testsuite/30_threads/mutex/cons/copy_neg.cc: Same.
4368 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Same.
4369 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Same.
4371 2008-05-06 Benjamin Kosnik <bkoz@redhat.com>
4373 * include/std/condition_variable: New.
4374 * include/std/mutex: New.
4375 * src/condition_variable.cc: New.
4376 * src/mutex.cc: New.
4377 * include/bits/functexcept.h: Add __throw_system_error varients.
4378 * src/functexcept.cc: Same.
4379 * config/abi/pre/gnu.ver: Add exports.
4381 * doc/xml/manual/using.xml: Add new includes.
4382 * doc/doxygen/user.cfg.in: Doxygen support.
4383 * doc/doxygen/doxygroups.cc: Same.
4385 * include/Makefile.am: Add mutex, condition_variable.
4386 * include/Makefile.in: Regenerated.
4387 * src/Makefile.am: Add mutex.cc, condition_variable.cc.
4388 * src/Makefile.in: Regenerated.
4390 * testsuite/30_threads: New.
4391 * testsuite/30_threads/lock_error: New.
4392 * testsuite/30_threads/mutex: New.
4393 * testsuite/30_threads/mutex/dest: New.
4394 * testsuite/30_threads/mutex/dest/destructor_locked.cc: New.
4395 * testsuite/30_threads/mutex/native_handle: New.
4396 * testsuite/30_threads/mutex/native_handle/1.cc: New.
4397 * testsuite/30_threads/mutex/cons: New.
4398 * testsuite/30_threads/mutex/cons/assign_neg.cc: New.
4399 * testsuite/30_threads/mutex/cons/1.cc: New.
4400 * testsuite/30_threads/mutex/cons/copy_neg.cc: New.
4401 * testsuite/30_threads/mutex/requirements: New.
4402 * testsuite/30_threads/mutex/requirements/typedefs.cc: New.
4403 * testsuite/30_threads/mutex/try_lock: New.
4404 * testsuite/30_threads/mutex/try_lock/1.cc: New.
4405 * testsuite/30_threads/mutex/try_lock/2.cc: New.
4406 * testsuite/30_threads/mutex/lock: New.
4407 * testsuite/30_threads/mutex/lock/1.cc: New.
4408 * testsuite/30_threads/mutex/unlock: New.
4409 * testsuite/30_threads/mutex/unlock/1.cc: New.
4410 * testsuite/30_threads/recursive_mutex: New.
4411 * testsuite/30_threads/recursive_mutex/dest: New.
4412 * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc: New.
4413 * testsuite/30_threads/recursive_mutex/native_handle: New.
4414 * testsuite/30_threads/recursive_mutex/native_handle/1.cc: New.
4415 * testsuite/30_threads/recursive_mutex/cons: New.
4416 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: New.
4417 * testsuite/30_threads/recursive_mutex/cons/1.cc: New.
4418 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: New.
4419 * testsuite/30_threads/recursive_mutex/requirements: New.
4420 * testsuite/30_threads/recursive_mutex/requirements/typedefs.cc: New.
4421 * testsuite/30_threads/lock_guard: New.
4422 * testsuite/30_threads/lock_guard/requirements: New.
4423 * testsuite/30_threads/lock_guard/requirements/typedefs.cc: New.
4424 * testsuite/30_threads/lock_guard/requirements/
4425 explicit_instantiation.cc: New.
4426 * testsuite/30_threads/headers: New.
4427 * testsuite/30_threads/headers/mutex: New.
4428 * testsuite/30_threads/headers/mutex/types_std_c++0x.cc: New.
4429 * testsuite/30_threads/headers/mutex/std_c++0x_neg.cc: New.
4430 * testsuite/30_threads/headers/condition_variable: New.
4431 * testsuite/30_threads/headers/condition_variable/
4432 types_std_c++0x.cc: New.
4433 * testsuite/30_threads/headers/condition_variable/std_c++0x_neg.cc: New.
4434 * testsuite/30_threads/once_flag: New.
4435 * testsuite/30_threads/unique_lock: New.
4436 * testsuite/30_threads/unique_lock/requirements: New.
4437 * testsuite/30_threads/unique_lock/requirements/typedefs.cc: New.
4438 * testsuite/30_threads/unique_lock/requirements/
4439 explicit_instantiation.cc: New.
4440 * testsuite/17_intro/headers/c++200x/all.cc: Add new includes.
4442 2008-05-06 Benjamin Kosnik <bkoz@redhat.com>
4445 * include/bits/c++config: Namespace macros and setup only in C++.
4446 * testsuite/29_atomics/headers/stdatomic.h/debug_mode.c: New.
4448 2008-05-06 Johannes Singler <singler@ira.uka.de>
4450 * include/parallel/multiway_merge.h:
4451 (multiway_merge_*_unguarded):
4452 Pass sentinel directly, to allow correct determination.
4453 (multiway_merge_loser_tree_unguarded):
4454 Remove over-cautious assertion.
4455 (calls to multiway_merge_*_splitting):
4456 Parametrize with type that is correct in all cases.
4457 * include/parallel/losertree.h:
4458 (delete_min_insert (in many classes)):
4459 Correct and standardize assertions.
4461 2008-05-05 Benjamin Kosnik <bkoz@redhat.com>
4463 * testsuite/util/testsuite_visualization.h: Move contents into...
4464 * testsuite/util/testsuite_performance.h: ...here.
4465 * testsuite/util/testsuite_common_types.h: Move
4466 performance-related test infrastructure into
4467 testsuite_performance.
4468 * testsuite/performance/25_algorithms/search_n.cc: Fix includes.
4469 * testsuite/performance/23_containers/find/map.cc: Same.
4470 * testsuite/performance/23_containers/create/map.cc: Same.
4471 * testsuite/performance/23_containers/insert_erase/associative.cc: Same.
4472 * testsuite/performance/23_containers/insert/sequence.cc: Same.
4473 * testsuite/performance/23_containers/insert/associative.cc: Same.
4474 * testsuite/performance/23_containers/create_from_sorted/set.cc: Same.
4475 * testsuite/performance/23_containers/index/map.cc: Same.
4476 * testsuite/performance/23_containers/insert_from_sorted/set.cc: Same.
4477 * testsuite/performance/23_containers/create_sort/list.cc: Same.
4478 * testsuite/performance/23_containers/sort_search/list.cc: Same.
4479 * testsuite/performance/23_containers/producer_consumer/sequence.cc:
4481 * testsuite/performance/23_containers/producer_consumer/associative.cc:
4484 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers.
4485 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
4487 2008-05-05 Benjamin Kosnik <bkoz@redhat.com>
4489 * 20_util/make_signed/requirements/typedefs-1.cc: Correct requirements.
4490 * 20_util/make_unsigned/requirements/typedefs-1.cc: Same.
4492 2008-05-01 Benjamin Kosnik <bkoz@redhat.com>
4494 * include/bits/c++config: Revert _GLIBCXX_LONG_DOUBLE_COMPAT change.
4496 2008-04-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4498 * include/Makefile.am (install-headers): Cope with empty
4500 * include/Makefile.in: Regenerate.
4502 2008-04-29 Benjamin Kosnik <bkoz@redhat.com>
4504 * include/bits/c++config: Remove space between '#' and 'undef' for
4505 _GLIBCXX_LONG_DOUBLE_COMPAT.
4507 2008-04-29 Joseph Myers <joseph@codesourcery.com>
4509 * Makefile.am (install-html, install-pdf): Add dummy targets.
4510 * Makefile.in: Regenerate.
4511 * doc/Makefile.am (install-html, install-pdf): Remove.
4512 * doc/Makefile.in: Regenerate.
4514 2008-04-28 Benjamin Kosnik <bkoz@redhat.com>
4516 * include/bits/c++config: Move os_defines and cpu_defines after
4517 namespace definitions and base macros.
4519 2008-04-28 Benjamin Kosnik <bkoz@redhat.com>
4522 * acinclude.m4 (GLIBCXX_ENABLE_PARALLEL): Revert back to just
4524 * configure: Regenerate.
4526 2008-04-25 Benjamin Kosnik <bkoz@redhat.com>
4529 * include/std/unordered_map: Include debug/unordered_map if
4531 * testsuite/23_containers/unordered_map/requirements/debug.cc: Move...
4532 * testsuite/23_containers/unordered_map/requirements/
4533 debug_container.cc: ...here.
4534 * testsuite/23_containers/unordered_map/requirements/debug_mode.cc: New.
4535 * testsuite/23_containers/unordered_set/requirements/debug.cc: Move...
4536 * testsuite/23_containers/unordered_set/requirements/
4537 debug_container.cc: ...here.
4538 * testsuite/23_containers/unordered_set/requirements/debug_mode.cc: New.
4540 2008-04-25 Benjamin Kosnik <bkoz@redhat.com>
4543 * acinclude.m4: (GLIBCXX_ENABLE_PARALLEL): Check for thread support.
4544 * configure.ac: Re-order compiler macros.
4545 * configure: Regenerated.
4547 2008-04-24 Benjamin Kosnik <bkoz@redhat.com>
4550 * configure.ac: Add default argument to GLIBCXX_ENABLE_PARALLEL.
4551 Move atomic warnings to GLIBCXX_ENABLE_ATOMIC_BUILTINS.
4552 * acinclude.m4 (GLIBCXX_ENABLE_PARALLEL): Check for --disable-libgomp.
4553 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Add warning information.
4554 * configure: Regenerate.
4555 * include/Makefile.am (parallel_headers): Make conditional on
4557 * include/Makefile.in: Regenerate.
4559 2008-04-24 Paolo Carlini <pcarlini@suse.de>
4562 * include/debug/list (merge): Use _M_transfer_iter, consistently
4563 with the splice members.
4564 * testsuite/23_containers/list/operations/35969.cc: New.
4566 * testsuite/23_containers/list/operators: Rename to
4567 testsuite/23_containers/list/operations.
4569 2008-04-24 Benjamin Kosnik <bkoz@redhat.com>
4571 * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Check for set of
4572 all used __sync builtins, in two sizes.
4573 * config.h.in: Regenerate.
4574 * configure: Regenerate.
4575 * src/atomic.cc: Use _GLIBCXX_ATOMIC_BUILTINS_1.
4576 * include/ext/atomicity.h: Use _GLIBCXX_ATOMIC_BUILTINS_4.
4577 * libsupc++/guard.cc: Use _GLIBCXX_ATOMIC_BUILTINS_4.
4578 * doc/xml/manual/concurrency.xm: Update docs.
4580 2008-04-23 Benjamin Kosnik <bkoz@redhat.com>
4582 * config/os/hpux/os_defines.h: Use _GLIBCXX_BEGIN_NAMESPACE,
4583 _GLIBCXX_BEGIN_EXTERN_C, etc.
4585 2008-04-23 Johannes Singler <singler@ira.uka.de>
4587 * include/parallel/quicksort.h: Reformat,
4588 (parallel_sort_qs): Do not pass number of elements.
4589 * include/parallel/balanced_quicksort.h: Reformat,
4590 (parallel_sort_qsb): Do not pass number of elements.
4591 * include/parallel/tags.h:
4592 Introduce new tags for compile-time choice.
4593 * include/parallel/merge.h:
4594 (parallel_merge_advance):Beautified.
4595 * include/parallel/algo.h: Reformatting (spaces for tabs)
4596 New sort and stable_sort variants, corresponding to the tags.
4597 * include/parallel/sort.h:
4598 New sort and stable_sort variants, corresponding to the tags.
4599 Changed determining the desired number of threads.
4601 2008-04-23 Johannes Singler <singler@ira.uka.de>
4603 * include/parallel/multiway_merge.h
4604 (multiway_merge_loser_tree):
4605 Leave checks to callers, add precondition instead.
4606 (multiway_merge_loser_tree_unguarded): Likewise.
4607 (multiway_merge_loser_tree_sentinel): Likewise.
4608 (sequential_multiway_merge): Added checks for total length 0.
4609 (parallel_multiway_merge): Skip empty sequences.
4610 (multiway_merge, all variants):
4611 Remove temporary variable, return directly.
4612 (stable_multiway_merge, all variants): Likewise.
4613 (multiway_merge_sentinels, all variants): Likewise.
4614 (stable_multiway_merge_sentinels, all variants): Likewise.
4615 * include/parallel/multiseq_selection.h
4616 (multiseq_partition): More detailed assertions.
4618 2008-04-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4620 * acinclude.m4 (GLIBCXX_CHECK_SETRLIMIT, GLIBCXX_ENABLE_C99)
4621 (GLIBCXX_CHECK_C99_TR1, GLIBCXX_CHECK_RANDOM_TR1)
4622 (GLIBCXX_ENABLE_VISIBILITY): Fix cache variable names.
4623 (GLIBCXX_CHECK_SYSTEM_ERROR): Likewise. Factorize.
4624 * configure: Regenerate.
4626 2008-04-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4629 * include/Makefile.am (pch*_output): Do not touch pch*_output_anchor.
4630 Call 'mkdir -p' unconditionally, but ignore its return value.
4631 * include/Makefile.in: Regenerate.
4633 * include/Makefile.am: Fix most stamp rules to regenerate
4634 the links for all sources newer than the stamp file.
4635 * include/Makefile.in: Regenerate.
4636 * Makefile.in: Likewise.
4637 * src/Makefile.in: Likewise.
4638 * doc/Makefile.in: Likewise.
4639 * po/Makefile.in: Likewise.
4640 * libmath/Makefile.in: Likewise.
4641 * libsupc++/Makefile.in: Likewise.
4642 * testsuite/Makefile.in: Likewise.
4644 2008-04-18 Paolo Bonzini <bonzini@gnu.org>
4647 * aclocal.m4: Regenerate.
4648 * configure: Regenerate.
4650 2008-04-16 Andreas Tobler <a.tobler@schweiz.org>
4653 * configure.ac: Use GCC_HEADER_STDINT.
4654 * src/atomic.cc: Include gstdint.h
4655 * configure: Regenerate.
4656 * Makefile.in: Likewise.
4657 * doc/Makefile.in: Likewise.
4658 * include/Makefile.in: Likewise.
4659 * libmath/Makefile.in: Likewise.
4660 * libsupc++/Makefile.in: Likewise.
4661 * po/Makefile.in: Likewise.
4662 * src/Makefile.in: Likewise.
4663 * testsuite/Makefile.in: Likewise.
4664 * aclocal.m4: Likewise.
4666 2008-04-14 Benjamin Kosnik <bkoz@redhat.com>
4669 * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Set CXXFLAGS to
4670 -O0 when checking for atomic builtins.
4671 * configure: Regenerate.
4673 2008-04-14 Benjamin Kosnik <bkoz@redhat.com>
4675 * include/bits/c++config: Guard _LDBL_ macros with __cplusplus.
4677 2008-04-10 Benjamin Kosnik <bkoz@redhat.com>
4679 * doc/html/*: Regenerate.
4681 2008-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4683 * doc/xml/manual/bitmap_allocator.xml: Improve wording a bit.
4684 * doc/xml/authors.xml: Fix typos.
4685 * doc/xml/faq.xml: Likewise.
4686 * doc/xml/manual/abi.xml: Likewise.
4687 * doc/xml/manual/allocator.xml: Likewise.
4688 * doc/xml/manual/appendix_contributing.xml: Likewise.
4689 * doc/xml/manual/backwards_compatibility.xml: Likewise.
4690 * doc/xml/manual/build_hacking.xml: Likewise.
4691 * doc/xml/manual/codecvt.xml: Likewise.
4692 * doc/xml/manual/concurrency.xml: Likewise.
4693 * doc/xml/manual/ctype.xml: Likewise.
4694 * doc/xml/manual/debug_mode.xml: Likewise.
4695 * doc/xml/manual/diagnostics.xml: Likewise.
4696 * doc/xml/manual/evolution.xml: Likewise.
4697 * doc/xml/manual/extensions.xml: Likewise.
4698 * doc/xml/manual/locale.xml: Likewise.
4699 * doc/xml/manual/messages.xml: Likewise.
4700 * doc/xml/manual/parallel_mode.xml: Likewise.
4701 * doc/xml/manual/status_cxx200x.xml: Likewise.
4702 * doc/xml/manual/strings.xml: Likewise.
4703 * doc/xml/manual/support.xml: Likewise.
4704 * doc/xml/manual/test.xml: Likewise.
4705 * doc/xml/manual/using.xml: Likewise.
4707 2008-04-10 Benjamin Kosnik <bkoz@redhat.com>
4708 Johannes Singler <singler@ira.uka.de>
4710 * doc/xml/manual/parallel_mode.xml: Remove map/set bulk
4711 insertors. Correct omp_set_num_threads example.
4713 2008-04-10 Benjamin Kosnik <bkoz@redhat.com>
4715 * include/c_global/cstdatomic: C++ types only, format, doxygen markup.
4716 * include/c_compatibility/stdatomic.h: "C" only, format, doxygen markup.
4717 * src/atomic.c: Format, doxygen markup, edits.
4719 * include/Makefile.am (cstdatomic, stdatomic.h): Add.
4720 * src/Makefile.am (atomic.c): Add.
4721 * acinclude.m4 (GLIBCXX_CHECK_STANDARD_LAYOUT): New.
4722 * configure.ac: Call it.
4723 * include/Makefile.in: Regenerate.
4724 * src/Makefile.in: Same.
4725 * Makefile.in: Same.
4726 * doc/Makefile.in: Same.
4727 * po/Makefile.in: Same.
4728 * libmath/Makefile.in: Same.
4729 * include/Makefile.in: Same.
4730 * testsuite/Makefile.in: Same.
4731 * libsupc++/Makefile.in: Same.
4732 * config.h.in: Same.
4735 * config/abi/pre/gnu.ver: Add atomics exports.
4737 * include/ext/typelist.h (apply_generator): New.
4738 * include/bits/c++config (_GLIBCXX_BEGIN_EXTERN_C): New.
4739 (_GLIBCXX_END_EXTERN_C): New.
4740 Deal with _GLIBCXX_BEGIN_NAMESPACE, _GLIBCXX_END_NAMESPACE when
4742 * testsuite/lib/libstdc++.exp (v3_target_compile_as_c): Add -L
4744 * testsuite/util/testsuite_common_types.h (integral_types): New
4746 (atomics, atomics_tl): Same.
4747 (assignable, default_constructible, copy_constructible,
4748 explicit_value_constructible): New.
4749 * testsuite/17_intro/headers/c++200x/all.cc: Test new headers.
4750 * testsuite/29_atomics: New.
4751 * testsuite/29_atomics/atomic_address: Same.
4752 * testsuite/29_atomics/atomic_address/cons: Same.
4753 * testsuite/29_atomics/atomic_address/cons/explicit_value.cc: Same.
4754 * testsuite/29_atomics/atomic_address/cons/assign_neg.cc: Same.
4755 * testsuite/29_atomics/atomic_address/cons/copy_neg.cc: Same.
4756 * testsuite/29_atomics/atomic_address/cons/default.cc: Same.
4757 * testsuite/29_atomics/atomic_address/cons/aggregate.cc: Same.
4758 * testsuite/29_atomics/atomic_flag: Same.
4759 * testsuite/29_atomics/atomic_flag/cons: Same.
4760 * testsuite/29_atomics/atomic_flag/cons/assign_neg.cc: Same.
4761 * testsuite/29_atomics/atomic_flag/cons/copy_neg.cc: Same.
4762 * testsuite/29_atomics/atomic_flag/cons/default.cc: Same.
4763 * testsuite/29_atomics/atomic_flag/cons/aggregate.cc: Same.
4764 * testsuite/29_atomics/atomic_flag/requirements: Same.
4765 * testsuite/29_atomics/atomic_flag/requirements/standard_layout.cc:
4767 * testsuite/29_atomics/atomic_flag/
4768 atomic_global_fence_compatibility.cc: Same.
4769 * testsuite/29_atomics/atomic_flag/test_and_set: Same.
4770 * testsuite/29_atomics/atomic_flag/test_and_set/explicit.c: Same.
4771 * testsuite/29_atomics/atomic_flag/test_and_set/explicit.cc: Same.
4772 * testsuite/29_atomics/atomic_flag/test_and_set/implicit.c: Same.
4773 * testsuite/29_atomics/atomic_flag/test_and_set/implicit.cc: Same.
4774 * testsuite/29_atomics/headers: Same.
4775 * testsuite/29_atomics/headers/cstdatomic: Same.
4776 * testsuite/29_atomics/headers/cstdatomic/types_std_c++0x.cc: Same.
4777 * testsuite/29_atomics/headers/cstdatomic/functions_std_c++0x.cc: Same.
4778 * testsuite/29_atomics/headers/cstdatomic/std_c++0x_neg.cc: Same.
4779 * testsuite/29_atomics/headers/cstdatomic/macros.cc: Same.
4780 * testsuite/29_atomics/headers/stdatomic.h: Same.
4781 * testsuite/29_atomics/headers/stdatomic.h/macros.c: Same.
4782 * testsuite/29_atomics/headers/stdatomic.h/types.c: Same.
4783 * testsuite/29_atomics/headers/stdatomic.h/functions.c: Same.
4784 * testsuite/29_atomics/atomic: Same.
4785 * testsuite/29_atomics/atomic/cons: Same.
4786 * testsuite/29_atomics/atomic/cons/explicit_value.cc: Same.
4787 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
4788 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
4789 * testsuite/29_atomics/atomic/cons/default.cc: Same.
4790 * testsuite/29_atomics/atomic/requirements: Same.
4791 * testsuite/29_atomics/atomic/requirements/explicit_instantiation: Same.
4792 * testsuite/29_atomics/atomic/requirements/explicit_instantiation/
4795 2008-04-10 Lawrence Crowl <crowl@google.com>
4797 * include/c_global/cstdatomic: New.
4798 * include/c_compatibility/stdatomic.h: New.
4799 * src/atomic.c: New.
4801 2008-04-10 Benjamin Kosnik <bkoz@redhat.com>
4803 * include/std/tuple: Consistency check for include guard, doxygen
4805 * include/std/date_time: Same.
4806 * include/std/type_traits: Same.
4807 * include/std/regex: Same.
4808 * include/std/array: Same.
4809 * include/std/system_error: Same, add error_code ctor.
4811 2008-04-07 Johannes Singler <singler@ira.uka.de>
4813 * include/parallel/multiway_merge.h: Moved decisions to
4814 compile-time instead of run-time.
4815 * include/parallel/losertree.h: Removed obsolete variants, added
4816 variant that uses pointers in the loser tree.
4817 * include/parallel/types.h: Remove obsolete settings options from enum.
4818 * include/parallel/features.h: Remove obsolete compile-time switches.
4819 * include/parallel/compiletime_settings.h: Remove obsolete variant
4820 that copies back *after* sorting.
4821 * include/parallel/tags.h: Add one new tag for compile-time switch.
4822 * include/parallel/merge.h: Adapt to changes in multiway_merge.h.
4823 * include/parallel/multiway_mergesort.h: Adapt to changes in
4824 multiway_merge.h. Factor out splitting variants. Remove obsolete
4825 variant that copies back *after* sorting.
4826 * include/parallel/sort.h: Adapt to changes in multiway_mergesort.h.
4827 * testsuite/25_algorithms/sort/35588.cc: Added test case from /
4830 2008-03-29 Paolo Carlini <pcarlini@suse.de>
4833 * include/bits/stl_algobase.h (__fill_a(_ForwardIterator,
4834 _ForwardIterator, _Tp), __fill_a(_Tp*, _Tp*, _Tp),
4835 __fill_n_a(_OutputIterator, _Size, _Tp), __fill_n_a(_Tp*, _Size,
4836 _Tp)): Fix signatures.
4837 * testsuite/25_algorithms/fill/35725.cc: New.
4838 * testsuite/25_algorithms/fill_n/35725.cc: Likewise.
4840 2008-03-29 Matthias Klose <doko@ubuntu.com>
4842 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Update.
4843 * config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Likewise.
4844 * config/abi/post/mips-linux-gnu/baseline_symbols.txt: Likewise.
4845 * config/abi/post/sparc-linux-gnu/baseline_symbols.txt: Likewise.
4847 2008-03-27 Ian Lance Taylor <iant@google.com>
4849 * acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Set
4850 glibcxx_ld_is_gold. Check for gold in --gc-sections test.
4851 (GLIBCXX_ENABLE_SYMVERS): Check for gold.
4852 * aclocal.m4, configure: Rebuild.
4854 2008-03-26 Benjamin Kosnik <bkoz@redhat.com>
4856 * testsuite/util/testsuite_abi.h: Remove symbol_objects,
4857 symbol_names typedefs.
4858 * testsuite/util/testsuite_abi.cc (compare_symbols): Correct check
4859 for long double compatiblity symbols, simplify data structures used.
4861 2008-03-25 Benjamin Kosnik <bkoz@redhat.com>
4863 * scripts/run_doxygen: Remove html_output_dir. Downgrade to
4865 * doc/doxygen/style.css: Delete.
4866 * doc/doxygen/user.cfg.in: Regenerate with Doxygen 1.5.1.
4868 (PREDEFINED): Update.
4869 (HTML_OUTPUT): Remove html_output_dir, use html.
4870 (HTML_STYLESHEET): Remove style.css.
4871 * doc/doxygen/tables.html: Remove style.css use.
4872 * doc/doxygen/mainpage.html: Nested lists for Namespaces and Classes.
4873 * doc/doxygen/doxygroups.cc: Namespace edits.
4874 * doc/doxygen/Intro.3: Correct typo.
4876 * doc/xml/api.xml: Add gcc-4.3 links.
4877 * doc/html/api.html: Regenerate.
4879 * include/debug/debug.h: Document namepaces here.
4880 * include/parallel/base.h: Same.
4881 * include/ext/typelist.h: Same.
4882 * include/ext/pb_ds/tag_and_trait.hpp: Same.
4884 * include/tr1_impl/random: Adjust line break.
4885 * include/tr1_impl/unordered_map: Correct and or add markup.
4886 * include/tr1_impl/boost_shared_ptr.h: Correct and or add markup.
4887 * include/tr1_impl/functional_hash.h: Same.
4888 * include/tr1_impl/cmath: Same.
4889 * include/tr1_impl/functional: Same.
4890 * include/tr1_impl/unordered_set: Same.
4891 * include/tr1_impl/complex: Same.
4892 * include/tr1_impl/type_traits: Same.
4893 * include/tr1_impl/regex: Same.
4894 * include/tr1_impl/array: Same.
4895 * include/std/tuple: Same.
4896 * include/std/date_time: Same.
4897 * include/std/system_error: Same.
4898 * include/std/type_traits: Same.
4899 * include/ext/enc_filebuf.h: Same.
4900 * include/ext/throw_allocator.h: Same.
4901 * include/ext/pool_allocator.h: Same.
4902 * include/ext/bitmap_allocator.h: Same.
4903 * include/ext/concurrence.h: Same.
4904 * include/ext/codecvt_specializations.h: Same.
4905 * include/ext/stdio_sync_filebuf.h: Same.
4906 * include/ext/array_allocator.h: Same.
4907 * include/ext/mt_allocator.h: Same.
4908 * include/bits/locale_classes.h: Same.
4909 * include/bits/locale_facets.h: Same.
4910 * include/bits/codecvt.h: Same.
4911 * include/bits/char_traits.h: Same.
4912 * include/bits/allocator.h: Same.
4913 * include/bits/locale_facets_nonio.h: Same.
4914 * include/tr1/poly_laguerre.tcc: Same.
4915 * include/tr1/riemann_zeta.tcc: Same.
4916 * include/tr1/beta_function.tcc: Same.
4917 * include/tr1/tuple: Same.
4918 * include/tr1/exp_integral.tcc: Same.
4919 * include/tr1/gamma.tcc: Same.
4920 * include/tr1/hypergeometric.tcc: Same.
4921 * include/tr1/modified_bessel_func.tcc: Same.
4922 * include/tr1/legendre_function.tcc: Same.
4923 * include/tr1/type_traits: Same.
4924 * include/tr1/special_function_util.h: Same.
4925 * include/tr1/bessel_function.tcc: Same.
4926 * include/tr1/cmath: Same.
4927 * include/tr1/poly_hermite.tcc: Same.
4928 * include/tr1/ell_integral.tcc: Same.
4929 * config/abi/compatibility.h: Adjust file name.
4931 * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Adjust
4933 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
4934 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
4936 2008-03-23 Paolo Carlini <pcarlini@suse.de>
4938 * doc/xml/faq.xml: Fix various links.
4939 * doc/xml/api.xml: Likewise.
4940 * doc/xml/manual/parallel_mode.xml: Likewise.
4941 * doc/html/faq.html: Regenerate.
4942 * doc/html/api.html: Likewise.
4943 * doc/html/manual/bk01pt12ch31s03.html: Likewise.
4945 2008-03-20 Benjamin Kosnik <bkoz@redhat.com>
4947 * testsuite/util/testsuite_abi.cc: Add support for not counting
4948 GLIBCXX_LDBL_* compat symbols missing if no long double compat
4951 2008-03-20 Paolo Carlini <pcarlini@suse.de>
4954 * include/tr1_impl/type_traits (struct __in_array): Add back.
4955 (is_function): Use it.
4956 * testsuite/tr1/4_metaprogramming/is_function/35637.cc: New.
4958 2008-03-20 Johannes Singler <singler@ira.uka.de>
4960 * include/parallel/set_operations.h (set_intersection): Remove.
4962 2008-03-19 Benjamin Kosnik <bkoz@redhat.com>
4965 * doc/xml/manual/parallel_mode.xml: Correct configuration documentation.
4966 * doc/html/manual/bk01pt12ch31s04.html: Regenerate.
4968 2008-03-18 Benjamin Kosnik <bkoz@redhat.com>
4970 * configure.ac (libtool_VERSION): To 6:11:0.
4971 * configure: Regenerate.
4972 * aclocal.m4: Regenerate.
4974 2008-03-16 Paolo Carlini <pcarlini@suse.de>
4976 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc:
4978 * testsuite/17_intro/headers/c++200x/all.cc: Likewise.
4979 * include/precompiled/stdc++.h: Likewise.
4981 2008-03-16 Pedro Lamarão <pedro.lamarao@gmail.com>
4983 * include/std/date_time: New file.
4984 * src/date_time.cc: New file.
4985 * config/abi/pre/gnu.ver: Added <date_time> symbols in version
4986 GLIBCXX_3.4.11 and changed two patterns in version GLIBCXX_3.4
4987 that matched new symbols.
4988 * include/Makefile.am: Add date_time in std headers.
4989 * src/Makefile.am: Add date_time.cc to source files.
4990 * include/Makefile.in: Regenerate.
4991 * src/Makefile.in: Likewise.
4993 2008-03-16 Pedro Lamarão <pedro.lamarao@gmail.com>
4995 * testsuite/31_date_time/headers/date_time/types_std.cc: New.
4996 * testsuite/31_date_time/headers/date_time/std_c++0x_neg.cc: Likewise.
4997 * testsuite/31_date_time/headers/date_time/functions_std.cc: Likewise.
4998 * testsuite/31_date_time/headers/date_time/synopsis.cc: Likewise.
4999 * testsuite/31_date_time/nanoseconds/requirements/traits.cc: Likewise.
5000 * testsuite/31_date_time/nanoseconds/requirements/duration.cc: Likewise.
5001 * testsuite/31_date_time/system_time/requirements: Likewise.
5002 * testsuite/31_date_time/system_time/requirements/traits.cc: Likewise.
5004 2008-03-16 Paolo Carlini <pcarlini@suse.de>
5006 * config.h.in: Regenerate.
5008 2008-03-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5010 * aclocal.m4: Regenerate.
5011 * configure: Likewise.
5012 * Makefile.in: Likewise.
5013 * doc/Makefile.in: Likewise.
5014 * include/Makefile.in: Likewise.
5015 * libmath/Makefile.in: Likewise.
5016 * libsupc++/Makefile.in: Likewise.
5017 * po/Makefile.in: Likewise.
5018 * src/Makefile.in: Likewise.
5019 * testsuite/Makefile.in: Likewise.
5021 2008-03-13 Dennis Czeremin <dennis.czeremin@smiths-heimann.com>
5024 * include/bits/stl_multimap.h (multimap<>::multimap(_InputIterator,
5025 _InputIterator)): Forward to _M_insert_equal, not _M_insert_unique.
5027 2008-03-13 Paolo Carlini <pcarlini@suse.de>
5030 * include/debug/functions.h (__check_sorted_set_aux): Fix signature.
5031 * testsuite/25_algorithms/set_difference/35541.cc: New.
5033 2008-03-07 Jakub Jelinek <jakub@redhat.com>
5035 * config/abi/pre/gnu.ver: Move <system_error> related
5036 symbols to GLIBCXX_3.4.11 symbol version.
5037 * testsuite/util/testsuite_abi.cc (check_version): Allow
5040 2008-03-06 Chris Jefferson <chris@bubblescope.net>
5041 Paolo Carlini <pcarlini@suse.de>
5044 * include/tr1/tuple (operator==, operator<): Fix.
5045 * include/std/tuple (operator==, operator<): Likewise.
5046 * testsuite/tr1/6_containers/tuple/comparison_operators/35480.cc: New.
5047 * testsuite/20_util/tuple/comparison_operators/35480.cc: Likewise.
5049 2008-03-04 Joseph Myers <joseph@codesourcery.com>
5051 * crossconfig.m4 (*-mingw32*): Define HAVE_STRTOF and
5053 * configure: Regenerate.
5055 2008-03-02 Hans-Peter Nilsson <hp@axis.com>
5057 * testsuite/20_util/shared_ptr/assign/shared_ptr_neg.cc,
5058 testsuite/tr1/2_general_utilities/shared_ptr/assign/shared_ptr_neg.cc:
5059 Mark changed error message prelude, adding "in file included from",
5060 using dg-excess-errors.
5062 2008-03-01 Jakub Jelinek <jakub@redhat.com>
5064 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
5065 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
5066 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
5067 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise.
5068 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
5070 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
5071 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
5073 2008-02-29 Jakub Jelinek <jakub@redhat.com>
5075 * config/abi/pre/gnu.ver: Remove
5076 _ZNKSt3tr14hashIgEclEg@@GLIBCXX_3.4.10 and
5077 _ZNKSt4hashIgEclEg@@GLIBCXX_3.4.10 export.
5078 * config/os/gnu-linux/ldbl-extra.ver: Export
5079 _ZNKSt3tr14hashIgEclEg@@GLIBCXX_LDBL_3.4.10
5080 and _ZNKSt4hashIgEclEg@@GLIBCXX_LDBL_3.4.10.
5081 * src/hash.cc: Only define long double hash specialization if
5082 _GLIBCXX_LONG_DOUBLE_COMPAT_IMPL is defined.
5083 * src/compatibility-ldbl.cc: Include "hash.cc".
5084 (_GLIBCXX_LONG_DOUBLE_COMPAT_IMPL): Define.
5085 (_ZNKSt4hashIeEclEe): New alias.
5086 * testsuite/util/testsuite_abi.cc (check_version): Support
5087 GLIBCXX_LDBL_3.4.10.
5089 2008-02-25 Jan Beulich <jbeulich@novell.com>
5091 * acinclude.m4: Also check for EIDRM and ETXTBSY.
5092 * configure: Re-generate.
5093 * config/os/generic/error_constants.h (namespace posix_error):
5094 Also wrap uses of EIDRM and ETXTBSY in conditionals.
5095 * testsuite/19_diagnostics/headers/system_error/types_std_c++0x.cc:
5098 2008-02-20 Jason Merrill <jason@redhat.com>
5100 * include/bits/c++config: Use 'inline namespace' instead of
5103 2008-02-18 Pedro Lamarao <pedro.lamarao@mndfck.org>
5105 * include/std/tuple: Fixes for moveable, non-copyable types.
5106 * testsuite/20_util/tuple/moveable2.cc: New.
5108 2008-02-18 Paolo Carlini <pcarlini@suse.de>
5110 * include/std/tuple (operator+(tuple<>&&, tuple<>&&): Remove.
5112 2008-02-17 Ed Smith-Rowland <3dw4rd@verizon.net>
5114 * include/tr1/poly_laguerre.tcc: Doxygen fixes.
5115 * include/tr1/exp_integral.tcc: Same.
5116 * include/tr1/gamma.tcc: Same.
5117 * include/tr1/hypergeometric.tcc: Same.
5119 2008-02-17 Benjamin Kosnik <bkoz@redhat.com>
5122 * include/parallel/settings.h (_Settings): Reconstruct Settings class
5123 here, uglify, remove anonymous namespace and static
5124 members. Convert to datum.
5125 * include/parallel/types.h: Move Settings:: enumerations here, uglify.
5126 * src/parallel_settings.cc: New, definition for _Settings member
5128 * include/parallel/multiway_merge.h: Same.
5129 * include/parallel/for_each.h: Same.
5130 * include/parallel/workstealing.h: Same.
5131 * include/parallel/base.h: Same.
5132 * include/parallel/numeric
5133 * include/parallel/features.h: Same.
5134 * include/parallel/quicksort.h: Same.
5135 * include/parallel/equally_split.h: Same.
5136 * include/parallel/algorithmfwd.h: Same.
5137 * include/parallel/omp_loop_static.h: Same.
5138 * include/parallel/random_shuffle.h: Same.
5139 * include/parallel/balanced_quicksort.h: Same.
5140 * include/parallel/tags.h: Same.
5141 * include/parallel/multiway_mergesort.h: Same.
5142 * include/parallel/numericfwd.h: Same.
5143 * include/parallel/partition.h: Same.
5144 * include/parallel/partial_sum.h: Same.
5145 * include/parallel/find.h: Same.
5146 * include/parallel/algo.h: Same.
5147 * include/parallel/omp_loop.h: Same.
5148 * include/parallel/sort.h: Same.
5150 * src/Makefile.am (parallel_sources): Add parallel_settings.cc.
5151 * src/Makefile.in: Regenerate.
5153 * config/abi/pre/gnu.ver: Export _Settings::get and _Settings::set.
5155 2008-02-17 Paolo Carlini <pcarlini@suse.de>
5158 * include/parallel/types.h: Reinstate integer types typedefs.
5159 * include/parallel/multiseq_selection.h: Adjust.
5160 * include/parallel/compatibility.h: Likewise.
5161 * include/parallel/random_shuffle.h: Likewise.
5162 * include/parallel/random_number.h: Likewise.
5163 * include/parallel/base.h: Likewise.
5165 2008-02-17 Paolo Carlini <pcarlini@suse.de>
5168 * config/abi/pre/gnu.ver: Export stdio_sync_filebuf symbols.
5169 * testsuite/ext/stdio_sync_filebuf/char/35209.cc: New.
5170 * testsuite/ext/stdio_sync_filebuf/wchar_t/35209.cc: Likewise.
5172 2008-02-16 Benjamin Kosnik <bkoz@redhat.com>
5174 * include/parallel/random_number.h: Use TR1's mersenne_twister.
5175 (random_number::genrand_bits()): Remove.
5176 (random_number::set_seed): Remove.
5178 2008-02-15 Benjamin Kosnik <bkoz@redhat.com>
5180 * include/parallel/types.h: Remove enum parallelism.
5182 2008-02-15 Benjamin Kosnik <bkoz@redhat.com>
5184 * include/parallel/types.h: Move enum parallelism here. Use
5185 tr1/cstdint's int16_t, uint16_t, int32_t, uint32_t, int64_t,
5187 * include/parallel/multiseq_selection.h: Adjust for cstdint.
5188 * include/parallel/compatibility.h: Same.
5189 * include/parallel/tags.h: Just compile-time tags.
5190 * include/parallel/base.h: Put namespace bits here.
5192 * src/Makefile.am (PARALLEL_FLAGS): Use it.
5193 * src/Makefile.in: Regenerate.
5195 * testsuite/25_algorithms/nth_element/1.cc: Add test variable.
5197 2008-02-15 Hans-Peter Nilsson <hp@axis.com>
5199 * testsuite/config/default.exp: Load gcc dejapatches.exp.
5201 2008-02-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5203 * testsuite/27_io/fpos/14320-1.cc: Check for "long long" and
5206 2008-02-14 Benjamin Kosnik <bkoz@redhat.com>
5208 * config/os/generic/error_constants.h (posix_errno): Guard
5209 not_supported use of ENOTSUP.
5210 * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Add check for ENOTSUP
5212 * aclocal.m4: Regenerate.
5213 * configure: Rengerate.
5214 * config.h.in: Same.
5216 2008-02-13 Benjamin Kosnik <bkoz@redhat.com>
5218 * doc/doxygen/mainpage.html: Correct links.
5220 2008-02-11 Benjamin Kosnik <bkoz@redhat.com>
5222 * doc/html/*: Populate with regenerated files.
5224 2008-02-11 Benjamin Kosnik <bkoz@redhat.com>
5226 * doc/html/*: Remove all but contents of ext/pb_ds.
5227 * doc/html/index.html: New.
5228 * doc/html/README: New.
5230 2008-02-11 Benjamin Kosnik <bkoz@redhat.com>
5232 * doc/doxygen/mainpage.html: Add in corrected links.
5233 * README: Edit, move most into...
5234 * doc/xml/manual/appendix_contributing.xml (Directory Layout): ...here.
5235 (Documentation Style): Revise.
5236 * doc/xml/spine.xml: Edit file names.
5237 * doc/Makefile.am: Edit xml_sources.
5238 * doc/Makefile.in: Regenerate.
5240 2008-02-11 Paolo Carlini <pcarlini@suse.de>
5242 * configure: Regenerate with documented autoconf and automake
5243 versions (i.e., 2.59 and 1.9.6).
5244 * Makefile.in: Likewise.
5245 * src/Makefile.in: Likewise.
5246 * doc/Makefile.in: Likewise.
5247 * po/Makefile.in: Likewise.
5248 * libmath/Makefile.in: Likewise.
5249 * include/Makefile.in: Likewise.
5250 * libsupc++/Makefile.in: Likewise.
5251 * testsuite/Makefile.in: Likewise.
5252 * aclocal.m4: Likewise.
5254 2008-02-10 Benjamin Kosnik <bkoz@redhat.com>
5256 Convert documentation to DocBook.
5257 * doc/Makefile.am (doc-doxygen-html): Changed to doc-html-doxygen.
5258 (doc-doxygen-man): Changed to doc-man-doxygen.
5259 (doc-performance): Changed to doc-html-performance.
5260 (doc-xml-doxygen): New.
5261 (doc-xml-single): New.
5262 (doc-xml-validate): New.
5264 (doc-html-single): New.
5267 (doc-pdf-fop-xml): New.
5268 (doc-pdf-fop-fo): New.
5269 (doc-pdf-xmlto): New.
5270 (doc-pdf-xmlroff): New.
5271 (doc-pdf-prince): New.
5272 * doc/xml: New directory.
5273 * doc/xml/authors.xml: New.
5274 * doc/xml/images: New directory.
5275 * doc/xml/images/confdeps.png: Add.
5276 * doc/xml/images/confdeps.dot: Add.
5277 * doc/xml/faq.xml: New.
5278 * doc/xml/api.xml: New.
5279 * doc/xml/gnu: New directory.
5280 * doc/xml/gnu/gpl-3.0.xml: New.
5281 * doc/xml/gnu/fdl-1.2.xml: New.
5282 * doc/xml/gnu/gpl-2.0.xml: New.
5283 * doc/xml/manual: New directory.
5284 * doc/xml/manual/mt_allocator.xml: New.
5285 * doc/xml/manual/allocator.xml: New.
5286 * doc/xml/manual/ctype.xml: New.
5287 * doc/xml/manual/numerics.xml: New.
5288 * doc/xml/manual/codecvt.xml: New.
5289 * doc/xml/manual/concurrency.xml: New.
5290 * doc/xml/manual/backwards_compatibility.xml: New.
5291 * doc/xml/manual/intro.xml: New.
5292 * doc/xml/manual/shared_ptr.xml: New.
5293 * doc/xml/manual/abi.xml: New.
5294 * doc/xml/manual/status_cxxtr1.xml: New.
5295 * doc/xml/manual/auto_ptr.xml: New.
5296 * doc/xml/manual/build.xml: New.
5297 * doc/xml/manual/internals.xml: New.
5298 * doc/xml/manual/parallel_mode.xml: New.
5299 * doc/xml/manual/status_cxx1998.xml: New.
5300 * doc/xml/manual/containers.xml: New.
5301 * doc/xml/manual/io.xml: New.
5302 * doc/xml/manual/appendix_porting.xml: New.
5303 * doc/xml/manual/utilities.xml: New.
5304 * doc/xml/manual/bitmap_allocator.xml: New.
5305 * doc/xml/manual/support.xml: New.
5306 * doc/xml/manual/configure.xml: New.
5307 * doc/xml/manual/build_hacking.xml: New.
5308 * doc/xml/manual/evolution.xml: New.
5309 * doc/xml/manual/using.xml: New.
5310 * doc/xml/manual/debug.xml: New.
5311 * doc/xml/manual/localization.xml: New.
5312 * doc/xml/manual/strings.xml: New.
5313 * doc/xml/manual/debug_mode.xml: New.
5314 * doc/xml/manual/locale.xml: New.
5315 * doc/xml/manual/extensions.xml: New.
5316 * doc/xml/manual/appendix_contributing.xml: New.
5317 * doc/xml/manual/messages.xml: New.
5318 * doc/xml/manual/diagnostics.xml: New.
5319 * doc/xml/manual/appendix_free.xml: New.
5320 * doc/xml/manual/algorithms.xml: New.
5321 * doc/xml/manual/iterators.xml: New.
5322 * doc/xml/manual/spine.xml: New.
5323 * doc/xml/manual/test.xml: New.
5324 * doc/xml/manual/status_cxx200x.xml: New.
5325 * doc/xml/spine.xml: New.
5327 * doc/xml/book.txml: New. Template file.
5328 * doc/xml/chapter.txml: Same.
5329 * doc/xml/class.txml: Same.
5331 * doc/doxygen/guide.html: Removed, integrated into other docs.
5332 * doc/doxygen/user.cfg.in: Clean up XML generation.
5333 * doc/doxygen/run_doxygen: Move to..
5334 * scripts/run_doxygen: ...here.
5336 * configure: Regenerate.
5337 * Makefile.in: Regenerate.
5338 * src/Makefile.in: Regenerate.
5339 * doc/Makefile.in: Regenerate.
5340 * po/Makefile.in: Regenerate.
5341 * libmath/Makefile.in: Regenerate.
5342 * include/Makefile.in: Regenerate.
5343 * libsupc++/Makefile.in: Regenerate.
5344 * testsuite/Makefile.in: Regenerate.
5345 * aclocal.m4: Regenerate.
5347 2008-02-10 Paolo Carlini <pcarlini@suse.de>
5350 * include/std/istream (basic_istream<>::basic_istream()): Call
5352 (basic_iostream<>::basic_iostream(basic_streambuf<>*)): Don't
5353 do it here, per 27.6.1.5.1/1.
5354 * include/std/ostream (basic_ostream<>::basic_ostream()): Call
5356 * testsuite/27_io/basic_iostream/cons/16251.C: New.
5358 * testsuite/27_io/basic_iostream/cons/2020.cc: Minor tweaks.
5360 2008-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5362 * include/backward/auto_ptr.h: Fix comment typos.
5363 * include/bits/algorithmfwd.h: Likewise.
5364 * include/bits/basic_ios.h: Likewise.
5365 * include/bits/c++config: Likewise.
5366 * include/bits/char_traits.h: Likewise.
5367 * include/bits/codecvt.h: Likewise.
5368 * include/bits/gslice.h: Likewise.
5369 * include/bits/ios_base.h: Likewise.
5370 * include/bits/locale_facets.h: Likewise.
5371 * include/bits/locale_facets_nonio.tcc: Likewise.
5372 * include/bits/postypes.h: Likewise.
5373 * include/bits/sstream.tcc: Likewise.
5374 * include/bits/stl_algo.h: Likewise.
5375 * include/bits/stl_deque.h: Likewise.
5376 * include/bits/stl_iterator.h: Likewise.
5377 * include/bits/stl_iterator_base_types.h Likewise.
5378 * include/bits/stl_list.h: Likewise.
5379 * include/bits/stl_map.h: Likewise.
5380 * include/bits/stl_multimap.h: Likewise.
5381 * include/bits/stl_multiset.h: Likewise.
5382 * include/bits/stl_set.h: Likewise.
5383 * include/bits/stl_vector.h: Likewise.
5384 * include/bits/valarray_array.h: Likewise.
5385 * include/debug/safe_base.h: Likewise.
5386 * include/ext/bitmap_allocator.h: Likewise.
5387 * include/ext/codecvt_specializations.h Likewise.
5388 * include/ext/mt_allocator.h: Likewise.
5389 * include/ext/rc_string_base.h: Likewise.
5390 * include/ext/rope: Likewise.
5391 * include/parallel/checkers.h: Likewise.
5392 * include/parallel/find.h: Likewise.
5393 * include/parallel/multiseq_selection.h: Likewise.
5394 * include/parallel/partition.h: Likewise.
5395 * include/parallel/settings.h: Likewise.
5396 * include/std/bitset: Likewise.
5397 * include/std/complex: Likewise.
5398 * include/std/fstream: Likewise.
5399 * include/std/istream: Likewise.
5400 * include/std/limits: Likewise.
5401 * include/std/ostream: Likewise.
5402 * include/std/stdexcept: Likewise.
5403 * include/std/streambuf: Likewise.
5404 * include/tr1/bessel_function.tcc: Likewise.
5405 * include/tr1/cmath: Likewise.
5406 * include/tr1/ell_integral.tcc: Likewise.
5407 * include/tr1/hypergeometric.tcc: Likewise.
5408 * include/tr1/legendre_function.tcc: Likewise.
5409 * include/tr1_impl/random: Likewise.
5410 * include/tr1_impl/regex: Likewise.
5412 2008-01-31 Paolo Carlini <pcarlini@suse.de>
5414 * testsuite/27_io/basic_istream/extractors_character/pod/3983-2.cc:
5415 Avoid -Wall warnings.
5416 * testsuite/22_locale/global_templates/user_facet_hierarchies.cc:
5418 * testsuite/22_locale/global_templates/standard_facet_hierarchies.cc:
5420 * testsuite/tr1/6_containers/hash/operators/size_t.cc: Likewise.
5421 * testsuite/tr1/6_containers/tuple/cons/big_tuples.cc: Likewise.
5422 * testsuite/tr1/6_containers/tuple/cons/constructor.cc: Likewise.
5423 * testsuite/tr1/6_containers/array/cons/aggregate_initialization.cc:
5425 * testsuite/tr1/6_containers/array/requirements/contiguous.cc:
5427 * testsuite/tr1/6_containers/array/requirements/member_swap.cc:
5429 * testsuite/tr1/6_containers/array/requirements/assign.cc: Likewise.
5430 * testsuite/tr1/6_containers/array/specialized_algorithms/swap.cc:
5432 * testsuite/tr1/6_containers/array/comparison_operators/
5433 less_or_equal.cc: Likewise.
5434 * testsuite/tr1/6_containers/array/comparison_operators/
5435 greater_or_equal.cc: Likewise.
5436 * testsuite/tr1/6_containers/array/comparison_operators/less.cc:
5438 * testsuite/tr1/6_containers/array/comparison_operators/equal.cc:
5440 * testsuite/tr1/6_containers/array/comparison_operators/not_equal.cc:
5442 * testsuite/tr1/6_containers/array/comparison_operators/greater.cc:
5444 * testsuite/tr1/6_containers/array/tuple_interface/get.cc: Likewise.
5445 * testsuite/tr1/6_containers/array/element_access/at_out_of_range.cc:
5447 * testsuite/tr1/6_containers/array/element_access/back.cc: Likewise.
5448 * testsuite/tr1/6_containers/array/element_access/front.cc: Likewise.
5449 * testsuite/tr1/6_containers/array/element_access/data.cc: Likewise.
5450 * testsuite/tr1/6_containers/array/iterators/end_is_one_past.cc:
5452 * testsuite/tr1/6_containers/array/capacity/empty.cc: Likewise.
5453 * testsuite/tr1/6_containers/array/capacity/max_size.cc: Likewise.
5454 * testsuite/tr1/6_containers/array/capacity/size.cc: Likewise.
5455 * testsuite/thread/guard.cc: Likewise.
5456 * testsuite/20_util/tuple/cons/big_tuples.cc: Likewise.
5457 * testsuite/20_util/tuple/cons/constructor.cc: Likewise.
5458 * testsuite/20_util/shared_ptr/creation/dr402.cc: Likewise.
5459 * testsuite/20_util/shared_ptr/creation/make.cc: Likewise.
5460 * testsuite/20_util/shared_ptr/creation/alloc.cc: Likewise.
5461 * testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc: Likewise.
5462 * testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc:
5465 2008-01-26 David Edelsohn <edelsohn@gnu.org>
5468 * config/os/aix/os_defines.h: Define __COMPATMATH__.
5470 2008-01-24 David Edelsohn <edelsohn@gnu.org>
5472 * configure: Regenerate.
5474 2008-01-21 Matthias Klose <doko@ubuntu.com>
5476 * doc/doxygen/user.cfg.in: Set SHORT_NAMES to YES.
5478 2008-01-19 Paolo Carlini <pcarlini@suse.de>
5480 * configure: Regenerate.
5481 * Makefile.in: Likewise.
5482 * src/Makefile.in: Likewise.
5483 * doc/Makefile.in: Likewise.
5484 * po/Makefile.in: Likewise.
5485 * libmath/Makefile.in: Likewise.
5486 * include/Makefile.in: Likewise.
5487 * libsupc++/Makefile.in: Likewise.
5488 * testsuite/Makefile.in: Likewise.
5489 * aclocal.m4: Likewise.
5491 2008-01-18 Benjamin Kosnik <bkoz@redhat.com>
5495 * testsuite/Makefile.am: Move doc-performance to...
5496 * Makefile.am: Add doc to SUBDIRS, move doxygen-* rules to...
5497 * doc/Makefile.am: Consolidate documentation creation here.
5498 (doc-doxygen-html): New.
5499 (doc-doxygen-man): New.
5500 (doc-performance): New.
5501 * doc/Makefile.in: New.
5502 * acinclude.m4 (glibcxx_SUBDIRS): Add doc directory.
5503 * doc/doxygen/guide.html: Edit for unified html configuration.
5504 * doc/doxygen/mainpage.html: Same.
5505 * doc/doxygen/run_doxygen: Same, more namespace fixups for man
5507 * doc/doxygen/user.cfg.in: Update for doxygen 1.5.4.
5509 * include/tr1_impl/random: Remove maint from doxygen markup.
5510 * include/tr1_impl/functional: Same.
5511 * include/std/tuple: Same.
5512 * include/std/streambuf: Same.
5513 * include/std/bitset: Same.
5514 * include/std/limits: Same.
5515 * include/std/fstream: Same.
5516 * include/std/istream: Same.
5517 * include/std/sstream: Same.
5518 * include/ext/pool_allocator.h: Same.
5519 * include/ext/rc_string_base.h: Same.
5520 * include/bits/basic_ios.h: Same.
5521 * include/bits/stl_list.h: Same.
5522 * include/bits/stl_map.h: Same.
5523 * include/bits/locale_classes.h: Same.
5524 * include/bits/stl_set.h: Same.
5525 * include/bits/stl_iterator_base_types.h: Same.
5526 * include/bits/basic_string.h: Same.
5527 * include/bits/stl_multimap.h: Same.
5528 * include/bits/stl_vector.h: Same.
5529 * include/bits/ios_base.h: Same.
5530 * include/bits/stl_deque.h: Same.
5531 * include/bits/postypes.h: Same.
5532 * include/bits/stl_multiset.h: Same.
5533 * include/bits/stl_algo.h: Same.
5534 * include/bits/stl_iterator.h: Same.
5535 * include/bits/stl_tempbuf.h: Same.
5536 * include/bits/stl_construct.h: Same.
5537 * include/bits/stl_relops.h: Same.
5538 * include/tr1/tuple: Same.
5539 * include/backward/auto_ptr.h: Same.
5541 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
5542 Fixups for line number changes.
5543 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
5544 * testsuite/23_containers/vector/requirements/dr438/
5545 constructor_1_neg.cc: Same.
5546 * testsuite/23_containers/vector/requirements/dr438/
5547 constructor_2_neg.cc: Same.
5548 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
5549 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
5550 * testsuite/23_containers/deque/requirements/dr438/
5551 constructor_1_neg.cc: Same.
5552 * testsuite/23_containers/deque/requirements/dr438/
5553 constructor_2_neg.cc: Same.
5554 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
5555 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
5556 * testsuite/23_containers/list/requirements/dr438/
5557 constructor_1_neg.cc: Same.
5558 * testsuite/23_containers/list/requirements/dr438/
5559 constructor_2_neg.cc: Same.
5560 * testsuite/20_util/auto_ptr/assign_neg.cc: Same.
5562 * aclocal.m4: Regenerate.
5563 * config.h.in: Regenerate.
5564 * configure: Regenerate.
5565 * Makefile.in: Regenerate.
5566 * src/Makefile.in: Regenerate.
5567 * po/Makefile.in: Regenerate.
5568 * libmath/Makefile.in: Regenerate.
5569 * include/Makefile.in: Regenerate.
5570 * libsupc++/Makefile.in: Regenerate.
5571 * testsuite/Makefile.in: Regenerate.
5573 * scripts/make_graphs.py: Correct paths for new layout.
5575 2008-01-17 Benjamin Kosnik <bkoz@redhat.com>
5577 * acinclude.m4 (AC_LC_MESSAGES): Remove serial.
5578 * linkage.m4 (AC_REPLACE_MATHFUNCS): Same.
5579 * configure: Regenerate.
5580 * aclocal.m4: Regenerate.
5582 2008-01-14 Paolo Carlini <pcarlini@suse.de>
5584 * include/parallel/list_partition.h: Formatting fixes, inline tweaks.
5585 * include/parallel/numeric: Likewise.
5586 * include/parallel/balanced_quicksort.h: Likewise.
5587 * include/parallel/unique_copy.h: Likewise.
5588 * include/parallel/algobase.h: Likewise.
5589 * include/parallel/algo.h: Likewise.
5591 2008-01-14 Seongbae Park <seongbae.park@gmail.com>
5593 * crossconfig.m4: Add missing header checks, C99 TR1 check,
5594 and sigsetjmp check.
5596 2008-01-14 Paolo Carlini <pcarlini@suse.de>
5598 * include/parallel/tree.h: Remove.
5599 * include/Makefile.am: Update.
5600 * include/Makefile.in: Rebuild.
5602 * src/Makefile.am: Remove spurious trailing backslash.
5603 * src/Makefile.in: Rebuild.
5604 * po/Makefile.in: Likewise.
5605 * libmath/Makefile.in: Likewise.
5606 * testsuite/Makefile.in: Likewise.
5607 * libsupc++/Makefile.in: Likewise.
5608 * aclocal.m4: Likewise.
5609 * Makefile.in: Likewise.
5610 * configure: Likewise.
5612 2008-01-12 Paolo Carlini <pcarlini@suse.de>
5615 * include/debug/functions.h (__check_sorted_set,
5616 __check_sorted_set_aux): Add.
5617 (__check_sorted): Check StrictWeakOrdering.
5618 * include/debug/macros.h (__glibcxx_check_strict_weak_ordering,
5619 __glibcxx_check_strict_weak_ordering_pred): Remove.
5620 (__glibcxx_check_sorted, __glibcxx_check_sorted_pred): Adjust.
5621 (__glibcxx_check_sorted_set, __glibcxx_check_sorted_set_pred): Add.
5622 * include/debug/debug.h (__glibcxx_requires_sorted_set,
5623 __glibcxx_requires_sorted_set_pred): Add.
5624 * include/bits/stl_algo.h (merge, includes, set_union,
5625 set_intersection, set_difference, set_symmetric_difference):
5626 Adjust, use __glibcxx_requires_sorted_set* instead.
5627 * testsuite/25_algorithms/set_intersection/34730.cc: New.
5629 2008-01-09 Paolo Carlini <pcarlini@suse.de>
5631 * include/parallel/multiway_merge.h: Reformat to 80 columns;
5632 adjust some inline specifiers; other minor style fixes.
5633 * include/parallel/losertree.h: Likewise.
5634 * include/parallel/list_partition.h: Likewise.
5635 * include/parallel/multiseq_selection.h: Likewise.
5636 * include/parallel/workstealing.h: Likewise.
5637 * include/parallel/base.h: Likewise.
5638 * include/parallel/par_loop.h: Likewise.
5639 * include/parallel/numeric: Likewise.
5640 * include/parallel/quicksort.h: Likewise.
5641 * include/parallel/algorithmfwd.h: Likewise.
5642 * include/parallel/for_each_selectors.h: Likewise.
5643 * include/parallel/omp_loop_static.h: Likewise.
5644 * include/parallel/random_shuffle.h: Likewise.
5645 * include/parallel/balanced_quicksort.h: Likewise.
5646 * include/parallel/set_operations.h: Likewise.
5647 * include/parallel/tree.h: Likewise.
5648 * include/parallel/merge.h: Likewise.
5649 * include/parallel/unique_copy.h: Likewise.
5650 * include/parallel/settings.h: Likewise.
5651 * include/parallel/multiway_mergesort.h: Likewise.
5652 * include/parallel/numericfwd.h: Likewise.
5653 * include/parallel/search.h: Likewise.
5654 * include/parallel/partition.h: Likewise.
5655 * include/parallel/compatibility.h: Likewise.
5656 * include/parallel/partial_sum.h: Likewise.
5657 * include/parallel/find.h: Likewise.
5658 * include/parallel/algo.h: Likewise.
5659 * include/parallel/queue.h: Likewise.
5660 * include/parallel/omp_loop.h: Likewise.
5661 * include/parallel/sort.h: Likewise.
5662 * include/parallel/random_number.h: Likewise.
5664 2008-01-09 Benjamin Kosnik <bkoz@redhat.com>
5666 * docs/html/17_intro/api.html: Fix markup for rope.h.
5668 2008-01-09 Paolo Carlini <pcarlini@suse.de>
5670 * include/parallel/iterator.h: Reformat to 80 columns; adjust some
5672 * include/parallel/find_selectors.h: Likewise.
5673 * include/parallel/losertree.h: Likewise.
5674 * include/parallel/list_partition.h: Likewise.
5675 * include/parallel/for_each.h: Likewise.
5676 * include/parallel/multiseq_selection.h: Likewise.
5677 * include/parallel/algorithmfwd.h: Likewise.
5678 * include/parallel/for_each_selectors.h: Likewise.
5679 * include/parallel/balanced_quicksort.h: Likewise.
5680 * include/parallel/merge.h: Likewise.
5681 * include/parallel/algobase.h: Likewise.
5682 * include/parallel/find.h: Likewise.
5683 * include/parallel/algo.h: Likewise.
5684 * include/parallel/checkers.h: Likewise.
5686 2008-01-09 Francesco Biscani <bluescarni@gmail.com>
5688 * include/tr1_impl/hashtable (_Hashtable): Fix friend declaration
5689 of __detail::_Map_base<>.
5691 2008-01-08 Paolo Carlini <pcarlini@suse.de>
5693 * testsuite/22_locale/global_templates/user_facet_hierarchies.cc: Do
5694 not include <cassert>.
5695 * testsuite/22_locale/global_templates/standard_facet_hierarchies.cc:
5697 * testsuite/util/testsuite_common_types.h: Include <algorithm>.
5699 2008-01-08 Jakub Jelinek <jakub@redhat.com>
5701 * configure.ac (--enable-linux-futex): Add new configure option.
5702 (HAVE_LINUX_FUTEX): New AC_DEFINE.
5703 * Makefile.in: Rebuilt.
5704 * aclocal.m4: Rebuilt.
5705 * configure: Rebuilt.
5706 * config.h.in: Rebuilt.
5707 * config/cpu/generic/cxxabi_tweaks.h (_GLIBCXX_GUARD_BIT,
5708 _GLIBCXX_GUARD_PENDING_BIT, _GLIBCXX_GUARD_WAITING_BIT): Define.
5709 * config/cpu/arm/cxxabi_tweaks.h (_GLIBCXX_GUARD_BIT,
5710 _GLIBCXX_GUARD_PENDING_BIT, _GLIBCXX_GUARD_WAITING_BIT): Define.
5711 * libsupc++/guard.cc: Include climits and syscall.h.
5712 (_GLIBCXX_USE_FUTEX): Define if futex syscall and atomic builtins
5714 (_GLIBCXX_FUTEX_WAIT, _GLIBCXX_FUTEX_WAKE): Likewise.
5715 (__guard_test_bit): New static inline.
5716 (__cxa_guard_acquire, __cxa_guard_release, __cxa_guard_abort): Use
5717 atomic builtins and futex syscall if _GLIBCXX_USE_FUTEX.
5719 2008-01-07 Paolo Carlini <pcarlini@suse.de>
5722 * include/bits/locale_classes.h (has_facet<>, use_facet<>): Do not
5723 use dynamic_cast when run-time type identification is disabled; do
5724 not mark inline; only declare, define...
5725 * include/bits/locale_classes.tcc: ... here.
5727 2008-01-06 Ted Phelps <phelps@gnusto.com>
5730 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Check
5731 _GLIBCXX_HAVE_GETIPINFO instead of HAVE_GETIPINFO.
5733 2008-01-01 Paolo Carlini <pcarlini@suse.de>
5736 * include/parallel/multiway_merge.h (multiway_merge_bubble,
5737 parallel_multiway_merge): Together with ::operator new use
5739 * include/parallel/losertree.h (LoserTree<>::~LoserTree): Likewise.
5740 * include/parallel/quicksort.h (parallel_sort_qs_divide): Likewise.
5741 * include/parallel/random_shuffle.h (parallel_random_shuffle_drs_pu,
5742 sequential_random_shuffle): Likewise.
5743 * include/parallel/tree.h (_M_not_sorted_bulk_insertion_construction):
5745 * include/parallel/multiway_mergesort.h (parallel_sort_mwms_pu,
5746 parallel_sort_mwms): Likewise.
5747 * include/parallel/partial_sum.h (parallel_partial_sum_linear):
5749 * testsuite/25_algorithms/sort/34095.cc: New.
5751 2008-01-01 Paolo Carlini <pcarlini@suse.de>
5753 * testsuite/25_algorithms/sort/34636.cc: Fix Copyright year.
5755 2008-01-01 Paolo Carlini <pcarlini@suse.de>
5758 * include/parallel/algobase.h (lexicographical_compare_switch(...,
5759 random_access_iterator_tag, random_access_iterator_tag)): Careful
5760 with undereferenceable iterators.
5761 * testsuite/25_algorithms/sort/34636.cc: New.