PR c++/65046
[official-gcc.git] / libstdc++-v3 / ChangeLog
blob6836423e7d1be274249fc06d955dcc6c51733cbe
1 2015-03-19  Jason Merrill  <jason@redhat.com>
3         * config/locale/gnu/messages_members.cc: Revert abi-tag change.
4         * src/c++11/cxx11-shim_facets.cc: Revert abi-tag change.
6 2015-03-18  Jonathan Wakely  <jwakely@redhat.com>
8         PR c++/65046
9         * config/locale/gnu/messages_members.cc (Catalog_info, Catalogs,
10         get_catalogs): Add abi-tag.
11         * include/ext/codecvt_specializations.h (encoding_state,
12         encoding_char_traits): Likewise.
13         * src/c++11/cxx11-ios_failure.cc (io_error_category): Likewise.
14         * src/c++11/cxx11-shim_facets.cc (__any_string::operator basic_string,
15         numpunct_shim, collate_shim, time_get_shim, moneypunct_shim,
16         money_get_shim, money_put_shim, messages_shim): Likewise.
17         * src/c++11/future.cc (future_error_category::message): Likewise.
18         * src/c++11/system_error.cc (generic_error_category::message,
19         system_error_category::message): Likewise.
20         (__sso_string): Disable -Wabi-tag warnings.
22 2015-03-18  Jonathan Wakely  <jwakely@redhat.com>
24         PR libstdc++/13631
25         * config/locale/gnu/messages_members.cc (get_glibc_msg): Fix fallback
26         implementation for old glibc. Fix whitespace.
28 2015-03-18  Jonathan Wakely  <jwakely@redhat.com>
29             Torvald Riegel  <triegel@redhat.com>
31         * acinclude.m4 (GLIBCXX_CHECK_GTHREADS): Check for pthread_rwlock_t.
32         * config.h.in: Regenerate.
33         * configure: Regenerate.
34         * include/std/shared_mutex: Check _GLIBCXX_USE_PTHREAD_RWLOCK_T.
35         (shared_timed_mutex::_M_rwlock): Use PTHREAD_RWLOCK_INITIALIZER.
36         (shared_timed_mutex::lock_shared()): Retry on EAGAIN.
37         (shared_timed_mutex::try_lock_shared_until()): Retry on EAGAIN and
38         EDEADLK.
40 2015-03-17  Jonathan Wakely  <jwakely@redhat.com>
42         * libsupc++/nested_exception.h: Do not try to derive from final
43         classes.
44         * testsuite/18_support/nested_exception/throw_with_nested.cc: Test
45         final class.
47         * testsuite/30_threads/shared_lock/modifiers/1.cc: Remove name of
48         unused exception variable.
49         * testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise.
50         * testsuite/30_threads/shared_lock/modifiers/2.cc: Remove duplicate
51         test.
52         * testsuite/30_threads/unique_lock/modifiers/2.cc: Likewise.
54 2015-03-13  Jonathan Wakely  <jwakely@redhat.com>
56         * acinclude.m4: Make --enable-libstdcxx-time=auto work for dragonfly.
57         * configure: Regenerate.
59         * include/experimental/system_error: Fix include guard.
61 2015-03-12  Renlin Li  <renlin.li@arm.com>
63         * testsuite/27_io/ios_base/sync_with_stdio/1.cc: Remove xfail for
64         wrapped target.
66 2015-03-10  Tim Shen  <timshen@google.com>
68         PR libstdc++/64441
69         * include/bits/regex.h (match_results<>::size,
70         match_results<>::position, match_results<>::str,
71         match_results<>::operator[], match_results<>::prefix,
72         match_results<>::suffix, match_results<>::end,
73         match_results<>::_M_resize, match_results<>::_M_unmatched_sub,
74         match_results<>::_M_prefix, match_results<>::_M_suffix): Remove
75         global __unmatched_sub. Add unmatched submatch as part of
76         match_results.
77         * include/bits/regex.tcc (__regex_algo_impl<>, regex_replace<>,
78         regex_iterator<>::operator++): Adjust to use match_results::_M_prefix.
79         * testsuite/28_regex/match_results/out_of_range_submatches.cc:
80         New testcases.
82 2015-03-09  Jonathan Wakely  <jwakely@redhat.com>
84         PR libstdc++/64467
85         * testsuite/28_regex/traits/char/isctype.cc: Don't test newline
86         for newlib targets. Really fix mixed line-endings this time.
88 2015-03-06  Jonathan Wakely  <jwakely@redhat.com>
90         * include/std/future (future_error(error_code)): Construct base
91         class with error_code's message.
92         * src/c++11/future.cc (future_error::what()): Do not call c_str() on
93         temporary string.
95 2015-03-05  Jonathan Wakely  <jwakely@redhat.com>
97         * include/bits/locale_conv.h (wstring_convert::_M_conv): Handle
98         noconv result.
99         * testsuite/22_locale/conversions/string/2.cc: Also test UTF-8.
100         * testsuite/22_locale/conversions/string/3.cc: Likewise, and UTF-16.
102 2015-03-04  Jonathan Wakely  <jwakely@redhat.com>
104         PR libstdc++/64797
105         * include/bits/locale_conv.h (wstring_convert::_M_conv): Handle
106         incomplete multibyte sequences correctly.
107         * include/std/codecvt (codecvt_utf8, codecvt_utf16,
108         codecvt_utf8_utf16): Limit _Maxcode to maximum Unicode code point.
109         * src/c++11/codecvt.cc (invalid_mb_sequence, incomplete_mb_character):
110         Define constants.
111         (is_high_surrogate, is_low_surrogate, surrogate_pair_to_code_point):
112         Define convenience functions.
113         (read_utf8_code_point): Return relevant constant to distinguish
114         incomplete characters from invalid sequences.
115         (read_utf16_code_point): Likewise. Check for invalid sequences.
116         (ucs4_in, utf16_in): Use incomplete_mb_character constant.
117         (utf16_out): Check for invalid sequences.
118         (utf16_span): Fix condition.
119         (ucs2_out): Use is_high_surrogate.
120         (ucs2_in): Use incomplete_mb_character constant and fix condition.
121         * testsuite/22_locale/codecvt/char16_t.cc: Fix whitespace.
122         * testsuite/22_locale/conversions/buffer/1.cc: New.
123         * testsuite/22_locale/conversions/string/2.cc: Use char16_t and
124         char32_t instead of wchar_t.
125         * testsuite/22_locale/conversions/string/3.cc: New.
127 2015-03-03  Iain Sandoe  <iain@codesourcery.com>
129         PR libstdc++/64883
130         * testsuite/17_intro/headers/c++1998/all_attributes.cc: Don't check
131         visibility for Darwin.
132         * testsuite/17_intro/headers/c++200x/all_attributes.cc: Likewise, and
133         also deprecated.
134         * testsuite/17_intro/headers/c++2014/all_attributes.cc: Likewise.
136 2015-03-02  Jonathan Wakely  <jwakely@redhat.com>
138         PR libstdc++/65279
139         * include/std/scoped_allocator (__inner_type_impl,
140         scoped_allocator_adaptor): Add defaulted copy assignment and move
141         assignment operators.
142         * testsuite/20_util/scoped_allocator/65279.cc: New.
144 2015-03-02  Jonathan Wakely  <jwakely@redhat.com>
146         PR libstdc++/64367
147         * include/std/stdexcept (__sso_string): Don't use non-static member
148         in sizeof.
150 2015-02-28  Matthias Klose  <doko@ubuntu.com>
152         PR libstdc++/65246
153         * python/libstdcxx/v6/__init__.py: Use explicit relative imports.
155 2015-02-22  Jonathan Wakely  <jwakely@redhat.com>
157         * doc/xml/manual/status_cxx2011.xml: Remove duplicated information.
158         * doc/html/manual/status.html: Regenerate.
160 2015-02-20  Jonathan Wakely  <jwakely@redhat.com>
162         PR libstdc++/64695
163         * python/libstdcxx/v6/printers.py (StdTuplePrinter): Handle new
164         tuple layout.
166         * doc/xml/manual/status_cxx2011.xml: Document implementation-defined
167         behavior.
168         * doc/html/manual/status.html: Regenerate.
170 2015-02-19  Jonathan Wakely  <jwakely@redhat.com>
172         PR libstdc++/58357
173         * include/bits/algorithmfwd.h (rotate): Move to inline namespace _V2.
174         * include/bits/stl_algo.h (__rotate, rotate): Likewise.
176 2015-02-19  Hans-Peter Nilsson  <hp@axis.com>
178         PR testsuite/65093
179         * testsuite/26_numerics/random/binomial_distribution/operators/values.cc
180         (test01): Add explanatory comment.  Keep only the bd1 sub-test and
181         split out bd2, bd3, bd4, and bd5 sub-tests into...
182         * testsuite/26_numerics/random/binomial_distribution/operators/values2.cc,
183         testsuite/26_numerics/random/binomial_distribution/operators/values3.cc,
184         testsuite/26_numerics/random/binomial_distribution/operators/values4.cc,
185         testsuite/26_numerics/random/binomial_distribution/operators/values5.cc:
186         New separate files with the old parts.
188 2015-02-18  Jonathan Wakely  <jwakely@redhat.com>
190         * src/c++11/codecvt.cc (write_utf16_code_point): Fix code to output
191         surrogate pairs.
192         (utf16_in): Pass mode argument to write_utf16_code_point.
193         (codecvt<char16_t, char, mbstate_t>::do_in): Set mode according to
194         native byte order.
195         * testsuite/22_locale/codecvt/char16_t.cc: New.
196         * testsuite/22_locale/codecvt/in/wchar_t/1.cc: Fix typo.
198         * testsuite/22_locale/codecvt/char16_t.cc: Add dg-require-cstdint.
199         * testsuite/22_locale/codecvt/char32_t.cc: Likewise.
201 2015-02-17  RĂ¼diger Sonderfeld  <ruediger@c-plusplus.de>
202             Jonathan Wakely  <jwakely@redhat.com>
204         * testsuite/22_locale/codecvt/char32_t.cc: New.
206 2015-02-17  Jonathan Wakely  <jwakely@redhat.com>
208         PR libstdc++/65085
209         * include/bits/basic_string.h (basic_string(basic_string&&)): Ensure
210         empty string gets null-terminated.
211         * testsuite/21_strings/basic_string/cons/char/65085.cc: New.
213 2015-02-13  Matthew Wahab  <matthew.wahab@arm.com>
215         * testsuite/28_regex/traits/char/isctype.cc (test01): Fix
216         mixed line-endings introduced in last change.
218 2015-02-12  Matthew Wahab  <matthew.wahab@arm.com>
220         * testsuite/28_regex/traits/char/isctype.cc (test01): Replace test
221         for __NEWLIB__ macro with a dejagnu set macro.
222         * testsuite/28_regex/traits/wchar_t/isctype.cc (test01): Likewise.
224 2015-02-04  Matthew Wahab  <matthew.wahab@arm.com>
226         PR libstdc++/64467
227         * testsuite/28_regex/traits/char/isctype.cc (test01):   Add newlib
228         special case for '\n'.
229         * testsuite/28_regex/traits/wchar_t/isctype.cc (test01): Likewise.
231 2015-02-01  Jonathan Wakely  <jwakely@redhat.com>
233         * src/c++11/futex.cc: Do not define for gthr-single.h targets.
235 2015-02-01  Jonathan Wakely  <jwakely@redhat.com>
237         PR libstdc++/64883
238         * include/c_global/cstdio (gets): Use __deprecated__ attribute instead
239         of deprecated.
240         * include/c_std/cstdio (gets): Likewise.
241         * testsuite/17_intro/headers/c++1998/all_attributes.cc: Avoid clashing
242         with attributes used in darwin headers.
244 2015-01-29  Jakub Jelinek  <jakub@redhat.com>
246         * acinclude.m4 (VTV_CYGMIN): Use x$vtv_cygmin = xyes instead of
247         $vtv_cygmin = yes.  Initialize vtv_cygmin=no unconditionally first.
248         * configure: Regenerated.
250 2015-01-29  H.J. Lu  <hongjiu.lu@intel.com>
252         * acinclude.m4 (GLIBCXX_ENABLE_VTABLE_VERIFY): Define VTV_CYGMIN
253         after vtv_cygmin is set.
254         * configure: Regenerated.
256 2015-01-29  Matthias Klose  <doko@ubuntu.com>
258         * acinclude.m4 (GLIBCXX_ENABLE_VTABLE_VERIFY): Define VTV_CYGMIN
259         unconditionally.
260         * configure: Regenerate.
262 2015-01-29  Caroline Tice  <cmtice@google.com>
264         Committing VTV Cywin/Ming patch for Patrick Wollgast
265         * configure: Regenerate.
266         * libsupc++/Makefile.in: Regenerate.
267         * src/Makefile.in: Regenerate.
269 2015-01-29  Jonathan Wakely  <jwakely@redhat.com>
271         * include/bits/atomic_base.h: Use __always_inline__ instead of
272         always_inline.
273         * include/bits/atomic_futex.h: Likewise.
274         * include/bits/c++config: Use __abi_tag__ instead of abi_tag.
275         * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Use
276         __packed__ instead of packed.
277         * include/std/shared_mutex: Use __unused__ instead of unused.
278         * testsuite/17_intro/headers/c++1998/all_attributes.cc: New.
279         * testsuite/17_intro/headers/c++200x/all_attributes.cc: New.
280         * testsuite/17_intro/headers/c++2014/all_attributes.cc: New.
282 2015-01-28  Caroline Tice  <cmtice@google.com>
284         Committing VTV Cywin/Ming patch for Patrick Wollgast
285         * acinclude.m4: Define VTV_CYGMIN.
286         * libsupc++/Makefile.am: Add vtv_sources only to libsupc___la_SOURCES
287         and libsupc__convenience_la_SOURCES if VTV_CYGMIN is not set.
288         * libsupc++/vtv_stubs.cc: Add none weak declaration of every function
289         for Cygwin and MinGW.
290         * src/Makefile.am: Add libvtv.la to toolexeclib_LTLIBRARIES, if
291         VTV_CYGMIN is set. Define libvtv_la_SOURCES, libvtv_la_LDFLAGS,
292         libvtv_la_AM_CXXFLAGS and libvtv_la_LINK if VTV_CYGMIN is set.
294 2015-01-28  Jonathan Wakely  <jwakely@redhat.com>
296         PR libstdc++/64828
297         * libsupc++/Makefile.am: Compile del_opvs.cc as C++14.
298         * libsupc++/Makefile.in: Regenerate.
299         * src/c++11/Makefile.in: Regenerate.
301 2015-01-28  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
303         * testsuite/lib/libstdc++.exp (v3_target_compile): Remove
304         check for unsupported.
305         (v3_target_compile_as_c): Likewise.
307 2015-01-28  Richard Biener  <rguenther@suse.de>
309         PR libstdc++/64798
310         * libsupc++/eh_alloc.cc (struct allocated_entry): Align
311         data member.
312         (pool::allocate): Adjust allocation size and alignment to
313         that change.
314         (pool::free): Adjust pointer offsetting.
316 2015-01-27  Jonathan Wakely  <jwakely@redhat.com>
318         PR libstdc++/64368
319         * include/std/shared_mutex (shared_timed_mutex::try_lock_for,
320         shared_timed_mutex::try_lock_until): Only define when POSIX thread
321         timeouts option is supported.
322         (shared_timed_mutex::try_shared_lock_for,
323         shared_timed_mutex::try_shared_lock_until): Likewise.
325 2015-01-26  Jonathan Wakely  <jwakely@redhat.com>
327         PR libstdc++/64368
328         * config/locale/gnu/numeric_members.cc (numpunct<char>::~numpunct(),
329         numpunct<wchar_t>::~numpunct()): Do not set _M_data->_M_grouping.
330         * src/c++11/cxx11-shim_facets.cc (numpunct_shim): Remove _M_grouping
331         and use cache's _M_grouping field.
332         (__numpunct_fill_cache): Likewise.
333         (__moneypunct_fill_cache): Improve comments.
335 2015-01-26  Jonathan Wakely  <jwakely@redhat.com>
337         * testsuite/23_containers/set/operations/2.cc: Add test for
338         non-transparent comparison function.
340 2015-01-25  Oleg Endo  <olegendo@gcc.gnu.org>
342         PR target/29366
343         * config/cpu/sh/atomicity.h (__exchange_and_add, __atomic_add): 
344         Remove SH4A inline asm and lock based implementations and use the
345         defaults from ext/atomicity.h.
347 2015-01-23  Jonathan Wakely  <jwakely@redhat.com>
349         * config/abi/pre/gnu.ver: Tighten GLIBCXX_3.4 patterns to not match
350         new std::string constructors for byname facets.
352 2015-01-22  Richard Biener  <rguenther@suse.de>
354         PR libstdc++/64535
355         * libsupc++/eh_alloc.cc: Include new.
356         (bitmask_type): Remove.
357         (one_buffer): Likewise.
358         (emergency_buffer): Likewise.
359         (emergency_used): Likewise.
360         (dependents_buffer): Likewise.
361         (dependents_used): Likewise.
362         (class pool): New custom fixed-size arena, variable size object
363         allocator.
364         (emergency_pool): New global.
365         (__cxxabiv1::__cxa_allocate_exception): Use new emergency_pool.
366         (__cxxabiv1::__cxa_free_exception): Likewise.
367         (__cxxabiv1::__cxa_allocate_dependent_exception): Likewise.
368         (__cxxabiv1::__cxa_free_dependent_exception): Likewise.
370 2015-01-22  Tim Shen  <timshen@google.com>
372         PR libstdc++/64680
373         * include/bits/regex.h (basic_regex<>::basic_regex,
374         basic_regex<>::operator=, basic_regex<>::imbue): Conform to the
375         standard interface.
376         * testsuite/28_regex/basic_regex/assign/char/cstring.cc: New testcase.
378 2015-01-22  Tim Shen  <timshen@google.com>
380         PR libstdc++/64649
381         * include/bits/regex.tcc (regex_traits<>::lookup_collatename,
382         regex_traits<>::lookup_classname): Correctly narrow input chars.
383         * testsuite/28_regex/traits/wchar_t/user_defined.cc: New testcase.
385 2015-01-21  Jonathan Wakely  <jwakely@redhat.com>
387         * config/abi/pre/gnu.ver: Use [jmy] for size_t parameters.
389 2015-01-21  Jonathan Wakely  <jwakely@redhat.com>
391         * testsuite/29_atomics/atomic/64658.cc: Test stored value.
393 2015-01-20  Jonathan Wakely  <jwakely@redhat.com>
395         * doc/xml/manual/status_cxx2011.xml: Remove stray dbhtml tags.
396         * doc/xml/manual/status_cxx2014.xml: Update status.
397         * doc/html/manual/status.html: Regenerate.
399 2015-01-20  Jonathan Wakely  <jwakely@redhat.com>
401         PR libstdc++/64650
402         * include/experimental/optional (bad_optional_access): Add default
403         constructor.
404         * testsuite/experimental/optional/requirements.cc: Test for default
405         constructor.
407 2015-01-20  Jonathan Wakely  <jwakely@redhat.com>
409         * include/bits/stl_map.h (map::find<>, map::count<>,
410         map::lower_bound<>, map::upper_bound<>, map::equal_range<>): New
411         member function templates to perform heterogeneous lookup.
412         * include/bits/stl_multimap.h (multimap::find<>, multimap::count<>,
413         multimap::lower_bound<>, multimap::upper_bound<>,
414         multimap::equal_range<>): Likewise.
415         * include/bits/stl_multiset.h (multiset::find<>, multiset::count<>,
416         multiset::lower_bound<>, multiset::upper_bound<>,
417         multiset::equal_range<>): Likewise.
418         * include/bits/stl_set.h (set::find<>, set::count<>,
419         set::lower_bound<>, set::upper_bound<>, set::equal_range<>): Likewise.
420         * include/bits/stl_tree.h (_Rb_tree::_S_lower_bound_tr,
421         _Rb_tree::_S_upper_bound_tr, _Rb_tree::_M_find_tr,
422         _Rb_tree::_M_count_tr, _Rb_tree::_M_lower_bound_tr,
423         _Rb_tree::_M_upper_bound_tr, _Rb_tree::_M_equal_range_tr): Likewise.
424         * testsuite/23_containers/map/operations/2.cc: New.
425         * testsuite/23_containers/multimap/operations/2.cc: New.
426         * testsuite/23_containers/multiset/operations/2.cc: New.
427         * testsuite/23_containers/set/operations/2.cc: New.
429 2015-01-20  Jonathan Wakely  <jwakely@redhat.com>
431         * config/abi/pre/gnu.ver: Export new constructors.
432         * include/bits/codecvt.h (codecvt_byname): Add string constructor.
433         (codecvt_byname<char16_t>, codecvt_byname<char32_t>): Define explicit
434         specializations and declare explicit instantiations.
435         * include/bits/locale_classes.h (locale, collate_byname): Add string
436         constructors.
437         * include/bits/locale_facets.h (ctype_byname, numpunct_byname):
438         Likewise.
439         * include/bits/locale_facets_nonio.h (time_get_byname,
440         time_put_byname, moneypunct_byname, messages_byname): Likewise.
441         * src/c++11/codecvt.cc (codecvt_byname<char16_t>,
442         codecvt_byname<char32_t>): Define explicit instantiations.
443         * src/c++11/locale-inst.cc (time_put_byname, codecvt_byname):
444         Instantiate string constructors.
445         (ctype_byname): Define string constructor.
446         * testsuite/22_locale/codecvt_byname/1.cc: New.
447         * testsuite/22_locale/collate_byname/1.cc: New.
448         * testsuite/22_locale/ctype_byname/2.cc: New.
449         * testsuite/22_locale/messages_byname/1.cc: New.
450         * testsuite/22_locale/moneypunct_byname/1.cc: New.
451         * testsuite/22_locale/numpunct_byname/1.cc: New.
453 2015-01-20  Jonathan Wakely  <jwakely@redhat.com>
455         PR libstdc++/64658
456         * include/std/atomic (atomic_init): Define.
457         * testsuite/29_atomics/atomic/64658.cc: New.
459 2015-01-19  Tim Shen  <timshen@google.com>
461         PR libstdc++/64649
462         * include/bits/regex.tcc (regex_traits<>::lookup_collatename,
463         regex_traits<>::lookup_classname): Support forward iterators.
464         * testsuite/28_regex/traits/char/lookup_classname.cc: New testcases.
465         * testsuite/28_regex/traits/char/lookup_collatename.cc: New testcase.
467 2015-01-19  Tim Shen  <timshen@google.com>
469         PR libstdc++/64584
470         PR libstdc++/64585
471         * include/bits/regex.h (basic_regex<>::basic_regex,
472         basic_regex<>::assign, basic_regex<>::imbue,
473         basic_regex<>::swap, basic_regex<>::mark_count): Drop NFA after
474         imbuing basic_regex; Make assign() transactional against exception.
475         * include/bits/regex_compiler.h (__compile_nfa<>): Add back
476         __compile_nfa SFINAE.
477         * include/std/regex: Adjust include order to avoid __compile_nfa
478         forward declaration.
479         * testsuite/28_regex/basic_regex/assign/char/string.cc: New testcase.
480         * testsuite/28_regex/basic_regex/imbue/string.cc: New testcase.
482 2015-01-19  Ville Voutilainen  <ville.voutilainen@gmail.com>
483             Jonathan Wakely  <jwakely@redhat.com>
485         * include/bits/range_access.h (begin, end): Use _GLIBCXX14_CONSTEXPR
486         on overloads for arrays.
487         (cbegin, cend, rbegin, rend, crbegin, crend): New.
488         * testsuite/24_iterators/range_access_cpp14.cc: New.
490 2015-01-18  Jonathan Wakely  <jwakely@redhat.com>
492         PR libstdc++/64646
493         * include/bits/stl_algo.h (__is_permutation): Also test for reaching
494         end of the second range.
495         * testsuite/25_algorithms/is_permutation/64646.cc: New.
497 2015-01-18  Jonathan Wakely  <jwakely@redhat.com>
499         * doc/xml/manual/status_cxx2011.xml: Remove note about offsetof.
500         * doc/html/manual/status.html: Regenerate.
502 2015-01-18  Jonathan Wakely  <jwakely@redhat.com>
504         * include/bits/atomic_futex.h: Use mutex and condition_variable when
505         atomic int is not lock-free. Make member variables private.
506         * src/c++11/futex.cc: Likewise.
508         * src/c++11/futex.cc: Fix order of includes and preprocessor condition.
510 2015-01-17  Jonathan Wakely  <jwakely@redhat.com>
512         PR libstdc++/64638
513         * include/bits/atomic_futex.h: Use appropriate config macros for
514         availability of std::mutex, std::condition and std::chrono.
516 2015-01-17  Ville Voutilainen  <ville.voutilainen@gmail.com>
517             Jonathan Wakely  <jwakely@redhat.com>
519         * doc/xml/manual/status_cxx2011.xml: Update C++11 status.
520         * doc/html/*: Regenerate.
522 2015-01-17  Jonathan Wakely  <jwakely@redhat.com>
524         DR 488
525         PR libstdc++/58357
526         * include/bits/algorithmfwd.h (rotate): Return an iterator.
527         * include/bits/stl_algo.h (rotate, __rotate): Likewise.
528         * testsuite/25_algorithms/rotate/dr488.cc: New.
529         * testsuite/25_algorithms/rotate/check_type.cc: Adjust function type.
530         * testsuite/25_algorithms/rotate/requirements/explicit_instantiation/
531         2.cc: Likewise.
532         * testsuite/25_algorithms/rotate/requirements/explicit_instantiation/
533         pod.cc: Likewise.
535 2015-01-17  Jonathan Wakely  <jwakely@redhat.com>
537         PR libstdc++/60940
538         * include/bits/atomic_base.h: Remove atomic integral typedefs as
539         synonyms for __atomic_base<int> etc.
540         * include/std/atomic: Make atomic_int a synonym for atomic<int> and
541         likewise for all atomic integral types.
542         * testsuite/29_atomics/atomic_integral/cons/copy_list.cc: New.
543         * testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number.
545 2015-01-17  Jonathan Wakely  <jwakely@redhat.com>
547         PR libstdc++/56785
548         * include/std/tuple (_Tuple_impl): Remove zero-element specialization
549         and define one-element specialization.
550         * testsuite/20_util/tuple/56785.cc: New.
552 2015-01-17  Jonathan Wakely  <jwakely@redhat.com>
554         * testsuite/22_locale/codecvt/codecvt_utf8/requirements/1.cc:
555         Remove unused header.
556         * testsuite/22_locale/codecvt/codecvt_utf16/requirements/1.cc:
557         Likewise.
558         * testsuite/22_locale/codecvt/codecvt_utf8_utf16/requirements/1.cc:
559         Likewise.
561 2015-01-16  Jonathan Wakely  <jwakely@redhat.com>
563         * include/bits/locale_conv.h (wstring_convert, wbuffer_convert): New.
564         * include/std/locale: Include new header.
565         * include/Makefile.am: Add it.
566         * include/Makefile.in: Regenerate.
567         * testsuite/22_locale/conversions/buffer/requirements/typedefs.cc: New.
568         * testsuite/22_locale/conversions/string/1.cc: New.
569         * testsuite/22_locale/conversions/string/2.cc: New.
570         * testsuite/22_locale/conversions/string/requirements/typedefs.cc: New.
571         * testsuite/22_locale/conversions/string/requirements/typedefs-2.cc:
572         New.
574 2015-01-16  Jonathan Wakely  <jwakely@redhat.com>
576         * config/abi/pre/gnu.ver: Export new symbols.
577         * include/Makefile.am: Add codecvt.
578         * include/Makefile.in: Regenerate.
579         * include/std/codecvt: New header.
580         * src/c++11/codecvt.cc (__codecvt_utf8_base, __codecvt_utf16_base,
581         __codecvt_utf8_utf16_base): Define specializations.
582         * testsuite/22_locale/codecvt/codecvt_utf8/requirements/1.cc: New.
583         * testsuite/22_locale/codecvt/codecvt_utf16/requirements/1.cc: New.
584         * testsuite/22_locale/codecvt/codecvt_utf8_utf16/requirements/1.cc:
585         New.
587 2015-01-16  Torvald Riegel  <triegel@redhat.com>
589         * src/c++11/futex.cc: New file.
590         * include/bits/atomic_futex.h: New file.
591         * include/std/future (__future_base::_State_baseV2): Use
592         atomic_futex_unsigned instead of mutex+condvar.
593         * src/c++11/futex.cc: Likewise.
594         * include/Makefile.am: Add atomic_futex.h.
595         * include/Makefile.in: Likewise.
596         * src/c++11/Makefile.am: Add futex.cc.
597         * src/c++11/Makefile.in: Likewise.
599 2015-01-16  Jonathan Wakely  <jwakely@redhat.com>
601         * acinclude.m4: Fix typo in comment.
602         * configure: Regenerate.
603         * include/bits/codecvt.h (codecvt<char16_t, char, mbstate_t>,
604         codecvt<char16_t, char, mbstate_t>): Declare specializations.
605         * include/bits/locale_facets.h: Reserve space for new specializations.
606         * src/c++11/Makefile.am: Add codecvt.cc.
607         * src/c++11/Makefile.in: Regenerate.
608         * src/c++11/codecvt.cc: New.
609         * src/c++98/Makefile.am: Compile locale_init.cc and localename.cc
610         with -std=gnu++11.
611         * src/c++98/Makefile.in: Regenerate.
612         * src/c++98/locale_init.cc: Initialize new codecvt specializations.
613         * src/c++98/localename.cc: Likewise.
614         * config/abi/pre/gnu.ver: Exports for new codecvt specializations.
615         * testsuite/22_locale/codecvt/utf8.cc: New.
616         * testsuite/22_locale/locale/cons/unicode.cc: Check that new
617         specializations are installed in locale objects.
619 2015-01-16  Torvald Riegel  <triegel@redhat.com>
621         * include/std/shared_mutex (shared_timed_mutex): Add POSIX-based
622         implementation.
624 2015-01-13  Jonathan Wakely  <jwakely@redhat.com>
626         PR libstdc++/64571
627         * config/abi/pre/gnu.ver: Export fstream functions using new string.
629 2015-01-12  Jonathan Wakely  <jwakely@redhat.com>
631         PR libstdc++/64560
632         * src/c++11/cxx11-shim_facets.cc (locale::facet::_M_sso_shim): Check
633         for RTTI support.
635         PR libstdc++/64553
636         * src/c++11/cxx11-shim_facets.cc: Check for wchar_t support.
638 2015-01-10  Thomas Schwinge  <thomas@codesourcery.com>
640         * doc/xml/manual/parallel_mode.xml: Update for libgomp being
641         renamed from "GNU OpenMP Runtime Library" to "GNU Offloading and
642         Multi Processing Runtime Library".
644 2015-01-09  Jonathan Wakely  <jwakely@redhat.com>
646         PR libstdc++/64476
647         * include/bits/stl_uninitialized.h (uninitialized_copy): Fix
648         is_assignable arguments.
649         * testsuite/20_util/specialized_algorithms/uninitialized_copy/64476.cc:
650         New.
652 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
654         * libsupc++/unwind-cxx.h: Revert previous commit.
656 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
658         * configure.host: Add arm*-*-freebsd* port_specific_symbol_files.
660 2015-01-09  Tim Shen  <timshen@google.com>
662         PR libstdc++/64239
663         * include/bits/regex.h (match_results<>::swap): Use std::swap
664         instead of swap.
665         * include/bits/regex_compiler.tcc (_Compiler<>::_M_quantifier):
666         Likewise.
667         * testsuite/28_regex/match_results/swap.cc: New testcase.
669 2015-01-08  Jonathan Wakely  <jwakely@redhat.com>
671         PR libstdc++/60132
672         * include/std/type_traits (has_trivial_default_constructor,
673         has_trivial_copy_constructor, has_trivial_copy_assign): Add deprecated
674         attribute.
675         * testsuite/20_util/has_trivial_copy_assign/requirements/
676         explicit_instantiation.cc: Use -Wno-deprecated.
677         * testsuite/20_util/has_trivial_copy_assign/requirements/typedefs.cc:
678         Likewise.
679         * testsuite/20_util/has_trivial_copy_assign/value.cc: Likewise.
680         * testsuite/20_util/has_trivial_copy_constructor/requirements/
681         explicit_instantiation.cc: Likewise.
682         * testsuite/20_util/has_trivial_copy_constructor/requirements/
683         typedefs.cc: Likewise.
684         * testsuite/20_util/has_trivial_copy_constructor/value.cc: Likewise.
685         * testsuite/20_util/has_trivial_default_constructor/requirements/
686         explicit_instantiation.c: Likewise.
687         * testsuite/20_util/has_trivial_default_constructor/requirements/
688         typedefs.cc: Likewise.
689         * testsuite/20_util/has_trivial_default_constructor/value.cc:
690         Likewise.
691         * testsuite/20_util/pair/requirements/dr801.cc: Replace deprecated
692         trait.
693         * testsuite/20_util/tuple/requirements/dr801.cc: Likewise.
694         * testsuite/util/testsuite_common_types.h: Likewise.
696 2015-01-08  Jonathan Wakely  <jwakely@redhat.com>
698         * include/bits/hashtable_policy.h: Use __bool_constant.
700 2015-01-07  Jonathan Wakely  <jwakely@redhat.com>
702         * libsupc++/Makefile.am: Compile del_ops.cc as C++14.
703         * libsupc++/Makefile.in: Regenerate.
705 2015-01-06  Jonathan Wakely  <jwakely@redhat.com>
707         * config/abi/pre/gnu.ver: Fix version conflict for std::locale::name().
709 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
711         Update copyright years.
713 2015-01-04  Jonathan Wakely  <jwakely@redhat.com>
715         PR libstdc++/64483
716         * testsuite/18_support/exception_ptr/64241.cc: Use
717         dg-require-atomic-builtins.
719 2015-01-02  Jonathan Wakely  <jwakely@redhat.com>
721         * testsuite/21_strings/basic_string/modifiers/64422.cc: Fix copyright
722         date.
724 2015-01-02  Tim Shen  <timshen@google.com>
726         PR libstdc++/64475
727         * include/bits/regex_executor.tcc (_Executor<>::_M_dfs): Copy the
728         iterator, since the original one shouldn't be mutated.
730 2015-01-02  Bernd Edlinger  <bernd.edlinger@hotmail.de>
732         PR libstdc++/64422
733         * src/c++98/misc-inst.cc (string::erase): Add missing overloads.
734         (string::insert): Likewise.
735         (string::replace): Likewise.
736         (wstring::erase): Likewise.
737         (wstring::insert): Likewise.
738         (wstring::replace): Likewise.
739         * testsuite/21_strings/basic_string/modifiers/64422.cc: New testcase.
741 2015-01-02  Jonathan Wakely  <jwakely@redhat.com>
743         PR libstdc++/64468
744         * doc/doxygen/user.cfg.in: Set correct TAB_SIZE.
746 2015-01-02  Jonathan Wakely  <jwakely@redhat.com>
748         PR libstdc++/64438
749         * testsuite/21_strings/basic_string/numeric_conversions/char/dr1261.cc:
750         Revert removal of dg-require-string-conversions.
751         * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
752         Likewise.
753         * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
754         Likewise.
755         * testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
756         Likewise.
757         * testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
758         Likewise.
759         * testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc:
760         Likewise.
761         * testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc:
762         Likewise.
763         * testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
764         Likewise.
765         * testsuite/21_strings/basic_string/numeric_conversions/char/
766         stoull.cc: Likewise.
767         * testsuite/21_strings/basic_string/numeric_conversions/char/
768         to_string.cc: Likewise.
770 Copyright (C) 2015 Free Software Foundation, Inc.
772 Copying and distribution of this file, with or without modification,
773 are permitted in any medium without royalty provided the copyright
774 notice and this notice are preserved.