1 2015-06-03 François Dumont fdumont@gcc.gnu.org>
3 * testsuite/23_containers/list/61347.cc: Add dg-require-normal-mode.
5 2015-06-02 Jonathan Wakely <jwakely@redhat.com>
7 * doc/xml/manual/abi.xml: Document versioning for 5.1.0 release.
8 * doc/html/manual/*: Regenerate.
10 * doc/html/ext/lwg-active.html: Update to R93.
11 * doc/html/ext/lwg-closed.html: Likewise.
12 * doc/html/ext/lwg-defects.html: Likewise.
13 * doc/html/manual/*: Regenerate.
14 * doc/xml/manual/intro.xml: Document status of several DRs.
16 2015-06-02 Renlin Li <renlin.li@arm.com>
18 * testsuite/27_io/fpos/14775.cc: Add _GLIBCXX_HAVE_LIMIT_FSIZE check.
20 2015-06-01 Jonathan Wakely <jwakely@redhat.com>
22 * testsuite/lib/libstdc++.exp (libstdc++_init): Unset LANGUAGE
25 2015-05-31 Jonathan Wakely <jwakely@redhat.com>
28 * include/bits/stl_algobase.h (__fill_a): Check length before calling
31 2015-05-30 Jonathan Wakely <jwakely@redhat.com>
33 * include/bits/stl_algobase.h (__equal<true>::equal): Check length
34 instead of checking for null pointers.
35 (__lexicographical_compare<true>::__lc): Only check shorter length.
37 2015-05-29 François Dumont fdumont@gcc.gnu.org>
39 * include/debug/debug.h (_GLIBCXX_DEBUG_ASSERT,
40 _GLIBCXX_DEBUG_PEDASSERT, _GLIBCXX_DEBUG_ONLY): Move definition...
41 * include/debug/assertions.h: ...here, new.
42 * include/debug/formatter.h
43 (_Error_formatter::_Is_iterator_value_type): New.
44 (_Error_formatter::_Is_instance): New.
45 (_Error_formatter::_Parameter): Make public and not friend anymore.
46 (_Error_formatter::_Parameter::__instance): New _M_kind enum entry.
47 (_Error_formatter::_Parameter::__iterator_value_type): New _M_kind enum
49 (_Error_formatter::_Parameter::_Type): New.
50 (_Error_formatter::_Parameter::_Instance): New, inherit from
52 (union _Error_formatter::_Parameter::_M_variant): Reorganize.
53 (_Parameter(_Iterator const&, const char*, _Is_iterator)): Make all
54 overloads take iterator through a const reference.
55 (_Parameter(const _Iterator&, const char*, _Is_iterator_value_type)):
57 (_Parameter(const _Type&, const char*, _Is_instance)): New.
58 (_Error_formatter::_M_print_type): Delete.
59 (_Error_formatter::_M_iterator_value_type): New.
60 (_Error_formatter::_M_instance): New.
61 * include/Makefile.am: Add new above debug file.
62 * include/Makefile.in: Regenerate.
63 * include/debug/functions.h
64 (__check_dereferenceable(const _Safe_iterator<>&),
65 __valid_range(const _Safe_iterator<>&),
66 __is_safe_random_iterator<_Safe_iterator<>>): Move...
67 * include/debug/safe_iterator.h: ... here.
68 Replace debug.h include with assertions.h.
69 (__check_singular_aux): Move...
70 * include/debug/safe_base.h: ... here.
71 * include/debug/functions.h
72 (__check_dereferenceable(const _Safe_local_iterator<>&),
73 __valid_range(const _Safe_local_iterator<>&): Move...
74 * include/debug/safe_local_iterator.h: ...here.
75 * include/debug/safe_sequence.h: Replace debug.h with assertions.h.
76 Remove _Safe_iterator declaration.
77 * include/debug/safe_unordered_container.h: Replace debug.h with
79 * include/debug/array: Replace safe_sequence.h include with
80 formatter.h and macros.h.
81 * include/debug/deque: Include functions.tcc.
82 * include/debug/forward_list: Likewise.
83 * include/debug/list: Likewise.
84 * include/debug/string: Likewise.
85 * include/debug/vector: Likewise.
86 * include/bits/unique_ptr.h: Replace debug.h include with new
88 * include/bits/stl_iterator_base_funcs.h: Likewise.
89 * testsuite/23_containers/array/tuple_interface/get_debug_neg.cc:
90 Adjust dg-error line number.
91 * testsuite/23_containers/array/tuple_interface/
92 tuple_element_debug_neg.cc: Likewise.
93 * src/c++11/debug.cc: Adapt.
95 2015-05-29 Jonathan Wakely <jwakely@redhat.com>
97 * doc/xml/manual/status_cxx2017.xml: Fix duplicate ID attribute.
98 * doc/html/manual/*: Regenerate.
100 * include/std/future (__async_result_of): New alias template.
101 (async): Use __async_result_of to pass decayed types to result_of.
102 * testsuite/30_threads/async/lwg2021.cc: New.
103 * doc/xml/manual/intro.xml: Document LWG 2021 status.
106 * include/bits/stl_algobase.h (__equal<true>::equal): Do not call
107 memcmp with null pointers.
108 (__lexicographical_compare<true>::__lc): Do not call memcmp for empty
111 2015-05-28 Jonathan Wakely <jwakely@redhat.com>
114 * include/profile/array (array::data): Use _S_ptr.
115 * include/debug/array (array::data): Likewise.
118 * include/std/array (__array_traits::_S_ptr): New function.
119 (array::data): Use _S_ptr to avoid creating invalid reference.
120 * testsuite/23_containers/array/tuple_interface/get_neg.cc: Adjust
121 dg-error line numbers.
122 * testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc:
125 2015-05-27 Jonathan Wakely <jwakely@redhat.com>
127 * include/bits/stl_tree.h (_Rb_tree::_M_end()): Return _Base_ptr
128 instead of downcasting.
129 (_Rb_tree::_M_copy): Change second parameter to _Base_ptr.
130 (_Rb_tree::_M_lower_bound, _Rb_tree:_M_upper_bound): Likewise.
131 (_Rb_tree::_S_iter): Remove.
132 (_Rb_tree::_S_lower_bound_tr, _Rb_tree::_S_upper_bound_tr): Remove.
133 (_Rb_tree::_M_find_tr(const _Kt&) const): Call _M_lower_bound_tr
134 instead of _S_lower_bound_tr
135 (_Rb_tree::_M_find_tr(const _Kt&)): Call const overload.
136 (_Rb_tree::_M_lower_bound_tr(const _Kt&) const): Do the search here
137 instead of calling _S_lower_bound_tr.
138 (_Rb_tree::_M_lower_bound_tr(const _Kt&)): Call const overload.
139 (_Rb_tree::_M_upper_bound_tr(const _Kt&) const): Do the search here
140 instead of calling _S_upper_bound_tr.
141 (_Rb_tree::_M_upper_bound_tr(const _Kt&)): Call const overload.
142 (_Rb_tree::_M_equal_range_tr(const _Kt&)): Likewise.
143 (_Rb_tree::equal_range): Use _Base_ptr for end pointer.
144 (_Rb_tree::_M_get_insert_unique_pos): Likewise.
145 (_Rb_tree::_M_get_insert_equal_pos): Likewise.
146 (_Rb_tree::_M_insert_equal_lower_node): Likewise.
147 (_Rb_tree::_M_insert_unique, _Rb_tree::_M_emplace_unique,
148 _Rb_tree::_M_emplace_hint_unique): Remove static_cast.
151 * include/bits/stl_tree.h (_Rb_tree_node): Use __aligned_membuf.
152 (_Rb_tree_iterator, _Rb_tree_const_iterator): Support construction
154 (_Rb_tree_const_iterator::_M_const_cast): Remove static_cast.
155 (_Rb_tree::begin, _Rb_tree::end): Remove static_cast.
156 * include/ext/aligned_buffer.h (__aligned_membuf): New type using
157 alignment of _Tp as a member subobject, not as a complete object.
158 * python/libstdcxx/v6/printers.py (StdRbtreeIteratorPrinter): Lookup
159 _Link_type manually as it might not be in the debug info.
161 2015-05-26 Doug Evans <dje@google.com>
163 * python/libstdcxx/v6/xmethods.py (UniquePtrMethodsMatcher): Add
165 * testsuite/libstdc++-xmethods/unique_ptr.cc: Add tests for
168 2015-05-26 Jonathan Wakely <jwakely@redhat.com>
170 * include/bits/locale_conv.h: Fix copyright years.
171 * include/bits/quoted_string.h: Likewise.
172 * src/filesystem/Makefile.am: Likewise.
173 * testsuite/22_locale/conversions/buffer/1.cc: Likewise.
174 * testsuite/22_locale/conversions/buffer/requirements/typedefs.cc:
176 * testsuite/22_locale/conversions/string/1.cc: Likewise.
177 * testsuite/22_locale/conversions/string/2.cc: Likewise.
178 * testsuite/22_locale/conversions/string/3.cc: Likewise.
179 * testsuite/22_locale/conversions/string/requirements/typedefs-2.cc:
181 * testsuite/22_locale/conversions/string/requirements/typedefs.cc:
183 * testsuite/util/testsuite_fs.h: Likewise.
185 2015-05-23 François Dumont fdumont@gcc.gnu.org>
188 * include/debug/functions.h (__check_sorted_aux): Cast expression to
191 2015-05-21 David Edelsohn <dje.gcc@gmail.com>
194 * config/cpu/powerpc/atomic_word.h (_GLIBCXX_READ_MEM_BARRIER):
195 Don't use isync. Use lwsync if available.
196 * configure.host (atomic_word_dir) [aix[56789]*]: Delete to use
197 powerpc cpu definition.
199 2015-05-21 Jason Merrill <jason@redhat.com>
201 * libsupc++/del_opv.cc: Suppress -Wsized-deallocation.
202 * libsupc++/del_op.cc: Likewise.
204 2015-05-20 François Dumont fdumont@gcc.gnu.org>
206 * include/debug/formatter.h (_GLIBCXX_TYPEID): New macro to simplify
208 (_Error_formatter::_M_print_type): New.
210 (_Error_formatter::_Parameter::_M_print_field): Use latter.
211 (_Error_formatter::_M_print_type): Implement latter using
212 __cxaabiv1::__cxa_demangle to print demangled type name.
214 * include/bits/cpp_type_traits.h
215 (std::move_iterator): Delete declaration.
216 (std::__is_move_iterator<move_iterator>): Move partial specialization...
217 * include/bits/stl_iterator.h: ... here.
218 (std::__miter_base): Overloads for std::reverse_iterator and
220 * include/bits/stl_algobase.h (std::__miter_base): Provide default
223 2015-05-20 Jonathan Wakely <jwakely@redhat.com>
225 * testsuite/util/testsuite_fs.h (nonexistent_path): Don't use tempnam.
228 * include/bits/stl_iterator.h (__make_move_if_noexcept_iterator): Add
229 overload for pointers.
230 * testsuite/20_util/specialized_algorithms/uninitialized_copy/
231 808590.cc: Add -std=gnu++03 switch.
232 * testsuite/20_util/specialized_algorithms/uninitialized_copy/
233 808590-cxx11.cc: Copy of 808590.cc to test with -std=gnu++11.
234 * testsuite/23_containers/vector/modifiers/push_back/
235 strong_guarantee.cc: New.
237 2015-05-19 Jonathan Wakely <jwakely@redhat.com>
239 * include/bits/stl_list.h (_M_resize_pos(size_type&)): Declare.
240 (operator==(const list&, const list&)): If size() is O(1) compare
241 sizes before comparing each element.
242 * include/bits/list.tcc (list::_M_resize_pos(size_type&)): Define.
243 (list::resize): Use _M_resize_pos.
245 2015-05-19 François Dumont <fdumont@gcc.gnu.org>
247 * testsuite/23_containers/unordered_map/cons/66055.cc: Add constructor
249 * testsuite/23_containers/unordered_multimap/cons/66055.cc: Likewise.
250 * testsuite/23_containers/unordered_multiset/cons/66055.cc: Likewise.
251 * testsuite/23_containers/unordered_set/cons/66055.cc: Likewise.
253 2015-05-17 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
255 * configure.host: Define cpu_defines_dir for ARM.
256 * config/cpu/arm/cpu_defines.h: New file.
258 2015-05-17 François Dumont <fdumont@gcc.gnu.org>
260 * include/bits/unordered_map.h (unordered_map, unordered_multimap): Add
261 missing constructors.
262 * include/bits/unordered_set.h (unordered_set, unordered_multiset):
264 * include/debug/unordered_map (unordered_map, unordered_multimap): Add
265 missing constructors.
266 * include/debug/unordered_set (unordered_set, unordered_multiset):
268 * include/profile/unordered_map (unordered_map, unordered_multimap): Add
269 missing constructors.
270 * include/profile/unordered_set (unordered_set, unordered_multiset):
273 2015-05-15 Jonathan Wakely <jwakely@redhat.com>
275 * src/filesystem/ops.cc (stat_type): Define alias for struct stat and
276 use throughout the file.
277 (make_file_type): New function.
278 (file_size(const path&, error_code&)): Report an error for anything
279 that isn't a regular file.
280 (status(const path&), symlink_status(const path&)): Do not throw for
281 file_type::not_found.
282 (temp_directory_path()): Check additional environment variables.
283 * testsuite/experimental/filesystem/operations/exists.cc: New.
284 * testsuite/experimental/filesystem/operations/file_size.cc: New.
285 * testsuite/experimental/filesystem/operations/status.cc: New.
286 * testsuite/experimental/filesystem/operations/temp_directory_path.cc:
289 2015-05-14 Nathan Myers <ncm@cantrip.org>
290 Jonathan Wakely <jwakely@redhat.com>
293 * include/std/unordered_map (unordered_map, unordered_multimap): Add
294 missing constructors.
295 * include/std/unordered_set (unordered_set, unordered_multiset):
297 * testsuite/23_containers/unordered_map/cons/66055.cc: New.
298 * testsuite/23_containers/unordered_multimap/cons/66055.cc: New.
299 * testsuite/23_containers/unordered_multiset/cons/66055.cc: New.
300 * testsuite/23_containers/unordered_set/cons/66055.cc: New.
302 2015-05-14 Jonathan Wakely <jwakely@redhat.com>
305 * acinclude.m4 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Check for fchmod and
307 * config.h.in: Regenerate.
308 * configure: Regenerate.
309 * src/filesystem/ops.cc (do_copy_file): Fix arguments to open(). Do
310 not return after copying contents. Use fchmod, fchmodat, and sendfile
312 (current_path, permissions, space): Use errno not return value.
315 * acinclude.m4 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Check for struct
317 * config.h.in: Regenerate.
318 * configure: Regenerate.
319 * configure.ac (AC_STRUCT_DIRENT_D_TYPE): Remove.
321 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
323 * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Delete.
324 * configure.ac: Remove GLIBCXX_ENABLE_SJLJ_EXCEPTIONS.
325 * config.h.in: Regenerate.
326 * configure: Likewise.
327 * libsupc++/eh_personality.cc: Replace _GLIBCXX_SJLJ_EXCEPTIONS by
328 __USING_SJLJ_EXCEPTIONS__.
329 * libsupc++/eh_throw.cc: Likewise.
330 * libsupc++/eh_ptr.cc: Likewise.
331 * doc/html/manual/appendix_porting.html: Remove
332 GLIBCXX_ENABLE_SJLJ_EXCEPTIONS
333 * doc/xml/manual/build_hacking.xml: Likewise.
334 * doc/html/manual/configure.html: Remove --enable-sjlj-exceptions.
335 * doc/xml/manual/configure.xml: Likewise.
337 2015-05-13 Jonathan Wakely <jwakely@redhat.com>
339 * include/bits/shared_ptr_base.h (__shared_count(unique_ptr&&)): Check
340 for nullptr (LWG 2415).
341 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter.cc: Test
342 construction from empty unique_ptr.
343 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error.
344 * testsuite/20_util/shared_ptr/cons/void_neg.cc: Likewise.
346 * include/bits/stl_raw_storage_iter.h (raw_storage_iterator::base()):
348 * testsuite/20_util/raw_storage_iterator/base.cc: New.
350 * include/std/future (packaged_task(allocator_arg_t, const A&, F&&):
351 Remove explicit (LWG 2407).
353 * include/bits/basic_string.h (basic_string::basic_string()): Make
354 noexcept conditional on allocator (LWG 2455).
356 * include/std/complex (polar): Check for negative rho (LWG 2459).
358 * include/experimental/tuple (apply): Handle pointers to member (LWG
360 * include/std/functional (_Mem_fn_base): Make constructors constexpr.
361 (_Maybe_wrap_member_pointer::__do_wrap): Make constexpr.
362 * testsuite/experimental/tuple/apply.cc: Test pointer to member.
364 * include/bits/random.h (seed_seq): More noexcept (LWG 2440).
366 * include/bits/alloc_traits.h (_S_max_size): Implement LWG 2466.
367 * testsuite/20_util/allocator_traits/members/max_size.cc: Adjust.
368 * testsuite/23_containers/forward_list/allocator/minimal.cc:
370 * testsuite/23_containers/map/allocator/minimal.cc: Likewise.
371 * testsuite/23_containers/multimap/allocator/minimal.cc: Likewise.
372 * testsuite/23_containers/multiset/allocator/minimal.cc: Likewise.
373 * testsuite/23_containers/set/allocator/minimal.cc: Likewise.
374 * testsuite/23_containers/unordered_map/allocator/minimal.cc:
376 * testsuite/23_containers/unordered_multimap/allocator/minimal.cc:
378 * testsuite/23_containers/unordered_multiset/allocator/minimal.cc:
380 * testsuite/23_containers/unordered_set/allocator/minimal.cc:
382 * testsuite/util/testsuite_allocator.h: Remove unused parameter.
384 * acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Re-enable on solaris.
385 * configure: Regenerate.
387 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
389 * Makefile.in: Regenerated with automake-1.11.6.
390 * aclocal.m4: Likewise.
391 * configure: Likewise.
392 * doc/Makefile.in: Likewise.
393 * include/Makefile.in: Likewise.
394 * libsupc++/Makefile.in: Likewise.
395 * po/Makefile.in: Likewise.
396 * python/Makefile.in: Likewise.
397 * src/Makefile.in: Likewise.
398 * src/c++11/Makefile.in: Likewise.
399 * src/c++98/Makefile.in: Likewise.
400 * src/filesystem/Makefile.in: Likewise.
401 * testsuite/Makefile.in: Likewise.
403 2015-05-09 Jason Merrill <jason@redhat.com>
405 * testsuite/20_util/headers/functional/synopsis.cc: Add
406 _GLIBCXX14_CONSTEXPR.
407 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
409 2015-05-08 Jason Merrill <jason@redhat.com>
411 * testsuite/19_diagnostics/headers/system_error/std_c++0x_neg.cc: Add -std=c++98.
412 * testsuite/20_util/auto_ptr/1.cc: Add -std=c++98.
413 * testsuite/20_util/auto_ptr/2.cc: Add -std=c++98.
414 * testsuite/20_util/auto_ptr/3.cc: Add -std=c++98.
415 * testsuite/20_util/auto_ptr/4.cc: Add -std=c++98.
416 * testsuite/20_util/auto_ptr/5.cc: Add -std=c++98.
417 * testsuite/20_util/auto_ptr/6.cc: Add -std=c++98.
418 * testsuite/20_util/auto_ptr/7.cc: Add -std=c++98.
419 * testsuite/20_util/auto_ptr/3946.cc: Add -std=c++98.
420 * testsuite/20_util/auto_ptr/assign_neg.cc: Add -std=c++98.
421 * testsuite/20_util/auto_ptr/requirements/explicit_instantiation/1.cc:
423 * testsuite/20_util/headers/functional/synopsis.cc: Add -Wno-deprecated.
424 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
425 Adjust expected errors.
426 * testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc:
428 * testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc:
430 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
432 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
434 * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
436 * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
438 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
440 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
442 * testsuite/23_containers/vector/requirements/dr438
443 /constructor_1_neg.cc: Likewise.
444 * testsuite/23_containers/vector/requirements/dr438
445 /constructor_2_neg.cc: Likewise.
446 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
448 * testsuite/ext/array_allocator/1.cc: Add -Wno-deprecated.
449 * testsuite/ext/array_allocator/2.cc: Add -Wno-deprecated.
450 * testsuite/ext/array_allocator/26875.cc: Add -Wno-deprecated.
451 * testsuite/ext/array_allocator/3.cc: Add -Wno-deprecated.
452 * testsuite/ext/array_allocator/check_allocate_max_size.cc:
454 * testsuite/ext/array_allocator/check_deallocate_null.cc:
456 * testsuite/ext/array_allocator/check_delete.cc: Add -Wno-deprecated.
457 * testsuite/ext/array_allocator/check_new.cc: Add -Wno-deprecated.
458 * testsuite/ext/profile/mutex_extensions_neg.cc: Prune follow-on error.
459 * testsuite/tr1/2_general_utilities/shared_ptr/assign/auto_ptr.cc:
461 * testsuite/tr1/2_general_utilities/shared_ptr/assign/auto_ptr_neg.cc:
463 * testsuite/tr1/2_general_utilities/shared_ptr/assign
464 /auto_ptr_rvalue_neg.cc: Add -std=c++98.
465 * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc:
466 Add -std=c++98 -fno-show-column.
467 * testsuite/tr1/2_general_utilities/shared_ptr/cons/auto_ptr.cc:
469 * testsuite/tr1/2_general_utilities/shared_ptr/cons/auto_ptr_neg.cc:
471 * testsuite/tr1/6_containers/utility/pair.cc: Add -std=c++98.
472 * testsuite/tr1/8_c_compatibility/cmath/pow_cmath.cc: Add -std=c++98.
474 * src/c++98/Makefile.am (AM_CXXFLAGS): Add -std=gnu++98.
475 * src/c++98/Makefile.in: Regenerate.
476 * src/Makefile.am (AM_CXXFLAGS): Add -std=gnu++98.
477 * src/Makefile.in: Regenerate.
479 2015-05-02 Jonathan Wakely <jwakely@redhat.com>
482 * include/std/future (async): Change default policy to launch::async.
484 * include/experimental/any (any::_Storage): Fix alignment of buffer.
485 (any::_Internal): Check alignment of type.
486 * testsuite/experimental/any/cons/aligned.cc: New.
487 * testsuite/experimental/any/misc/any_cast_neg.cc: Adjust dg-error.
489 * include/experimental/iterator (ostream_joiner): Simplify by using
490 the injected-class-name and the ostream_type typedef.
492 * include/experimental/iterator: New. Define ostream_joiner.
493 * include/Makefile.am: Add new header.
494 * include/Makefile.in: Regenerate.
495 * testsuite/experimental/iterator/make_ostream_joiner.cc: New.
496 * testsuite/experimental/iterator/ostream_joiner.cc: New.
497 * testsuite/experimental/iterator/requirements.cc: New.
498 * doc/xml/manual/status_cxx2017.xml: Update status.
499 * doc/html/manual/status.html: Regenerate.
501 * include/experimental/numeric: New. Define gcd and lcm.
502 * include/Makefile.am: Add new header.
503 * include/Makefile.in: Regenerate.
504 * testsuite/experimental/numeric/gcd.cc: New.
505 * testsuite/experimental/numeric/lcm.cc: New.
506 * doc/xml/manual/status_cxx2017.xml: Update status.
507 * doc/html/manual/status.html: Regenerate.
509 2015-05-02 Edward Smith-Rowland <3dw4rd@verizon.net>
511 Revert addition of feature macros from other headers per latest SD-6.
512 * include/experimental/deque: Remove feature-test macro.
513 * include/experimental/forward_list: Ditto.
514 * include/experimental/list: Ditto.
515 * include/experimental/map: Ditto.
516 * include/experimental/set: Ditto.
517 * include/experimental/string: Ditto.
518 * include/experimental/unordered_map: Ditto.
519 * include/experimental/unordered_set: Ditto.
521 2015-05-02 Jonathan Wakely <jwakely@redhat.com>
523 * include/experimental/any (any::_Storage): Make non-copyable.
524 (any::any): Do not copy _Storage object.
525 (any::operator=): Implement more efficiently than swapping.
526 (any::swap): Use new _Op_xfer operation.
527 (any::_Op::_Op_xfer): New enumerator.
528 (_Manager_internal::_S_alloc): Remove unused function.
529 (_Manager_internal::_S_create, _Manager_external::_S_create): Use out
530 parameter instead of returning a _Storage object.
531 (_Manager_internal::_S_manage, _Manager_external::_S_manage): Add
532 _Op_xfer operation for moving and swapping.
533 * testsuite/experimental/any/cons/nontrivial.cc: New.
534 * testsuite/experimental/any/misc/any_cast_neg.cc: Adjust dg-error.
536 * include/experimental/fs_path.h (filesystem_error::~filesystem_error):
538 * src/filesystem/path.cc (filesystem_error::~filesystem_error):
542 * include/std/tuple (forward_as_tuple, tie): Add constexpr.
543 * testsuite/20_util/tuple/creation_functions/constexpr.cc: Uncomment
544 and fix tests for forward_as_tuple and tie.
546 * src/filesystem/ops.cc (last_write_time) [_GLIBCXX_USE_UTIMENSAT]:
547 Set timespec members explicitly instead of with a braced-init-list.
548 [_GLIBCXX_HAVE_UTIME_H]: Use lambda to handle st_atime being a macro.
550 2015-05-02 Edward Smith-Rowland <3dw4rd@verizon.net>
552 * include/experimental/deque: Add feature-test macro.
553 * include/experimental/forward_list: Ditto.
554 * include/experimental/list: Ditto.
555 * include/experimental/map: Ditto.
556 * include/experimental/set: Ditto.
557 * include/experimental/string: Ditto.
558 * include/experimental/unordered_map: Ditto.
559 * include/experimental/unordered_set: Ditto.
561 2015-05-01 Jonathan Wakely <jwakely@redhat.com>
563 * include/experimental/memory: Correct feature-test macro.
565 * include/experimental/memory: Add feature-test macro.
566 * include/experimental/vector: Likewise.
567 * doc/xml/manual/status_cxx2017.xml: Update status.
568 * doc/html/manual/status.html: Regenerate.
570 2015-05-01 Ville Voutilainen <ville.voutilainen@gmail.com>
572 Implement observer_ptr.
573 * include/Makefile.am: Add new header.
574 * include/Makefile.in: Regenerate.
575 * include/experimental/memory: New.
576 * testsuite/experimental/memory/observer_ptr/assignment/assign.cc: New.
577 * testsuite/experimental/memory/observer_ptr/cons/cons.cc: New.
578 * testsuite/experimental/memory/observer_ptr/hash/hash.cc: New.
579 * testsuite/experimental/memory/observer_ptr/make_observer.cc: New.
580 * testsuite/experimental/memory/observer_ptr/relops/relops.cc: New.
581 * testsuite/experimental/memory/observer_ptr/requirements.cc: New.
582 * testsuite/experimental/memory/observer_ptr/swap/swap.cc: New.
583 * testsuite/experimental/memory/observer_ptr/typedefs.cc: New.
585 2015-05-01 Jonathan Wakely <jwakely@redhat.com>
587 * src/filesystem/path.cc (path::compare): Do not copy strings.
589 * acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Disable when <dirent.h>
591 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Check for fchmodat.
592 * configure: Regenerate.
593 * config.h.in: Regenerate.
594 * configure.ac: Check for utime.h
595 * include/experimental/fs_path.h (path::string<>)
596 [_GLIBCXX_FILESYSTEM_IS_WINDOWS]: Remove stray typename keyword.
597 * src/filesystem/dir.cc [!_GLIBCXX_HAVE_DIRENT_H] (DIR, opendir,
598 closedir, dirent, readdir_r): Replace dummy functions with #error.
599 (native_readdir, _Dir::advance): Use readdir when readdir_r is missing.
600 * src/filesystem/ops.cc (do_stat, is_set): Make inline.
601 (last_write_time) [!_GLIBCXX_USE_UTIMENSAT]: Use utime.
602 (permissions) [!_GLIBCXX_USE_FCHMODAT]: Use chmod.
603 (space, temp_directory_path) [_GLIBCXX_FILESYSTEM_IS_WINDOWS]: Set
606 * include/experimental/fs_path.h (path::_List): Use vector instead of
608 * python/libstdcxx/v6/printers.py (StdExpPathPrinter): Adapt.
609 * src/filesystem/path.cc: Use std::prev instead of decrementing
610 rvalues. Fix whitespace.
611 * testsuite/experimental/filesystem/path/decompose/parent_path.cc:
612 Do not decrement iterators before begin.
614 * include/experimental/fs_dir.h: Fix use of non-reserved names.
615 * include/experimental/fs_ops.h: Likewise.
616 * include/experimental/fs_path.h: Likewise.
617 * testsuite/lib/libstdc++.exp (check_v3_target_filesystem_ts): Use
618 C++11 when checking for support.
620 * include/bits/locale_classes.h (locale::facet): Delete copy
621 operations in C++11 mode.
623 * include/bits/alloc_traits.h (__alloc_rebind): Change parameter name.
625 * acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Disable for solaris.
626 * configure: Regenerate.
628 2015-05-01 Edward Smith-Rowland <3dw4rd@verizon.net>
630 Inline one-line erasure dispatch functions.
631 * include/experimental/forward_list (erase_if(), erase()): Inline.
632 * include/experimental/list (erase_if(), erase()): Inline.
633 * include/experimental/map (erase_if(*)): Inline.
634 * include/experimental/set (erase_if(*)): Inline.
635 * include/experimental/string (erase_if(), erase()): Inline.
636 * include/experimental/unordered_map (erase_if(*)): Inline.
637 * include/experimental/unordered_set (erase_if(*)): Inline.
639 2015-05-01 Jonathan Wakely <jwakely@redhat.com>
641 * doc/xml/manual/intro.xml: Link to new status_cxx2017.xml file.
642 * doc/xml/manual/status_cxx2011.xml: Update status tables.
643 * doc/xml/manual/status_cxx2014.xml: Likewise.
644 * doc/xml/manual/status_cxx2017.xml: New.
645 * doc/xml/manual/using.xml: Fix typo.
646 * doc/html/*: Regenerate.
648 * include/std/memory (pointer_safety, declare_reachable,
649 undeclare_reachable, declare_no_pointers, undeclare_no_pointers,
650 get_pointer_safety): Define.
651 * testsuite/20_util/pointer_safety/1.cc: New.
653 2015-04-30 Jonathan Wakely <jwakely@redhat.com>
655 Implement N4100 File System TS
656 * acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Define.
657 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Define.
658 * config.h.in: Regenerate.
659 * configure: Regenerate.
660 * configure.ac: Enable filesystem TS and check its dependencies.
661 * include/Makefile.am: Add new headers.
662 * include/Makefile.in: Regenerate.
663 * include/bits/locale_conv.h (__do_str_code_cvt, __str_codecvt_in,
664 __str_codecvt_out): Move code conversion logic from wstring_convert
665 into new global functions.
666 (wstring_convert::to_bytes, wstring_convert::from_bytes): Use new
668 (wstring_convert::_M_conv): Remove.
669 * include/bits/quoted_string.h (_Quoted_string): Split out of iomanip.
670 * include/experimental/filesystem: New.
671 * include/experimental/fs_dir.h: New.
672 * include/experimental/fs_fwd.h: New.
673 * include/experimental/fs_ops.h: New.
674 * include/experimental/fs_path.h: New.
675 * include/std/iomanip (_Quoted_string): Move to bits/quoted_string.h.
676 * python/libstdcxx/v6/printers.py (StdExpPathPrinter): Add.
677 * src/Makefile.am (SUBDIRS): Add filesystem.
678 * src/Makefile.in: Regenerate.
679 * src/filesystem/Makefile.am: New.
680 * src/filesystem/Makefile.in: New.
681 * src/filesystem/dir.cc: New.
682 * src/filesystem/ops.cc: New.
683 * src/filesystem/path.cc: New.
684 * testsuite/experimental/filesystem/operations/absolute.cc: New.
685 * testsuite/experimental/filesystem/operations/copy.cc: New.
686 * testsuite/experimental/filesystem/operations/current_path.cc: New.
687 * testsuite/experimental/filesystem/path/append/path.cc: New.
688 * testsuite/experimental/filesystem/path/assign/assign.cc: New.
689 * testsuite/experimental/filesystem/path/assign/copy.cc: New.
690 * testsuite/experimental/filesystem/path/compare/compare.cc: New.
691 * testsuite/experimental/filesystem/path/compare/path.cc: New.
692 * testsuite/experimental/filesystem/path/compare/strings.cc: New.
693 * testsuite/experimental/filesystem/path/concat/path.cc: New.
694 * testsuite/experimental/filesystem/path/concat/strings.cc: New.
695 * testsuite/experimental/filesystem/path/construct/copy.cc: New.
696 * testsuite/experimental/filesystem/path/construct/default.cc: New.
697 * testsuite/experimental/filesystem/path/construct/locale.cc: New.
698 * testsuite/experimental/filesystem/path/construct/range.cc: New.
699 * testsuite/experimental/filesystem/path/decompose/extension.cc: New.
700 * testsuite/experimental/filesystem/path/decompose/filename.cc: New.
701 * testsuite/experimental/filesystem/path/decompose/parent_path.cc:
703 * testsuite/experimental/filesystem/path/decompose/relative_path.cc:
705 * testsuite/experimental/filesystem/path/decompose/root_directory.cc:
707 * testsuite/experimental/filesystem/path/decompose/root_name.cc:
709 * testsuite/experimental/filesystem/path/decompose/root_path.cc:
711 * testsuite/experimental/filesystem/path/decompose/stem.cc: New.
712 * testsuite/experimental/filesystem/path/generic/generic_string.cc:
714 * testsuite/experimental/filesystem/path/itr/traversal.cc: New.
715 * testsuite/experimental/filesystem/path/modifiers/clear.cc: New.
716 * testsuite/experimental/filesystem/path/modifiers/make_preferred.cc:
718 * testsuite/experimental/filesystem/path/modifiers/remove_filename.cc:
720 * testsuite/experimental/filesystem/path/modifiers/replace_extension.cc:
722 * testsuite/experimental/filesystem/path/modifiers/replace_filename.cc:
724 * testsuite/experimental/filesystem/path/modifiers/swap.cc: New.
725 * testsuite/experimental/filesystem/path/nonmember/hash_value.cc: New.
726 * testsuite/experimental/filesystem/path/query/empty.cc: New.
727 * testsuite/experimental/filesystem/path/query/has_extension.cc: New.
728 * testsuite/experimental/filesystem/path/query/has_filename.cc: New.
729 * testsuite/experimental/filesystem/path/query/has_parent_path.cc:
731 * testsuite/experimental/filesystem/path/query/has_relative_path.cc:
733 * testsuite/experimental/filesystem/path/query/has_root_directory.cc:
735 * testsuite/experimental/filesystem/path/query/has_root_name.cc:
737 * testsuite/experimental/filesystem/path/query/has_root_path.cc:
739 * testsuite/experimental/filesystem/path/query/has_stem.cc: New.
740 * testsuite/experimental/filesystem/path/query/is_relative.cc: New.
741 * testsuite/util/testsuite_fs.h: New.
743 2015-04-30 Edward Smith-Rowland <3dw4rd@verizon.net>
745 Add fundamentals TR container erasure.
746 * include/Makefile.am: Add new headers.
747 * include/Makefile.in: Add new headers.
748 * include/experimental/array: New.
749 * include/experimental/deque: New.
750 * include/experimental/erase_if.tcc: New.
751 * include/experimental/forward_list: New.
752 * include/experimental/list: New.
753 * include/experimental/map: New.
754 * include/experimental/set: New.
755 * include/experimental/string: New.
756 * include/experimental/unordered_map: New.
757 * include/experimental/unordered_set: New.
758 * include/experimental/vector: New.
759 * testsuite/experimental/deque/erasure.cc: New.
760 * testsuite/experimental/forward_list/erasure.cc: New.
761 * testsuite/experimental/list/erasure.cc: New.
762 * testsuite/experimental/map/erasure.cc: New.
763 * testsuite/experimental/set/erasure.cc: New.
764 * testsuite/experimental/string/erasure.cc: New.
765 * testsuite/experimental/unordered_map/erasure.cc: New.
766 * testsuite/experimental/unordered_set/erasure.cc: New.
767 * testsuite/experimental/vector/erasure.cc: New.
769 2015-04-30 François Dumont <fdumont@gcc.gnu.org>
771 * include/bits/cpp_type_traits.h
772 (__gnu_cxx::__is_normal_iterator): Delete.
773 * include/bits/stl_algobase.h (std::__niter_base): Adapt.
774 * include/bits/stl_iterator.h (__make_reverse_iterator): New in C++11.
775 (std::__niter_base): Overloads for std::reverse_iterator,
776 __gnu_cxx::__normal_iterator and std::move_iterator.
778 2015-04-30 François Dumont <fdumont@gcc.gnu.org>
780 * include/bits/hashtable_policy.h (_Prime_rehash_policy::_S_n_primes):
782 * src/c++11/hashtable_c++0x.cc (_Prime_rehash_policy::_M_next_bkt):
783 Remove usage of latter and compute size of the prime numbers array
786 2015-04-29 Doug Evans <dje@google.com>
789 * python/libstdcxx/v6/xmethods.py (get_bool_type): New function.
790 Replace all lookups of "bool" with this.
791 (get_std_size_type): New function. Replace all lookups of std::size_t
793 (*Worker): New method get_result_type.
794 (DequeWorkerBase.__init__): New arg val_type. All callers updated.
795 (ListWorkerBase.__init__): New arg val_type. All callers updated.
796 (UniquePtrGetWorker.__init__): New arg elem_type. All callers updated.
797 Delete setting of name, enabled.
798 (UniquePtrDerefWorker.__init__): New arg elem_type. All callers
799 updated. Delete setting of name.
800 (UniquePtrMethodsMatcher): Rewrite for consistency with all other
801 libstdc++ xmethod matchers.
802 * testsuite/libstdc++-xmethods/array.cc: Add whatis tests.
803 * testsuite/libstdc++-xmethods/associative-containers.cc: Ditto.
804 * testsuite/libstdc++-xmethods/deque.cc: Ditto.
805 * testsuite/libstdc++-xmethods/forwardlist.cc: Ditto.
806 * testsuite/libstdc++-xmethods/list.cc: Ditto.
807 * testsuite/libstdc++-xmethods/unique_ptr.cc: Ditto.
808 * testsuite/libstdc++-xmethods/vector.cc: Ditto.
810 2015-04-29 Doug Evans <dje@google.com>
812 Use consistent naming for value type attributes.
813 * python/libstdcxx/v6/xmethods.py (ArrayWorkerBase): Rename _valtype
815 (ArraySizeWorker, ArrayEmptyWorker): Ditto.
816 (ArrayFrontWorker, ArrayBackWorker): Ditto.
817 (ArrayAtWorker, ArraySubscriptWorker): Ditto.
818 (DequeWorkerBase): Rename elemtype to val_type.
819 (ForwardListWorkerBase): Rename _elem_type to _val_type.
820 (ForwardListFrontWorker): Ditto. And rename elem_address to
822 (ForwardListMethodsMatcher): Rename elem_type to val_type.
823 (VectorWorkerBase): Rename _elemtype to _val_type.
825 2015-04-29 Jonathan Wakely <jwakely@redhat.com>
828 * include/std/functional (__check_func_return_type): Use is_same to
829 avoid using _is_convertible on incomplete types.
830 * testsuite/20_util/function/65760.cc: New.
833 * include/bits/basic_string (basic_string::_S_copy_chars): Cast
835 * include/bits/locale_facets_nonio.tcc (money_get::_M_extract,
836 time_get::_M_extract_num, time_get::_M_extract_name,
837 time_get::_M_extract_wday_or_month): Likewise.
838 * include/bits/stl_algo.h (__includes, __replace_copy_if,
839 __is_sorted_until, __is_permutation, transform): Likewise.
840 * include/bits/stl_algobase.h (swap_ranges, __copy_move::__copy_m,
841 __equal::equal, __lexicographical_compare_impl, equal): Likewise.
842 * include/bits/stl_numeric.h (inner_product): Likewise.
843 * include/bits/stl_uninitialized.h (__uninitialized_copy_a): Likewise.
844 * testsuite/util/testsuite_iterators.h (output_iterator_wrapper,
845 input_iterator_wrapper): Declare unusable comma operator.
846 * testsuite/21_strings/basic_string/cons/char/64657.cc: New.
847 * testsuite/21_strings/basic_string/modifiers/assign/char/64657.cc:
850 2015-04-28 Doug Evans <dje@google.com>
852 * testsuite/libstdc++-xmethods/list.cc (_GLIBCXX_USE_CXX11_ABI):
855 2015-04-28 Jonathan Wakely <jwakely@redhat.com>
857 * include/bits/stl_algo.h (random_shuffle): Only define for hosted
860 2015-04-28 Jonathan Wakely <jwakely@redhat.com>
862 * Makefile.am (SUBDIRS): Move python to hosted_source.
863 * Makefile.in: Regenerate.
864 * acinclude.m4 (glibcxx_SUBDIRS): Reorder.
865 * configure: Regenerate.
867 2015-04-28 Marc Glisse <marc.glisse@inria.fr>
870 * include/std/limits (numeric_limits): Add missing unsigned.
872 2015-04-28 Stephan Bergmann <sbergman@redhat.com>
874 * include/debug/vector (_Safe_vector::operator=): Add missing returns.
876 2015-04-28 Jonathan Wakely <jwakely@redhat.com>
879 * include/std/type_traits (__make_unsigned_selector<_Tp, false, true>):
880 Handle enumeration types larger than sizeof(long).
881 (__make_signed_selector<_Tp, false, true>): Find unsigned type then
883 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error.
884 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
886 * testsuite/20_util/make_signed/requirements/typedefs-3.cc: New.
887 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Adjust
889 * testsuite/20_util/make_unsigned/requirements/typedefs-3.cc: New.
892 * include/bits/forward_list.h (forward_list::splice_after): Add
894 * include/bits/forward_list.tcc (forward_list::splice_after):
898 * include/bits/random.h (seed_seq) Define copy constructor and copy
899 assignment as deleted.
900 * testsuite/26_numerics/random/seed_seq/cons/65631.cc: New.
902 * libsupc++/exception (uncaught_exceptions): Add comment. Reorder #if.
903 * testsuite/18_support/uncaught_exceptions/uncaught_exceptions.cc:
904 Use -std=gnu++1z. Check feature-test macro.
906 * include/std/type_traits (void_t): Add.
907 * testsuite/20_util/void_t/1.cc: New.
909 2015-04-28 Tim Shen <timshen@google.com>
911 * include/bits/regex.tcc: Handle regex_constants::__polynomial.
912 * include/bits/regex_automaton.tcc: Throw exception when parsing
913 back-reference with flag __polynomial.
914 * include/bits/regex_constants.h: Add extension flag
915 syntax_option_type __polynomial.
916 * bits/regex_executor.tcc: Still let BFS process ECMAScript.
917 Alternative operation will be fixed in the coming refactoring.
918 * testsuite/28_regex/algorithms/regex_search/61424.cc: Turn
919 loose match_search_debug to use DFS only.
921 2015-04-27 Sandra Loosemore <sandra@codesourcery.com>
924 * testsuite/lib/libstdc++.exp (check_v3_target_namedlocale):
925 Make the generated test program fail gracefully if the target
926 doesn't support passing command-line arguments.
928 2015-04-27 Federico Lenarduzzi <federico.lenarduzzi@tallertechnologies.com>
929 Jonathan Wakely <jwakely@redhat.com>
931 * libsupc++/eh_catch.cc (uncaught_exception, uncaught_exceptions):
932 Return false or zero if the library is built without exceptions.
933 * libsupc++/eh_term_handler.cc: Disable verbose terminate handler if
934 the library is built without exceptions.
936 2015-04-27 Ville Voutilainen <ville.voutilainen@gmail.com>
938 * config/abi/pre/gnu.ver: Fix comment.
940 Add support for std::uncaught_exceptions.
941 * acinclude.m4: Bump libtool_VERSION.
942 * config/abi/pre/gnu.ver: Export the new symbol.
943 * configure: Regenerate.
944 * libsupc++/eh_catch.cc (uncaught_exceptions): New.
945 * libsupc++/exception (uncaught_exceptions): New.
946 * testsuite/18_support/uncaught_exceptions/uncaught_exceptions.cc: New.
947 * testsuite/util/testsuite_abi.cc: Add 3.4.22 as the latest version.
949 2015-04-27 Dmitry Prokoptsev <dprokoptsev@gmail.com>
950 Michael Hanselmann <public@hansmi.ch>
953 * libsupc++/eh_ptr.cc (rethrow_exception): Increment count of
955 * testsuite/18_support/exception_ptr/62258.cc: New.
957 2015-04-27 Jonathan Wakely <jwakely@redhat.com>
959 * doc/xml/manual/extensions.xml: Add cross-reference.
960 * doc/html/manual/ext_compile_checks.html: Regenerate.
962 2015-04-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
964 * config/os/generic/os_defines.h (_GLIBCXX_GTHREAD_USE_WEAK): Define.
965 * configure.host (os_include_dir): Set to "os/generic" for linux-musl*.
967 2015-04-22 Renlin Li <renlin.li@arm.com>
969 * testsuite/lib/dg-options.exp (dg-require-thread-fence): New.
970 * testsuite/lib/libstdc++.exp (check_v3_target_thread_fence): New.
971 * testsuite/29_atomics/atomic_flag/clear/1.cc: Use it.
972 * testsuite/29_atomics/atomic_flag/test_and_set/explicit.cc: Likewise.
973 * testsuite/29_atomics/atomic_flag/test_and_set/implicit.cc: Likewise.
975 2015-04-21 Jonathan Wakely <jwakely@redhat.com>
977 * doc/xml/manual/configure.xml: Update descriptions of options
978 affecting dual ABI and add cross-references.
979 * doc/xml/manual/strings.xml: Clarify that string isn't COW now.
980 * doc/xml/manual/using.xml: Document ABI transition.
981 * doc/html/*: Regenerate.
983 * doc/xml/manual/abi.xml: Use uppercase for C++ Standard Library.
984 * doc/xml/manual/using.xml: Document newer -std options. Use better
985 examples of nested namespaces.
987 2015-04-20 Jonathan Wakely <jwakely@redhat.com>
989 * doc/xml/manual/concurrency_extensions.xml: Update documentation
991 * doc/xml/manual/using.xml: Likewise. Improve markup.
992 * doc/html/*: Regenerate.
994 2015-04-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
996 * scripts/extract_symvers.pl: Ignore elfdump error output.
998 2015-04-14 Marc Glisse <marc.glisse@inria.fr>
1001 * include/bits/stl_iterator_base_funcs.h (_List_iterator,
1002 _List_const_iterator): Declare.
1003 (__distance): Declare new overloads for _List_iterator and
1004 _List_const_iterator.
1005 * include/bits/stl_list.h (__distance): New overloads for
1006 _List_iterator and _List_const_iterator.
1007 * testsuite/23_containers/list/61347.cc: New testcase.
1009 2015-04-14 Jonathan Wakely <jwakely@redhat.com>
1011 * doc/xml/manual/evolution.xml: Fix typos.
1012 * doc/html/manual/api.html: Regenerate.
1014 2015-04-14 Hans-Peter Nilsson <hp@axis.com>
1016 * testsuite/29_atomics/atomic/62259.cc: Assert atomic
1017 alignment is larger-equal, not equal, to default alignment.
1019 2015-04-13 Jonathan Wakely <jwakely@redhat.com>
1022 * config/abi/pre/gnu.ver: Export base object constructors for
1024 * config/abi/post/aarch64-linux-gnu/baseline_symbols.txt: Update.
1025 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Update.
1026 * config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Update.
1027 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
1028 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Update.
1029 * config/abi/post/m68k-linux-gnu/baseline_symbols.txt: Update.
1030 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Update
1031 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Update.
1032 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt: Update.
1033 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Update.
1034 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Update.
1035 * config/abi/post/solaris2.10/baseline_symbols.txt: Regenerate.
1036 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
1037 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
1038 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Update.
1039 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
1040 * config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: Update.
1041 * testsuite/27_io/basic_fstream/cons/base.cc: New.
1043 2015-04-13 Jonathan Wakely <jwakely@redhat.com>
1045 * doc/xml/manual/evolution.xml: Document changes since 4.5 release.
1046 * doc/html/*: Regenerate.
1048 2015-04-12 Uros Bizjak <ubizjak@gmail.com>
1050 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Update.
1052 2015-04-10 Andreas Schwab <schwab@linux-m68k.org>
1054 * config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Update.
1056 * config/abi/post/m68k-linux-gnu/baseline_symbols.txt: Update.
1058 2015-04-10 Jonathan Wakely <jwakely@redhat.com>
1060 * doc/xml/manual/test.xml: Improve documentation on running a subset
1062 * doc/html/manual/test.html: Regenerate.
1064 2015-04-10 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1066 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Update
1067 for GCC 5.1 release.
1068 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
1071 2015-04-10 Jonathan Wakely <jwakely@redhat.com>
1073 * include/std/shared_mutex (shared_timed_mutex): Add comments to
1074 explain the logic in the non-pthread_rwlock_t version.
1075 (_Mutex): Remove redundant type.
1076 (_M_n_readers): Rename to _S_max_readers.
1077 (_M_write_entered, _M_readers): New convenience functions.
1078 (lock, lock_shared, try_lock_shared, unlock_shared): Use convenience
1079 functions. Use predicates with condition variables. Simplify bitwise
1081 (try_lock_for, try_shared_lock_for): Convert duration to time_point
1082 and call try_lock_until or try_shared_lock_until respectively.
1083 (try_lock_until, try_shared_lock_until): Wait on the condition
1084 variables until the specified time passes.
1085 (unlock): Add Debug Mode assertion.
1086 (unlock_shared): Add Debug Mode assertion.
1087 * testsuite/30_threads/shared_timed_mutex/try_lock/3.cc: New.
1089 * include/std/shared_mutex (shared_timed_mutex): Only use
1090 pthread_rwlock_t when the POSIX Timeouts option is supported.
1091 * testsuite/30_threads/shared_lock/cons/5.cc: Remove
1092 dg-require-gthreads-timed.
1093 * testsuite/30_threads/shared_lock/cons/6.cc: Likewise.
1094 * testsuite/30_threads/shared_lock/locking/3.cc: Likewise.
1095 * testsuite/30_threads/shared_lock/locking/4.cc: Likewise.
1097 2015-04-09 H.J. Lu <hongjiu.lu@intel.com>
1099 * config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: Update.
1101 2015-04-09 Jonathan Wakely <jwakely@redhat.com>
1102 Richard Henderson <rth@redhat.com>
1105 * include/bits/atomic_base.h (__atomic_base<_ITp>): Increase
1107 * include/std/atomic (atomic): For types with a power of two size set
1108 alignment to at least the size.
1109 * testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number.
1110 * testsuite/29_atomics/atomic/65147.cc: New.
1111 * testsuite/29_atomics/atomic_integral/65147.cc: New.
1113 2015-04-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1115 * config/abi/post/solaris2.10/baseline_symbols.txt: Regenerate.
1116 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
1117 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
1119 2015-04-07 Jakub Jelinek <jakub@redhat.com>
1121 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Update.
1122 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
1123 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
1124 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Update.
1125 * config/abi/post/aarch64-linux-gnu/baseline_symbols.txt: Update.
1126 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Update.
1127 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Update.
1128 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Update.
1130 2015-03-30 Jonathan Wakely <jwakely@redhat.com>
1133 * config/abi/pre/gnu.ver: Export operator+ for new strings.
1134 * testsuite/21_strings/basic_string/operators/char/65630.cc: New.
1135 * testsuite/21_strings/basic_string/operators/wchar_t/65630.cc: New.
1137 2015-03-28 Tim Shen <timshen@google.com>
1140 * include/bits/regex_constants.h: Use constexpr variables for flags.
1141 * testsuite/28_regex/constants/constexpr.cc: New testcase.
1143 2015-03-27 Jonathan Wakely <jwakely@redhat.com>
1146 * include/std/chrono: Add using-directive for literals to std::chrono.
1147 * testsuite/20_util/duration/literals/65499.cc: New.
1149 2015-03-26 Jonathan Wakely <jwakely@redhat.com>
1153 * include/std/thread (this_thread::sleep_for): Check for negative
1155 (this_thread::sleep_until): Check for times in the past.
1156 * testsuite/30_threads/this_thread/58038.cc: New.
1157 * testsuite/30_threads/this_thread/60421.cc: New.
1159 2015-03-26 Jonathan Wakely <jwakely@redhat.com>
1163 * include/std/atomic (atomic<T>): Increase alignment for types with
1164 the same size as one of the integral types.
1165 * testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number.
1166 * testsuite/29_atomics/atomic/62259.cc: New.
1168 2015-03-26 Richard Henderson <rth@redhat.com>
1171 * include/bits/atomic_base.h (__atomic_base<T>::is_lock_free): Build
1172 a fake pointer indicating type alignment.
1173 (__atomic_base<T *>::is_lock_free): Likewise.
1174 * include/std/atomic (atomic<T>::is_lock_free): Likewise.
1176 2015-03-25 Alan Lawrence <alan.lawrence@arm.com>
1179 * testsuite/21_strings/basic_string/pthread33394.cc: Use
1180 dg-additional-options.
1182 2015-03-25 Paolo Carlini <paolo.carlini@oracle.com>
1185 * include/std/istream (operator>>(basic_istream<>&&, _Tp&): Revert
1187 * include/std/ostream (operator<<(basic_ostream<>&&, const _Tp&):
1189 * testsuite/27_io/rvalue_streams-2.cc: New.
1191 2015-03-24 Jonathan Wakely <jwakely@redhat.com>
1194 * testsuite/21_strings/basic_string/pthread33394.cc: Add test.
1196 2015-03-23 Jonathan Wakely <jwakely@redhat.com>
1199 * acinclude.m4: Disable dual ABI when gnu-versioned-namespace in use.
1200 * configure: Regenerate.
1201 * src/c++11/compatibility-c++0x.cc (error_category), generic_category,
1202 system_category): Use macros for versioned namespace.
1203 * src/c++11/futex.cc: Add missing end macro for versioned namespace.
1205 2015-03-20 James Greenhalgh <james.greenhalgh@arm.com>
1207 * testsuite/17_intro/headers/c++1998/all_attributes.cc: Disable
1208 test for unused for ARM.
1209 * testsuite/17_intro/headers/c++200x/all_attributes.cc: Likewise.
1210 * testsuite/17_intro/headers/c++2014/all_attributes.cc: Likewise.
1212 2015-03-20 Jonathan Wakely <jwakely@redhat.com>
1214 * include/bits/c++config (__gnu_cxx::__cxx11): Define new namespace.
1215 * include/ext/codecvt_specializations.h (encoding_state,
1216 encoding_char_traits): Remove abi-tag and use inline namespace.
1217 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error line.
1219 2015-03-19 Jason Merrill <jason@redhat.com>
1221 * config/locale/gnu/messages_members.cc: Revert abi-tag change.
1222 * src/c++11/cxx11-shim_facets.cc: Revert abi-tag change.
1224 2015-03-18 Jonathan Wakely <jwakely@redhat.com>
1227 * config/locale/gnu/messages_members.cc (Catalog_info, Catalogs,
1228 get_catalogs): Add abi-tag.
1229 * include/ext/codecvt_specializations.h (encoding_state,
1230 encoding_char_traits): Likewise.
1231 * src/c++11/cxx11-ios_failure.cc (io_error_category): Likewise.
1232 * src/c++11/cxx11-shim_facets.cc (__any_string::operator basic_string,
1233 numpunct_shim, collate_shim, time_get_shim, moneypunct_shim,
1234 money_get_shim, money_put_shim, messages_shim): Likewise.
1235 * src/c++11/future.cc (future_error_category::message): Likewise.
1236 * src/c++11/system_error.cc (generic_error_category::message,
1237 system_error_category::message): Likewise.
1238 (__sso_string): Disable -Wabi-tag warnings.
1240 2015-03-18 Jonathan Wakely <jwakely@redhat.com>
1243 * config/locale/gnu/messages_members.cc (get_glibc_msg): Fix fallback
1244 implementation for old glibc. Fix whitespace.
1246 2015-03-18 Jonathan Wakely <jwakely@redhat.com>
1247 Torvald Riegel <triegel@redhat.com>
1249 * acinclude.m4 (GLIBCXX_CHECK_GTHREADS): Check for pthread_rwlock_t.
1250 * config.h.in: Regenerate.
1251 * configure: Regenerate.
1252 * include/std/shared_mutex: Check _GLIBCXX_USE_PTHREAD_RWLOCK_T.
1253 (shared_timed_mutex::_M_rwlock): Use PTHREAD_RWLOCK_INITIALIZER.
1254 (shared_timed_mutex::lock_shared()): Retry on EAGAIN.
1255 (shared_timed_mutex::try_lock_shared_until()): Retry on EAGAIN and
1258 2015-03-17 Jonathan Wakely <jwakely@redhat.com>
1260 * libsupc++/nested_exception.h: Do not try to derive from final
1262 * testsuite/18_support/nested_exception/throw_with_nested.cc: Test
1265 * testsuite/30_threads/shared_lock/modifiers/1.cc: Remove name of
1266 unused exception variable.
1267 * testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise.
1268 * testsuite/30_threads/shared_lock/modifiers/2.cc: Remove duplicate
1270 * testsuite/30_threads/unique_lock/modifiers/2.cc: Likewise.
1272 2015-03-13 Jonathan Wakely <jwakely@redhat.com>
1274 * acinclude.m4: Make --enable-libstdcxx-time=auto work for dragonfly.
1275 * configure: Regenerate.
1277 * include/experimental/system_error: Fix include guard.
1279 2015-03-12 Renlin Li <renlin.li@arm.com>
1281 * testsuite/27_io/ios_base/sync_with_stdio/1.cc: Remove xfail for
1284 2015-03-10 Tim Shen <timshen@google.com>
1287 * include/bits/regex.h (match_results<>::size,
1288 match_results<>::position, match_results<>::str,
1289 match_results<>::operator[], match_results<>::prefix,
1290 match_results<>::suffix, match_results<>::end,
1291 match_results<>::_M_resize, match_results<>::_M_unmatched_sub,
1292 match_results<>::_M_prefix, match_results<>::_M_suffix): Remove
1293 global __unmatched_sub. Add unmatched submatch as part of
1295 * include/bits/regex.tcc (__regex_algo_impl<>, regex_replace<>,
1296 regex_iterator<>::operator++): Adjust to use match_results::_M_prefix.
1297 * testsuite/28_regex/match_results/out_of_range_submatches.cc:
1300 2015-03-09 Jonathan Wakely <jwakely@redhat.com>
1303 * testsuite/28_regex/traits/char/isctype.cc: Don't test newline
1304 for newlib targets. Really fix mixed line-endings this time.
1306 2015-03-06 Jonathan Wakely <jwakely@redhat.com>
1308 * include/std/future (future_error(error_code)): Construct base
1309 class with error_code's message.
1310 * src/c++11/future.cc (future_error::what()): Do not call c_str() on
1313 2015-03-05 Jonathan Wakely <jwakely@redhat.com>
1315 * include/bits/locale_conv.h (wstring_convert::_M_conv): Handle
1317 * testsuite/22_locale/conversions/string/2.cc: Also test UTF-8.
1318 * testsuite/22_locale/conversions/string/3.cc: Likewise, and UTF-16.
1320 2015-03-04 Jonathan Wakely <jwakely@redhat.com>
1323 * include/bits/locale_conv.h (wstring_convert::_M_conv): Handle
1324 incomplete multibyte sequences correctly.
1325 * include/std/codecvt (codecvt_utf8, codecvt_utf16,
1326 codecvt_utf8_utf16): Limit _Maxcode to maximum Unicode code point.
1327 * src/c++11/codecvt.cc (invalid_mb_sequence, incomplete_mb_character):
1329 (is_high_surrogate, is_low_surrogate, surrogate_pair_to_code_point):
1330 Define convenience functions.
1331 (read_utf8_code_point): Return relevant constant to distinguish
1332 incomplete characters from invalid sequences.
1333 (read_utf16_code_point): Likewise. Check for invalid sequences.
1334 (ucs4_in, utf16_in): Use incomplete_mb_character constant.
1335 (utf16_out): Check for invalid sequences.
1336 (utf16_span): Fix condition.
1337 (ucs2_out): Use is_high_surrogate.
1338 (ucs2_in): Use incomplete_mb_character constant and fix condition.
1339 * testsuite/22_locale/codecvt/char16_t.cc: Fix whitespace.
1340 * testsuite/22_locale/conversions/buffer/1.cc: New.
1341 * testsuite/22_locale/conversions/string/2.cc: Use char16_t and
1342 char32_t instead of wchar_t.
1343 * testsuite/22_locale/conversions/string/3.cc: New.
1345 2015-03-03 Iain Sandoe <iain@codesourcery.com>
1348 * testsuite/17_intro/headers/c++1998/all_attributes.cc: Don't check
1349 visibility for Darwin.
1350 * testsuite/17_intro/headers/c++200x/all_attributes.cc: Likewise, and
1352 * testsuite/17_intro/headers/c++2014/all_attributes.cc: Likewise.
1354 2015-03-02 Jonathan Wakely <jwakely@redhat.com>
1357 * include/std/scoped_allocator (__inner_type_impl,
1358 scoped_allocator_adaptor): Add defaulted copy assignment and move
1359 assignment operators.
1360 * testsuite/20_util/scoped_allocator/65279.cc: New.
1362 2015-03-02 Jonathan Wakely <jwakely@redhat.com>
1365 * include/std/stdexcept (__sso_string): Don't use non-static member
1368 2015-02-28 Matthias Klose <doko@ubuntu.com>
1371 * python/libstdcxx/v6/__init__.py: Use explicit relative imports.
1373 2015-02-22 Jonathan Wakely <jwakely@redhat.com>
1375 * doc/xml/manual/status_cxx2011.xml: Remove duplicated information.
1376 * doc/html/manual/status.html: Regenerate.
1378 2015-02-20 Jonathan Wakely <jwakely@redhat.com>
1381 * python/libstdcxx/v6/printers.py (StdTuplePrinter): Handle new
1384 * doc/xml/manual/status_cxx2011.xml: Document implementation-defined
1386 * doc/html/manual/status.html: Regenerate.
1388 2015-02-19 Jonathan Wakely <jwakely@redhat.com>
1391 * include/bits/algorithmfwd.h (rotate): Move to inline namespace _V2.
1392 * include/bits/stl_algo.h (__rotate, rotate): Likewise.
1394 2015-02-19 Hans-Peter Nilsson <hp@axis.com>
1397 * testsuite/26_numerics/random/binomial_distribution/operators/values.cc
1398 (test01): Add explanatory comment. Keep only the bd1 sub-test and
1399 split out bd2, bd3, bd4, and bd5 sub-tests into...
1400 * testsuite/26_numerics/random/binomial_distribution/operators/values2.cc,
1401 testsuite/26_numerics/random/binomial_distribution/operators/values3.cc,
1402 testsuite/26_numerics/random/binomial_distribution/operators/values4.cc,
1403 testsuite/26_numerics/random/binomial_distribution/operators/values5.cc:
1404 New separate files with the old parts.
1406 2015-02-18 Jonathan Wakely <jwakely@redhat.com>
1408 * src/c++11/codecvt.cc (write_utf16_code_point): Fix code to output
1410 (utf16_in): Pass mode argument to write_utf16_code_point.
1411 (codecvt<char16_t, char, mbstate_t>::do_in): Set mode according to
1413 * testsuite/22_locale/codecvt/char16_t.cc: New.
1414 * testsuite/22_locale/codecvt/in/wchar_t/1.cc: Fix typo.
1416 * testsuite/22_locale/codecvt/char16_t.cc: Add dg-require-cstdint.
1417 * testsuite/22_locale/codecvt/char32_t.cc: Likewise.
1419 2015-02-17 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1420 Jonathan Wakely <jwakely@redhat.com>
1422 * testsuite/22_locale/codecvt/char32_t.cc: New.
1424 2015-02-17 Jonathan Wakely <jwakely@redhat.com>
1427 * include/bits/basic_string.h (basic_string(basic_string&&)): Ensure
1428 empty string gets null-terminated.
1429 * testsuite/21_strings/basic_string/cons/char/65085.cc: New.
1431 2015-02-13 Matthew Wahab <matthew.wahab@arm.com>
1433 * testsuite/28_regex/traits/char/isctype.cc (test01): Fix
1434 mixed line-endings introduced in last change.
1436 2015-02-12 Matthew Wahab <matthew.wahab@arm.com>
1438 * testsuite/28_regex/traits/char/isctype.cc (test01): Replace test
1439 for __NEWLIB__ macro with a dejagnu set macro.
1440 * testsuite/28_regex/traits/wchar_t/isctype.cc (test01): Likewise.
1442 2015-02-04 Matthew Wahab <matthew.wahab@arm.com>
1445 * testsuite/28_regex/traits/char/isctype.cc (test01): Add newlib
1446 special case for '\n'.
1447 * testsuite/28_regex/traits/wchar_t/isctype.cc (test01): Likewise.
1449 2015-02-01 Jonathan Wakely <jwakely@redhat.com>
1451 * src/c++11/futex.cc: Do not define for gthr-single.h targets.
1453 2015-02-01 Jonathan Wakely <jwakely@redhat.com>
1456 * include/c_global/cstdio (gets): Use __deprecated__ attribute instead
1458 * include/c_std/cstdio (gets): Likewise.
1459 * testsuite/17_intro/headers/c++1998/all_attributes.cc: Avoid clashing
1460 with attributes used in darwin headers.
1462 2015-01-29 Jakub Jelinek <jakub@redhat.com>
1464 * acinclude.m4 (VTV_CYGMIN): Use x$vtv_cygmin = xyes instead of
1465 $vtv_cygmin = yes. Initialize vtv_cygmin=no unconditionally first.
1466 * configure: Regenerated.
1468 2015-01-29 H.J. Lu <hongjiu.lu@intel.com>
1470 * acinclude.m4 (GLIBCXX_ENABLE_VTABLE_VERIFY): Define VTV_CYGMIN
1471 after vtv_cygmin is set.
1472 * configure: Regenerated.
1474 2015-01-29 Matthias Klose <doko@ubuntu.com>
1476 * acinclude.m4 (GLIBCXX_ENABLE_VTABLE_VERIFY): Define VTV_CYGMIN
1478 * configure: Regenerate.
1480 2015-01-29 Caroline Tice <cmtice@google.com>
1482 Committing VTV Cywin/Ming patch for Patrick Wollgast
1483 * configure: Regenerate.
1484 * libsupc++/Makefile.in: Regenerate.
1485 * src/Makefile.in: Regenerate.
1487 2015-01-29 Jonathan Wakely <jwakely@redhat.com>
1489 * include/bits/atomic_base.h: Use __always_inline__ instead of
1491 * include/bits/atomic_futex.h: Likewise.
1492 * include/bits/c++config: Use __abi_tag__ instead of abi_tag.
1493 * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Use
1494 __packed__ instead of packed.
1495 * include/std/shared_mutex: Use __unused__ instead of unused.
1496 * testsuite/17_intro/headers/c++1998/all_attributes.cc: New.
1497 * testsuite/17_intro/headers/c++200x/all_attributes.cc: New.
1498 * testsuite/17_intro/headers/c++2014/all_attributes.cc: New.
1500 2015-01-28 Caroline Tice <cmtice@google.com>
1502 Committing VTV Cywin/Ming patch for Patrick Wollgast
1503 * acinclude.m4: Define VTV_CYGMIN.
1504 * libsupc++/Makefile.am: Add vtv_sources only to libsupc___la_SOURCES
1505 and libsupc__convenience_la_SOURCES if VTV_CYGMIN is not set.
1506 * libsupc++/vtv_stubs.cc: Add none weak declaration of every function
1507 for Cygwin and MinGW.
1508 * src/Makefile.am: Add libvtv.la to toolexeclib_LTLIBRARIES, if
1509 VTV_CYGMIN is set. Define libvtv_la_SOURCES, libvtv_la_LDFLAGS,
1510 libvtv_la_AM_CXXFLAGS and libvtv_la_LINK if VTV_CYGMIN is set.
1512 2015-01-28 Jonathan Wakely <jwakely@redhat.com>
1515 * libsupc++/Makefile.am: Compile del_opvs.cc as C++14.
1516 * libsupc++/Makefile.in: Regenerate.
1517 * src/c++11/Makefile.in: Regenerate.
1519 2015-01-28 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1521 * testsuite/lib/libstdc++.exp (v3_target_compile): Remove
1522 check for unsupported.
1523 (v3_target_compile_as_c): Likewise.
1525 2015-01-28 Richard Biener <rguenther@suse.de>
1528 * libsupc++/eh_alloc.cc (struct allocated_entry): Align
1530 (pool::allocate): Adjust allocation size and alignment to
1532 (pool::free): Adjust pointer offsetting.
1534 2015-01-27 Jonathan Wakely <jwakely@redhat.com>
1537 * include/std/shared_mutex (shared_timed_mutex::try_lock_for,
1538 shared_timed_mutex::try_lock_until): Only define when POSIX thread
1539 timeouts option is supported.
1540 (shared_timed_mutex::try_shared_lock_for,
1541 shared_timed_mutex::try_shared_lock_until): Likewise.
1543 2015-01-26 Jonathan Wakely <jwakely@redhat.com>
1546 * config/locale/gnu/numeric_members.cc (numpunct<char>::~numpunct(),
1547 numpunct<wchar_t>::~numpunct()): Do not set _M_data->_M_grouping.
1548 * src/c++11/cxx11-shim_facets.cc (numpunct_shim): Remove _M_grouping
1549 and use cache's _M_grouping field.
1550 (__numpunct_fill_cache): Likewise.
1551 (__moneypunct_fill_cache): Improve comments.
1553 2015-01-26 Jonathan Wakely <jwakely@redhat.com>
1555 * testsuite/23_containers/set/operations/2.cc: Add test for
1556 non-transparent comparison function.
1558 2015-01-25 Oleg Endo <olegendo@gcc.gnu.org>
1561 * config/cpu/sh/atomicity.h (__exchange_and_add, __atomic_add):
1562 Remove SH4A inline asm and lock based implementations and use the
1563 defaults from ext/atomicity.h.
1565 2015-01-23 Jonathan Wakely <jwakely@redhat.com>
1567 * config/abi/pre/gnu.ver: Tighten GLIBCXX_3.4 patterns to not match
1568 new std::string constructors for byname facets.
1570 2015-01-22 Richard Biener <rguenther@suse.de>
1573 * libsupc++/eh_alloc.cc: Include new.
1574 (bitmask_type): Remove.
1575 (one_buffer): Likewise.
1576 (emergency_buffer): Likewise.
1577 (emergency_used): Likewise.
1578 (dependents_buffer): Likewise.
1579 (dependents_used): Likewise.
1580 (class pool): New custom fixed-size arena, variable size object
1582 (emergency_pool): New global.
1583 (__cxxabiv1::__cxa_allocate_exception): Use new emergency_pool.
1584 (__cxxabiv1::__cxa_free_exception): Likewise.
1585 (__cxxabiv1::__cxa_allocate_dependent_exception): Likewise.
1586 (__cxxabiv1::__cxa_free_dependent_exception): Likewise.
1588 2015-01-22 Tim Shen <timshen@google.com>
1591 * include/bits/regex.h (basic_regex<>::basic_regex,
1592 basic_regex<>::operator=, basic_regex<>::imbue): Conform to the
1594 * testsuite/28_regex/basic_regex/assign/char/cstring.cc: New testcase.
1596 2015-01-22 Tim Shen <timshen@google.com>
1599 * include/bits/regex.tcc (regex_traits<>::lookup_collatename,
1600 regex_traits<>::lookup_classname): Correctly narrow input chars.
1601 * testsuite/28_regex/traits/wchar_t/user_defined.cc: New testcase.
1603 2015-01-21 Jonathan Wakely <jwakely@redhat.com>
1605 * config/abi/pre/gnu.ver: Use [jmy] for size_t parameters.
1607 2015-01-21 Jonathan Wakely <jwakely@redhat.com>
1609 * testsuite/29_atomics/atomic/64658.cc: Test stored value.
1611 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
1613 * doc/xml/manual/status_cxx2011.xml: Remove stray dbhtml tags.
1614 * doc/xml/manual/status_cxx2014.xml: Update status.
1615 * doc/html/manual/status.html: Regenerate.
1617 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
1620 * include/experimental/optional (bad_optional_access): Add default
1622 * testsuite/experimental/optional/requirements.cc: Test for default
1625 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
1627 * include/bits/stl_map.h (map::find<>, map::count<>,
1628 map::lower_bound<>, map::upper_bound<>, map::equal_range<>): New
1629 member function templates to perform heterogeneous lookup.
1630 * include/bits/stl_multimap.h (multimap::find<>, multimap::count<>,
1631 multimap::lower_bound<>, multimap::upper_bound<>,
1632 multimap::equal_range<>): Likewise.
1633 * include/bits/stl_multiset.h (multiset::find<>, multiset::count<>,
1634 multiset::lower_bound<>, multiset::upper_bound<>,
1635 multiset::equal_range<>): Likewise.
1636 * include/bits/stl_set.h (set::find<>, set::count<>,
1637 set::lower_bound<>, set::upper_bound<>, set::equal_range<>): Likewise.
1638 * include/bits/stl_tree.h (_Rb_tree::_S_lower_bound_tr,
1639 _Rb_tree::_S_upper_bound_tr, _Rb_tree::_M_find_tr,
1640 _Rb_tree::_M_count_tr, _Rb_tree::_M_lower_bound_tr,
1641 _Rb_tree::_M_upper_bound_tr, _Rb_tree::_M_equal_range_tr): Likewise.
1642 * testsuite/23_containers/map/operations/2.cc: New.
1643 * testsuite/23_containers/multimap/operations/2.cc: New.
1644 * testsuite/23_containers/multiset/operations/2.cc: New.
1645 * testsuite/23_containers/set/operations/2.cc: New.
1647 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
1649 * config/abi/pre/gnu.ver: Export new constructors.
1650 * include/bits/codecvt.h (codecvt_byname): Add string constructor.
1651 (codecvt_byname<char16_t>, codecvt_byname<char32_t>): Define explicit
1652 specializations and declare explicit instantiations.
1653 * include/bits/locale_classes.h (locale, collate_byname): Add string
1655 * include/bits/locale_facets.h (ctype_byname, numpunct_byname):
1657 * include/bits/locale_facets_nonio.h (time_get_byname,
1658 time_put_byname, moneypunct_byname, messages_byname): Likewise.
1659 * src/c++11/codecvt.cc (codecvt_byname<char16_t>,
1660 codecvt_byname<char32_t>): Define explicit instantiations.
1661 * src/c++11/locale-inst.cc (time_put_byname, codecvt_byname):
1662 Instantiate string constructors.
1663 (ctype_byname): Define string constructor.
1664 * testsuite/22_locale/codecvt_byname/1.cc: New.
1665 * testsuite/22_locale/collate_byname/1.cc: New.
1666 * testsuite/22_locale/ctype_byname/2.cc: New.
1667 * testsuite/22_locale/messages_byname/1.cc: New.
1668 * testsuite/22_locale/moneypunct_byname/1.cc: New.
1669 * testsuite/22_locale/numpunct_byname/1.cc: New.
1671 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
1674 * include/std/atomic (atomic_init): Define.
1675 * testsuite/29_atomics/atomic/64658.cc: New.
1677 2015-01-19 Tim Shen <timshen@google.com>
1680 * include/bits/regex.tcc (regex_traits<>::lookup_collatename,
1681 regex_traits<>::lookup_classname): Support forward iterators.
1682 * testsuite/28_regex/traits/char/lookup_classname.cc: New testcases.
1683 * testsuite/28_regex/traits/char/lookup_collatename.cc: New testcase.
1685 2015-01-19 Tim Shen <timshen@google.com>
1689 * include/bits/regex.h (basic_regex<>::basic_regex,
1690 basic_regex<>::assign, basic_regex<>::imbue,
1691 basic_regex<>::swap, basic_regex<>::mark_count): Drop NFA after
1692 imbuing basic_regex; Make assign() transactional against exception.
1693 * include/bits/regex_compiler.h (__compile_nfa<>): Add back
1694 __compile_nfa SFINAE.
1695 * include/std/regex: Adjust include order to avoid __compile_nfa
1696 forward declaration.
1697 * testsuite/28_regex/basic_regex/assign/char/string.cc: New testcase.
1698 * testsuite/28_regex/basic_regex/imbue/string.cc: New testcase.
1700 2015-01-19 Ville Voutilainen <ville.voutilainen@gmail.com>
1701 Jonathan Wakely <jwakely@redhat.com>
1703 * include/bits/range_access.h (begin, end): Use _GLIBCXX14_CONSTEXPR
1704 on overloads for arrays.
1705 (cbegin, cend, rbegin, rend, crbegin, crend): New.
1706 * testsuite/24_iterators/range_access_cpp14.cc: New.
1708 2015-01-18 Jonathan Wakely <jwakely@redhat.com>
1711 * include/bits/stl_algo.h (__is_permutation): Also test for reaching
1712 end of the second range.
1713 * testsuite/25_algorithms/is_permutation/64646.cc: New.
1715 2015-01-18 Jonathan Wakely <jwakely@redhat.com>
1717 * doc/xml/manual/status_cxx2011.xml: Remove note about offsetof.
1718 * doc/html/manual/status.html: Regenerate.
1720 2015-01-18 Jonathan Wakely <jwakely@redhat.com>
1722 * include/bits/atomic_futex.h: Use mutex and condition_variable when
1723 atomic int is not lock-free. Make member variables private.
1724 * src/c++11/futex.cc: Likewise.
1726 * src/c++11/futex.cc: Fix order of includes and preprocessor condition.
1728 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
1731 * include/bits/atomic_futex.h: Use appropriate config macros for
1732 availability of std::mutex, std::condition and std::chrono.
1734 2015-01-17 Ville Voutilainen <ville.voutilainen@gmail.com>
1735 Jonathan Wakely <jwakely@redhat.com>
1737 * doc/xml/manual/status_cxx2011.xml: Update C++11 status.
1738 * doc/html/*: Regenerate.
1740 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
1744 * include/bits/algorithmfwd.h (rotate): Return an iterator.
1745 * include/bits/stl_algo.h (rotate, __rotate): Likewise.
1746 * testsuite/25_algorithms/rotate/dr488.cc: New.
1747 * testsuite/25_algorithms/rotate/check_type.cc: Adjust function type.
1748 * testsuite/25_algorithms/rotate/requirements/explicit_instantiation/
1750 * testsuite/25_algorithms/rotate/requirements/explicit_instantiation/
1753 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
1756 * include/bits/atomic_base.h: Remove atomic integral typedefs as
1757 synonyms for __atomic_base<int> etc.
1758 * include/std/atomic: Make atomic_int a synonym for atomic<int> and
1759 likewise for all atomic integral types.
1760 * testsuite/29_atomics/atomic_integral/cons/copy_list.cc: New.
1761 * testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number.
1763 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
1766 * include/std/tuple (_Tuple_impl): Remove zero-element specialization
1767 and define one-element specialization.
1768 * testsuite/20_util/tuple/56785.cc: New.
1770 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
1772 * testsuite/22_locale/codecvt/codecvt_utf8/requirements/1.cc:
1773 Remove unused header.
1774 * testsuite/22_locale/codecvt/codecvt_utf16/requirements/1.cc:
1776 * testsuite/22_locale/codecvt/codecvt_utf8_utf16/requirements/1.cc:
1779 2015-01-16 Jonathan Wakely <jwakely@redhat.com>
1781 * include/bits/locale_conv.h (wstring_convert, wbuffer_convert): New.
1782 * include/std/locale: Include new header.
1783 * include/Makefile.am: Add it.
1784 * include/Makefile.in: Regenerate.
1785 * testsuite/22_locale/conversions/buffer/requirements/typedefs.cc: New.
1786 * testsuite/22_locale/conversions/string/1.cc: New.
1787 * testsuite/22_locale/conversions/string/2.cc: New.
1788 * testsuite/22_locale/conversions/string/requirements/typedefs.cc: New.
1789 * testsuite/22_locale/conversions/string/requirements/typedefs-2.cc:
1792 2015-01-16 Jonathan Wakely <jwakely@redhat.com>
1794 * config/abi/pre/gnu.ver: Export new symbols.
1795 * include/Makefile.am: Add codecvt.
1796 * include/Makefile.in: Regenerate.
1797 * include/std/codecvt: New header.
1798 * src/c++11/codecvt.cc (__codecvt_utf8_base, __codecvt_utf16_base,
1799 __codecvt_utf8_utf16_base): Define specializations.
1800 * testsuite/22_locale/codecvt/codecvt_utf8/requirements/1.cc: New.
1801 * testsuite/22_locale/codecvt/codecvt_utf16/requirements/1.cc: New.
1802 * testsuite/22_locale/codecvt/codecvt_utf8_utf16/requirements/1.cc:
1805 2015-01-16 Torvald Riegel <triegel@redhat.com>
1807 * src/c++11/futex.cc: New file.
1808 * include/bits/atomic_futex.h: New file.
1809 * include/std/future (__future_base::_State_baseV2): Use
1810 atomic_futex_unsigned instead of mutex+condvar.
1811 * src/c++11/futex.cc: Likewise.
1812 * include/Makefile.am: Add atomic_futex.h.
1813 * include/Makefile.in: Likewise.
1814 * src/c++11/Makefile.am: Add futex.cc.
1815 * src/c++11/Makefile.in: Likewise.
1817 2015-01-16 Jonathan Wakely <jwakely@redhat.com>
1819 * acinclude.m4: Fix typo in comment.
1820 * configure: Regenerate.
1821 * include/bits/codecvt.h (codecvt<char16_t, char, mbstate_t>,
1822 codecvt<char16_t, char, mbstate_t>): Declare specializations.
1823 * include/bits/locale_facets.h: Reserve space for new specializations.
1824 * src/c++11/Makefile.am: Add codecvt.cc.
1825 * src/c++11/Makefile.in: Regenerate.
1826 * src/c++11/codecvt.cc: New.
1827 * src/c++98/Makefile.am: Compile locale_init.cc and localename.cc
1829 * src/c++98/Makefile.in: Regenerate.
1830 * src/c++98/locale_init.cc: Initialize new codecvt specializations.
1831 * src/c++98/localename.cc: Likewise.
1832 * config/abi/pre/gnu.ver: Exports for new codecvt specializations.
1833 * testsuite/22_locale/codecvt/utf8.cc: New.
1834 * testsuite/22_locale/locale/cons/unicode.cc: Check that new
1835 specializations are installed in locale objects.
1837 2015-01-16 Torvald Riegel <triegel@redhat.com>
1839 * include/std/shared_mutex (shared_timed_mutex): Add POSIX-based
1842 2015-01-13 Jonathan Wakely <jwakely@redhat.com>
1845 * config/abi/pre/gnu.ver: Export fstream functions using new string.
1847 2015-01-12 Jonathan Wakely <jwakely@redhat.com>
1850 * src/c++11/cxx11-shim_facets.cc (locale::facet::_M_sso_shim): Check
1854 * src/c++11/cxx11-shim_facets.cc: Check for wchar_t support.
1856 2015-01-10 Thomas Schwinge <thomas@codesourcery.com>
1858 * doc/xml/manual/parallel_mode.xml: Update for libgomp being
1859 renamed from "GNU OpenMP Runtime Library" to "GNU Offloading and
1860 Multi Processing Runtime Library".
1862 2015-01-09 Jonathan Wakely <jwakely@redhat.com>
1865 * include/bits/stl_uninitialized.h (uninitialized_copy): Fix
1866 is_assignable arguments.
1867 * testsuite/20_util/specialized_algorithms/uninitialized_copy/64476.cc:
1870 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
1872 * libsupc++/unwind-cxx.h: Revert previous commit.
1874 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
1876 * configure.host: Add arm*-*-freebsd* port_specific_symbol_files.
1878 2015-01-09 Tim Shen <timshen@google.com>
1881 * include/bits/regex.h (match_results<>::swap): Use std::swap
1883 * include/bits/regex_compiler.tcc (_Compiler<>::_M_quantifier):
1885 * testsuite/28_regex/match_results/swap.cc: New testcase.
1887 2015-01-08 Jonathan Wakely <jwakely@redhat.com>
1890 * include/std/type_traits (has_trivial_default_constructor,
1891 has_trivial_copy_constructor, has_trivial_copy_assign): Add deprecated
1893 * testsuite/20_util/has_trivial_copy_assign/requirements/
1894 explicit_instantiation.cc: Use -Wno-deprecated.
1895 * testsuite/20_util/has_trivial_copy_assign/requirements/typedefs.cc:
1897 * testsuite/20_util/has_trivial_copy_assign/value.cc: Likewise.
1898 * testsuite/20_util/has_trivial_copy_constructor/requirements/
1899 explicit_instantiation.cc: Likewise.
1900 * testsuite/20_util/has_trivial_copy_constructor/requirements/
1901 typedefs.cc: Likewise.
1902 * testsuite/20_util/has_trivial_copy_constructor/value.cc: Likewise.
1903 * testsuite/20_util/has_trivial_default_constructor/requirements/
1904 explicit_instantiation.c: Likewise.
1905 * testsuite/20_util/has_trivial_default_constructor/requirements/
1906 typedefs.cc: Likewise.
1907 * testsuite/20_util/has_trivial_default_constructor/value.cc:
1909 * testsuite/20_util/pair/requirements/dr801.cc: Replace deprecated
1911 * testsuite/20_util/tuple/requirements/dr801.cc: Likewise.
1912 * testsuite/util/testsuite_common_types.h: Likewise.
1914 2015-01-08 Jonathan Wakely <jwakely@redhat.com>
1916 * include/bits/hashtable_policy.h: Use __bool_constant.
1918 2015-01-07 Jonathan Wakely <jwakely@redhat.com>
1920 * libsupc++/Makefile.am: Compile del_ops.cc as C++14.
1921 * libsupc++/Makefile.in: Regenerate.
1923 2015-01-06 Jonathan Wakely <jwakely@redhat.com>
1925 * config/abi/pre/gnu.ver: Fix version conflict for std::locale::name().
1927 2015-01-05 Jakub Jelinek <jakub@redhat.com>
1929 Update copyright years.
1931 2015-01-04 Jonathan Wakely <jwakely@redhat.com>
1934 * testsuite/18_support/exception_ptr/64241.cc: Use
1935 dg-require-atomic-builtins.
1937 2015-01-02 Jonathan Wakely <jwakely@redhat.com>
1939 * testsuite/21_strings/basic_string/modifiers/64422.cc: Fix copyright
1942 2015-01-02 Tim Shen <timshen@google.com>
1945 * include/bits/regex_executor.tcc (_Executor<>::_M_dfs): Copy the
1946 iterator, since the original one shouldn't be mutated.
1948 2015-01-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
1951 * src/c++98/misc-inst.cc (string::erase): Add missing overloads.
1952 (string::insert): Likewise.
1953 (string::replace): Likewise.
1954 (wstring::erase): Likewise.
1955 (wstring::insert): Likewise.
1956 (wstring::replace): Likewise.
1957 * testsuite/21_strings/basic_string/modifiers/64422.cc: New testcase.
1959 2015-01-02 Jonathan Wakely <jwakely@redhat.com>
1962 * doc/doxygen/user.cfg.in: Set correct TAB_SIZE.
1964 2015-01-02 Jonathan Wakely <jwakely@redhat.com>
1967 * testsuite/21_strings/basic_string/numeric_conversions/char/dr1261.cc:
1968 Revert removal of dg-require-string-conversions.
1969 * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
1971 * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
1973 * testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
1975 * testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
1977 * testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc:
1979 * testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc:
1981 * testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
1983 * testsuite/21_strings/basic_string/numeric_conversions/char/
1984 stoull.cc: Likewise.
1985 * testsuite/21_strings/basic_string/numeric_conversions/char/
1986 to_string.cc: Likewise.
1988 Copyright (C) 2015 Free Software Foundation, Inc.
1990 Copying and distribution of this file, with or without modification,
1991 are permitted in any medium without royalty provided the copyright
1992 notice and this notice are preserved.