1 2015-03-26 Jonathan Wakely <jwakely@redhat.com>
5 * include/std/atomic (atomic<T>): Increase alignment for types with
6 the same size as one of the integral types.
7 * testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number.
8 * testsuite/29_atomics/atomic/62259.cc: New.
10 2015-03-26 Richard Henderson <rth@redhat.com>
13 * include/bits/atomic_base.h (__atomic_base<T>::is_lock_free): Build
14 a fake pointer indicating type alignment.
15 (__atomic_base<T *>::is_lock_free): Likewise.
16 * include/std/atomic (atomic<T>::is_lock_free): Likewise.
18 2015-03-25 Alan Lawrence <alan.lawrence@arm.com>
21 * testsuite/21_strings/basic_string/pthread33394.cc: Use
22 dg-additional-options.
24 2015-03-25 Paolo Carlini <paolo.carlini@oracle.com>
27 * include/std/istream (operator>>(basic_istream<>&&, _Tp&): Revert
29 * include/std/ostream (operator<<(basic_ostream<>&&, const _Tp&):
31 * testsuite/27_io/rvalue_streams-2.cc: New.
33 2015-03-24 Jonathan Wakely <jwakely@redhat.com>
36 * testsuite/21_strings/basic_string/pthread33394.cc: Add test.
38 2015-03-23 Jonathan Wakely <jwakely@redhat.com>
41 * acinclude.m4: Disable dual ABI when gnu-versioned-namespace in use.
42 * configure: Regenerate.
43 * src/c++11/compatibility-c++0x.cc (error_category), generic_category,
44 system_category): Use macros for versioned namespace.
45 * src/c++11/futex.cc: Add missing end macro for versioned namespace.
47 2015-03-20 James Greenhalgh <james.greenhalgh@arm.com>
49 * testsuite/17_intro/headers/c++1998/all_attributes.cc: Disable
50 test for unused for ARM.
51 * testsuite/17_intro/headers/c++200x/all_attributes.cc: Likewise.
52 * testsuite/17_intro/headers/c++2014/all_attributes.cc: Likewise.
54 2015-03-20 Jonathan Wakely <jwakely@redhat.com>
56 * include/bits/c++config (__gnu_cxx::__cxx11): Define new namespace.
57 * include/ext/codecvt_specializations.h (encoding_state,
58 encoding_char_traits): Remove abi-tag and use inline namespace.
59 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error line.
61 2015-03-19 Jason Merrill <jason@redhat.com>
63 * config/locale/gnu/messages_members.cc: Revert abi-tag change.
64 * src/c++11/cxx11-shim_facets.cc: Revert abi-tag change.
66 2015-03-18 Jonathan Wakely <jwakely@redhat.com>
69 * config/locale/gnu/messages_members.cc (Catalog_info, Catalogs,
70 get_catalogs): Add abi-tag.
71 * include/ext/codecvt_specializations.h (encoding_state,
72 encoding_char_traits): Likewise.
73 * src/c++11/cxx11-ios_failure.cc (io_error_category): Likewise.
74 * src/c++11/cxx11-shim_facets.cc (__any_string::operator basic_string,
75 numpunct_shim, collate_shim, time_get_shim, moneypunct_shim,
76 money_get_shim, money_put_shim, messages_shim): Likewise.
77 * src/c++11/future.cc (future_error_category::message): Likewise.
78 * src/c++11/system_error.cc (generic_error_category::message,
79 system_error_category::message): Likewise.
80 (__sso_string): Disable -Wabi-tag warnings.
82 2015-03-18 Jonathan Wakely <jwakely@redhat.com>
85 * config/locale/gnu/messages_members.cc (get_glibc_msg): Fix fallback
86 implementation for old glibc. Fix whitespace.
88 2015-03-18 Jonathan Wakely <jwakely@redhat.com>
89 Torvald Riegel <triegel@redhat.com>
91 * acinclude.m4 (GLIBCXX_CHECK_GTHREADS): Check for pthread_rwlock_t.
92 * config.h.in: Regenerate.
93 * configure: Regenerate.
94 * include/std/shared_mutex: Check _GLIBCXX_USE_PTHREAD_RWLOCK_T.
95 (shared_timed_mutex::_M_rwlock): Use PTHREAD_RWLOCK_INITIALIZER.
96 (shared_timed_mutex::lock_shared()): Retry on EAGAIN.
97 (shared_timed_mutex::try_lock_shared_until()): Retry on EAGAIN and
100 2015-03-17 Jonathan Wakely <jwakely@redhat.com>
102 * libsupc++/nested_exception.h: Do not try to derive from final
104 * testsuite/18_support/nested_exception/throw_with_nested.cc: Test
107 * testsuite/30_threads/shared_lock/modifiers/1.cc: Remove name of
108 unused exception variable.
109 * testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise.
110 * testsuite/30_threads/shared_lock/modifiers/2.cc: Remove duplicate
112 * testsuite/30_threads/unique_lock/modifiers/2.cc: Likewise.
114 2015-03-13 Jonathan Wakely <jwakely@redhat.com>
116 * acinclude.m4: Make --enable-libstdcxx-time=auto work for dragonfly.
117 * configure: Regenerate.
119 * include/experimental/system_error: Fix include guard.
121 2015-03-12 Renlin Li <renlin.li@arm.com>
123 * testsuite/27_io/ios_base/sync_with_stdio/1.cc: Remove xfail for
126 2015-03-10 Tim Shen <timshen@google.com>
129 * include/bits/regex.h (match_results<>::size,
130 match_results<>::position, match_results<>::str,
131 match_results<>::operator[], match_results<>::prefix,
132 match_results<>::suffix, match_results<>::end,
133 match_results<>::_M_resize, match_results<>::_M_unmatched_sub,
134 match_results<>::_M_prefix, match_results<>::_M_suffix): Remove
135 global __unmatched_sub. Add unmatched submatch as part of
137 * include/bits/regex.tcc (__regex_algo_impl<>, regex_replace<>,
138 regex_iterator<>::operator++): Adjust to use match_results::_M_prefix.
139 * testsuite/28_regex/match_results/out_of_range_submatches.cc:
142 2015-03-09 Jonathan Wakely <jwakely@redhat.com>
145 * testsuite/28_regex/traits/char/isctype.cc: Don't test newline
146 for newlib targets. Really fix mixed line-endings this time.
148 2015-03-06 Jonathan Wakely <jwakely@redhat.com>
150 * include/std/future (future_error(error_code)): Construct base
151 class with error_code's message.
152 * src/c++11/future.cc (future_error::what()): Do not call c_str() on
155 2015-03-05 Jonathan Wakely <jwakely@redhat.com>
157 * include/bits/locale_conv.h (wstring_convert::_M_conv): Handle
159 * testsuite/22_locale/conversions/string/2.cc: Also test UTF-8.
160 * testsuite/22_locale/conversions/string/3.cc: Likewise, and UTF-16.
162 2015-03-04 Jonathan Wakely <jwakely@redhat.com>
165 * include/bits/locale_conv.h (wstring_convert::_M_conv): Handle
166 incomplete multibyte sequences correctly.
167 * include/std/codecvt (codecvt_utf8, codecvt_utf16,
168 codecvt_utf8_utf16): Limit _Maxcode to maximum Unicode code point.
169 * src/c++11/codecvt.cc (invalid_mb_sequence, incomplete_mb_character):
171 (is_high_surrogate, is_low_surrogate, surrogate_pair_to_code_point):
172 Define convenience functions.
173 (read_utf8_code_point): Return relevant constant to distinguish
174 incomplete characters from invalid sequences.
175 (read_utf16_code_point): Likewise. Check for invalid sequences.
176 (ucs4_in, utf16_in): Use incomplete_mb_character constant.
177 (utf16_out): Check for invalid sequences.
178 (utf16_span): Fix condition.
179 (ucs2_out): Use is_high_surrogate.
180 (ucs2_in): Use incomplete_mb_character constant and fix condition.
181 * testsuite/22_locale/codecvt/char16_t.cc: Fix whitespace.
182 * testsuite/22_locale/conversions/buffer/1.cc: New.
183 * testsuite/22_locale/conversions/string/2.cc: Use char16_t and
184 char32_t instead of wchar_t.
185 * testsuite/22_locale/conversions/string/3.cc: New.
187 2015-03-03 Iain Sandoe <iain@codesourcery.com>
190 * testsuite/17_intro/headers/c++1998/all_attributes.cc: Don't check
191 visibility for Darwin.
192 * testsuite/17_intro/headers/c++200x/all_attributes.cc: Likewise, and
194 * testsuite/17_intro/headers/c++2014/all_attributes.cc: Likewise.
196 2015-03-02 Jonathan Wakely <jwakely@redhat.com>
199 * include/std/scoped_allocator (__inner_type_impl,
200 scoped_allocator_adaptor): Add defaulted copy assignment and move
201 assignment operators.
202 * testsuite/20_util/scoped_allocator/65279.cc: New.
204 2015-03-02 Jonathan Wakely <jwakely@redhat.com>
207 * include/std/stdexcept (__sso_string): Don't use non-static member
210 2015-02-28 Matthias Klose <doko@ubuntu.com>
213 * python/libstdcxx/v6/__init__.py: Use explicit relative imports.
215 2015-02-22 Jonathan Wakely <jwakely@redhat.com>
217 * doc/xml/manual/status_cxx2011.xml: Remove duplicated information.
218 * doc/html/manual/status.html: Regenerate.
220 2015-02-20 Jonathan Wakely <jwakely@redhat.com>
223 * python/libstdcxx/v6/printers.py (StdTuplePrinter): Handle new
226 * doc/xml/manual/status_cxx2011.xml: Document implementation-defined
228 * doc/html/manual/status.html: Regenerate.
230 2015-02-19 Jonathan Wakely <jwakely@redhat.com>
233 * include/bits/algorithmfwd.h (rotate): Move to inline namespace _V2.
234 * include/bits/stl_algo.h (__rotate, rotate): Likewise.
236 2015-02-19 Hans-Peter Nilsson <hp@axis.com>
239 * testsuite/26_numerics/random/binomial_distribution/operators/values.cc
240 (test01): Add explanatory comment. Keep only the bd1 sub-test and
241 split out bd2, bd3, bd4, and bd5 sub-tests into...
242 * testsuite/26_numerics/random/binomial_distribution/operators/values2.cc,
243 testsuite/26_numerics/random/binomial_distribution/operators/values3.cc,
244 testsuite/26_numerics/random/binomial_distribution/operators/values4.cc,
245 testsuite/26_numerics/random/binomial_distribution/operators/values5.cc:
246 New separate files with the old parts.
248 2015-02-18 Jonathan Wakely <jwakely@redhat.com>
250 * src/c++11/codecvt.cc (write_utf16_code_point): Fix code to output
252 (utf16_in): Pass mode argument to write_utf16_code_point.
253 (codecvt<char16_t, char, mbstate_t>::do_in): Set mode according to
255 * testsuite/22_locale/codecvt/char16_t.cc: New.
256 * testsuite/22_locale/codecvt/in/wchar_t/1.cc: Fix typo.
258 * testsuite/22_locale/codecvt/char16_t.cc: Add dg-require-cstdint.
259 * testsuite/22_locale/codecvt/char32_t.cc: Likewise.
261 2015-02-17 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
262 Jonathan Wakely <jwakely@redhat.com>
264 * testsuite/22_locale/codecvt/char32_t.cc: New.
266 2015-02-17 Jonathan Wakely <jwakely@redhat.com>
269 * include/bits/basic_string.h (basic_string(basic_string&&)): Ensure
270 empty string gets null-terminated.
271 * testsuite/21_strings/basic_string/cons/char/65085.cc: New.
273 2015-02-13 Matthew Wahab <matthew.wahab@arm.com>
275 * testsuite/28_regex/traits/char/isctype.cc (test01): Fix
276 mixed line-endings introduced in last change.
278 2015-02-12 Matthew Wahab <matthew.wahab@arm.com>
280 * testsuite/28_regex/traits/char/isctype.cc (test01): Replace test
281 for __NEWLIB__ macro with a dejagnu set macro.
282 * testsuite/28_regex/traits/wchar_t/isctype.cc (test01): Likewise.
284 2015-02-04 Matthew Wahab <matthew.wahab@arm.com>
287 * testsuite/28_regex/traits/char/isctype.cc (test01): Add newlib
288 special case for '\n'.
289 * testsuite/28_regex/traits/wchar_t/isctype.cc (test01): Likewise.
291 2015-02-01 Jonathan Wakely <jwakely@redhat.com>
293 * src/c++11/futex.cc: Do not define for gthr-single.h targets.
295 2015-02-01 Jonathan Wakely <jwakely@redhat.com>
298 * include/c_global/cstdio (gets): Use __deprecated__ attribute instead
300 * include/c_std/cstdio (gets): Likewise.
301 * testsuite/17_intro/headers/c++1998/all_attributes.cc: Avoid clashing
302 with attributes used in darwin headers.
304 2015-01-29 Jakub Jelinek <jakub@redhat.com>
306 * acinclude.m4 (VTV_CYGMIN): Use x$vtv_cygmin = xyes instead of
307 $vtv_cygmin = yes. Initialize vtv_cygmin=no unconditionally first.
308 * configure: Regenerated.
310 2015-01-29 H.J. Lu <hongjiu.lu@intel.com>
312 * acinclude.m4 (GLIBCXX_ENABLE_VTABLE_VERIFY): Define VTV_CYGMIN
313 after vtv_cygmin is set.
314 * configure: Regenerated.
316 2015-01-29 Matthias Klose <doko@ubuntu.com>
318 * acinclude.m4 (GLIBCXX_ENABLE_VTABLE_VERIFY): Define VTV_CYGMIN
320 * configure: Regenerate.
322 2015-01-29 Caroline Tice <cmtice@google.com>
324 Committing VTV Cywin/Ming patch for Patrick Wollgast
325 * configure: Regenerate.
326 * libsupc++/Makefile.in: Regenerate.
327 * src/Makefile.in: Regenerate.
329 2015-01-29 Jonathan Wakely <jwakely@redhat.com>
331 * include/bits/atomic_base.h: Use __always_inline__ instead of
333 * include/bits/atomic_futex.h: Likewise.
334 * include/bits/c++config: Use __abi_tag__ instead of abi_tag.
335 * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Use
336 __packed__ instead of packed.
337 * include/std/shared_mutex: Use __unused__ instead of unused.
338 * testsuite/17_intro/headers/c++1998/all_attributes.cc: New.
339 * testsuite/17_intro/headers/c++200x/all_attributes.cc: New.
340 * testsuite/17_intro/headers/c++2014/all_attributes.cc: New.
342 2015-01-28 Caroline Tice <cmtice@google.com>
344 Committing VTV Cywin/Ming patch for Patrick Wollgast
345 * acinclude.m4: Define VTV_CYGMIN.
346 * libsupc++/Makefile.am: Add vtv_sources only to libsupc___la_SOURCES
347 and libsupc__convenience_la_SOURCES if VTV_CYGMIN is not set.
348 * libsupc++/vtv_stubs.cc: Add none weak declaration of every function
349 for Cygwin and MinGW.
350 * src/Makefile.am: Add libvtv.la to toolexeclib_LTLIBRARIES, if
351 VTV_CYGMIN is set. Define libvtv_la_SOURCES, libvtv_la_LDFLAGS,
352 libvtv_la_AM_CXXFLAGS and libvtv_la_LINK if VTV_CYGMIN is set.
354 2015-01-28 Jonathan Wakely <jwakely@redhat.com>
357 * libsupc++/Makefile.am: Compile del_opvs.cc as C++14.
358 * libsupc++/Makefile.in: Regenerate.
359 * src/c++11/Makefile.in: Regenerate.
361 2015-01-28 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
363 * testsuite/lib/libstdc++.exp (v3_target_compile): Remove
364 check for unsupported.
365 (v3_target_compile_as_c): Likewise.
367 2015-01-28 Richard Biener <rguenther@suse.de>
370 * libsupc++/eh_alloc.cc (struct allocated_entry): Align
372 (pool::allocate): Adjust allocation size and alignment to
374 (pool::free): Adjust pointer offsetting.
376 2015-01-27 Jonathan Wakely <jwakely@redhat.com>
379 * include/std/shared_mutex (shared_timed_mutex::try_lock_for,
380 shared_timed_mutex::try_lock_until): Only define when POSIX thread
381 timeouts option is supported.
382 (shared_timed_mutex::try_shared_lock_for,
383 shared_timed_mutex::try_shared_lock_until): Likewise.
385 2015-01-26 Jonathan Wakely <jwakely@redhat.com>
388 * config/locale/gnu/numeric_members.cc (numpunct<char>::~numpunct(),
389 numpunct<wchar_t>::~numpunct()): Do not set _M_data->_M_grouping.
390 * src/c++11/cxx11-shim_facets.cc (numpunct_shim): Remove _M_grouping
391 and use cache's _M_grouping field.
392 (__numpunct_fill_cache): Likewise.
393 (__moneypunct_fill_cache): Improve comments.
395 2015-01-26 Jonathan Wakely <jwakely@redhat.com>
397 * testsuite/23_containers/set/operations/2.cc: Add test for
398 non-transparent comparison function.
400 2015-01-25 Oleg Endo <olegendo@gcc.gnu.org>
403 * config/cpu/sh/atomicity.h (__exchange_and_add, __atomic_add):
404 Remove SH4A inline asm and lock based implementations and use the
405 defaults from ext/atomicity.h.
407 2015-01-23 Jonathan Wakely <jwakely@redhat.com>
409 * config/abi/pre/gnu.ver: Tighten GLIBCXX_3.4 patterns to not match
410 new std::string constructors for byname facets.
412 2015-01-22 Richard Biener <rguenther@suse.de>
415 * libsupc++/eh_alloc.cc: Include new.
416 (bitmask_type): Remove.
417 (one_buffer): Likewise.
418 (emergency_buffer): Likewise.
419 (emergency_used): Likewise.
420 (dependents_buffer): Likewise.
421 (dependents_used): Likewise.
422 (class pool): New custom fixed-size arena, variable size object
424 (emergency_pool): New global.
425 (__cxxabiv1::__cxa_allocate_exception): Use new emergency_pool.
426 (__cxxabiv1::__cxa_free_exception): Likewise.
427 (__cxxabiv1::__cxa_allocate_dependent_exception): Likewise.
428 (__cxxabiv1::__cxa_free_dependent_exception): Likewise.
430 2015-01-22 Tim Shen <timshen@google.com>
433 * include/bits/regex.h (basic_regex<>::basic_regex,
434 basic_regex<>::operator=, basic_regex<>::imbue): Conform to the
436 * testsuite/28_regex/basic_regex/assign/char/cstring.cc: New testcase.
438 2015-01-22 Tim Shen <timshen@google.com>
441 * include/bits/regex.tcc (regex_traits<>::lookup_collatename,
442 regex_traits<>::lookup_classname): Correctly narrow input chars.
443 * testsuite/28_regex/traits/wchar_t/user_defined.cc: New testcase.
445 2015-01-21 Jonathan Wakely <jwakely@redhat.com>
447 * config/abi/pre/gnu.ver: Use [jmy] for size_t parameters.
449 2015-01-21 Jonathan Wakely <jwakely@redhat.com>
451 * testsuite/29_atomics/atomic/64658.cc: Test stored value.
453 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
455 * doc/xml/manual/status_cxx2011.xml: Remove stray dbhtml tags.
456 * doc/xml/manual/status_cxx2014.xml: Update status.
457 * doc/html/manual/status.html: Regenerate.
459 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
462 * include/experimental/optional (bad_optional_access): Add default
464 * testsuite/experimental/optional/requirements.cc: Test for default
467 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
469 * include/bits/stl_map.h (map::find<>, map::count<>,
470 map::lower_bound<>, map::upper_bound<>, map::equal_range<>): New
471 member function templates to perform heterogeneous lookup.
472 * include/bits/stl_multimap.h (multimap::find<>, multimap::count<>,
473 multimap::lower_bound<>, multimap::upper_bound<>,
474 multimap::equal_range<>): Likewise.
475 * include/bits/stl_multiset.h (multiset::find<>, multiset::count<>,
476 multiset::lower_bound<>, multiset::upper_bound<>,
477 multiset::equal_range<>): Likewise.
478 * include/bits/stl_set.h (set::find<>, set::count<>,
479 set::lower_bound<>, set::upper_bound<>, set::equal_range<>): Likewise.
480 * include/bits/stl_tree.h (_Rb_tree::_S_lower_bound_tr,
481 _Rb_tree::_S_upper_bound_tr, _Rb_tree::_M_find_tr,
482 _Rb_tree::_M_count_tr, _Rb_tree::_M_lower_bound_tr,
483 _Rb_tree::_M_upper_bound_tr, _Rb_tree::_M_equal_range_tr): Likewise.
484 * testsuite/23_containers/map/operations/2.cc: New.
485 * testsuite/23_containers/multimap/operations/2.cc: New.
486 * testsuite/23_containers/multiset/operations/2.cc: New.
487 * testsuite/23_containers/set/operations/2.cc: New.
489 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
491 * config/abi/pre/gnu.ver: Export new constructors.
492 * include/bits/codecvt.h (codecvt_byname): Add string constructor.
493 (codecvt_byname<char16_t>, codecvt_byname<char32_t>): Define explicit
494 specializations and declare explicit instantiations.
495 * include/bits/locale_classes.h (locale, collate_byname): Add string
497 * include/bits/locale_facets.h (ctype_byname, numpunct_byname):
499 * include/bits/locale_facets_nonio.h (time_get_byname,
500 time_put_byname, moneypunct_byname, messages_byname): Likewise.
501 * src/c++11/codecvt.cc (codecvt_byname<char16_t>,
502 codecvt_byname<char32_t>): Define explicit instantiations.
503 * src/c++11/locale-inst.cc (time_put_byname, codecvt_byname):
504 Instantiate string constructors.
505 (ctype_byname): Define string constructor.
506 * testsuite/22_locale/codecvt_byname/1.cc: New.
507 * testsuite/22_locale/collate_byname/1.cc: New.
508 * testsuite/22_locale/ctype_byname/2.cc: New.
509 * testsuite/22_locale/messages_byname/1.cc: New.
510 * testsuite/22_locale/moneypunct_byname/1.cc: New.
511 * testsuite/22_locale/numpunct_byname/1.cc: New.
513 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
516 * include/std/atomic (atomic_init): Define.
517 * testsuite/29_atomics/atomic/64658.cc: New.
519 2015-01-19 Tim Shen <timshen@google.com>
522 * include/bits/regex.tcc (regex_traits<>::lookup_collatename,
523 regex_traits<>::lookup_classname): Support forward iterators.
524 * testsuite/28_regex/traits/char/lookup_classname.cc: New testcases.
525 * testsuite/28_regex/traits/char/lookup_collatename.cc: New testcase.
527 2015-01-19 Tim Shen <timshen@google.com>
531 * include/bits/regex.h (basic_regex<>::basic_regex,
532 basic_regex<>::assign, basic_regex<>::imbue,
533 basic_regex<>::swap, basic_regex<>::mark_count): Drop NFA after
534 imbuing basic_regex; Make assign() transactional against exception.
535 * include/bits/regex_compiler.h (__compile_nfa<>): Add back
536 __compile_nfa SFINAE.
537 * include/std/regex: Adjust include order to avoid __compile_nfa
539 * testsuite/28_regex/basic_regex/assign/char/string.cc: New testcase.
540 * testsuite/28_regex/basic_regex/imbue/string.cc: New testcase.
542 2015-01-19 Ville Voutilainen <ville.voutilainen@gmail.com>
543 Jonathan Wakely <jwakely@redhat.com>
545 * include/bits/range_access.h (begin, end): Use _GLIBCXX14_CONSTEXPR
546 on overloads for arrays.
547 (cbegin, cend, rbegin, rend, crbegin, crend): New.
548 * testsuite/24_iterators/range_access_cpp14.cc: New.
550 2015-01-18 Jonathan Wakely <jwakely@redhat.com>
553 * include/bits/stl_algo.h (__is_permutation): Also test for reaching
554 end of the second range.
555 * testsuite/25_algorithms/is_permutation/64646.cc: New.
557 2015-01-18 Jonathan Wakely <jwakely@redhat.com>
559 * doc/xml/manual/status_cxx2011.xml: Remove note about offsetof.
560 * doc/html/manual/status.html: Regenerate.
562 2015-01-18 Jonathan Wakely <jwakely@redhat.com>
564 * include/bits/atomic_futex.h: Use mutex and condition_variable when
565 atomic int is not lock-free. Make member variables private.
566 * src/c++11/futex.cc: Likewise.
568 * src/c++11/futex.cc: Fix order of includes and preprocessor condition.
570 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
573 * include/bits/atomic_futex.h: Use appropriate config macros for
574 availability of std::mutex, std::condition and std::chrono.
576 2015-01-17 Ville Voutilainen <ville.voutilainen@gmail.com>
577 Jonathan Wakely <jwakely@redhat.com>
579 * doc/xml/manual/status_cxx2011.xml: Update C++11 status.
580 * doc/html/*: Regenerate.
582 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
586 * include/bits/algorithmfwd.h (rotate): Return an iterator.
587 * include/bits/stl_algo.h (rotate, __rotate): Likewise.
588 * testsuite/25_algorithms/rotate/dr488.cc: New.
589 * testsuite/25_algorithms/rotate/check_type.cc: Adjust function type.
590 * testsuite/25_algorithms/rotate/requirements/explicit_instantiation/
592 * testsuite/25_algorithms/rotate/requirements/explicit_instantiation/
595 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
598 * include/bits/atomic_base.h: Remove atomic integral typedefs as
599 synonyms for __atomic_base<int> etc.
600 * include/std/atomic: Make atomic_int a synonym for atomic<int> and
601 likewise for all atomic integral types.
602 * testsuite/29_atomics/atomic_integral/cons/copy_list.cc: New.
603 * testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number.
605 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
608 * include/std/tuple (_Tuple_impl): Remove zero-element specialization
609 and define one-element specialization.
610 * testsuite/20_util/tuple/56785.cc: New.
612 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
614 * testsuite/22_locale/codecvt/codecvt_utf8/requirements/1.cc:
615 Remove unused header.
616 * testsuite/22_locale/codecvt/codecvt_utf16/requirements/1.cc:
618 * testsuite/22_locale/codecvt/codecvt_utf8_utf16/requirements/1.cc:
621 2015-01-16 Jonathan Wakely <jwakely@redhat.com>
623 * include/bits/locale_conv.h (wstring_convert, wbuffer_convert): New.
624 * include/std/locale: Include new header.
625 * include/Makefile.am: Add it.
626 * include/Makefile.in: Regenerate.
627 * testsuite/22_locale/conversions/buffer/requirements/typedefs.cc: New.
628 * testsuite/22_locale/conversions/string/1.cc: New.
629 * testsuite/22_locale/conversions/string/2.cc: New.
630 * testsuite/22_locale/conversions/string/requirements/typedefs.cc: New.
631 * testsuite/22_locale/conversions/string/requirements/typedefs-2.cc:
634 2015-01-16 Jonathan Wakely <jwakely@redhat.com>
636 * config/abi/pre/gnu.ver: Export new symbols.
637 * include/Makefile.am: Add codecvt.
638 * include/Makefile.in: Regenerate.
639 * include/std/codecvt: New header.
640 * src/c++11/codecvt.cc (__codecvt_utf8_base, __codecvt_utf16_base,
641 __codecvt_utf8_utf16_base): Define specializations.
642 * testsuite/22_locale/codecvt/codecvt_utf8/requirements/1.cc: New.
643 * testsuite/22_locale/codecvt/codecvt_utf16/requirements/1.cc: New.
644 * testsuite/22_locale/codecvt/codecvt_utf8_utf16/requirements/1.cc:
647 2015-01-16 Torvald Riegel <triegel@redhat.com>
649 * src/c++11/futex.cc: New file.
650 * include/bits/atomic_futex.h: New file.
651 * include/std/future (__future_base::_State_baseV2): Use
652 atomic_futex_unsigned instead of mutex+condvar.
653 * src/c++11/futex.cc: Likewise.
654 * include/Makefile.am: Add atomic_futex.h.
655 * include/Makefile.in: Likewise.
656 * src/c++11/Makefile.am: Add futex.cc.
657 * src/c++11/Makefile.in: Likewise.
659 2015-01-16 Jonathan Wakely <jwakely@redhat.com>
661 * acinclude.m4: Fix typo in comment.
662 * configure: Regenerate.
663 * include/bits/codecvt.h (codecvt<char16_t, char, mbstate_t>,
664 codecvt<char16_t, char, mbstate_t>): Declare specializations.
665 * include/bits/locale_facets.h: Reserve space for new specializations.
666 * src/c++11/Makefile.am: Add codecvt.cc.
667 * src/c++11/Makefile.in: Regenerate.
668 * src/c++11/codecvt.cc: New.
669 * src/c++98/Makefile.am: Compile locale_init.cc and localename.cc
671 * src/c++98/Makefile.in: Regenerate.
672 * src/c++98/locale_init.cc: Initialize new codecvt specializations.
673 * src/c++98/localename.cc: Likewise.
674 * config/abi/pre/gnu.ver: Exports for new codecvt specializations.
675 * testsuite/22_locale/codecvt/utf8.cc: New.
676 * testsuite/22_locale/locale/cons/unicode.cc: Check that new
677 specializations are installed in locale objects.
679 2015-01-16 Torvald Riegel <triegel@redhat.com>
681 * include/std/shared_mutex (shared_timed_mutex): Add POSIX-based
684 2015-01-13 Jonathan Wakely <jwakely@redhat.com>
687 * config/abi/pre/gnu.ver: Export fstream functions using new string.
689 2015-01-12 Jonathan Wakely <jwakely@redhat.com>
692 * src/c++11/cxx11-shim_facets.cc (locale::facet::_M_sso_shim): Check
696 * src/c++11/cxx11-shim_facets.cc: Check for wchar_t support.
698 2015-01-10 Thomas Schwinge <thomas@codesourcery.com>
700 * doc/xml/manual/parallel_mode.xml: Update for libgomp being
701 renamed from "GNU OpenMP Runtime Library" to "GNU Offloading and
702 Multi Processing Runtime Library".
704 2015-01-09 Jonathan Wakely <jwakely@redhat.com>
707 * include/bits/stl_uninitialized.h (uninitialized_copy): Fix
708 is_assignable arguments.
709 * testsuite/20_util/specialized_algorithms/uninitialized_copy/64476.cc:
712 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
714 * libsupc++/unwind-cxx.h: Revert previous commit.
716 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
718 * configure.host: Add arm*-*-freebsd* port_specific_symbol_files.
720 2015-01-09 Tim Shen <timshen@google.com>
723 * include/bits/regex.h (match_results<>::swap): Use std::swap
725 * include/bits/regex_compiler.tcc (_Compiler<>::_M_quantifier):
727 * testsuite/28_regex/match_results/swap.cc: New testcase.
729 2015-01-08 Jonathan Wakely <jwakely@redhat.com>
732 * include/std/type_traits (has_trivial_default_constructor,
733 has_trivial_copy_constructor, has_trivial_copy_assign): Add deprecated
735 * testsuite/20_util/has_trivial_copy_assign/requirements/
736 explicit_instantiation.cc: Use -Wno-deprecated.
737 * testsuite/20_util/has_trivial_copy_assign/requirements/typedefs.cc:
739 * testsuite/20_util/has_trivial_copy_assign/value.cc: Likewise.
740 * testsuite/20_util/has_trivial_copy_constructor/requirements/
741 explicit_instantiation.cc: Likewise.
742 * testsuite/20_util/has_trivial_copy_constructor/requirements/
743 typedefs.cc: Likewise.
744 * testsuite/20_util/has_trivial_copy_constructor/value.cc: Likewise.
745 * testsuite/20_util/has_trivial_default_constructor/requirements/
746 explicit_instantiation.c: Likewise.
747 * testsuite/20_util/has_trivial_default_constructor/requirements/
748 typedefs.cc: Likewise.
749 * testsuite/20_util/has_trivial_default_constructor/value.cc:
751 * testsuite/20_util/pair/requirements/dr801.cc: Replace deprecated
753 * testsuite/20_util/tuple/requirements/dr801.cc: Likewise.
754 * testsuite/util/testsuite_common_types.h: Likewise.
756 2015-01-08 Jonathan Wakely <jwakely@redhat.com>
758 * include/bits/hashtable_policy.h: Use __bool_constant.
760 2015-01-07 Jonathan Wakely <jwakely@redhat.com>
762 * libsupc++/Makefile.am: Compile del_ops.cc as C++14.
763 * libsupc++/Makefile.in: Regenerate.
765 2015-01-06 Jonathan Wakely <jwakely@redhat.com>
767 * config/abi/pre/gnu.ver: Fix version conflict for std::locale::name().
769 2015-01-05 Jakub Jelinek <jakub@redhat.com>
771 Update copyright years.
773 2015-01-04 Jonathan Wakely <jwakely@redhat.com>
776 * testsuite/18_support/exception_ptr/64241.cc: Use
777 dg-require-atomic-builtins.
779 2015-01-02 Jonathan Wakely <jwakely@redhat.com>
781 * testsuite/21_strings/basic_string/modifiers/64422.cc: Fix copyright
784 2015-01-02 Tim Shen <timshen@google.com>
787 * include/bits/regex_executor.tcc (_Executor<>::_M_dfs): Copy the
788 iterator, since the original one shouldn't be mutated.
790 2015-01-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
793 * src/c++98/misc-inst.cc (string::erase): Add missing overloads.
794 (string::insert): Likewise.
795 (string::replace): Likewise.
796 (wstring::erase): Likewise.
797 (wstring::insert): Likewise.
798 (wstring::replace): Likewise.
799 * testsuite/21_strings/basic_string/modifiers/64422.cc: New testcase.
801 2015-01-02 Jonathan Wakely <jwakely@redhat.com>
804 * doc/doxygen/user.cfg.in: Set correct TAB_SIZE.
806 2015-01-02 Jonathan Wakely <jwakely@redhat.com>
809 * testsuite/21_strings/basic_string/numeric_conversions/char/dr1261.cc:
810 Revert removal of dg-require-string-conversions.
811 * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
813 * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
815 * testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
817 * testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
819 * testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc:
821 * testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc:
823 * testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
825 * testsuite/21_strings/basic_string/numeric_conversions/char/
827 * testsuite/21_strings/basic_string/numeric_conversions/char/
828 to_string.cc: Likewise.
830 Copyright (C) 2015 Free Software Foundation, Inc.
832 Copying and distribution of this file, with or without modification,
833 are permitted in any medium without royalty provided the copyright
834 notice and this notice are preserved.