1 2015-09-02 Dmitry Vyukov <dvyukov@google.com>
3 * include/bits/basic_string.h: Fix data races on _M_refcount.
5 2015-09-02 Sebastian Huber <sebastian.huber@embedded-brains.de>
8 * include/std/mutex (__timed_mutex_impl::_M_try_lock_until): Use
9 _Derived::_M_timedlock().
10 (timed_mutex): Add _M_timedlock() and make base class a friend.
11 (recursive_timed_mutex): Likewise.
13 2015-08-28 Tim Shen <timshen@google.com>
16 * include/bits/regex_scanner.tcc (_Scanner<>::_M_scan_normal):
17 Always returns ordinary char token if the char isn't
18 considered a special char.
19 * testsuite/28_regex/regression.cc: New test file for collecting
20 regression testcases from, typically, bugzilla.
22 2015-08-27 Jonathan Wakely <jwakely@redhat.com>
25 * include/bits/range_access.h (valarray, begin, end): Declare.
26 * testsuite/26_numerics/valarray/range_access.cc: Test const
28 * testsuite/26_numerics/valarray/range_access2.cc: New.
30 2015-08-27 John Marino <gnugcc@marino.st>
32 * acinclude.m4 (*-*-dragonfly*): Change 7 locale support files
33 from generic to new DragonFly versions.
34 * configure: Regenerate.
35 * config/locale/dragonfly/c_locale.cc: Improve locale support.
36 * config/locale/dragonfly/ctype_members.cc: Likewise.
37 * config/os/bsd/dragonfly/ctype_configure_char.cc: Likewise.
38 * config/os/bsd/dragonfly/os_defines.h: Define _GLIBCXX_USE_C99.
39 * config/locale/dragonfly/c_locale.h: New.
40 * config/locale/dragonfly/codecvt_members.cc: New.
41 * config/locale/dragonfly/collate_members.cc: New.
42 * config/locale/dragonfly/monetary_members.cc: New.
43 * config/locale/dragonfly/numeric_members.cc: New.
44 * config/locale/dragonfly/time_members.cc: New.
45 * config/locale/dragonfly/time_members.h: New.
47 2015-08-27 Jonathan Wakely <jwakely@redhat.com>
49 * configure: Regenerate.
51 2015-08-26 Edward Smith-Rowland <3dw4rd@verizon.net>
52 Jonathan Wakely <jwakely@redhat.com>
56 * include/bits/random.tcc (generate_canonical): Loop until we get a
58 * testsuite/26_numerics/random/uniform_real_distribution/operators/
61 2015-08-26 Jonathan Wakely <jwakely@redhat.com>
63 * include/bits/shared_ptr.h (__enable_shared_from_this_helper): Use
65 * include/bits/shared_ptr_base.h (weak_ptr::_M_assign): Don't assign
66 if ownership is already shared with a shared_ptr object.
67 (__enable_shared_from_this_helper): Use nullptr.
68 * testsuite/20_util/enable_shared_from_this/members/const.cc: New.
69 * testsuite/20_util/enable_shared_from_this/members/reinit.cc: New.
70 * testsuite/20_util/enable_shared_from_this/requirements/
71 explicit_instantiation.cc: Instantiate with const and incomplete types.
73 * include/debug/map.h (map::try_emplace, map::insert_or_assign):
75 * include/debug/unordered_map (unordered_map::try_emplace,
76 unordered_map::insert_or_assign): Define.
79 * src/c++11/debug.cc (_S_debug_messages): Give internal linkage.
81 2015-08-24 François Dumont <fdumont@gcc.gnu.org>
84 * include/debug/formatter.h (_Debug_msg_id::__msg_irreflexive_ordering):
86 * include/debug/functions.h (_Irreflexive_checker): New.
87 (__is_irreflexive, __is_irreflexive_pred): New.
88 * include/debug/macros.h
89 (__glibcxx_check_irreflexive, __glibcxx_check_irreflexive_pred): New
91 (__glibcxx_check_irreflexive2, __glibcxx_check_irreflexive_pred2): New
92 macros limited to post-C++11 mode.
93 * include/debug/debug.h
94 (__glibcxx_requires_irreflexive, __glibcxx_requires_irreflexive_pred):
95 New macros, use latter.
96 (__glibcxx_requires_irreflexive2, __glibcxx_requires_irreflexive_pred2):
98 * include/bits/stl_algo.h
99 (partial_sort_copy): Add irreflexive debug check.
100 (partial_sort_copy): Likewise.
101 (lower_bound): Likewise.
102 (upper_bound): Likewise.
103 (equal_range): Likewise.
104 (binary_search): Likewise.
105 (inplace_merge): Likewise.
106 (includes): Likewise.
107 (next_permutation): Likewise.
108 (prev_permutation): Likewise.
109 (is_sorted_until): Likewise.
110 (minmax_element): Likewise.
111 (partial_sort): Likewise.
112 (nth_element): Likewise.
115 (stable_sort): Likewise.
116 (set_union): Likewise.
117 (set_intersection): Likewise.
118 (set_difference): Likewise.
119 (set_symmetric_difference): Likewise.
120 (min_element): Likewise.
121 (max_element): Likewise.
122 * include/bits/stl_algobase.h
123 (lower_bound): Likewise.
124 (lexicographical_compare): Likewise.
125 * include/bits/stl_heap.h
126 (push_heap): Likewise.
127 (pop_heap): Likewise.
128 (make_heap): Likewise.
129 (sort_heap): Likewise.
130 (is_heap_until): Likewise.
131 * testsuite/25_algorithms/lexicographical_compare/debug/
132 irreflexive_neg.cc: New.
133 * testsuite/25_algorithms/lower_bound/debug/irreflexive.cc: New.
134 * testsuite/25_algorithms/partial_sort_copy/debug/irreflexive_neg.cc:
137 2015-08-24 Jonathan Wakely <jwakely@redhat.com>
140 * include/bits/char_traits.h (char_traits<char>::compare,
141 char_traits<char>::find, char_traits<char>::move,
142 char_traits<char>::copy, char_traits<char>::assign): Check for zero
144 (char_traits<wchar_t>::compare, char_traits<wchar_t>::find,
145 char_traits<wchar_t>::move, char_traits<wchar_t>::copy,
146 char_traits<wchar_t>::assign): Likewise.
147 (char_traits<char16_t>::move, char_traits<char16_t>::copy): Likewise.
148 (char_traits<char32_t>::move, char_traits<char32_t>::copy): Likewise.
149 * include/ext/pod_char_traits.h (char_traits<character<>>::move,
150 char_traits<character<>>::copy): Likewise.
151 * testsuite/21_strings/char_traits/requirements/char/65049.cc: New.
152 * testsuite/21_strings/char_traits/requirements/char16_t/65049.cc:
154 * testsuite/21_strings/char_traits/requirements/char32_t/65049.cc:
156 * testsuite/21_strings/char_traits/requirements/wchar_t/65049.cc:
160 * include/bits/random.tcc
161 (poisson_distribution::param_type::_M_initialize): Use max<double>.
162 (binomial_distribution::param_type::_M_initialize): Likewise.
163 * testsuite/17_intro/headers/c++200x/67309.cc: New.
164 * testsuite/17_intro/headers/c++200x/all_attributes.cc: Remove
167 2015-08-20 Jonathan Wakely <jwakely@redhat.com>
170 * testsuite/30_threads/recursive_timed_mutex/unlock/2.cc: Do not run
172 * testsuite/30_threads/timed_mutex/unlock/2.cc: Likewise.
174 * include/experimental/any (__any_caster): Define at namespace scope
175 so the name is visible to name lookup.
176 * testsuite/experimental/any/misc/any_cast_neg.cc: Adjust dg-error.
178 * python/Makefile.am: Ensure gdb.py is installed for libstdc++ not
180 * python/Makefile.in: Regenerate.
182 2015-08-19 Paolo Carlini <paolo.carlini@oracle.com>
184 * include/c_global/cmath: Fix typo in comment.
186 2015-08-19 Paolo Carlini <paolo.carlini@oracle.com>
188 * include/c_global/cmath: Revert fix for libstdc++/58625, no
189 longer necessary (__builtin_signbit is now type-generic).
191 2015-08-18 Jonathan Wakely <jwakely@redhat.com>
194 * testsuite/tr1/2_general_utilities/shared_ptr/observers/bool_conv.cc:
195 Fix use of safe-bool idiom that isn't valid in C++11.
197 * include/bits/ptr_traits.h: Include <bits/move.h> for addressof.
200 * doc/xml/manual/configure.xml (manual.intro.setup.configure): Add
201 caveats for --enable-concept-checks. Improve link text.
202 * doc/xml/manual/diagnostics.xml (std.diagnostics.concept_checking):
204 * doc/html/*: Regenerate.
205 * include/bits/stl_deque.h (deque): Only use concept checks in C++03.
206 * include/bits/stl_stack.h (stack): Likewise.
207 * include/bits/stl_vector.h (vector): Likewise.
209 2015-08-14 Jonathan Wakely <jwakely@redhat.com>
211 * include/experimental/any (any::operator=(const any&)): Move check
213 (any::operator=(any&&)): Add check for self-assignment.
214 (any::operator=(_ValueType&&)): Constrain template argument.
215 (any::swap(any&)): Add check for self-swap.
216 * testsuite/experimental/any/assign/self.cc: Test move and swap.
217 * testsuite/experimental/any/misc/any_cast_neg.cc: Update dg-error.
219 2015-08-14 Jonathan Wakely <jwakely@redhat.com>
221 * include/experimental/array: Add feature-test macro.
222 * testsuite/experimental/array/neg.cc: Update dg-error.
224 2015-08-13 Ville Voutilainen <ville.voutilainen@gmail.com>
226 * testsuite/experimental/array/neg.s: Remove.
227 * testsuite/experimental/array/neg.ii.gz: Remove.
229 2015-08-13 Ville Voutilainen <ville.voutilainen@gmail.com>
231 Implement std::experimental::fundamentals_v2::make_array and
232 std::experimental::fundamentals_v2::to_array.
233 * include/Makefile.am: Add array.
234 * include/Makefile.in: Add array.
235 * include/experimental/array: New.
236 * testsuite/experimental/array/make_array.cc: Likewise.
237 * testsuite/experimental/array/neg.cc: Likewise.
238 * doc/html/manual/status.html: Mark make_array as Y.
239 * doc/xml/manual/status_cxx2017.xml: Likewise.
241 2015-08-13 Jonathan Wakely <jwakely@redhat.com>
243 * include/bits/alloc_traits.h: Add feature-test macro.
244 * include/bits/allocator.h: Likewise.
245 * include/bits/range_access.h: Likewise.
246 * include/bits/stl_map.h: Likewise.
247 * include/bits/unordered_map.h: Likewise.
249 2015-08-13 Jonathan Wakely <jwakely@redhat.com>
251 * testsuite/30_threads/mutex/unlock/2.cc: New.
252 * testsuite/30_threads/recursive_mutex/unlock/2.cc: New.
253 * testsuite/30_threads/recursive_timed_mutex/unlock/2.cc: New.
254 * testsuite/30_threads/shared_mutex/unlock/1.cc: New.
255 * testsuite/30_threads/shared_timed_mutex/unlock/1.cc: New.
256 * testsuite/30_threads/timed_mutex/unlock/2.cc: New.
258 2015-08-13 Eelis van der Weegen <eelis@eelis.net>
260 * include/std/shared_mutex (shared_mutex::unlock()): Fix typo.
262 2015-08-12 Caroline Tice <cmtice@google.com>
264 PR 66521, Contributed by Eric Gallager
265 * acinclude.m4 (VTV_CXXLINKFLAGS): Make this variable OS-specific, and
266 fix the rpath flag to work properly for darwin.
267 * configure: Regenerated.
269 2015-08-12 Jonathan Wakely <jwakely@redhat.com>
271 * doc/xml/manual/appendix_contributing.xml: Update patch email policy.
272 * doc/xml/manual/status_cxx2017.xml: Update status table.
273 * doc/html/manual/*: Regenerate.
275 2015-08-09 Ville Voutilainen <ville.voutilainen@gmail.com>
277 Implement N4279, Improved insertion interface for unique-key maps.
278 * include/bits/stl_map.h (try_emplace, insert_or_assign): New.
279 * include/bits/stl_tree.h (_M_get_insert_unique_pos,
280 _M_get_insert_equal_pos, _M_get_insert_hint_unique_pos,
281 _M_get_insert_hint_equal_pos): Make public.
282 * include/bits/unordered_map.h (try_emplace, insert_or_assign): New.
283 * testsuite/23_containers/map/modifiers/insert_or_assign/1.cc:
285 * testsuite/23_containers/map/modifiers/try_emplace/1.cc: Likewise.
286 * testsuite/23_containers/unordered_map/modifiers/insert_or_assign.cc:
288 * testsuite/23_containers/unordered_map/modifiers/try_emplace.cc:
291 2015-08-08 Ville Voutilainen <ville.voutilainen@gmail.com>
293 Implement N4089 Safe conversions in unique_ptr<T[]> (LWG 2118)
294 and N4366 LWG 2228: Missing SFINAE rule in unique_ptr
296 * include/bits/unique_ptr.h
297 (__remove_cv, __is_derived_Tp): Remove.
298 (default_delete::default_delete(const default_delete<_Up[]>)):
299 Constrain with array convertibility.
300 (default_delete::operator(_Up*)): Turn into a template,
301 constrain with array convertibility.
302 (__safe_conversion_up): New, single object version.
303 (unique_ptr(unique_ptr<_Up, _Ep>&&)): Constrain with deleter
305 (unique_ptr::operator=(unique_ptr<_Up, _Ep>&&)): Likewise, and add
306 is_assignable as a constraint.
307 (__safe_conversion_up): Array version, renamed from __safe_conversion,
308 updated to implement N4089.
309 (__safe_conversion_raw): New.
310 (unique_ptr(_Up)): Turn into a template, constrain with array
313 typename conditional<is_reference<deleter_type>::value,
314 deleter_type, const deleter_type&>::type)): Likewise.
315 (unique_ptr(_Up, typename
316 remove_reference<deleter_type>::type&&)): Likewise.
317 (unique_ptr(unique_ptr<_Up, _Ep>&&)): Likewise.
318 (operator=(unique_ptr<_Up, _Ep>&&)): Likewise, and add
319 is_assignable as a constraint (array version).
320 (reset(_Up)): Turn into a template, constrain with array
322 (reset(nullptr_t)): New.
323 * testsuite/20_util/default_delete/48631_neg.cc: Adjust.
324 * testsuite/20_util/unique_ptr/assign/48635.cc: Likewise.
325 * testsuite/20_util/unique_ptr/assign/48635_neg.cc: Likewise.
326 * testsuite/20_util/unique_ptr/assign/cv_qual.cc: Likewise.
327 * testsuite/20_util/unique_ptr/cons/cv_qual.cc: Likewise.
328 * testsuite/20_util/unique_ptr/dr2228.cc: New.
329 * testsuite/20_util/unique_ptr/modifiers/cv_qual.cc: Adjust.
331 2015-08-05 Nikolai Bozhenov <n.bozhenov@samsung.com>
333 * testsuite/20_util/enable_shared_from_this/cons/constexpr.cc: Remove
334 redundant -save-temps option.
335 * testsuite/20_util/shared_ptr/cons/constexpr.cc: Likewise.
336 * testsuite/20_util/unique_ptr/cons/constexpr.cc: Likewise.
337 * testsuite/20_util/weak_ptr/cons/constexpr.cc: Likewise.
338 * testsuite/30_threads/future/cons/constexpr.cc: Likewise.
339 * testsuite/30_threads/shared_future/cons/constexpr.cc: Likewise.
341 2015-08-03 Jonathan Wakely <jwakely@redhat.com>
344 * include/bits/range_access.h (size, empty, data): Fix _N bad name.
346 2015-07-30 Jonathan Wakely <jwakely@redhat.com>
348 * testsuite/experimental/filesystem/operations/current_path.cc: Use
349 canonical paths for comparisons.
351 2015-07-30 Tim Shen <timshen@google.com>
353 * include/bits/regex_automaton.h (_State_base, _State<>):
354 Remove _TraitsT dependency from _State<>; Make matcher member
355 into the union to reduce struct size.
356 * include/bits/regex_automaton.tcc (_State_base<>::_M_print,
357 _State_base<>::_M_dot, _StateSeq<>::_M_clone):
358 Adjust to fit the interface. Factor out common parts in
359 _M_clone as _State<>::_M_has_alt.
360 * include/bits/regex_executor.h (_Executer<>::_M_lookahead):
361 Only pass state id instead of the whole state.
362 * include/bits/regex_executor.tcc (_Executer<>::_M_dfs,
363 _Executer<>::_M_lookahead): Adjust to fit the interface.
364 * include/std/regex: Include <ext/aligned_buffer.h>
366 2015-07-30 Jonathan Wakely <jwakely@redhat.com>
368 * include/experimental/any (any::operator=(const any&)): Check for
370 * testsuite/experimental/any/assign/self.cc: New.
371 * testsuite/experimental/any/misc/any_cast_neg.cc: Adjust dg-error.
373 2015-07-29 Jonathan Wakely <jwakely@redhat.com>
376 * testsuite/lib/libstdc++.exp (v3-build_support): Compile
377 testsuite_shared.cc with -std=gnu++98.
379 2015-07-29 Ville Voutilainen <ville.voutilainen@gmail.com>
381 * include/bits/range_access.h: Change class to typename in every
383 (size, empty, data): New functions from N4280.
384 * testsuite/24_iterators/container_access.cc: New.
387 * include/bits/functional_hash.h (__hash_enum): New.
388 (hash): Derive from __hash_enum.
389 * testsuite/20_util/hash/60970.cc: New.
391 2015-07-29 Tim Shen <timshen@google.com>
394 * include/bits/regex_compiler.h (_Compiler<>::_M_expression_term,
395 _BracketMatcher<>::_M_add_collating_element): Change signature
396 to make checking the and of bracket expression easier.
397 * include/bits/regex_compiler.tcc (_Compiler<>::_M_expression_term):
398 Treat '-' as a valid literal if it's at the end of bracket expression.
399 * testsuite/28_regex/algorithms/regex_match/cstring_bracket_01.cc:
402 2015-07-24 Jonathan Wakely <jwakely@redhat.com>
404 * include/bits/atomic_futex.h [_GLIBCXX_HAVE_LINUX_FUTEX]
405 (_M_load_and_test_until): Whitespace.
406 (_M_load_and_test): Value-initialize the unused durations.
407 (_M_load_when_equal): Add missing return value.
409 2015-07-24 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
411 * fragment.am (AM_CPPFLAGS): Add CPPFLAGS.
412 * Makefile.in: Regenerate.
413 * doc/Makefile.in: Regenerate.
414 * include/Makefile.in: Regenerate.
415 * libsupc++/Makefile.in: Regenerate.
416 * po/Makefile.in: Regenerate.
417 * python/Makefile.in: Regenerate.
418 * src/Makefile.in: Regenerate.
419 * src/c++11/Makefile.in: Regenerate.
420 * src/c++98/Makefile.in: Regenerate.
421 * src/filesystem/Makefile.in: Regenerate.
422 * testsuite/Makefile.in: Regenerate.
424 2015-07-23 DJ Delorie <dj@redhat.com>
426 * include/bits/functional_hash.h: Add specializations for __intN
429 * include/ext/pb_ds/detail/thin_heap_/thin_heap_.hpp (__gnu_pbds):
430 Guard against values that might exceed size_t's precision.
432 2015-07-20 Jason Merrill <jason@redhat.com>
434 * include/bits/c++config: Fix abi_tag in special modes.
436 2015-07-19 Jonathan Wakely <jwakely@redhat.com>
438 * doc/xml/manual/status_cxx2017.xml: Fix URL for N4279.
439 * doc/html/manual/status.html: Regenerate.
441 2015-07-17 Jonathan Wakely <jwakely@redhat.com>
443 * doc/xml/manual/status_cxx2011.xml: Add caveats for native_handle.
444 * doc/html/manual/status.html: Regenerate.
446 2015-07-16 François Dumont <fdumont@gcc.gnu.org>
448 * include/bits/stl_algobase.h (__miter_base): Move...
449 * include/bits/cpp_type_traits.h: ...here.
450 * include/debug/functions.h (__foreign_iterator_aux): Use latter.
451 * testsuite/23_containers/vector/debug/insert7_neg.cc: New.
453 2015-07-13 Jonathan Wakely <jwakely@redhat.com>
456 * src/c++11/codecvt.cc (__codecvt_utf8_utf16_base::do_in): Override
457 endianness bit in mode.
458 * testsuite/22_locale/codecvt/codecvt_utf8_utf16/66855.cc: New.
460 * include/bits/c++config (_GLIBCXX_NOEXCEPT_IF): Define.
461 * include/bits/forward_list.h (forward_list::swap): Make noexcept
463 * include/bits/hashtable.h (_Hashtable::swap): Do not use
465 * include/bits/stl_bvector.h (vector<bool>::swap): Make noexcept
467 * include/bits/stl_deque.h (deque::swap): Likewise.
468 (swap(deque&, deque&)): Use _GLIBCXX_NOEXCEPT_IF.
469 * include/bits/stl_list.h (list::swap): Make noexcept unconditional.
470 (swap(list&, list&)): Use _GLIBCXX_NOEXCEPT_IF.
471 * include/bits/stl_map.h (map::swap, swap(map&, map&)): Use
472 _GLIBCXX_NOEXCEPT_IF, do not depend on _S_nothrow_swap.
473 * include/bits/stl_multimap.h (multimap::swap,
474 swap(multimap&, multimap&)): Likewise.
475 * include/bits/stl_multiset.h (multiset::swap,
476 swap(multiset&, multiset&)): Likewise.
477 * include/bits/stl_set.h (set::swap, swap(set&, set&)): Likewise.
478 * include/bits/stl_tree.h (_Rb_tree::swap,
479 swap(_Rb_tree&, _Rb_tree&)): Likewise.
480 * include/bits/stl_vector.h (vector::swap): Make noexcept
482 (swap(vector&, vector&)): Use _GLIBCXX_NOEXCEPT_IF.
483 * include/debug/deque (deque::swap, swap): Likewise.
484 * include/debug/forward_list (swap): Add noexcept.
485 * include/debug/list (list::swap, swap): Use _GLIBCXX_NOEXCEPT_IF.
486 * include/debug/map.h (map::swap, swap): Likewise.
487 * include/debug/multimap.h (multimap::swap, swap): Likewise.
488 * include/debug/multiset.h (multiset::Swap, swap): Likewise.
489 * include/debug/set.h (set::swap, swap): Likewise.
490 * include/debug/unordered_map (unordered_map::swap,
491 unordered_multimap::swap, swap): Likewise.
492 * include/debug/unordered_set (unordered_set::swap,
493 unordered_multiset::swap, swap): Likewise.
494 * include/debug/vector (vector::swap, swap): Likewise.
495 * include/ext/alloc_traits.h (__alloc_traits::_S_nothrow_swap()):
497 * include/profile/deque (deque::swap, swap): Use _GLIBCXX_NOEXCEPT_IF.
498 * include/profile/forward_list (swap): Add noexcept.
499 * include/profile/list (list::swap, swap) : Use _GLIBCXX_NOEXCEPT_IF.
500 * include/profile/map.h (map::swap, swap): Likewise.
501 * include/profile/multimap.h (multimap::swap, swap): Likewise.
502 * include/profile/multiset.h (multiset::swap, swap): Likewise.
503 * include/profile/set.h (set::swap, swap): Likewise.
504 * include/profile/unordered_map (swap): Likewise.
505 * include/profile/unordered_set (swap): Likewise.
506 * include/profile/vector (vector::swap, swap): Likewise. Remove
507 overloads for swapping rvalues.
508 * testsuite/23_containers/deque/allocator/noexcept.cc: Update tests
509 for noexcept on swap.
510 * testsuite/23_containers/forward_list/allocator/noexcept.cc:
512 * testsuite/23_containers/list/allocator/noexcept.cc: Likewise.
513 * testsuite/23_containers/map/allocator/noexcept.cc: Likewise.
514 * testsuite/23_containers/multimap/allocator/noexcept.cc: Likewise.
515 * testsuite/23_containers/multiset/allocator/noexcept.cc: Likewise.
516 * testsuite/23_containers/set/allocator/noexcept.cc: Likewise.
517 * testsuite/23_containers/unordered_map/allocator/noexcept.cc:
519 * testsuite/23_containers/unordered_multimap/allocator/noexcept.cc:
521 * testsuite/23_containers/unordered_multiset/allocator/noexcept.cc:
523 * testsuite/23_containers/unordered_set/allocator/noexcept.cc:
525 * testsuite/23_containers/vector/allocator/noexcept.cc: Likewise.
526 * testsuite/23_containers/vector/bool/allocator/noexcept.cc: Likewise.
527 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error line
530 2015-07-13 John Marino <gnugcc@marino.st>
532 * config/os/bsd/dragonfly/os_defines.h (_GLIBCXX_USE_C99_CHECK,
533 _GLIBCXX_USE_C99_DYNAMIC, _GLIBCXX_USE_C99_LONG_LONG_CHECK,
534 _GLIBCXX_USE_C99_LONG_LONG_DYNAMIC): Define.
536 2015-07-05 François Dumont <fdumont@gcc.gnu.org>
538 * include/bits/hashtable.h (_Hashtable<>::__rehash_policy): Do not
540 * testsuite/23_containers/unordered_set/max_load_factor/robustness.cc:
543 2015-07-03 Jonathan Wakely <jwakely@redhat.com>
545 * doc/xml/manual/status_cxx2017.xml: Update status table.
546 * doc/html/manual/*: Regenerate.
548 2015-07-03 Ville Voutilainen <ville.voutilainen@gmail.com>
550 Implement std::experimental::fundamentals_v2::propagate_const.
551 * include/Makefile.am: Add propagate_const.
552 * include/Makefile.in: Regenerate.
553 * include/experimental/propagate_const: New.
554 * testsuite/experimental/propagate_const/assignment/copy.cc: Likewise.
555 * testsuite/experimental/propagate_const/assignment/move.cc: Likewise.
556 * testsuite/experimental/propagate_const/assignment/move_neg.cc:
558 * testsuite/experimental/propagate_const/cons/copy.cc: Likewise.
559 * testsuite/experimental/propagate_const/cons/default.cc: Likewise.
560 * testsuite/experimental/propagate_const/cons/move.cc: Likewise.
561 * testsuite/experimental/propagate_const/cons/move_neg.cc: Likewise.
562 * testsuite/experimental/propagate_const/hash/1.cc: Likewise.
563 * testsuite/experimental/propagate_const/observers/1.cc: Likewise.
564 * testsuite/experimental/propagate_const/relops/1.cc: Likewise.
565 * testsuite/experimental/propagate_const/requirements1.cc: Likewise.
566 * testsuite/experimental/propagate_const/requirements2.cc: Likewise.
567 * testsuite/experimental/propagate_const/requirements3.cc: Likewise.
568 * testsuite/experimental/propagate_const/requirements4.cc: Likewise.
569 * testsuite/experimental/propagate_const/requirements5.cc: Likewise.
570 * testsuite/experimental/propagate_const/swap/1.cc: Likewise.
571 * testsuite/experimental/propagate_const/typedefs.cc: Likewise.
573 2015-07-02 Jonathan Wakely <jwakely@redhat.com>
575 * acinclude.m4 (GLIBCXX_DEFAULT_ABI): Change valid arguments for
576 --with-default-libstdcxx-abi
577 * configure: Regenerate.
578 * doc/xml/manual/configure.xml: Document valid arguments.
580 2015-07-02 Uros Bizjak <ubizjak@gmail.com>
582 * libsupc++/guard.cc (__test_and_acquire): Use __p after __atomic_load
583 to avoid unused variable warning.
584 (__set_and_release): Use __p after __atomic_store to avoid unused
587 2015-07-01 Jonathan Wakely <jwakely@redhat.com>
589 * include/bits/alloc_traits.h (__alloctr_rebind): Remove.
590 (__allocator_traits_base): New base class.
591 (__alloc_rebind): Reimplement in terms of detection idiom.
592 (allocator_traits): Derive from __allocator_traits_base. Reimplement
593 nested types in terms of detection idiom. Simplify SFINAE constraints
594 on overloaded static member functions.
595 * include/bits/hashtable.h (_Hashtable): Use __alloc_rebind instead
597 * testsuite/20_util/scoped_allocator/propagation.cc: Define rebind.
598 * testsuite/23_containers/unordered_set/instantiation_neg.cc: Adjust
599 dg-error line number.
601 * include/bits/ptr_traits.h (__ptrtr_elt_type, __ptrtr_diff_type,
602 __ptrtr_rebind, __ptrtr_not_void): Remove
603 (__get_first_arg, __replace_first_arg, __make_not_void): Define new
605 (__detected_or_): New detection trait.
606 (pointer_traits): Use new traits.
607 * testsuite/20_util/pointer_traits/pointer_to.cc: Add rebind member.
608 * testsuite/20_util/pointer_traits/requirements/
609 explicit_instantiation.cc: Use valid arguments to pointer_traits.
611 * doc/xml/manual/status_cxx2017.xml: Update status table.
612 * include/experimental/type_traits (void_t, is_detected,
613 is_detected_v, detected_t, detected_or, detected_or_t,
614 is_detected_exact, is_detected_exact_v, is_detected_convertible,
615 is_detected_convertible_v): Define.
616 * include/std/type_traits (__detector, __detected_or, __detected_or_t,
617 __detected_or_t_): Define.
618 * testsuite/experimental/type_traits/detection.cc: New.
620 2015-06-30 Jonathan Wakely <jwakely@redhat.com>
622 * doc/Makefile.am (stamp-pdf-doxygen): Grep for LaTeX errors in log.
623 * doc/Makefile.in: Regenerate.
625 * include/bits/stl_pair.h: Replace class keyword with typename.
627 2015-06-30 Ville Voutilainen <ville.voutilainen@gmail.com>
629 Implement N4387, "Improving pair and tuple", and LWG 2367.
631 * include/bits/stl_pair.h (_ConstructiblePair,
632 _ImplicitlyConvertiblePair, _MoveConstructiblePair,
633 _ImplicitlyMoveConvertiblePair): New.
634 (pair()): Constrain it.
635 (pair(const _T1&, const _T2&), pair(const pair<_U1, _U2>&),
636 pair(_U1&&, const _T2&), pair(const _T1&, _U2&&), pair(_U1&&, _U2&&),
637 pair(pair<_U1, _U2>&&)): Make conditionally explicit.
638 * include/std/tuple (_TC, tuple::_TC2, tuple::TCC, tuple::TMC): New.
639 (tuple()): Constrain it.
640 (tuple(const _UElements&...), tuple(_UElements&&...),
641 tuple(const tuple<_UElements...>&), tuple(tuple<_UElements...>&&),
642 tuple(allocator_arg_t, const _Alloc&, const _UElements&...),
643 tuple(allocator_arg_t, const _Alloc&, _UElements&&...),
644 tuple(allocator_arg_t, const _Alloc&, const tuple<_UElements...>&),
645 tuple(allocator_arg_t, const _Alloc&, tuple<_UElements...>&&),
646 tuple(const pair<_U1, _U2>&), tuple(pair<_U1, _U2>&&),
647 tuple(allocator_arg_t, const _Alloc&, const pair<_U1, _U2>&),
648 tuple(allocator_arg_t, const _Alloc&, pair<_U1, _U2>&&)): Make
649 conditionally explicit.
650 * include/experimental/functional (__boyer_moore_array_base): Name
651 array type explicitly instead of using an empty braced-init-list.
652 * testsuite/20_util/pair/cons/explicit_construct.cc: New.
653 * testsuite/20_util/pair/piecewise.cc: Use piecewise_construct.
654 * testsuite/20_util/pair/requirements/dr2367.cc: New.
655 * testsuite/20_util/tuple/cons/explicit_construct.cc: New.
656 * testsuite/20_util/tuple/requirements/dr2367.cc: New.
658 2015-06-30 Jonathan Wakely <jwakely@redhat.com>
660 * configure: Regenerate.
662 2015-06-29 François Dumont <fdumont@gcc.gnu.org>
664 * include/bits/stl_iterator_base_types.h (_Iter_base): Limit definition
666 * include/debug/functions.h
667 (__gnu_debug::__valid_range, __gnu_debug::__base): Move...
668 * include/debug/safe_iterator.h
669 (__gnu_debug::_Sequence_traits): New.
670 (__gnu_debug::__get_distance_from_begin): New.
671 (__gnu_debug::__get_distance_to_end): New.
672 (__gnu_debug::_Safe_iterator<>::_M_valid_range): Expose iterator range
673 distance information. Add optional check_dereferenceable parameter,
675 (__gnu_debug::_Distance_precision, __gnu_debug::__get_distance): Move
676 default definition...
677 (__gnu_debug::__get_distance): New overload for _Safe_iterator.
678 (__gnu_debug::__unsafe): Likewise.
679 * include/debug/helper_functions.h: ...here. New.
680 (__gnu_debug::__unsafe): New helper function to remove safe iterator
682 * include/debug/stl_iterator.h: New. Include latter.
683 * include/bits/stl_iterator.h: Include latter in debug mode.
684 * include/debug/stl_iterator.tcc: Adapt.
685 * include/debug/safe_local_iterator.h (__gnu_debug::__get_distance): Add
686 overload for _Safe_local_iterator.
687 (__gnu_debug::__unsafe): Likewise.
688 * include/debug/safe_local_iterator.tcc: Adapt.
689 * include/debug/macros.h (__glibcxx_check_valid_range2): New.
690 (__glibcxx_check_insert_range): Add _Dist parameter.
691 (__glibcxx_check_insert_range_after): Likewise.
692 (__glibcxx_check_string, __glibcxx_check_string_len): Implement using
693 _GLIBCXX_DEBUG_PEDASSERT.
694 * include/debug/deque (deque<>::assign): Remove iterator debug layer
696 (deque<>::insert): Likewise.
697 * include/debug/forward_list (__glibcxx_check_valid_fl_range): New.
698 (forward_list<>::splice_after): Use latter.
699 (forward_list<>::assign): Remove iterator debug layer when possible.
700 (forward_list<>::insert_after): Likewise.
701 (__gnu_debug::_Sequence_traits<>): Partial specialization.
702 * include/debug/list (list<>::assign): Remove iterator debug layer when
704 (list<>::insert): Likewise.
705 [__gnu_debug::_Sequence_traits<>]: Partial specialization pre C++11 ABI.
706 * include/debug/map.h (map<>::insert): Remove iterator debug layer when
708 * include/debug/multimap.h (multimap<>::insert): Likewise.
709 * include/debug/set.h (set<>::insert): Likewise.
710 * include/debug/multiset.h (multiset<>::insert): Likewise.
711 * include/debug/string (basic_string<>::append, basic_string<>::assign,
712 basic_string<>::insert, basic_string<>::replace): Likewise.
713 * include/debug/unordered_map
714 (unordered_map<>::insert, unordered_multimap<>::insert): Likewise.
715 * include/debug/unordered_set
716 (unordered_set<>::insert, unordered_multiset<>insert): Likewise.
717 * include/debug/vector
718 (vector<>::assign, vector<>::insert): Likewise.
719 * include/Makefile.am: Add new debug headers.
720 * include/Makefile.in: Regenerate.
722 2015-06-26 Jonathan Wakely <jwakely@redhat.com>
724 * doc/xml/manual/intro.xml: Document LWG 2108 status.
725 * include/bits/alloc_traits.h (allocator_traits::is_always_equal):
727 * include/bits/allocator.h (allocator::is_always_equal): Likewise.
728 * include/bits/forward_list.h
729 (forward_list::operator=(forward_list&&)): Use __bool_constant.
730 (forward_list::swap(forward_list&)): Add noexcept.
731 * include/bits/hashtable.h (_Hashtable::operator=(_Hashtable&&)):
733 (_Hashtable::swap(_Hashtable&)): Likewise.
734 * include/bits/stl_deque.h (_Deque_base::_Deque_base(_Deque_base&&)):
735 Use _Alloc_traits::is_always_equal.
736 (deque::operator=(deque&&)): Likewise.
737 (deque::_M_move_assign1(deque&&, false_type)): Add comment and use
739 (swap(deque&, deque&)): Add noexcept.
740 * include/bits/stl_list.h (list::operator=(list&&)): Use
742 (swap(list&, list&)): Add noexcept.
743 * include/bits/stl_map.h (map::swap(map&)): Include _Compare in
745 (swap(map&, map&)): Add noexcept.
746 * include/bits/stl_multimap.h (multimap::swap(multimap&)): Include
747 _Compare in noexcept.
748 (swap(multimap&, multimap&)): Add noexcept.
749 * include/bits/stl_multiset.h (multiset::swap(multiset&)): Include
750 _Compare in noexcept.
751 (swap(multiset&, multiset&)): Add noexcept.
752 * include/bits/stl_set.h (set::swap(set&)): Include _Compare in
754 (swap(set&, set&)): Add noexcept.
755 * include/bits/stl_tree.h (_Rb_tree::operator=(_Rb_tree&&)): Include
756 _Compare in noexcept.
757 (_Rb_tree::_Rb_tree(_Rb_tree&&, _Node_alloc_type&&)): Use
759 * include/bits/stl_vector.h (vector::operator=(vector&&)): Use
761 (swap(vector&, vector&)): Add noexcept.
762 * include/bits/unordered_map.h (swap(unordered_map&, unordered_map&),
763 swap(unordered_multimap& unordered_multimap&)): Add noexcept.
764 * include/bits/unordered_set.h (swap(unordered_set&, unordered_set&),
765 swap(unordered_multiset& unordered_multiset&)): Add noexcept.
766 * include/ext/alloc_traits.h (__allocator_always_compares_equal):
768 (__alloc_traits::_S_always_equal()): Use is_always_equal instead of
769 __allocator_always_compares_equal.
770 * include/ext/array_allocator.h (array_allocator::is_always_equal):
772 * include/std/scoped_allocator (__any_of, __propagate_on_copy,
773 __propagate_on_move, __propagate_on_swap): Remove.
774 (scoped_allocator_adaptor::propagate_on_container_copy_assignment,
775 scoped_allocator_adaptor::propagate_on_container_move_assignment,
776 scoped_allocator_adaptor::propagate_on_container_swap): Define with
777 __and_ instead of __any_of.
778 (scoped_allocator_adaptor::is_always_equal): Define.
779 * testsuite/20_util/allocator_traits/members/is_always_equal.cc: New.
780 * testsuite/20_util/scoped_allocator/propagation.cc: Make traits
781 derive from true_type or false_type.
782 * testsuite/23_containers/deque/allocator/move_assign-2.cc: Add
783 is_always_equal member and remove the trait specialization.
784 * testsuite/23_containers/vector/52591.cc: Likewise.
785 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
786 Adjust dg-error line number.
787 * testsuite/23_containers/deque/requirements/dr438/
788 constructor_1_neg.cc: Likewise.
789 * testsuite/23_containers/deque/requirements/dr438/
790 constructor_2_neg.cc: Likewise.
791 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
793 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
795 * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
797 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
799 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
801 * testsuite/23_containers/vector/requirements/dr438/
802 constructor_1_neg.cc: Likewise.
803 * testsuite/23_containers/vector/requirements/dr438/
804 constructor_2_neg.cc: Likewise.
805 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
808 * include/bits/stl_bvector.h (vector<bool>::vector()): Add noexcept.
809 * include/bits/stl_map.h (map::map()): Likewise.
810 * include/bits/stl_multimap.h (multimap::multimap()): Likewise.
811 * include/bits/stl_multiset.h (multiset::multiset()): Likewise.
812 * include/bits/stl_set.h (set::set()): Likewise.
814 2015-06-25 Jonathan Wakely <jwakely@redhat.com>
816 * include/bits/locale_conv.h (__do_str_codecvt): Set __count.
818 2015-06-24 François Dumont <fdumont@gcc.gnu.org>
820 * include/bits/basic_string.h (basic_string<>::front()): Add !empty
822 (basic_string<>::back()): Likewise.
823 (basic_string<>::pop_back()): Likewise.
825 2015-06-24 Paolo Carlini <paolo.carlini@oracle.com>
827 * testsuite/23_containers/array/tuple_interface/get_neg.cc: Adjust
828 dg-error line numbers.
829 * testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc:
832 2015-06-23 François Dumont <fdumont@gcc.gnu.org>
834 * include/debug/array: Include <array>. Add version namespace when
835 specializing tuple interface to array. Add specialization for
836 __is_tuple_like_impl.
837 * include/profile/array: Likewise.
838 * include/std/array: Include <utility>. Add specialization for
839 __is_tuple_like_impl.
841 (__is_tuple_like_impl<>, __is_tuple_like_impl<pair>): Move...
842 * include/std/utility: ... here. Include <type_traits>.
843 * testsuite/23_containers/array/tuple_interface/get_debug_neg.cc: Adjust
844 dg-error line number.
845 * testsuite/23_containers/array/tuple_interface/
846 tuple_element_debug_neg.cc: Likewise.
848 2015-06-22 Jonathan Wakely <jwakely@redhat.com>
850 * testsuite/26_numerics/complex/value_operations/1.cc: Use
851 non-negative rho argument.
853 * include/debug/list (__gnu_debug::list): Use allocator-aware
854 _Safe_container base.
855 * include/debug/string (__gnu_debug::basic_string): Use
856 allocator-aware _Safe_container base for cxx11 ABI.
858 * include/bits/locale_conv.h (__do_str_codecvt): Handle empty range.
859 (wstring_convert): Move into __cxx11 namespace.
860 (wbuffer_convert(streambuf*, _Codecvt*, state_type)): Fix exception
864 * include/bits/stl_uninitialized.h
865 (__uninitialized_copy::__uninit_copy): Cast expression to void.
867 2015-06-17 Jonathan Wakely <jwakely@redhat.com>
870 * include/bits/list.tcc (_List_base::_M_clear()): Use allocator traits.
871 (list::list(const list&)): Use allocator propagation trait. Use
872 _M_assign_dispatch to copy elements.
873 * include/bits/stl_list.h (_List_node): Use __aligned_membuf in C++11.
874 (_List_node::_M_valptr()): Add accessor for stored value.
875 (_List_iterator, _List_const_iterator, _List_base): Use _M_valptr().
876 (_List_base, list): Use allocator traits.
877 (_List_base::_M_get_Tp_allocator, _List_base::get_allocator): Remove.
878 (_List_base::_M_move_nodes): New function.
879 (_List_base(_List_base&&)): Use _M_move_nodes.
880 (_List_base(_List_base&&, _Node_alloc_type&&)): New constructor.
881 (list::_M_create_node, list::_M_erase, list::max_size): Use allocator
883 (list(size_type)): Add allocator parameter.
884 (list(const list&)): Use allocator propagation trait.
885 (list(const list&, const allocator_type&)): New constructor.
886 (list(list&&, const allocator_type&)): Likewise.
887 (list::operator=(list&&), list::swap(list&)): Use allocator
889 (list::_M_move_assign): New functions.
890 * include/debug/list: Add allocator-extended constructors.
891 * include/profile/list: Likewise.
892 * python/libstdcxx/v6/printers.py (get_value_from_list_node): New
893 function to get value from _List_node.
894 (StdListPrinter): Use get_value_from_list_node.
895 * testsuite/23_containers/list/allocator/copy.cc: New.
896 * testsuite/23_containers/list/allocator/copy_assign.cc: New.
897 * testsuite/23_containers/list/allocator/minimal.cc: New.
898 * testsuite/23_containers/list/allocator/move.cc: New.
899 * testsuite/23_containers/list/allocator/move_assign.cc: New.
900 * testsuite/23_containers/list/allocator/noexcept.cc: New.
901 * testsuite/23_containers/list/allocator/swap.cc: New.
902 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
903 Adjust dg-prune-output line number.
904 * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
906 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
909 * include/bits/forward_list.h
910 (_Fwd_list_base(const _Node_alloc_type&)): Change parameter to
912 (_Fwd_list_base(_Fwd_list_base&&, const _Node_alloc_type&)): Likewise.
913 (forward_list(const _Alloc&)): Split default constructor out to
915 (forward_list(forward_list&&, const _Alloc&)): Move elements if base
917 (forward_list::_M_move_assign(forward_list&&, true_type)): Replace
918 swap call with two assignments.
919 * include/bits/forward_list.tcc
920 (_Fwd_list_base(_Fwd_list_base&&, const _Node_alloc_type&)): Don't
921 move elements when allocators are not equal.
922 * include/debug/forward_list (forward_list(const allocator_type&)):
923 Split default constructor out to separate function.
924 * include/profile/forward_list (forward_list(const _Alloc&)):
927 * include/bits/forward_list.h (forward_list::_M_get_Node_allocator):
928 Remove unnecessary uses of operator& and static_cast.
929 * include/bits/forward_list.tcc
930 (forward_list::operator=(const forward_list&)): Use __addressof
931 instead of operator&.
932 (forward_list::remove(const _Tp&), forward_list::remove(_Pred)):
933 Remove invalid static_casts.
934 * include/debug/forward_list: Use __addressof instead of operator&.
935 * testsuite/23_containers/forward_list/modifiers/addressof.cc: New.
937 * include/ext/alloc_traits.h (__alloc_traits::_S_nothrow_swap()): Use
938 __is_nothrow_swappable.
940 2015-06-16 Jonathan Wakely <jwakely@redhat.com>
942 * include/bits/allocated_ptr.h (__allocated_ptr): Use __addressof.
944 * include/bits/list.tcc (list::operator=(const list&), list::merge):
945 Use __addressof instead of operator&.
946 (list::sort): Use array-to-pointer decay instead of operator&.
947 * include/bits/stl_list.h (list::splice): Use __addressof instead of
949 * include/debug/formatter.h (_Error_formatter::_Parameter::_Parameter):
951 * include/debug/functions.h (__check_singular): Likewise.
952 * include/debug/list (list::splice, list::merge): Likewise.
953 * testsuite/23_containers/list/modifiers/addressof.cc: New.
956 * src/c++11/thread.cc (thread::_M_make_thread): Replace shared_ptr
959 2015-06-12 Jonathan Wakely <jwakely@redhat.com>
961 * include/precompiled/stdc++.h: Include <codecvt> and <shared_mutex>.
964 * src/c++11/codecvt.cc (codecvt_utf16_base<char32_t>::do_max_length):
967 2015-06-12 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
971 * config/cpu/alpha/atomic_word.h: Remove.
972 * config/cpu/ia64/atomic_word.h: Remove.
973 * config/cpu/powerpc/atomic_word.h: Remove.
974 * config/os/aix/atomic_word.h: Remove.
975 * configure.host (atomic_word_dir) [ia64, aix*, powerpc, alpha]:
976 Use generic definition.
978 2015-06-12 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
982 * * config/cpu/generic/atomic_word.h (_GLIBCXX_READ_MEM_BARRIER): Define
983 (_GLIBCXX_WRITE_MEM_BARRIER): Likewise
984 * include/bits/shared_ptr_base.h: Use ACQ_REL barrier.
985 * include/ext/atomicity.h: Likewise.
986 * include/tr1/shared_ptr.h: Likewise.
987 * libsupc++/guard.cc (__test_and_acquire): Rewrite with atomics.
989 (__set_and_release): Likewise.
990 * testsuite/20_util/shared_ptr/cons/43820_neg.cc (test01): Adjust for
992 * testsuite/20_util/shared_ptr/cons/void_neg.cc: Likewise.
993 * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc:
996 2015-06-12 Jonathan Wakely <jwakely@redhat.com>
998 * include/std/tuple (__is_tuple_like_impl): Disambiguate array in
999 debug and profile modes.
1000 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Adjust tests
1001 for swap in C++11 and later.
1003 2015-06-09 Jonathan Wakely <jwakely@redhat.com>
1006 * config/abi/pre/gnu.ver: Export codecvt_byname and codecvt symbols
1009 2015-06-08 Jonathan Wakely <jwakely@redhat.com>
1012 * testsuite/22_locale/conversions/string/66441.cc: New.
1013 * include/bits/locale_conv.h (__do_str_codecvt): Reserve enough space
1014 in the output string for BOM and complete result.
1017 * src/c++11/codecvt.cc (write_utf16_code_point): Use adjust_byte_order
1018 for single UTF-16 units.
1019 * testsuite/22_locale/codecvt/codecvt_utf16/66417.cc: New.
1021 2015-06-07 François Dumont <fdumont@gcc.gnu.org>
1023 * include/bits/stl_tree.h (_Rb_tree<>::__is_transparent<>): Move to
1024 outer scope and rename to ...
1025 (std::__hash_is_transparent<>): ... this.
1026 * include/debug/stl_map.h (map::find<>,
1027 map::lower_bound<>, map::upper_bound<>, map::equal_range<>): New
1028 member function templates to perform heterogeneous lookup.
1029 * include/debug/stl_multimap.h (multimap::find<>,
1030 multimap::lower_bound<>, multimap::upper_bound<>,
1031 multimap::equal_range<>): Likewise.
1032 * include/debug/stl_multiset.h (multiset::find<>,
1033 multiset::lower_bound<>, multiset::upper_bound<>,
1034 multiset::equal_range<>): Likewise.
1035 * include/debug/stl_set.h (set::find<>,
1036 set::lower_bound<>, set::upper_bound<>, set::equal_range<>): Likewise.
1037 * include/profile/stl_map.h (map::find<>, map::count<>,
1038 map::lower_bound<>, map::upper_bound<>, map::equal_range<>): Likewise.
1039 * include/profile/stl_multimap.h (multimap::find<>, multimap::count<>,
1040 multimap::lower_bound<>, multimap::upper_bound<>,
1041 multimap::equal_range<>): Likewise.
1042 * include/profile/stl_multiset.h (multiset::find<>, multiset::count<>,
1043 multiset::lower_bound<>, multiset::upper_bound<>,
1044 multiset::equal_range<>): Likewise.
1045 * include/profile/stl_set.h (set::find<>, set::count<>,
1046 set::lower_bound<>, set::upper_bound<>, set::equal_range<>): Likewise.
1047 * testsuite/23_containers/map/operations/1.cc: Check const variants.
1048 * testsuite/23_containers/multimap/operations/1.cc: Likewise.
1049 * testsuite/23_containers/multiset/operations/1.cc: Likewise.
1050 * testsuite/23_containers/set/operations/1.cc: Likewise.
1052 2015-06-05 Jonathan Wakely <jwakely@redhat.com>
1054 * doc/xml/manual/status_cxx2017.xml: Update status tables.
1055 * doc/html/manual/*: Regenerate.
1056 * include/std/type_traits (bool_constant): Define.
1057 * testsuite/20_util/bool_constant/requirements.cc: New.
1058 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error.
1059 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
1061 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
1064 * include/std/shared_mutex (__shared_mutex_pthread,
1065 __shared_mutex_cv): New helper types implementing the shared mutex
1067 (shared_mutex): New type for C++17.
1068 (shared_timed_mutex): Derive from one of the new helper types.
1069 * testsuite/30_threads/shared_mutex/cons/1.cc: New.
1070 * testsuite/30_threads/shared_mutex/cons/assign_neg.cc: New.
1071 * testsuite/30_threads/shared_mutex/cons/copy_neg.cc: New.
1072 * testsuite/30_threads/shared_mutex/requirements/standard_layout.cc:
1074 * testsuite/30_threads/shared_mutex/try_lock/1.cc: New.
1075 * testsuite/30_threads/shared_mutex/try_lock/2.cc: New.
1077 2015-06-05 Ville Voutilainen <ville.voutilainen@gmail.com>
1079 Add __is_nothrow_swappable and take it into use.
1080 * include/bits/algorithmfwd.h (swap): Only declare for C++98 mode.
1081 * include/bits/move.h (swap): Add constraints in C++11 and later.
1082 * include/bits/stl_pair.h (swap): Use __is_nothrow_swappable
1083 for the free swap function for pair.
1084 * include/bits/stl_queue.h (swap): Use __is_nothrow_swappable
1085 for the free swap functions for queue and priority_queue.
1086 * include/bits/stl_stack.h (swap): Use __is_nothrow_swappable
1087 for the free swap function for stack.
1088 * include/debug/array (swap): Use __is_nothrow_swappable
1089 for the free swap function for array.
1090 * include/profile/array (swap): Likewise.
1091 * include/std/array (swap): Likewise.
1092 * include/std/tuple (_Tuple_impl::_M_swap): Use __is_nothrow_swappable.
1093 * include/std/type_traits (__is_swappable_impl::__is_swappable,
1094 __is_nothrow_swappable_impl, __is_nothrow_swappable): New.
1095 * testsuite/20_util/is_nothrow_swappable/requirements/
1096 explicit_instantiation.cc: New.
1097 * testsuite/20_util/is_nothrow_swappable/requirements/typedefs.cc:
1099 * testsuite/20_util/is_nothrow_swappable/value.cc: New.
1101 2015-06-03 François Dumont fdumont@gcc.gnu.org>
1103 * testsuite/23_containers/list/61347.cc: Add dg-require-normal-mode.
1105 2015-06-02 Jonathan Wakely <jwakely@redhat.com>
1107 * doc/xml/manual/abi.xml: Document versioning for 5.1.0 release.
1108 * doc/html/manual/*: Regenerate.
1110 * doc/html/ext/lwg-active.html: Update to R93.
1111 * doc/html/ext/lwg-closed.html: Likewise.
1112 * doc/html/ext/lwg-defects.html: Likewise.
1113 * doc/html/manual/*: Regenerate.
1114 * doc/xml/manual/intro.xml: Document status of several DRs.
1116 2015-06-02 Renlin Li <renlin.li@arm.com>
1118 * testsuite/27_io/fpos/14775.cc: Add _GLIBCXX_HAVE_LIMIT_FSIZE check.
1120 2015-06-01 Jonathan Wakely <jwakely@redhat.com>
1122 * testsuite/lib/libstdc++.exp (libstdc++_init): Unset LANGUAGE
1123 environment variable.
1125 2015-05-31 Jonathan Wakely <jwakely@redhat.com>
1128 * include/bits/stl_algobase.h (__fill_a): Check length before calling
1131 2015-05-30 Jonathan Wakely <jwakely@redhat.com>
1133 * include/bits/stl_algobase.h (__equal<true>::equal): Check length
1134 instead of checking for null pointers.
1135 (__lexicographical_compare<true>::__lc): Only check shorter length.
1137 2015-05-29 François Dumont fdumont@gcc.gnu.org>
1139 * include/debug/debug.h (_GLIBCXX_DEBUG_ASSERT,
1140 _GLIBCXX_DEBUG_PEDASSERT, _GLIBCXX_DEBUG_ONLY): Move definition...
1141 * include/debug/assertions.h: ...here, new.
1142 * include/debug/formatter.h
1143 (_Error_formatter::_Is_iterator_value_type): New.
1144 (_Error_formatter::_Is_instance): New.
1145 (_Error_formatter::_Parameter): Make public and not friend anymore.
1146 (_Error_formatter::_Parameter::__instance): New _M_kind enum entry.
1147 (_Error_formatter::_Parameter::__iterator_value_type): New _M_kind enum
1149 (_Error_formatter::_Parameter::_Type): New.
1150 (_Error_formatter::_Parameter::_Instance): New, inherit from
1152 (union _Error_formatter::_Parameter::_M_variant): Reorganize.
1153 (_Parameter(_Iterator const&, const char*, _Is_iterator)): Make all
1154 overloads take iterator through a const reference.
1155 (_Parameter(const _Iterator&, const char*, _Is_iterator_value_type)):
1157 (_Parameter(const _Type&, const char*, _Is_instance)): New.
1158 (_Error_formatter::_M_print_type): Delete.
1159 (_Error_formatter::_M_iterator_value_type): New.
1160 (_Error_formatter::_M_instance): New.
1161 * include/Makefile.am: Add new above debug file.
1162 * include/Makefile.in: Regenerate.
1163 * include/debug/functions.h
1164 (__check_dereferenceable(const _Safe_iterator<>&),
1165 __valid_range(const _Safe_iterator<>&),
1166 __is_safe_random_iterator<_Safe_iterator<>>): Move...
1167 * include/debug/safe_iterator.h: ... here.
1168 Replace debug.h include with assertions.h.
1169 (__check_singular_aux): Move...
1170 * include/debug/safe_base.h: ... here.
1171 * include/debug/functions.h
1172 (__check_dereferenceable(const _Safe_local_iterator<>&),
1173 __valid_range(const _Safe_local_iterator<>&): Move...
1174 * include/debug/safe_local_iterator.h: ...here.
1175 * include/debug/safe_sequence.h: Replace debug.h with assertions.h.
1176 Remove _Safe_iterator declaration.
1177 * include/debug/safe_unordered_container.h: Replace debug.h with
1179 * include/debug/array: Replace safe_sequence.h include with
1180 formatter.h and macros.h.
1181 * include/debug/deque: Include functions.tcc.
1182 * include/debug/forward_list: Likewise.
1183 * include/debug/list: Likewise.
1184 * include/debug/string: Likewise.
1185 * include/debug/vector: Likewise.
1186 * include/bits/unique_ptr.h: Replace debug.h include with new
1188 * include/bits/stl_iterator_base_funcs.h: Likewise.
1189 * testsuite/23_containers/array/tuple_interface/get_debug_neg.cc:
1190 Adjust dg-error line number.
1191 * testsuite/23_containers/array/tuple_interface/
1192 tuple_element_debug_neg.cc: Likewise.
1193 * src/c++11/debug.cc: Adapt.
1195 2015-05-29 Jonathan Wakely <jwakely@redhat.com>
1197 * doc/xml/manual/status_cxx2017.xml: Fix duplicate ID attribute.
1198 * doc/html/manual/*: Regenerate.
1200 * include/std/future (__async_result_of): New alias template.
1201 (async): Use __async_result_of to pass decayed types to result_of.
1202 * testsuite/30_threads/async/lwg2021.cc: New.
1203 * doc/xml/manual/intro.xml: Document LWG 2021 status.
1206 * include/bits/stl_algobase.h (__equal<true>::equal): Do not call
1207 memcmp with null pointers.
1208 (__lexicographical_compare<true>::__lc): Do not call memcmp for empty
1211 2015-05-28 Jonathan Wakely <jwakely@redhat.com>
1214 * include/profile/array (array::data): Use _S_ptr.
1215 * include/debug/array (array::data): Likewise.
1218 * include/std/array (__array_traits::_S_ptr): New function.
1219 (array::data): Use _S_ptr to avoid creating invalid reference.
1220 * testsuite/23_containers/array/tuple_interface/get_neg.cc: Adjust
1221 dg-error line numbers.
1222 * testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc:
1225 2015-05-27 Jonathan Wakely <jwakely@redhat.com>
1227 * include/bits/stl_tree.h (_Rb_tree::_M_end()): Return _Base_ptr
1228 instead of downcasting.
1229 (_Rb_tree::_M_copy): Change second parameter to _Base_ptr.
1230 (_Rb_tree::_M_lower_bound, _Rb_tree:_M_upper_bound): Likewise.
1231 (_Rb_tree::_S_iter): Remove.
1232 (_Rb_tree::_S_lower_bound_tr, _Rb_tree::_S_upper_bound_tr): Remove.
1233 (_Rb_tree::_M_find_tr(const _Kt&) const): Call _M_lower_bound_tr
1234 instead of _S_lower_bound_tr
1235 (_Rb_tree::_M_find_tr(const _Kt&)): Call const overload.
1236 (_Rb_tree::_M_lower_bound_tr(const _Kt&) const): Do the search here
1237 instead of calling _S_lower_bound_tr.
1238 (_Rb_tree::_M_lower_bound_tr(const _Kt&)): Call const overload.
1239 (_Rb_tree::_M_upper_bound_tr(const _Kt&) const): Do the search here
1240 instead of calling _S_upper_bound_tr.
1241 (_Rb_tree::_M_upper_bound_tr(const _Kt&)): Call const overload.
1242 (_Rb_tree::_M_equal_range_tr(const _Kt&)): Likewise.
1243 (_Rb_tree::equal_range): Use _Base_ptr for end pointer.
1244 (_Rb_tree::_M_get_insert_unique_pos): Likewise.
1245 (_Rb_tree::_M_get_insert_equal_pos): Likewise.
1246 (_Rb_tree::_M_insert_equal_lower_node): Likewise.
1247 (_Rb_tree::_M_insert_unique, _Rb_tree::_M_emplace_unique,
1248 _Rb_tree::_M_emplace_hint_unique): Remove static_cast.
1251 * include/bits/stl_tree.h (_Rb_tree_node): Use __aligned_membuf.
1252 (_Rb_tree_iterator, _Rb_tree_const_iterator): Support construction
1254 (_Rb_tree_const_iterator::_M_const_cast): Remove static_cast.
1255 (_Rb_tree::begin, _Rb_tree::end): Remove static_cast.
1256 * include/ext/aligned_buffer.h (__aligned_membuf): New type using
1257 alignment of _Tp as a member subobject, not as a complete object.
1258 * python/libstdcxx/v6/printers.py (StdRbtreeIteratorPrinter): Lookup
1259 _Link_type manually as it might not be in the debug info.
1261 2015-05-26 Doug Evans <dje@google.com>
1263 * python/libstdcxx/v6/xmethods.py (UniquePtrMethodsMatcher): Add
1265 * testsuite/libstdc++-xmethods/unique_ptr.cc: Add tests for
1268 2015-05-26 Jonathan Wakely <jwakely@redhat.com>
1270 * include/bits/locale_conv.h: Fix copyright years.
1271 * include/bits/quoted_string.h: Likewise.
1272 * src/filesystem/Makefile.am: Likewise.
1273 * testsuite/22_locale/conversions/buffer/1.cc: Likewise.
1274 * testsuite/22_locale/conversions/buffer/requirements/typedefs.cc:
1276 * testsuite/22_locale/conversions/string/1.cc: Likewise.
1277 * testsuite/22_locale/conversions/string/2.cc: Likewise.
1278 * testsuite/22_locale/conversions/string/3.cc: Likewise.
1279 * testsuite/22_locale/conversions/string/requirements/typedefs-2.cc:
1281 * testsuite/22_locale/conversions/string/requirements/typedefs.cc:
1283 * testsuite/util/testsuite_fs.h: Likewise.
1285 2015-05-23 François Dumont fdumont@gcc.gnu.org>
1288 * include/debug/functions.h (__check_sorted_aux): Cast expression to
1291 2015-05-21 David Edelsohn <dje.gcc@gmail.com>
1294 * config/cpu/powerpc/atomic_word.h (_GLIBCXX_READ_MEM_BARRIER):
1295 Don't use isync. Use lwsync if available.
1296 * configure.host (atomic_word_dir) [aix[56789]*]: Delete to use
1297 powerpc cpu definition.
1299 2015-05-21 Jason Merrill <jason@redhat.com>
1301 * libsupc++/del_opv.cc: Suppress -Wsized-deallocation.
1302 * libsupc++/del_op.cc: Likewise.
1304 2015-05-20 François Dumont fdumont@gcc.gnu.org>
1306 * include/debug/formatter.h (_GLIBCXX_TYPEID): New macro to simplify
1308 (_Error_formatter::_M_print_type): New.
1309 * src/c++11/debug.cc
1310 (_Error_formatter::_Parameter::_M_print_field): Use latter.
1311 (_Error_formatter::_M_print_type): Implement latter using
1312 __cxaabiv1::__cxa_demangle to print demangled type name.
1314 * include/bits/cpp_type_traits.h
1315 (std::move_iterator): Delete declaration.
1316 (std::__is_move_iterator<move_iterator>): Move partial specialization...
1317 * include/bits/stl_iterator.h: ... here.
1318 (std::__miter_base): Overloads for std::reverse_iterator and
1320 * include/bits/stl_algobase.h (std::__miter_base): Provide default
1323 2015-05-20 Jonathan Wakely <jwakely@redhat.com>
1325 * testsuite/util/testsuite_fs.h (nonexistent_path): Don't use tempnam.
1328 * include/bits/stl_iterator.h (__make_move_if_noexcept_iterator): Add
1329 overload for pointers.
1330 * testsuite/20_util/specialized_algorithms/uninitialized_copy/
1331 808590.cc: Add -std=gnu++03 switch.
1332 * testsuite/20_util/specialized_algorithms/uninitialized_copy/
1333 808590-cxx11.cc: Copy of 808590.cc to test with -std=gnu++11.
1334 * testsuite/23_containers/vector/modifiers/push_back/
1335 strong_guarantee.cc: New.
1337 2015-05-19 Jonathan Wakely <jwakely@redhat.com>
1339 * include/bits/stl_list.h (_M_resize_pos(size_type&)): Declare.
1340 (operator==(const list&, const list&)): If size() is O(1) compare
1341 sizes before comparing each element.
1342 * include/bits/list.tcc (list::_M_resize_pos(size_type&)): Define.
1343 (list::resize): Use _M_resize_pos.
1345 2015-05-19 François Dumont <fdumont@gcc.gnu.org>
1347 * testsuite/23_containers/unordered_map/cons/66055.cc: Add constructor
1349 * testsuite/23_containers/unordered_multimap/cons/66055.cc: Likewise.
1350 * testsuite/23_containers/unordered_multiset/cons/66055.cc: Likewise.
1351 * testsuite/23_containers/unordered_set/cons/66055.cc: Likewise.
1353 2015-05-17 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1355 * configure.host: Define cpu_defines_dir for ARM.
1356 * config/cpu/arm/cpu_defines.h: New file.
1358 2015-05-17 François Dumont <fdumont@gcc.gnu.org>
1360 * include/bits/unordered_map.h (unordered_map, unordered_multimap): Add
1361 missing constructors.
1362 * include/bits/unordered_set.h (unordered_set, unordered_multiset):
1364 * include/debug/unordered_map (unordered_map, unordered_multimap): Add
1365 missing constructors.
1366 * include/debug/unordered_set (unordered_set, unordered_multiset):
1368 * include/profile/unordered_map (unordered_map, unordered_multimap): Add
1369 missing constructors.
1370 * include/profile/unordered_set (unordered_set, unordered_multiset):
1373 2015-05-15 Jonathan Wakely <jwakely@redhat.com>
1375 * src/filesystem/ops.cc (stat_type): Define alias for struct stat and
1376 use throughout the file.
1377 (make_file_type): New function.
1378 (file_size(const path&, error_code&)): Report an error for anything
1379 that isn't a regular file.
1380 (status(const path&), symlink_status(const path&)): Do not throw for
1381 file_type::not_found.
1382 (temp_directory_path()): Check additional environment variables.
1383 * testsuite/experimental/filesystem/operations/exists.cc: New.
1384 * testsuite/experimental/filesystem/operations/file_size.cc: New.
1385 * testsuite/experimental/filesystem/operations/status.cc: New.
1386 * testsuite/experimental/filesystem/operations/temp_directory_path.cc:
1389 2015-05-14 Nathan Myers <ncm@cantrip.org>
1390 Jonathan Wakely <jwakely@redhat.com>
1393 * include/std/unordered_map (unordered_map, unordered_multimap): Add
1394 missing constructors.
1395 * include/std/unordered_set (unordered_set, unordered_multiset):
1397 * testsuite/23_containers/unordered_map/cons/66055.cc: New.
1398 * testsuite/23_containers/unordered_multimap/cons/66055.cc: New.
1399 * testsuite/23_containers/unordered_multiset/cons/66055.cc: New.
1400 * testsuite/23_containers/unordered_set/cons/66055.cc: New.
1402 2015-05-14 Jonathan Wakely <jwakely@redhat.com>
1405 * acinclude.m4 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Check for fchmod and
1407 * config.h.in: Regenerate.
1408 * configure: Regenerate.
1409 * src/filesystem/ops.cc (do_copy_file): Fix arguments to open(). Do
1410 not return after copying contents. Use fchmod, fchmodat, and sendfile
1412 (current_path, permissions, space): Use errno not return value.
1415 * acinclude.m4 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Check for struct
1417 * config.h.in: Regenerate.
1418 * configure: Regenerate.
1419 * configure.ac (AC_STRUCT_DIRENT_D_TYPE): Remove.
1421 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
1423 * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Delete.
1424 * configure.ac: Remove GLIBCXX_ENABLE_SJLJ_EXCEPTIONS.
1425 * config.h.in: Regenerate.
1426 * configure: Likewise.
1427 * libsupc++/eh_personality.cc: Replace _GLIBCXX_SJLJ_EXCEPTIONS by
1428 __USING_SJLJ_EXCEPTIONS__.
1429 * libsupc++/eh_throw.cc: Likewise.
1430 * libsupc++/eh_ptr.cc: Likewise.
1431 * doc/html/manual/appendix_porting.html: Remove
1432 GLIBCXX_ENABLE_SJLJ_EXCEPTIONS
1433 * doc/xml/manual/build_hacking.xml: Likewise.
1434 * doc/html/manual/configure.html: Remove --enable-sjlj-exceptions.
1435 * doc/xml/manual/configure.xml: Likewise.
1437 2015-05-13 Jonathan Wakely <jwakely@redhat.com>
1439 * include/bits/shared_ptr_base.h (__shared_count(unique_ptr&&)): Check
1440 for nullptr (LWG 2415).
1441 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter.cc: Test
1442 construction from empty unique_ptr.
1443 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error.
1444 * testsuite/20_util/shared_ptr/cons/void_neg.cc: Likewise.
1446 * include/bits/stl_raw_storage_iter.h (raw_storage_iterator::base()):
1448 * testsuite/20_util/raw_storage_iterator/base.cc: New.
1450 * include/std/future (packaged_task(allocator_arg_t, const A&, F&&):
1451 Remove explicit (LWG 2407).
1453 * include/bits/basic_string.h (basic_string::basic_string()): Make
1454 noexcept conditional on allocator (LWG 2455).
1456 * include/std/complex (polar): Check for negative rho (LWG 2459).
1458 * include/experimental/tuple (apply): Handle pointers to member (LWG
1460 * include/std/functional (_Mem_fn_base): Make constructors constexpr.
1461 (_Maybe_wrap_member_pointer::__do_wrap): Make constexpr.
1462 * testsuite/experimental/tuple/apply.cc: Test pointer to member.
1464 * include/bits/random.h (seed_seq): More noexcept (LWG 2440).
1466 * include/bits/alloc_traits.h (_S_max_size): Implement LWG 2466.
1467 * testsuite/20_util/allocator_traits/members/max_size.cc: Adjust.
1468 * testsuite/23_containers/forward_list/allocator/minimal.cc:
1470 * testsuite/23_containers/map/allocator/minimal.cc: Likewise.
1471 * testsuite/23_containers/multimap/allocator/minimal.cc: Likewise.
1472 * testsuite/23_containers/multiset/allocator/minimal.cc: Likewise.
1473 * testsuite/23_containers/set/allocator/minimal.cc: Likewise.
1474 * testsuite/23_containers/unordered_map/allocator/minimal.cc:
1476 * testsuite/23_containers/unordered_multimap/allocator/minimal.cc:
1478 * testsuite/23_containers/unordered_multiset/allocator/minimal.cc:
1480 * testsuite/23_containers/unordered_set/allocator/minimal.cc:
1482 * testsuite/util/testsuite_allocator.h: Remove unused parameter.
1484 * acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Re-enable on solaris.
1485 * configure: Regenerate.
1487 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
1489 * Makefile.in: Regenerated with automake-1.11.6.
1490 * aclocal.m4: Likewise.
1491 * configure: Likewise.
1492 * doc/Makefile.in: Likewise.
1493 * include/Makefile.in: Likewise.
1494 * libsupc++/Makefile.in: Likewise.
1495 * po/Makefile.in: Likewise.
1496 * python/Makefile.in: Likewise.
1497 * src/Makefile.in: Likewise.
1498 * src/c++11/Makefile.in: Likewise.
1499 * src/c++98/Makefile.in: Likewise.
1500 * src/filesystem/Makefile.in: Likewise.
1501 * testsuite/Makefile.in: Likewise.
1503 2015-05-09 Jason Merrill <jason@redhat.com>
1505 * testsuite/20_util/headers/functional/synopsis.cc: Add
1506 _GLIBCXX14_CONSTEXPR.
1507 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
1509 2015-05-08 Jason Merrill <jason@redhat.com>
1511 * testsuite/19_diagnostics/headers/system_error/std_c++0x_neg.cc: Add -std=c++98.
1512 * testsuite/20_util/auto_ptr/1.cc: Add -std=c++98.
1513 * testsuite/20_util/auto_ptr/2.cc: Add -std=c++98.
1514 * testsuite/20_util/auto_ptr/3.cc: Add -std=c++98.
1515 * testsuite/20_util/auto_ptr/4.cc: Add -std=c++98.
1516 * testsuite/20_util/auto_ptr/5.cc: Add -std=c++98.
1517 * testsuite/20_util/auto_ptr/6.cc: Add -std=c++98.
1518 * testsuite/20_util/auto_ptr/7.cc: Add -std=c++98.
1519 * testsuite/20_util/auto_ptr/3946.cc: Add -std=c++98.
1520 * testsuite/20_util/auto_ptr/assign_neg.cc: Add -std=c++98.
1521 * testsuite/20_util/auto_ptr/requirements/explicit_instantiation/1.cc:
1523 * testsuite/20_util/headers/functional/synopsis.cc: Add -Wno-deprecated.
1524 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
1525 Adjust expected errors.
1526 * testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc:
1528 * testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc:
1530 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
1532 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
1534 * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
1536 * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
1538 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
1540 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
1542 * testsuite/23_containers/vector/requirements/dr438
1543 /constructor_1_neg.cc: Likewise.
1544 * testsuite/23_containers/vector/requirements/dr438
1545 /constructor_2_neg.cc: Likewise.
1546 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
1548 * testsuite/ext/array_allocator/1.cc: Add -Wno-deprecated.
1549 * testsuite/ext/array_allocator/2.cc: Add -Wno-deprecated.
1550 * testsuite/ext/array_allocator/26875.cc: Add -Wno-deprecated.
1551 * testsuite/ext/array_allocator/3.cc: Add -Wno-deprecated.
1552 * testsuite/ext/array_allocator/check_allocate_max_size.cc:
1553 Add -Wno-deprecated.
1554 * testsuite/ext/array_allocator/check_deallocate_null.cc:
1555 Add -Wno-deprecated.
1556 * testsuite/ext/array_allocator/check_delete.cc: Add -Wno-deprecated.
1557 * testsuite/ext/array_allocator/check_new.cc: Add -Wno-deprecated.
1558 * testsuite/ext/profile/mutex_extensions_neg.cc: Prune follow-on error.
1559 * testsuite/tr1/2_general_utilities/shared_ptr/assign/auto_ptr.cc:
1561 * testsuite/tr1/2_general_utilities/shared_ptr/assign/auto_ptr_neg.cc:
1563 * testsuite/tr1/2_general_utilities/shared_ptr/assign
1564 /auto_ptr_rvalue_neg.cc: Add -std=c++98.
1565 * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc:
1566 Add -std=c++98 -fno-show-column.
1567 * testsuite/tr1/2_general_utilities/shared_ptr/cons/auto_ptr.cc:
1569 * testsuite/tr1/2_general_utilities/shared_ptr/cons/auto_ptr_neg.cc:
1571 * testsuite/tr1/6_containers/utility/pair.cc: Add -std=c++98.
1572 * testsuite/tr1/8_c_compatibility/cmath/pow_cmath.cc: Add -std=c++98.
1574 * src/c++98/Makefile.am (AM_CXXFLAGS): Add -std=gnu++98.
1575 * src/c++98/Makefile.in: Regenerate.
1576 * src/Makefile.am (AM_CXXFLAGS): Add -std=gnu++98.
1577 * src/Makefile.in: Regenerate.
1579 2015-05-02 Jonathan Wakely <jwakely@redhat.com>
1582 * include/std/future (async): Change default policy to launch::async.
1584 * include/experimental/any (any::_Storage): Fix alignment of buffer.
1585 (any::_Internal): Check alignment of type.
1586 * testsuite/experimental/any/cons/aligned.cc: New.
1587 * testsuite/experimental/any/misc/any_cast_neg.cc: Adjust dg-error.
1589 * include/experimental/iterator (ostream_joiner): Simplify by using
1590 the injected-class-name and the ostream_type typedef.
1592 * include/experimental/iterator: New. Define ostream_joiner.
1593 * include/Makefile.am: Add new header.
1594 * include/Makefile.in: Regenerate.
1595 * testsuite/experimental/iterator/make_ostream_joiner.cc: New.
1596 * testsuite/experimental/iterator/ostream_joiner.cc: New.
1597 * testsuite/experimental/iterator/requirements.cc: New.
1598 * doc/xml/manual/status_cxx2017.xml: Update status.
1599 * doc/html/manual/status.html: Regenerate.
1601 * include/experimental/numeric: New. Define gcd and lcm.
1602 * include/Makefile.am: Add new header.
1603 * include/Makefile.in: Regenerate.
1604 * testsuite/experimental/numeric/gcd.cc: New.
1605 * testsuite/experimental/numeric/lcm.cc: New.
1606 * doc/xml/manual/status_cxx2017.xml: Update status.
1607 * doc/html/manual/status.html: Regenerate.
1609 2015-05-02 Edward Smith-Rowland <3dw4rd@verizon.net>
1611 Revert addition of feature macros from other headers per latest SD-6.
1612 * include/experimental/deque: Remove feature-test macro.
1613 * include/experimental/forward_list: Ditto.
1614 * include/experimental/list: Ditto.
1615 * include/experimental/map: Ditto.
1616 * include/experimental/set: Ditto.
1617 * include/experimental/string: Ditto.
1618 * include/experimental/unordered_map: Ditto.
1619 * include/experimental/unordered_set: Ditto.
1621 2015-05-02 Jonathan Wakely <jwakely@redhat.com>
1623 * include/experimental/any (any::_Storage): Make non-copyable.
1624 (any::any): Do not copy _Storage object.
1625 (any::operator=): Implement more efficiently than swapping.
1626 (any::swap): Use new _Op_xfer operation.
1627 (any::_Op::_Op_xfer): New enumerator.
1628 (_Manager_internal::_S_alloc): Remove unused function.
1629 (_Manager_internal::_S_create, _Manager_external::_S_create): Use out
1630 parameter instead of returning a _Storage object.
1631 (_Manager_internal::_S_manage, _Manager_external::_S_manage): Add
1632 _Op_xfer operation for moving and swapping.
1633 * testsuite/experimental/any/cons/nontrivial.cc: New.
1634 * testsuite/experimental/any/misc/any_cast_neg.cc: Adjust dg-error.
1636 * include/experimental/fs_path.h (filesystem_error::~filesystem_error):
1638 * src/filesystem/path.cc (filesystem_error::~filesystem_error):
1642 * include/std/tuple (forward_as_tuple, tie): Add constexpr.
1643 * testsuite/20_util/tuple/creation_functions/constexpr.cc: Uncomment
1644 and fix tests for forward_as_tuple and tie.
1646 * src/filesystem/ops.cc (last_write_time) [_GLIBCXX_USE_UTIMENSAT]:
1647 Set timespec members explicitly instead of with a braced-init-list.
1648 [_GLIBCXX_HAVE_UTIME_H]: Use lambda to handle st_atime being a macro.
1650 2015-05-02 Edward Smith-Rowland <3dw4rd@verizon.net>
1652 * include/experimental/deque: Add feature-test macro.
1653 * include/experimental/forward_list: Ditto.
1654 * include/experimental/list: Ditto.
1655 * include/experimental/map: Ditto.
1656 * include/experimental/set: Ditto.
1657 * include/experimental/string: Ditto.
1658 * include/experimental/unordered_map: Ditto.
1659 * include/experimental/unordered_set: Ditto.
1661 2015-05-01 Jonathan Wakely <jwakely@redhat.com>
1663 * include/experimental/memory: Correct feature-test macro.
1665 * include/experimental/memory: Add feature-test macro.
1666 * include/experimental/vector: Likewise.
1667 * doc/xml/manual/status_cxx2017.xml: Update status.
1668 * doc/html/manual/status.html: Regenerate.
1670 2015-05-01 Ville Voutilainen <ville.voutilainen@gmail.com>
1672 Implement observer_ptr.
1673 * include/Makefile.am: Add new header.
1674 * include/Makefile.in: Regenerate.
1675 * include/experimental/memory: New.
1676 * testsuite/experimental/memory/observer_ptr/assignment/assign.cc: New.
1677 * testsuite/experimental/memory/observer_ptr/cons/cons.cc: New.
1678 * testsuite/experimental/memory/observer_ptr/hash/hash.cc: New.
1679 * testsuite/experimental/memory/observer_ptr/make_observer.cc: New.
1680 * testsuite/experimental/memory/observer_ptr/relops/relops.cc: New.
1681 * testsuite/experimental/memory/observer_ptr/requirements.cc: New.
1682 * testsuite/experimental/memory/observer_ptr/swap/swap.cc: New.
1683 * testsuite/experimental/memory/observer_ptr/typedefs.cc: New.
1685 2015-05-01 Jonathan Wakely <jwakely@redhat.com>
1687 * src/filesystem/path.cc (path::compare): Do not copy strings.
1689 * acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Disable when <dirent.h>
1691 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Check for fchmodat.
1692 * configure: Regenerate.
1693 * config.h.in: Regenerate.
1694 * configure.ac: Check for utime.h
1695 * include/experimental/fs_path.h (path::string<>)
1696 [_GLIBCXX_FILESYSTEM_IS_WINDOWS]: Remove stray typename keyword.
1697 * src/filesystem/dir.cc [!_GLIBCXX_HAVE_DIRENT_H] (DIR, opendir,
1698 closedir, dirent, readdir_r): Replace dummy functions with #error.
1699 (native_readdir, _Dir::advance): Use readdir when readdir_r is missing.
1700 * src/filesystem/ops.cc (do_stat, is_set): Make inline.
1701 (last_write_time) [!_GLIBCXX_USE_UTIMENSAT]: Use utime.
1702 (permissions) [!_GLIBCXX_USE_FCHMODAT]: Use chmod.
1703 (space, temp_directory_path) [_GLIBCXX_FILESYSTEM_IS_WINDOWS]: Set
1706 * include/experimental/fs_path.h (path::_List): Use vector instead of
1708 * python/libstdcxx/v6/printers.py (StdExpPathPrinter): Adapt.
1709 * src/filesystem/path.cc: Use std::prev instead of decrementing
1710 rvalues. Fix whitespace.
1711 * testsuite/experimental/filesystem/path/decompose/parent_path.cc:
1712 Do not decrement iterators before begin.
1714 * include/experimental/fs_dir.h: Fix use of non-reserved names.
1715 * include/experimental/fs_ops.h: Likewise.
1716 * include/experimental/fs_path.h: Likewise.
1717 * testsuite/lib/libstdc++.exp (check_v3_target_filesystem_ts): Use
1718 C++11 when checking for support.
1720 * include/bits/locale_classes.h (locale::facet): Delete copy
1721 operations in C++11 mode.
1723 * include/bits/alloc_traits.h (__alloc_rebind): Change parameter name.
1725 * acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Disable for solaris.
1726 * configure: Regenerate.
1728 2015-05-01 Edward Smith-Rowland <3dw4rd@verizon.net>
1730 Inline one-line erasure dispatch functions.
1731 * include/experimental/forward_list (erase_if(), erase()): Inline.
1732 * include/experimental/list (erase_if(), erase()): Inline.
1733 * include/experimental/map (erase_if(*)): Inline.
1734 * include/experimental/set (erase_if(*)): Inline.
1735 * include/experimental/string (erase_if(), erase()): Inline.
1736 * include/experimental/unordered_map (erase_if(*)): Inline.
1737 * include/experimental/unordered_set (erase_if(*)): Inline.
1739 2015-05-01 Jonathan Wakely <jwakely@redhat.com>
1741 * doc/xml/manual/intro.xml: Link to new status_cxx2017.xml file.
1742 * doc/xml/manual/status_cxx2011.xml: Update status tables.
1743 * doc/xml/manual/status_cxx2014.xml: Likewise.
1744 * doc/xml/manual/status_cxx2017.xml: New.
1745 * doc/xml/manual/using.xml: Fix typo.
1746 * doc/html/*: Regenerate.
1748 * include/std/memory (pointer_safety, declare_reachable,
1749 undeclare_reachable, declare_no_pointers, undeclare_no_pointers,
1750 get_pointer_safety): Define.
1751 * testsuite/20_util/pointer_safety/1.cc: New.
1753 2015-04-30 Jonathan Wakely <jwakely@redhat.com>
1755 Implement N4100 File System TS
1756 * acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Define.
1757 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Define.
1758 * config.h.in: Regenerate.
1759 * configure: Regenerate.
1760 * configure.ac: Enable filesystem TS and check its dependencies.
1761 * include/Makefile.am: Add new headers.
1762 * include/Makefile.in: Regenerate.
1763 * include/bits/locale_conv.h (__do_str_code_cvt, __str_codecvt_in,
1764 __str_codecvt_out): Move code conversion logic from wstring_convert
1765 into new global functions.
1766 (wstring_convert::to_bytes, wstring_convert::from_bytes): Use new
1768 (wstring_convert::_M_conv): Remove.
1769 * include/bits/quoted_string.h (_Quoted_string): Split out of iomanip.
1770 * include/experimental/filesystem: New.
1771 * include/experimental/fs_dir.h: New.
1772 * include/experimental/fs_fwd.h: New.
1773 * include/experimental/fs_ops.h: New.
1774 * include/experimental/fs_path.h: New.
1775 * include/std/iomanip (_Quoted_string): Move to bits/quoted_string.h.
1776 * python/libstdcxx/v6/printers.py (StdExpPathPrinter): Add.
1777 * src/Makefile.am (SUBDIRS): Add filesystem.
1778 * src/Makefile.in: Regenerate.
1779 * src/filesystem/Makefile.am: New.
1780 * src/filesystem/Makefile.in: New.
1781 * src/filesystem/dir.cc: New.
1782 * src/filesystem/ops.cc: New.
1783 * src/filesystem/path.cc: New.
1784 * testsuite/experimental/filesystem/operations/absolute.cc: New.
1785 * testsuite/experimental/filesystem/operations/copy.cc: New.
1786 * testsuite/experimental/filesystem/operations/current_path.cc: New.
1787 * testsuite/experimental/filesystem/path/append/path.cc: New.
1788 * testsuite/experimental/filesystem/path/assign/assign.cc: New.
1789 * testsuite/experimental/filesystem/path/assign/copy.cc: New.
1790 * testsuite/experimental/filesystem/path/compare/compare.cc: New.
1791 * testsuite/experimental/filesystem/path/compare/path.cc: New.
1792 * testsuite/experimental/filesystem/path/compare/strings.cc: New.
1793 * testsuite/experimental/filesystem/path/concat/path.cc: New.
1794 * testsuite/experimental/filesystem/path/concat/strings.cc: New.
1795 * testsuite/experimental/filesystem/path/construct/copy.cc: New.
1796 * testsuite/experimental/filesystem/path/construct/default.cc: New.
1797 * testsuite/experimental/filesystem/path/construct/locale.cc: New.
1798 * testsuite/experimental/filesystem/path/construct/range.cc: New.
1799 * testsuite/experimental/filesystem/path/decompose/extension.cc: New.
1800 * testsuite/experimental/filesystem/path/decompose/filename.cc: New.
1801 * testsuite/experimental/filesystem/path/decompose/parent_path.cc:
1803 * testsuite/experimental/filesystem/path/decompose/relative_path.cc:
1805 * testsuite/experimental/filesystem/path/decompose/root_directory.cc:
1807 * testsuite/experimental/filesystem/path/decompose/root_name.cc:
1809 * testsuite/experimental/filesystem/path/decompose/root_path.cc:
1811 * testsuite/experimental/filesystem/path/decompose/stem.cc: New.
1812 * testsuite/experimental/filesystem/path/generic/generic_string.cc:
1814 * testsuite/experimental/filesystem/path/itr/traversal.cc: New.
1815 * testsuite/experimental/filesystem/path/modifiers/clear.cc: New.
1816 * testsuite/experimental/filesystem/path/modifiers/make_preferred.cc:
1818 * testsuite/experimental/filesystem/path/modifiers/remove_filename.cc:
1820 * testsuite/experimental/filesystem/path/modifiers/replace_extension.cc:
1822 * testsuite/experimental/filesystem/path/modifiers/replace_filename.cc:
1824 * testsuite/experimental/filesystem/path/modifiers/swap.cc: New.
1825 * testsuite/experimental/filesystem/path/nonmember/hash_value.cc: New.
1826 * testsuite/experimental/filesystem/path/query/empty.cc: New.
1827 * testsuite/experimental/filesystem/path/query/has_extension.cc: New.
1828 * testsuite/experimental/filesystem/path/query/has_filename.cc: New.
1829 * testsuite/experimental/filesystem/path/query/has_parent_path.cc:
1831 * testsuite/experimental/filesystem/path/query/has_relative_path.cc:
1833 * testsuite/experimental/filesystem/path/query/has_root_directory.cc:
1835 * testsuite/experimental/filesystem/path/query/has_root_name.cc:
1837 * testsuite/experimental/filesystem/path/query/has_root_path.cc:
1839 * testsuite/experimental/filesystem/path/query/has_stem.cc: New.
1840 * testsuite/experimental/filesystem/path/query/is_relative.cc: New.
1841 * testsuite/util/testsuite_fs.h: New.
1843 2015-04-30 Edward Smith-Rowland <3dw4rd@verizon.net>
1845 Add fundamentals TR container erasure.
1846 * include/Makefile.am: Add new headers.
1847 * include/Makefile.in: Add new headers.
1848 * include/experimental/array: New.
1849 * include/experimental/deque: New.
1850 * include/experimental/erase_if.tcc: New.
1851 * include/experimental/forward_list: New.
1852 * include/experimental/list: New.
1853 * include/experimental/map: New.
1854 * include/experimental/set: New.
1855 * include/experimental/string: New.
1856 * include/experimental/unordered_map: New.
1857 * include/experimental/unordered_set: New.
1858 * include/experimental/vector: New.
1859 * testsuite/experimental/deque/erasure.cc: New.
1860 * testsuite/experimental/forward_list/erasure.cc: New.
1861 * testsuite/experimental/list/erasure.cc: New.
1862 * testsuite/experimental/map/erasure.cc: New.
1863 * testsuite/experimental/set/erasure.cc: New.
1864 * testsuite/experimental/string/erasure.cc: New.
1865 * testsuite/experimental/unordered_map/erasure.cc: New.
1866 * testsuite/experimental/unordered_set/erasure.cc: New.
1867 * testsuite/experimental/vector/erasure.cc: New.
1869 2015-04-30 François Dumont <fdumont@gcc.gnu.org>
1871 * include/bits/cpp_type_traits.h
1872 (__gnu_cxx::__is_normal_iterator): Delete.
1873 * include/bits/stl_algobase.h (std::__niter_base): Adapt.
1874 * include/bits/stl_iterator.h (__make_reverse_iterator): New in C++11.
1875 (std::__niter_base): Overloads for std::reverse_iterator,
1876 __gnu_cxx::__normal_iterator and std::move_iterator.
1878 2015-04-30 François Dumont <fdumont@gcc.gnu.org>
1880 * include/bits/hashtable_policy.h (_Prime_rehash_policy::_S_n_primes):
1882 * src/c++11/hashtable_c++0x.cc (_Prime_rehash_policy::_M_next_bkt):
1883 Remove usage of latter and compute size of the prime numbers array
1886 2015-04-29 Doug Evans <dje@google.com>
1889 * python/libstdcxx/v6/xmethods.py (get_bool_type): New function.
1890 Replace all lookups of "bool" with this.
1891 (get_std_size_type): New function. Replace all lookups of std::size_t
1893 (*Worker): New method get_result_type.
1894 (DequeWorkerBase.__init__): New arg val_type. All callers updated.
1895 (ListWorkerBase.__init__): New arg val_type. All callers updated.
1896 (UniquePtrGetWorker.__init__): New arg elem_type. All callers updated.
1897 Delete setting of name, enabled.
1898 (UniquePtrDerefWorker.__init__): New arg elem_type. All callers
1899 updated. Delete setting of name.
1900 (UniquePtrMethodsMatcher): Rewrite for consistency with all other
1901 libstdc++ xmethod matchers.
1902 * testsuite/libstdc++-xmethods/array.cc: Add whatis tests.
1903 * testsuite/libstdc++-xmethods/associative-containers.cc: Ditto.
1904 * testsuite/libstdc++-xmethods/deque.cc: Ditto.
1905 * testsuite/libstdc++-xmethods/forwardlist.cc: Ditto.
1906 * testsuite/libstdc++-xmethods/list.cc: Ditto.
1907 * testsuite/libstdc++-xmethods/unique_ptr.cc: Ditto.
1908 * testsuite/libstdc++-xmethods/vector.cc: Ditto.
1910 2015-04-29 Doug Evans <dje@google.com>
1912 Use consistent naming for value type attributes.
1913 * python/libstdcxx/v6/xmethods.py (ArrayWorkerBase): Rename _valtype
1915 (ArraySizeWorker, ArrayEmptyWorker): Ditto.
1916 (ArrayFrontWorker, ArrayBackWorker): Ditto.
1917 (ArrayAtWorker, ArraySubscriptWorker): Ditto.
1918 (DequeWorkerBase): Rename elemtype to val_type.
1919 (ForwardListWorkerBase): Rename _elem_type to _val_type.
1920 (ForwardListFrontWorker): Ditto. And rename elem_address to
1922 (ForwardListMethodsMatcher): Rename elem_type to val_type.
1923 (VectorWorkerBase): Rename _elemtype to _val_type.
1925 2015-04-29 Jonathan Wakely <jwakely@redhat.com>
1928 * include/std/functional (__check_func_return_type): Use is_same to
1929 avoid using _is_convertible on incomplete types.
1930 * testsuite/20_util/function/65760.cc: New.
1933 * include/bits/basic_string (basic_string::_S_copy_chars): Cast
1935 * include/bits/locale_facets_nonio.tcc (money_get::_M_extract,
1936 time_get::_M_extract_num, time_get::_M_extract_name,
1937 time_get::_M_extract_wday_or_month): Likewise.
1938 * include/bits/stl_algo.h (__includes, __replace_copy_if,
1939 __is_sorted_until, __is_permutation, transform): Likewise.
1940 * include/bits/stl_algobase.h (swap_ranges, __copy_move::__copy_m,
1941 __equal::equal, __lexicographical_compare_impl, equal): Likewise.
1942 * include/bits/stl_numeric.h (inner_product): Likewise.
1943 * include/bits/stl_uninitialized.h (__uninitialized_copy_a): Likewise.
1944 * testsuite/util/testsuite_iterators.h (output_iterator_wrapper,
1945 input_iterator_wrapper): Declare unusable comma operator.
1946 * testsuite/21_strings/basic_string/cons/char/64657.cc: New.
1947 * testsuite/21_strings/basic_string/modifiers/assign/char/64657.cc:
1950 2015-04-28 Doug Evans <dje@google.com>
1952 * testsuite/libstdc++-xmethods/list.cc (_GLIBCXX_USE_CXX11_ABI):
1955 2015-04-28 Jonathan Wakely <jwakely@redhat.com>
1957 * include/bits/stl_algo.h (random_shuffle): Only define for hosted
1960 2015-04-28 Jonathan Wakely <jwakely@redhat.com>
1962 * Makefile.am (SUBDIRS): Move python to hosted_source.
1963 * Makefile.in: Regenerate.
1964 * acinclude.m4 (glibcxx_SUBDIRS): Reorder.
1965 * configure: Regenerate.
1967 2015-04-28 Marc Glisse <marc.glisse@inria.fr>
1970 * include/std/limits (numeric_limits): Add missing unsigned.
1972 2015-04-28 Stephan Bergmann <sbergman@redhat.com>
1974 * include/debug/vector (_Safe_vector::operator=): Add missing returns.
1976 2015-04-28 Jonathan Wakely <jwakely@redhat.com>
1979 * include/std/type_traits (__make_unsigned_selector<_Tp, false, true>):
1980 Handle enumeration types larger than sizeof(long).
1981 (__make_signed_selector<_Tp, false, true>): Find unsigned type then
1983 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error.
1984 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
1986 * testsuite/20_util/make_signed/requirements/typedefs-3.cc: New.
1987 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Adjust
1989 * testsuite/20_util/make_unsigned/requirements/typedefs-3.cc: New.
1992 * include/bits/forward_list.h (forward_list::splice_after): Add
1994 * include/bits/forward_list.tcc (forward_list::splice_after):
1998 * include/bits/random.h (seed_seq) Define copy constructor and copy
1999 assignment as deleted.
2000 * testsuite/26_numerics/random/seed_seq/cons/65631.cc: New.
2002 * libsupc++/exception (uncaught_exceptions): Add comment. Reorder #if.
2003 * testsuite/18_support/uncaught_exceptions/uncaught_exceptions.cc:
2004 Use -std=gnu++1z. Check feature-test macro.
2006 * include/std/type_traits (void_t): Add.
2007 * testsuite/20_util/void_t/1.cc: New.
2009 2015-04-28 Tim Shen <timshen@google.com>
2011 * include/bits/regex.tcc: Handle regex_constants::__polynomial.
2012 * include/bits/regex_automaton.tcc: Throw exception when parsing
2013 back-reference with flag __polynomial.
2014 * include/bits/regex_constants.h: Add extension flag
2015 syntax_option_type __polynomial.
2016 * bits/regex_executor.tcc: Still let BFS process ECMAScript.
2017 Alternative operation will be fixed in the coming refactoring.
2018 * testsuite/28_regex/algorithms/regex_search/61424.cc: Turn
2019 loose match_search_debug to use DFS only.
2021 2015-04-27 Sandra Loosemore <sandra@codesourcery.com>
2024 * testsuite/lib/libstdc++.exp (check_v3_target_namedlocale):
2025 Make the generated test program fail gracefully if the target
2026 doesn't support passing command-line arguments.
2028 2015-04-27 Federico Lenarduzzi <federico.lenarduzzi@tallertechnologies.com>
2029 Jonathan Wakely <jwakely@redhat.com>
2031 * libsupc++/eh_catch.cc (uncaught_exception, uncaught_exceptions):
2032 Return false or zero if the library is built without exceptions.
2033 * libsupc++/eh_term_handler.cc: Disable verbose terminate handler if
2034 the library is built without exceptions.
2036 2015-04-27 Ville Voutilainen <ville.voutilainen@gmail.com>
2038 * config/abi/pre/gnu.ver: Fix comment.
2040 Add support for std::uncaught_exceptions.
2041 * acinclude.m4: Bump libtool_VERSION.
2042 * config/abi/pre/gnu.ver: Export the new symbol.
2043 * configure: Regenerate.
2044 * libsupc++/eh_catch.cc (uncaught_exceptions): New.
2045 * libsupc++/exception (uncaught_exceptions): New.
2046 * testsuite/18_support/uncaught_exceptions/uncaught_exceptions.cc: New.
2047 * testsuite/util/testsuite_abi.cc: Add 3.4.22 as the latest version.
2049 2015-04-27 Dmitry Prokoptsev <dprokoptsev@gmail.com>
2050 Michael Hanselmann <public@hansmi.ch>
2053 * libsupc++/eh_ptr.cc (rethrow_exception): Increment count of
2054 uncaught exceptions.
2055 * testsuite/18_support/exception_ptr/62258.cc: New.
2057 2015-04-27 Jonathan Wakely <jwakely@redhat.com>
2059 * doc/xml/manual/extensions.xml: Add cross-reference.
2060 * doc/html/manual/ext_compile_checks.html: Regenerate.
2062 2015-04-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
2064 * config/os/generic/os_defines.h (_GLIBCXX_GTHREAD_USE_WEAK): Define.
2065 * configure.host (os_include_dir): Set to "os/generic" for linux-musl*.
2067 2015-04-22 Renlin Li <renlin.li@arm.com>
2069 * testsuite/lib/dg-options.exp (dg-require-thread-fence): New.
2070 * testsuite/lib/libstdc++.exp (check_v3_target_thread_fence): New.
2071 * testsuite/29_atomics/atomic_flag/clear/1.cc: Use it.
2072 * testsuite/29_atomics/atomic_flag/test_and_set/explicit.cc: Likewise.
2073 * testsuite/29_atomics/atomic_flag/test_and_set/implicit.cc: Likewise.
2075 2015-04-21 Jonathan Wakely <jwakely@redhat.com>
2077 * doc/xml/manual/configure.xml: Update descriptions of options
2078 affecting dual ABI and add cross-references.
2079 * doc/xml/manual/strings.xml: Clarify that string isn't COW now.
2080 * doc/xml/manual/using.xml: Document ABI transition.
2081 * doc/html/*: Regenerate.
2083 * doc/xml/manual/abi.xml: Use uppercase for C++ Standard Library.
2084 * doc/xml/manual/using.xml: Document newer -std options. Use better
2085 examples of nested namespaces.
2087 2015-04-20 Jonathan Wakely <jwakely@redhat.com>
2089 * doc/xml/manual/concurrency_extensions.xml: Update documentation
2091 * doc/xml/manual/using.xml: Likewise. Improve markup.
2092 * doc/html/*: Regenerate.
2094 2015-04-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2096 * scripts/extract_symvers.pl: Ignore elfdump error output.
2098 2015-04-14 Marc Glisse <marc.glisse@inria.fr>
2101 * include/bits/stl_iterator_base_funcs.h (_List_iterator,
2102 _List_const_iterator): Declare.
2103 (__distance): Declare new overloads for _List_iterator and
2104 _List_const_iterator.
2105 * include/bits/stl_list.h (__distance): New overloads for
2106 _List_iterator and _List_const_iterator.
2107 * testsuite/23_containers/list/61347.cc: New testcase.
2109 2015-04-14 Jonathan Wakely <jwakely@redhat.com>
2111 * doc/xml/manual/evolution.xml: Fix typos.
2112 * doc/html/manual/api.html: Regenerate.
2114 2015-04-14 Hans-Peter Nilsson <hp@axis.com>
2116 * testsuite/29_atomics/atomic/62259.cc: Assert atomic
2117 alignment is larger-equal, not equal, to default alignment.
2119 2015-04-13 Jonathan Wakely <jwakely@redhat.com>
2122 * config/abi/pre/gnu.ver: Export base object constructors for
2124 * config/abi/post/aarch64-linux-gnu/baseline_symbols.txt: Update.
2125 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Update.
2126 * config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Update.
2127 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
2128 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Update.
2129 * config/abi/post/m68k-linux-gnu/baseline_symbols.txt: Update.
2130 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Update
2131 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Update.
2132 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt: Update.
2133 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Update.
2134 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Update.
2135 * config/abi/post/solaris2.10/baseline_symbols.txt: Regenerate.
2136 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
2137 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
2138 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Update.
2139 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
2140 * config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: Update.
2141 * testsuite/27_io/basic_fstream/cons/base.cc: New.
2143 2015-04-13 Jonathan Wakely <jwakely@redhat.com>
2145 * doc/xml/manual/evolution.xml: Document changes since 4.5 release.
2146 * doc/html/*: Regenerate.
2148 2015-04-12 Uros Bizjak <ubizjak@gmail.com>
2150 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Update.
2152 2015-04-10 Andreas Schwab <schwab@linux-m68k.org>
2154 * config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Update.
2156 * config/abi/post/m68k-linux-gnu/baseline_symbols.txt: Update.
2158 2015-04-10 Jonathan Wakely <jwakely@redhat.com>
2160 * doc/xml/manual/test.xml: Improve documentation on running a subset
2162 * doc/html/manual/test.html: Regenerate.
2164 2015-04-10 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2166 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Update
2167 for GCC 5.1 release.
2168 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
2171 2015-04-10 Jonathan Wakely <jwakely@redhat.com>
2173 * include/std/shared_mutex (shared_timed_mutex): Add comments to
2174 explain the logic in the non-pthread_rwlock_t version.
2175 (_Mutex): Remove redundant type.
2176 (_M_n_readers): Rename to _S_max_readers.
2177 (_M_write_entered, _M_readers): New convenience functions.
2178 (lock, lock_shared, try_lock_shared, unlock_shared): Use convenience
2179 functions. Use predicates with condition variables. Simplify bitwise
2181 (try_lock_for, try_shared_lock_for): Convert duration to time_point
2182 and call try_lock_until or try_shared_lock_until respectively.
2183 (try_lock_until, try_shared_lock_until): Wait on the condition
2184 variables until the specified time passes.
2185 (unlock): Add Debug Mode assertion.
2186 (unlock_shared): Add Debug Mode assertion.
2187 * testsuite/30_threads/shared_timed_mutex/try_lock/3.cc: New.
2189 * include/std/shared_mutex (shared_timed_mutex): Only use
2190 pthread_rwlock_t when the POSIX Timeouts option is supported.
2191 * testsuite/30_threads/shared_lock/cons/5.cc: Remove
2192 dg-require-gthreads-timed.
2193 * testsuite/30_threads/shared_lock/cons/6.cc: Likewise.
2194 * testsuite/30_threads/shared_lock/locking/3.cc: Likewise.
2195 * testsuite/30_threads/shared_lock/locking/4.cc: Likewise.
2197 2015-04-09 H.J. Lu <hongjiu.lu@intel.com>
2199 * config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: Update.
2201 2015-04-09 Jonathan Wakely <jwakely@redhat.com>
2202 Richard Henderson <rth@redhat.com>
2205 * include/bits/atomic_base.h (__atomic_base<_ITp>): Increase
2207 * include/std/atomic (atomic): For types with a power of two size set
2208 alignment to at least the size.
2209 * testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number.
2210 * testsuite/29_atomics/atomic/65147.cc: New.
2211 * testsuite/29_atomics/atomic_integral/65147.cc: New.
2213 2015-04-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2215 * config/abi/post/solaris2.10/baseline_symbols.txt: Regenerate.
2216 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
2217 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
2219 2015-04-07 Jakub Jelinek <jakub@redhat.com>
2221 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Update.
2222 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
2223 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
2224 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Update.
2225 * config/abi/post/aarch64-linux-gnu/baseline_symbols.txt: Update.
2226 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Update.
2227 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Update.
2228 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Update.
2230 2015-03-30 Jonathan Wakely <jwakely@redhat.com>
2233 * config/abi/pre/gnu.ver: Export operator+ for new strings.
2234 * testsuite/21_strings/basic_string/operators/char/65630.cc: New.
2235 * testsuite/21_strings/basic_string/operators/wchar_t/65630.cc: New.
2237 2015-03-28 Tim Shen <timshen@google.com>
2240 * include/bits/regex_constants.h: Use constexpr variables for flags.
2241 * testsuite/28_regex/constants/constexpr.cc: New testcase.
2243 2015-03-27 Jonathan Wakely <jwakely@redhat.com>
2246 * include/std/chrono: Add using-directive for literals to std::chrono.
2247 * testsuite/20_util/duration/literals/65499.cc: New.
2249 2015-03-26 Jonathan Wakely <jwakely@redhat.com>
2253 * include/std/thread (this_thread::sleep_for): Check for negative
2255 (this_thread::sleep_until): Check for times in the past.
2256 * testsuite/30_threads/this_thread/58038.cc: New.
2257 * testsuite/30_threads/this_thread/60421.cc: New.
2259 2015-03-26 Jonathan Wakely <jwakely@redhat.com>
2263 * include/std/atomic (atomic<T>): Increase alignment for types with
2264 the same size as one of the integral types.
2265 * testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number.
2266 * testsuite/29_atomics/atomic/62259.cc: New.
2268 2015-03-26 Richard Henderson <rth@redhat.com>
2271 * include/bits/atomic_base.h (__atomic_base<T>::is_lock_free): Build
2272 a fake pointer indicating type alignment.
2273 (__atomic_base<T *>::is_lock_free): Likewise.
2274 * include/std/atomic (atomic<T>::is_lock_free): Likewise.
2276 2015-03-25 Alan Lawrence <alan.lawrence@arm.com>
2279 * testsuite/21_strings/basic_string/pthread33394.cc: Use
2280 dg-additional-options.
2282 2015-03-25 Paolo Carlini <paolo.carlini@oracle.com>
2285 * include/std/istream (operator>>(basic_istream<>&&, _Tp&): Revert
2287 * include/std/ostream (operator<<(basic_ostream<>&&, const _Tp&):
2289 * testsuite/27_io/rvalue_streams-2.cc: New.
2291 2015-03-24 Jonathan Wakely <jwakely@redhat.com>
2294 * testsuite/21_strings/basic_string/pthread33394.cc: Add test.
2296 2015-03-23 Jonathan Wakely <jwakely@redhat.com>
2299 * acinclude.m4: Disable dual ABI when gnu-versioned-namespace in use.
2300 * configure: Regenerate.
2301 * src/c++11/compatibility-c++0x.cc (error_category), generic_category,
2302 system_category): Use macros for versioned namespace.
2303 * src/c++11/futex.cc: Add missing end macro for versioned namespace.
2305 2015-03-20 James Greenhalgh <james.greenhalgh@arm.com>
2307 * testsuite/17_intro/headers/c++1998/all_attributes.cc: Disable
2308 test for unused for ARM.
2309 * testsuite/17_intro/headers/c++200x/all_attributes.cc: Likewise.
2310 * testsuite/17_intro/headers/c++2014/all_attributes.cc: Likewise.
2312 2015-03-20 Jonathan Wakely <jwakely@redhat.com>
2314 * include/bits/c++config (__gnu_cxx::__cxx11): Define new namespace.
2315 * include/ext/codecvt_specializations.h (encoding_state,
2316 encoding_char_traits): Remove abi-tag and use inline namespace.
2317 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error line.
2319 2015-03-19 Jason Merrill <jason@redhat.com>
2321 * config/locale/gnu/messages_members.cc: Revert abi-tag change.
2322 * src/c++11/cxx11-shim_facets.cc: Revert abi-tag change.
2324 2015-03-18 Jonathan Wakely <jwakely@redhat.com>
2327 * config/locale/gnu/messages_members.cc (Catalog_info, Catalogs,
2328 get_catalogs): Add abi-tag.
2329 * include/ext/codecvt_specializations.h (encoding_state,
2330 encoding_char_traits): Likewise.
2331 * src/c++11/cxx11-ios_failure.cc (io_error_category): Likewise.
2332 * src/c++11/cxx11-shim_facets.cc (__any_string::operator basic_string,
2333 numpunct_shim, collate_shim, time_get_shim, moneypunct_shim,
2334 money_get_shim, money_put_shim, messages_shim): Likewise.
2335 * src/c++11/future.cc (future_error_category::message): Likewise.
2336 * src/c++11/system_error.cc (generic_error_category::message,
2337 system_error_category::message): Likewise.
2338 (__sso_string): Disable -Wabi-tag warnings.
2340 2015-03-18 Jonathan Wakely <jwakely@redhat.com>
2343 * config/locale/gnu/messages_members.cc (get_glibc_msg): Fix fallback
2344 implementation for old glibc. Fix whitespace.
2346 2015-03-18 Jonathan Wakely <jwakely@redhat.com>
2347 Torvald Riegel <triegel@redhat.com>
2349 * acinclude.m4 (GLIBCXX_CHECK_GTHREADS): Check for pthread_rwlock_t.
2350 * config.h.in: Regenerate.
2351 * configure: Regenerate.
2352 * include/std/shared_mutex: Check _GLIBCXX_USE_PTHREAD_RWLOCK_T.
2353 (shared_timed_mutex::_M_rwlock): Use PTHREAD_RWLOCK_INITIALIZER.
2354 (shared_timed_mutex::lock_shared()): Retry on EAGAIN.
2355 (shared_timed_mutex::try_lock_shared_until()): Retry on EAGAIN and
2358 2015-03-17 Jonathan Wakely <jwakely@redhat.com>
2360 * libsupc++/nested_exception.h: Do not try to derive from final
2362 * testsuite/18_support/nested_exception/throw_with_nested.cc: Test
2365 * testsuite/30_threads/shared_lock/modifiers/1.cc: Remove name of
2366 unused exception variable.
2367 * testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise.
2368 * testsuite/30_threads/shared_lock/modifiers/2.cc: Remove duplicate
2370 * testsuite/30_threads/unique_lock/modifiers/2.cc: Likewise.
2372 2015-03-13 Jonathan Wakely <jwakely@redhat.com>
2374 * acinclude.m4: Make --enable-libstdcxx-time=auto work for dragonfly.
2375 * configure: Regenerate.
2377 * include/experimental/system_error: Fix include guard.
2379 2015-03-12 Renlin Li <renlin.li@arm.com>
2381 * testsuite/27_io/ios_base/sync_with_stdio/1.cc: Remove xfail for
2384 2015-03-10 Tim Shen <timshen@google.com>
2387 * include/bits/regex.h (match_results<>::size,
2388 match_results<>::position, match_results<>::str,
2389 match_results<>::operator[], match_results<>::prefix,
2390 match_results<>::suffix, match_results<>::end,
2391 match_results<>::_M_resize, match_results<>::_M_unmatched_sub,
2392 match_results<>::_M_prefix, match_results<>::_M_suffix): Remove
2393 global __unmatched_sub. Add unmatched submatch as part of
2395 * include/bits/regex.tcc (__regex_algo_impl<>, regex_replace<>,
2396 regex_iterator<>::operator++): Adjust to use match_results::_M_prefix.
2397 * testsuite/28_regex/match_results/out_of_range_submatches.cc:
2400 2015-03-09 Jonathan Wakely <jwakely@redhat.com>
2403 * testsuite/28_regex/traits/char/isctype.cc: Don't test newline
2404 for newlib targets. Really fix mixed line-endings this time.
2406 2015-03-06 Jonathan Wakely <jwakely@redhat.com>
2408 * include/std/future (future_error(error_code)): Construct base
2409 class with error_code's message.
2410 * src/c++11/future.cc (future_error::what()): Do not call c_str() on
2413 2015-03-05 Jonathan Wakely <jwakely@redhat.com>
2415 * include/bits/locale_conv.h (wstring_convert::_M_conv): Handle
2417 * testsuite/22_locale/conversions/string/2.cc: Also test UTF-8.
2418 * testsuite/22_locale/conversions/string/3.cc: Likewise, and UTF-16.
2420 2015-03-04 Jonathan Wakely <jwakely@redhat.com>
2423 * include/bits/locale_conv.h (wstring_convert::_M_conv): Handle
2424 incomplete multibyte sequences correctly.
2425 * include/std/codecvt (codecvt_utf8, codecvt_utf16,
2426 codecvt_utf8_utf16): Limit _Maxcode to maximum Unicode code point.
2427 * src/c++11/codecvt.cc (invalid_mb_sequence, incomplete_mb_character):
2429 (is_high_surrogate, is_low_surrogate, surrogate_pair_to_code_point):
2430 Define convenience functions.
2431 (read_utf8_code_point): Return relevant constant to distinguish
2432 incomplete characters from invalid sequences.
2433 (read_utf16_code_point): Likewise. Check for invalid sequences.
2434 (ucs4_in, utf16_in): Use incomplete_mb_character constant.
2435 (utf16_out): Check for invalid sequences.
2436 (utf16_span): Fix condition.
2437 (ucs2_out): Use is_high_surrogate.
2438 (ucs2_in): Use incomplete_mb_character constant and fix condition.
2439 * testsuite/22_locale/codecvt/char16_t.cc: Fix whitespace.
2440 * testsuite/22_locale/conversions/buffer/1.cc: New.
2441 * testsuite/22_locale/conversions/string/2.cc: Use char16_t and
2442 char32_t instead of wchar_t.
2443 * testsuite/22_locale/conversions/string/3.cc: New.
2445 2015-03-03 Iain Sandoe <iain@codesourcery.com>
2448 * testsuite/17_intro/headers/c++1998/all_attributes.cc: Don't check
2449 visibility for Darwin.
2450 * testsuite/17_intro/headers/c++200x/all_attributes.cc: Likewise, and
2452 * testsuite/17_intro/headers/c++2014/all_attributes.cc: Likewise.
2454 2015-03-02 Jonathan Wakely <jwakely@redhat.com>
2457 * include/std/scoped_allocator (__inner_type_impl,
2458 scoped_allocator_adaptor): Add defaulted copy assignment and move
2459 assignment operators.
2460 * testsuite/20_util/scoped_allocator/65279.cc: New.
2462 2015-03-02 Jonathan Wakely <jwakely@redhat.com>
2465 * include/std/stdexcept (__sso_string): Don't use non-static member
2468 2015-02-28 Matthias Klose <doko@ubuntu.com>
2471 * python/libstdcxx/v6/__init__.py: Use explicit relative imports.
2473 2015-02-22 Jonathan Wakely <jwakely@redhat.com>
2475 * doc/xml/manual/status_cxx2011.xml: Remove duplicated information.
2476 * doc/html/manual/status.html: Regenerate.
2478 2015-02-20 Jonathan Wakely <jwakely@redhat.com>
2481 * python/libstdcxx/v6/printers.py (StdTuplePrinter): Handle new
2484 * doc/xml/manual/status_cxx2011.xml: Document implementation-defined
2486 * doc/html/manual/status.html: Regenerate.
2488 2015-02-19 Jonathan Wakely <jwakely@redhat.com>
2491 * include/bits/algorithmfwd.h (rotate): Move to inline namespace _V2.
2492 * include/bits/stl_algo.h (__rotate, rotate): Likewise.
2494 2015-02-19 Hans-Peter Nilsson <hp@axis.com>
2497 * testsuite/26_numerics/random/binomial_distribution/operators/values.cc
2498 (test01): Add explanatory comment. Keep only the bd1 sub-test and
2499 split out bd2, bd3, bd4, and bd5 sub-tests into...
2500 * testsuite/26_numerics/random/binomial_distribution/operators/values2.cc,
2501 testsuite/26_numerics/random/binomial_distribution/operators/values3.cc,
2502 testsuite/26_numerics/random/binomial_distribution/operators/values4.cc,
2503 testsuite/26_numerics/random/binomial_distribution/operators/values5.cc:
2504 New separate files with the old parts.
2506 2015-02-18 Jonathan Wakely <jwakely@redhat.com>
2508 * src/c++11/codecvt.cc (write_utf16_code_point): Fix code to output
2510 (utf16_in): Pass mode argument to write_utf16_code_point.
2511 (codecvt<char16_t, char, mbstate_t>::do_in): Set mode according to
2513 * testsuite/22_locale/codecvt/char16_t.cc: New.
2514 * testsuite/22_locale/codecvt/in/wchar_t/1.cc: Fix typo.
2516 * testsuite/22_locale/codecvt/char16_t.cc: Add dg-require-cstdint.
2517 * testsuite/22_locale/codecvt/char32_t.cc: Likewise.
2519 2015-02-17 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2520 Jonathan Wakely <jwakely@redhat.com>
2522 * testsuite/22_locale/codecvt/char32_t.cc: New.
2524 2015-02-17 Jonathan Wakely <jwakely@redhat.com>
2527 * include/bits/basic_string.h (basic_string(basic_string&&)): Ensure
2528 empty string gets null-terminated.
2529 * testsuite/21_strings/basic_string/cons/char/65085.cc: New.
2531 2015-02-13 Matthew Wahab <matthew.wahab@arm.com>
2533 * testsuite/28_regex/traits/char/isctype.cc (test01): Fix
2534 mixed line-endings introduced in last change.
2536 2015-02-12 Matthew Wahab <matthew.wahab@arm.com>
2538 * testsuite/28_regex/traits/char/isctype.cc (test01): Replace test
2539 for __NEWLIB__ macro with a dejagnu set macro.
2540 * testsuite/28_regex/traits/wchar_t/isctype.cc (test01): Likewise.
2542 2015-02-04 Matthew Wahab <matthew.wahab@arm.com>
2545 * testsuite/28_regex/traits/char/isctype.cc (test01): Add newlib
2546 special case for '\n'.
2547 * testsuite/28_regex/traits/wchar_t/isctype.cc (test01): Likewise.
2549 2015-02-01 Jonathan Wakely <jwakely@redhat.com>
2551 * src/c++11/futex.cc: Do not define for gthr-single.h targets.
2553 2015-02-01 Jonathan Wakely <jwakely@redhat.com>
2556 * include/c_global/cstdio (gets): Use __deprecated__ attribute instead
2558 * include/c_std/cstdio (gets): Likewise.
2559 * testsuite/17_intro/headers/c++1998/all_attributes.cc: Avoid clashing
2560 with attributes used in darwin headers.
2562 2015-01-29 Jakub Jelinek <jakub@redhat.com>
2564 * acinclude.m4 (VTV_CYGMIN): Use x$vtv_cygmin = xyes instead of
2565 $vtv_cygmin = yes. Initialize vtv_cygmin=no unconditionally first.
2566 * configure: Regenerated.
2568 2015-01-29 H.J. Lu <hongjiu.lu@intel.com>
2570 * acinclude.m4 (GLIBCXX_ENABLE_VTABLE_VERIFY): Define VTV_CYGMIN
2571 after vtv_cygmin is set.
2572 * configure: Regenerated.
2574 2015-01-29 Matthias Klose <doko@ubuntu.com>
2576 * acinclude.m4 (GLIBCXX_ENABLE_VTABLE_VERIFY): Define VTV_CYGMIN
2578 * configure: Regenerate.
2580 2015-01-29 Caroline Tice <cmtice@google.com>
2582 Committing VTV Cywin/Ming patch for Patrick Wollgast
2583 * configure: Regenerate.
2584 * libsupc++/Makefile.in: Regenerate.
2585 * src/Makefile.in: Regenerate.
2587 2015-01-29 Jonathan Wakely <jwakely@redhat.com>
2589 * include/bits/atomic_base.h: Use __always_inline__ instead of
2591 * include/bits/atomic_futex.h: Likewise.
2592 * include/bits/c++config: Use __abi_tag__ instead of abi_tag.
2593 * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Use
2594 __packed__ instead of packed.
2595 * include/std/shared_mutex: Use __unused__ instead of unused.
2596 * testsuite/17_intro/headers/c++1998/all_attributes.cc: New.
2597 * testsuite/17_intro/headers/c++200x/all_attributes.cc: New.
2598 * testsuite/17_intro/headers/c++2014/all_attributes.cc: New.
2600 2015-01-28 Caroline Tice <cmtice@google.com>
2602 Committing VTV Cywin/Ming patch for Patrick Wollgast
2603 * acinclude.m4: Define VTV_CYGMIN.
2604 * libsupc++/Makefile.am: Add vtv_sources only to libsupc___la_SOURCES
2605 and libsupc__convenience_la_SOURCES if VTV_CYGMIN is not set.
2606 * libsupc++/vtv_stubs.cc: Add none weak declaration of every function
2607 for Cygwin and MinGW.
2608 * src/Makefile.am: Add libvtv.la to toolexeclib_LTLIBRARIES, if
2609 VTV_CYGMIN is set. Define libvtv_la_SOURCES, libvtv_la_LDFLAGS,
2610 libvtv_la_AM_CXXFLAGS and libvtv_la_LINK if VTV_CYGMIN is set.
2612 2015-01-28 Jonathan Wakely <jwakely@redhat.com>
2615 * libsupc++/Makefile.am: Compile del_opvs.cc as C++14.
2616 * libsupc++/Makefile.in: Regenerate.
2617 * src/c++11/Makefile.in: Regenerate.
2619 2015-01-28 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2621 * testsuite/lib/libstdc++.exp (v3_target_compile): Remove
2622 check for unsupported.
2623 (v3_target_compile_as_c): Likewise.
2625 2015-01-28 Richard Biener <rguenther@suse.de>
2628 * libsupc++/eh_alloc.cc (struct allocated_entry): Align
2630 (pool::allocate): Adjust allocation size and alignment to
2632 (pool::free): Adjust pointer offsetting.
2634 2015-01-27 Jonathan Wakely <jwakely@redhat.com>
2637 * include/std/shared_mutex (shared_timed_mutex::try_lock_for,
2638 shared_timed_mutex::try_lock_until): Only define when POSIX thread
2639 timeouts option is supported.
2640 (shared_timed_mutex::try_shared_lock_for,
2641 shared_timed_mutex::try_shared_lock_until): Likewise.
2643 2015-01-26 Jonathan Wakely <jwakely@redhat.com>
2646 * config/locale/gnu/numeric_members.cc (numpunct<char>::~numpunct(),
2647 numpunct<wchar_t>::~numpunct()): Do not set _M_data->_M_grouping.
2648 * src/c++11/cxx11-shim_facets.cc (numpunct_shim): Remove _M_grouping
2649 and use cache's _M_grouping field.
2650 (__numpunct_fill_cache): Likewise.
2651 (__moneypunct_fill_cache): Improve comments.
2653 2015-01-26 Jonathan Wakely <jwakely@redhat.com>
2655 * testsuite/23_containers/set/operations/2.cc: Add test for
2656 non-transparent comparison function.
2658 2015-01-25 Oleg Endo <olegendo@gcc.gnu.org>
2661 * config/cpu/sh/atomicity.h (__exchange_and_add, __atomic_add):
2662 Remove SH4A inline asm and lock based implementations and use the
2663 defaults from ext/atomicity.h.
2665 2015-01-23 Jonathan Wakely <jwakely@redhat.com>
2667 * config/abi/pre/gnu.ver: Tighten GLIBCXX_3.4 patterns to not match
2668 new std::string constructors for byname facets.
2670 2015-01-22 Richard Biener <rguenther@suse.de>
2673 * libsupc++/eh_alloc.cc: Include new.
2674 (bitmask_type): Remove.
2675 (one_buffer): Likewise.
2676 (emergency_buffer): Likewise.
2677 (emergency_used): Likewise.
2678 (dependents_buffer): Likewise.
2679 (dependents_used): Likewise.
2680 (class pool): New custom fixed-size arena, variable size object
2682 (emergency_pool): New global.
2683 (__cxxabiv1::__cxa_allocate_exception): Use new emergency_pool.
2684 (__cxxabiv1::__cxa_free_exception): Likewise.
2685 (__cxxabiv1::__cxa_allocate_dependent_exception): Likewise.
2686 (__cxxabiv1::__cxa_free_dependent_exception): Likewise.
2688 2015-01-22 Tim Shen <timshen@google.com>
2691 * include/bits/regex.h (basic_regex<>::basic_regex,
2692 basic_regex<>::operator=, basic_regex<>::imbue): Conform to the
2694 * testsuite/28_regex/basic_regex/assign/char/cstring.cc: New testcase.
2696 2015-01-22 Tim Shen <timshen@google.com>
2699 * include/bits/regex.tcc (regex_traits<>::lookup_collatename,
2700 regex_traits<>::lookup_classname): Correctly narrow input chars.
2701 * testsuite/28_regex/traits/wchar_t/user_defined.cc: New testcase.
2703 2015-01-21 Jonathan Wakely <jwakely@redhat.com>
2705 * config/abi/pre/gnu.ver: Use [jmy] for size_t parameters.
2707 2015-01-21 Jonathan Wakely <jwakely@redhat.com>
2709 * testsuite/29_atomics/atomic/64658.cc: Test stored value.
2711 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
2713 * doc/xml/manual/status_cxx2011.xml: Remove stray dbhtml tags.
2714 * doc/xml/manual/status_cxx2014.xml: Update status.
2715 * doc/html/manual/status.html: Regenerate.
2717 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
2720 * include/experimental/optional (bad_optional_access): Add default
2722 * testsuite/experimental/optional/requirements.cc: Test for default
2725 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
2727 * include/bits/stl_map.h (map::find<>, map::count<>,
2728 map::lower_bound<>, map::upper_bound<>, map::equal_range<>): New
2729 member function templates to perform heterogeneous lookup.
2730 * include/bits/stl_multimap.h (multimap::find<>, multimap::count<>,
2731 multimap::lower_bound<>, multimap::upper_bound<>,
2732 multimap::equal_range<>): Likewise.
2733 * include/bits/stl_multiset.h (multiset::find<>, multiset::count<>,
2734 multiset::lower_bound<>, multiset::upper_bound<>,
2735 multiset::equal_range<>): Likewise.
2736 * include/bits/stl_set.h (set::find<>, set::count<>,
2737 set::lower_bound<>, set::upper_bound<>, set::equal_range<>): Likewise.
2738 * include/bits/stl_tree.h (_Rb_tree::_S_lower_bound_tr,
2739 _Rb_tree::_S_upper_bound_tr, _Rb_tree::_M_find_tr,
2740 _Rb_tree::_M_count_tr, _Rb_tree::_M_lower_bound_tr,
2741 _Rb_tree::_M_upper_bound_tr, _Rb_tree::_M_equal_range_tr): Likewise.
2742 * testsuite/23_containers/map/operations/2.cc: New.
2743 * testsuite/23_containers/multimap/operations/2.cc: New.
2744 * testsuite/23_containers/multiset/operations/2.cc: New.
2745 * testsuite/23_containers/set/operations/2.cc: New.
2747 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
2749 * config/abi/pre/gnu.ver: Export new constructors.
2750 * include/bits/codecvt.h (codecvt_byname): Add string constructor.
2751 (codecvt_byname<char16_t>, codecvt_byname<char32_t>): Define explicit
2752 specializations and declare explicit instantiations.
2753 * include/bits/locale_classes.h (locale, collate_byname): Add string
2755 * include/bits/locale_facets.h (ctype_byname, numpunct_byname):
2757 * include/bits/locale_facets_nonio.h (time_get_byname,
2758 time_put_byname, moneypunct_byname, messages_byname): Likewise.
2759 * src/c++11/codecvt.cc (codecvt_byname<char16_t>,
2760 codecvt_byname<char32_t>): Define explicit instantiations.
2761 * src/c++11/locale-inst.cc (time_put_byname, codecvt_byname):
2762 Instantiate string constructors.
2763 (ctype_byname): Define string constructor.
2764 * testsuite/22_locale/codecvt_byname/1.cc: New.
2765 * testsuite/22_locale/collate_byname/1.cc: New.
2766 * testsuite/22_locale/ctype_byname/2.cc: New.
2767 * testsuite/22_locale/messages_byname/1.cc: New.
2768 * testsuite/22_locale/moneypunct_byname/1.cc: New.
2769 * testsuite/22_locale/numpunct_byname/1.cc: New.
2771 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
2774 * include/std/atomic (atomic_init): Define.
2775 * testsuite/29_atomics/atomic/64658.cc: New.
2777 2015-01-19 Tim Shen <timshen@google.com>
2780 * include/bits/regex.tcc (regex_traits<>::lookup_collatename,
2781 regex_traits<>::lookup_classname): Support forward iterators.
2782 * testsuite/28_regex/traits/char/lookup_classname.cc: New testcases.
2783 * testsuite/28_regex/traits/char/lookup_collatename.cc: New testcase.
2785 2015-01-19 Tim Shen <timshen@google.com>
2789 * include/bits/regex.h (basic_regex<>::basic_regex,
2790 basic_regex<>::assign, basic_regex<>::imbue,
2791 basic_regex<>::swap, basic_regex<>::mark_count): Drop NFA after
2792 imbuing basic_regex; Make assign() transactional against exception.
2793 * include/bits/regex_compiler.h (__compile_nfa<>): Add back
2794 __compile_nfa SFINAE.
2795 * include/std/regex: Adjust include order to avoid __compile_nfa
2796 forward declaration.
2797 * testsuite/28_regex/basic_regex/assign/char/string.cc: New testcase.
2798 * testsuite/28_regex/basic_regex/imbue/string.cc: New testcase.
2800 2015-01-19 Ville Voutilainen <ville.voutilainen@gmail.com>
2801 Jonathan Wakely <jwakely@redhat.com>
2803 * include/bits/range_access.h (begin, end): Use _GLIBCXX14_CONSTEXPR
2804 on overloads for arrays.
2805 (cbegin, cend, rbegin, rend, crbegin, crend): New.
2806 * testsuite/24_iterators/range_access_cpp14.cc: New.
2808 2015-01-18 Jonathan Wakely <jwakely@redhat.com>
2811 * include/bits/stl_algo.h (__is_permutation): Also test for reaching
2812 end of the second range.
2813 * testsuite/25_algorithms/is_permutation/64646.cc: New.
2815 2015-01-18 Jonathan Wakely <jwakely@redhat.com>
2817 * doc/xml/manual/status_cxx2011.xml: Remove note about offsetof.
2818 * doc/html/manual/status.html: Regenerate.
2820 2015-01-18 Jonathan Wakely <jwakely@redhat.com>
2822 * include/bits/atomic_futex.h: Use mutex and condition_variable when
2823 atomic int is not lock-free. Make member variables private.
2824 * src/c++11/futex.cc: Likewise.
2826 * src/c++11/futex.cc: Fix order of includes and preprocessor condition.
2828 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
2831 * include/bits/atomic_futex.h: Use appropriate config macros for
2832 availability of std::mutex, std::condition and std::chrono.
2834 2015-01-17 Ville Voutilainen <ville.voutilainen@gmail.com>
2835 Jonathan Wakely <jwakely@redhat.com>
2837 * doc/xml/manual/status_cxx2011.xml: Update C++11 status.
2838 * doc/html/*: Regenerate.
2840 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
2844 * include/bits/algorithmfwd.h (rotate): Return an iterator.
2845 * include/bits/stl_algo.h (rotate, __rotate): Likewise.
2846 * testsuite/25_algorithms/rotate/dr488.cc: New.
2847 * testsuite/25_algorithms/rotate/check_type.cc: Adjust function type.
2848 * testsuite/25_algorithms/rotate/requirements/explicit_instantiation/
2850 * testsuite/25_algorithms/rotate/requirements/explicit_instantiation/
2853 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
2856 * include/bits/atomic_base.h: Remove atomic integral typedefs as
2857 synonyms for __atomic_base<int> etc.
2858 * include/std/atomic: Make atomic_int a synonym for atomic<int> and
2859 likewise for all atomic integral types.
2860 * testsuite/29_atomics/atomic_integral/cons/copy_list.cc: New.
2861 * testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number.
2863 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
2866 * include/std/tuple (_Tuple_impl): Remove zero-element specialization
2867 and define one-element specialization.
2868 * testsuite/20_util/tuple/56785.cc: New.
2870 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
2872 * testsuite/22_locale/codecvt/codecvt_utf8/requirements/1.cc:
2873 Remove unused header.
2874 * testsuite/22_locale/codecvt/codecvt_utf16/requirements/1.cc:
2876 * testsuite/22_locale/codecvt/codecvt_utf8_utf16/requirements/1.cc:
2879 2015-01-16 Jonathan Wakely <jwakely@redhat.com>
2881 * include/bits/locale_conv.h (wstring_convert, wbuffer_convert): New.
2882 * include/std/locale: Include new header.
2883 * include/Makefile.am: Add it.
2884 * include/Makefile.in: Regenerate.
2885 * testsuite/22_locale/conversions/buffer/requirements/typedefs.cc: New.
2886 * testsuite/22_locale/conversions/string/1.cc: New.
2887 * testsuite/22_locale/conversions/string/2.cc: New.
2888 * testsuite/22_locale/conversions/string/requirements/typedefs.cc: New.
2889 * testsuite/22_locale/conversions/string/requirements/typedefs-2.cc:
2892 2015-01-16 Jonathan Wakely <jwakely@redhat.com>
2894 * config/abi/pre/gnu.ver: Export new symbols.
2895 * include/Makefile.am: Add codecvt.
2896 * include/Makefile.in: Regenerate.
2897 * include/std/codecvt: New header.
2898 * src/c++11/codecvt.cc (__codecvt_utf8_base, __codecvt_utf16_base,
2899 __codecvt_utf8_utf16_base): Define specializations.
2900 * testsuite/22_locale/codecvt/codecvt_utf8/requirements/1.cc: New.
2901 * testsuite/22_locale/codecvt/codecvt_utf16/requirements/1.cc: New.
2902 * testsuite/22_locale/codecvt/codecvt_utf8_utf16/requirements/1.cc:
2905 2015-01-16 Torvald Riegel <triegel@redhat.com>
2907 * src/c++11/futex.cc: New file.
2908 * include/bits/atomic_futex.h: New file.
2909 * include/std/future (__future_base::_State_baseV2): Use
2910 atomic_futex_unsigned instead of mutex+condvar.
2911 * src/c++11/futex.cc: Likewise.
2912 * include/Makefile.am: Add atomic_futex.h.
2913 * include/Makefile.in: Likewise.
2914 * src/c++11/Makefile.am: Add futex.cc.
2915 * src/c++11/Makefile.in: Likewise.
2917 2015-01-16 Jonathan Wakely <jwakely@redhat.com>
2919 * acinclude.m4: Fix typo in comment.
2920 * configure: Regenerate.
2921 * include/bits/codecvt.h (codecvt<char16_t, char, mbstate_t>,
2922 codecvt<char16_t, char, mbstate_t>): Declare specializations.
2923 * include/bits/locale_facets.h: Reserve space for new specializations.
2924 * src/c++11/Makefile.am: Add codecvt.cc.
2925 * src/c++11/Makefile.in: Regenerate.
2926 * src/c++11/codecvt.cc: New.
2927 * src/c++98/Makefile.am: Compile locale_init.cc and localename.cc
2929 * src/c++98/Makefile.in: Regenerate.
2930 * src/c++98/locale_init.cc: Initialize new codecvt specializations.
2931 * src/c++98/localename.cc: Likewise.
2932 * config/abi/pre/gnu.ver: Exports for new codecvt specializations.
2933 * testsuite/22_locale/codecvt/utf8.cc: New.
2934 * testsuite/22_locale/locale/cons/unicode.cc: Check that new
2935 specializations are installed in locale objects.
2937 2015-01-16 Torvald Riegel <triegel@redhat.com>
2939 * include/std/shared_mutex (shared_timed_mutex): Add POSIX-based
2942 2015-01-13 Jonathan Wakely <jwakely@redhat.com>
2945 * config/abi/pre/gnu.ver: Export fstream functions using new string.
2947 2015-01-12 Jonathan Wakely <jwakely@redhat.com>
2950 * src/c++11/cxx11-shim_facets.cc (locale::facet::_M_sso_shim): Check
2954 * src/c++11/cxx11-shim_facets.cc: Check for wchar_t support.
2956 2015-01-10 Thomas Schwinge <thomas@codesourcery.com>
2958 * doc/xml/manual/parallel_mode.xml: Update for libgomp being
2959 renamed from "GNU OpenMP Runtime Library" to "GNU Offloading and
2960 Multi Processing Runtime Library".
2962 2015-01-09 Jonathan Wakely <jwakely@redhat.com>
2965 * include/bits/stl_uninitialized.h (uninitialized_copy): Fix
2966 is_assignable arguments.
2967 * testsuite/20_util/specialized_algorithms/uninitialized_copy/64476.cc:
2970 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
2972 * libsupc++/unwind-cxx.h: Revert previous commit.
2974 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
2976 * configure.host: Add arm*-*-freebsd* port_specific_symbol_files.
2978 2015-01-09 Tim Shen <timshen@google.com>
2981 * include/bits/regex.h (match_results<>::swap): Use std::swap
2983 * include/bits/regex_compiler.tcc (_Compiler<>::_M_quantifier):
2985 * testsuite/28_regex/match_results/swap.cc: New testcase.
2987 2015-01-08 Jonathan Wakely <jwakely@redhat.com>
2990 * include/std/type_traits (has_trivial_default_constructor,
2991 has_trivial_copy_constructor, has_trivial_copy_assign): Add deprecated
2993 * testsuite/20_util/has_trivial_copy_assign/requirements/
2994 explicit_instantiation.cc: Use -Wno-deprecated.
2995 * testsuite/20_util/has_trivial_copy_assign/requirements/typedefs.cc:
2997 * testsuite/20_util/has_trivial_copy_assign/value.cc: Likewise.
2998 * testsuite/20_util/has_trivial_copy_constructor/requirements/
2999 explicit_instantiation.cc: Likewise.
3000 * testsuite/20_util/has_trivial_copy_constructor/requirements/
3001 typedefs.cc: Likewise.
3002 * testsuite/20_util/has_trivial_copy_constructor/value.cc: Likewise.
3003 * testsuite/20_util/has_trivial_default_constructor/requirements/
3004 explicit_instantiation.c: Likewise.
3005 * testsuite/20_util/has_trivial_default_constructor/requirements/
3006 typedefs.cc: Likewise.
3007 * testsuite/20_util/has_trivial_default_constructor/value.cc:
3009 * testsuite/20_util/pair/requirements/dr801.cc: Replace deprecated
3011 * testsuite/20_util/tuple/requirements/dr801.cc: Likewise.
3012 * testsuite/util/testsuite_common_types.h: Likewise.
3014 2015-01-08 Jonathan Wakely <jwakely@redhat.com>
3016 * include/bits/hashtable_policy.h: Use __bool_constant.
3018 2015-01-07 Jonathan Wakely <jwakely@redhat.com>
3020 * libsupc++/Makefile.am: Compile del_ops.cc as C++14.
3021 * libsupc++/Makefile.in: Regenerate.
3023 2015-01-06 Jonathan Wakely <jwakely@redhat.com>
3025 * config/abi/pre/gnu.ver: Fix version conflict for std::locale::name().
3027 2015-01-05 Jakub Jelinek <jakub@redhat.com>
3029 Update copyright years.
3031 2015-01-04 Jonathan Wakely <jwakely@redhat.com>
3034 * testsuite/18_support/exception_ptr/64241.cc: Use
3035 dg-require-atomic-builtins.
3037 2015-01-02 Jonathan Wakely <jwakely@redhat.com>
3039 * testsuite/21_strings/basic_string/modifiers/64422.cc: Fix copyright
3042 2015-01-02 Tim Shen <timshen@google.com>
3045 * include/bits/regex_executor.tcc (_Executor<>::_M_dfs): Copy the
3046 iterator, since the original one shouldn't be mutated.
3048 2015-01-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
3051 * src/c++98/misc-inst.cc (string::erase): Add missing overloads.
3052 (string::insert): Likewise.
3053 (string::replace): Likewise.
3054 (wstring::erase): Likewise.
3055 (wstring::insert): Likewise.
3056 (wstring::replace): Likewise.
3057 * testsuite/21_strings/basic_string/modifiers/64422.cc: New testcase.
3059 2015-01-02 Jonathan Wakely <jwakely@redhat.com>
3062 * doc/doxygen/user.cfg.in: Set correct TAB_SIZE.
3064 2015-01-02 Jonathan Wakely <jwakely@redhat.com>
3067 * testsuite/21_strings/basic_string/numeric_conversions/char/dr1261.cc:
3068 Revert removal of dg-require-string-conversions.
3069 * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
3071 * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
3073 * testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
3075 * testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
3077 * testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc:
3079 * testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc:
3081 * testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
3083 * testsuite/21_strings/basic_string/numeric_conversions/char/
3084 stoull.cc: Likewise.
3085 * testsuite/21_strings/basic_string/numeric_conversions/char/
3086 to_string.cc: Likewise.
3088 Copyright (C) 2015 Free Software Foundation, Inc.
3090 Copying and distribution of this file, with or without modification,
3091 are permitted in any medium without royalty provided the copyright
3092 notice and this notice are preserved.