1 2015-04-14 Marc Glisse <marc.glisse@inria.fr>
4 * include/bits/stl_iterator_base_funcs.h (_List_iterator,
5 _List_const_iterator): Declare.
6 (__distance): Declare new overloads for _List_iterator and
8 * include/bits/stl_list.h (__distance): New overloads for
9 _List_iterator and _List_const_iterator.
10 * testsuite/23_containers/list/61347.cc: New testcase.
12 2015-04-14 Jonathan Wakely <jwakely@redhat.com>
14 * doc/xml/manual/evolution.xml: Fix typos.
15 * doc/html/manual/api.html: Regenerate.
17 2015-04-14 Hans-Peter Nilsson <hp@axis.com>
19 * testsuite/29_atomics/atomic/62259.cc: Assert atomic
20 alignment is larger-equal, not equal, to default alignment.
22 2015-04-13 Jonathan Wakely <jwakely@redhat.com>
25 * config/abi/pre/gnu.ver: Export base object constructors for
27 * config/abi/post/aarch64-linux-gnu/baseline_symbols.txt: Update.
28 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Update.
29 * config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Update.
30 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
31 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Update.
32 * config/abi/post/m68k-linux-gnu/baseline_symbols.txt: Update.
33 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Update
34 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Update.
35 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt: Update.
36 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Update.
37 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Update.
38 * config/abi/post/solaris2.10/baseline_symbols.txt: Regenerate.
39 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
40 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
41 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Update.
42 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
43 * config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: Update.
44 * testsuite/27_io/basic_fstream/cons/base.cc: New.
46 2015-04-13 Jonathan Wakely <jwakely@redhat.com>
48 * doc/xml/manual/evolution.xml: Document changes since 4.5 release.
49 * doc/html/*: Regenerate.
51 2015-04-12 Uros Bizjak <ubizjak@gmail.com>
53 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Update.
55 2015-04-10 Andreas Schwab <schwab@linux-m68k.org>
57 * config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Update.
59 * config/abi/post/m68k-linux-gnu/baseline_symbols.txt: Update.
61 2015-04-10 Jonathan Wakely <jwakely@redhat.com>
63 * doc/xml/manual/test.xml: Improve documentation on running a subset
65 * doc/html/manual/test.html: Regenerate.
67 2015-04-10 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
69 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Update
71 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
74 2015-04-10 Jonathan Wakely <jwakely@redhat.com>
76 * include/std/shared_mutex (shared_timed_mutex): Add comments to
77 explain the logic in the non-pthread_rwlock_t version.
78 (_Mutex): Remove redundant type.
79 (_M_n_readers): Rename to _S_max_readers.
80 (_M_write_entered, _M_readers): New convenience functions.
81 (lock, lock_shared, try_lock_shared, unlock_shared): Use convenience
82 functions. Use predicates with condition variables. Simplify bitwise
84 (try_lock_for, try_shared_lock_for): Convert duration to time_point
85 and call try_lock_until or try_shared_lock_until respectively.
86 (try_lock_until, try_shared_lock_until): Wait on the condition
87 variables until the specified time passes.
88 (unlock): Add Debug Mode assertion.
89 (unlock_shared): Add Debug Mode assertion.
90 * testsuite/30_threads/shared_timed_mutex/try_lock/3.cc: New.
92 * include/std/shared_mutex (shared_timed_mutex): Only use
93 pthread_rwlock_t when the POSIX Timeouts option is supported.
94 * testsuite/30_threads/shared_lock/cons/5.cc: Remove
95 dg-require-gthreads-timed.
96 * testsuite/30_threads/shared_lock/cons/6.cc: Likewise.
97 * testsuite/30_threads/shared_lock/locking/3.cc: Likewise.
98 * testsuite/30_threads/shared_lock/locking/4.cc: Likewise.
100 2015-04-09 H.J. Lu <hongjiu.lu@intel.com>
102 * config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: Update.
104 2015-04-09 Jonathan Wakely <jwakely@redhat.com>
105 Richard Henderson <rth@redhat.com>
108 * include/bits/atomic_base.h (__atomic_base<_ITp>): Increase
110 * include/std/atomic (atomic): For types with a power of two size set
111 alignment to at least the size.
112 * testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number.
113 * testsuite/29_atomics/atomic/65147.cc: New.
114 * testsuite/29_atomics/atomic_integral/65147.cc: New.
116 2015-04-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
118 * config/abi/post/solaris2.10/baseline_symbols.txt: Regenerate.
119 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
120 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
122 2015-04-07 Jakub Jelinek <jakub@redhat.com>
124 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Update.
125 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
126 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
127 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Update.
128 * config/abi/post/aarch64-linux-gnu/baseline_symbols.txt: Update.
129 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Update.
130 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Update.
131 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Update.
133 2015-03-30 Jonathan Wakely <jwakely@redhat.com>
136 * config/abi/pre/gnu.ver: Export operator+ for new strings.
137 * testsuite/21_strings/basic_string/operators/char/65630.cc: New.
138 * testsuite/21_strings/basic_string/operators/wchar_t/65630.cc: New.
140 2015-03-28 Tim Shen <timshen@google.com>
143 * include/bits/regex_constants.h: Use constexpr variables for flags.
144 * testsuite/28_regex/constants/constexpr.cc: New testcase.
146 2015-03-27 Jonathan Wakely <jwakely@redhat.com>
149 * include/std/chrono: Add using-directive for literals to std::chrono.
150 * testsuite/20_util/duration/literals/65499.cc: New.
152 2015-03-26 Jonathan Wakely <jwakely@redhat.com>
156 * include/std/thread (this_thread::sleep_for): Check for negative
158 (this_thread::sleep_until): Check for times in the past.
159 * testsuite/30_threads/this_thread/58038.cc: New.
160 * testsuite/30_threads/this_thread/60421.cc: New.
162 2015-03-26 Jonathan Wakely <jwakely@redhat.com>
166 * include/std/atomic (atomic<T>): Increase alignment for types with
167 the same size as one of the integral types.
168 * testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number.
169 * testsuite/29_atomics/atomic/62259.cc: New.
171 2015-03-26 Richard Henderson <rth@redhat.com>
174 * include/bits/atomic_base.h (__atomic_base<T>::is_lock_free): Build
175 a fake pointer indicating type alignment.
176 (__atomic_base<T *>::is_lock_free): Likewise.
177 * include/std/atomic (atomic<T>::is_lock_free): Likewise.
179 2015-03-25 Alan Lawrence <alan.lawrence@arm.com>
182 * testsuite/21_strings/basic_string/pthread33394.cc: Use
183 dg-additional-options.
185 2015-03-25 Paolo Carlini <paolo.carlini@oracle.com>
188 * include/std/istream (operator>>(basic_istream<>&&, _Tp&): Revert
190 * include/std/ostream (operator<<(basic_ostream<>&&, const _Tp&):
192 * testsuite/27_io/rvalue_streams-2.cc: New.
194 2015-03-24 Jonathan Wakely <jwakely@redhat.com>
197 * testsuite/21_strings/basic_string/pthread33394.cc: Add test.
199 2015-03-23 Jonathan Wakely <jwakely@redhat.com>
202 * acinclude.m4: Disable dual ABI when gnu-versioned-namespace in use.
203 * configure: Regenerate.
204 * src/c++11/compatibility-c++0x.cc (error_category), generic_category,
205 system_category): Use macros for versioned namespace.
206 * src/c++11/futex.cc: Add missing end macro for versioned namespace.
208 2015-03-20 James Greenhalgh <james.greenhalgh@arm.com>
210 * testsuite/17_intro/headers/c++1998/all_attributes.cc: Disable
211 test for unused for ARM.
212 * testsuite/17_intro/headers/c++200x/all_attributes.cc: Likewise.
213 * testsuite/17_intro/headers/c++2014/all_attributes.cc: Likewise.
215 2015-03-20 Jonathan Wakely <jwakely@redhat.com>
217 * include/bits/c++config (__gnu_cxx::__cxx11): Define new namespace.
218 * include/ext/codecvt_specializations.h (encoding_state,
219 encoding_char_traits): Remove abi-tag and use inline namespace.
220 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error line.
222 2015-03-19 Jason Merrill <jason@redhat.com>
224 * config/locale/gnu/messages_members.cc: Revert abi-tag change.
225 * src/c++11/cxx11-shim_facets.cc: Revert abi-tag change.
227 2015-03-18 Jonathan Wakely <jwakely@redhat.com>
230 * config/locale/gnu/messages_members.cc (Catalog_info, Catalogs,
231 get_catalogs): Add abi-tag.
232 * include/ext/codecvt_specializations.h (encoding_state,
233 encoding_char_traits): Likewise.
234 * src/c++11/cxx11-ios_failure.cc (io_error_category): Likewise.
235 * src/c++11/cxx11-shim_facets.cc (__any_string::operator basic_string,
236 numpunct_shim, collate_shim, time_get_shim, moneypunct_shim,
237 money_get_shim, money_put_shim, messages_shim): Likewise.
238 * src/c++11/future.cc (future_error_category::message): Likewise.
239 * src/c++11/system_error.cc (generic_error_category::message,
240 system_error_category::message): Likewise.
241 (__sso_string): Disable -Wabi-tag warnings.
243 2015-03-18 Jonathan Wakely <jwakely@redhat.com>
246 * config/locale/gnu/messages_members.cc (get_glibc_msg): Fix fallback
247 implementation for old glibc. Fix whitespace.
249 2015-03-18 Jonathan Wakely <jwakely@redhat.com>
250 Torvald Riegel <triegel@redhat.com>
252 * acinclude.m4 (GLIBCXX_CHECK_GTHREADS): Check for pthread_rwlock_t.
253 * config.h.in: Regenerate.
254 * configure: Regenerate.
255 * include/std/shared_mutex: Check _GLIBCXX_USE_PTHREAD_RWLOCK_T.
256 (shared_timed_mutex::_M_rwlock): Use PTHREAD_RWLOCK_INITIALIZER.
257 (shared_timed_mutex::lock_shared()): Retry on EAGAIN.
258 (shared_timed_mutex::try_lock_shared_until()): Retry on EAGAIN and
261 2015-03-17 Jonathan Wakely <jwakely@redhat.com>
263 * libsupc++/nested_exception.h: Do not try to derive from final
265 * testsuite/18_support/nested_exception/throw_with_nested.cc: Test
268 * testsuite/30_threads/shared_lock/modifiers/1.cc: Remove name of
269 unused exception variable.
270 * testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise.
271 * testsuite/30_threads/shared_lock/modifiers/2.cc: Remove duplicate
273 * testsuite/30_threads/unique_lock/modifiers/2.cc: Likewise.
275 2015-03-13 Jonathan Wakely <jwakely@redhat.com>
277 * acinclude.m4: Make --enable-libstdcxx-time=auto work for dragonfly.
278 * configure: Regenerate.
280 * include/experimental/system_error: Fix include guard.
282 2015-03-12 Renlin Li <renlin.li@arm.com>
284 * testsuite/27_io/ios_base/sync_with_stdio/1.cc: Remove xfail for
287 2015-03-10 Tim Shen <timshen@google.com>
290 * include/bits/regex.h (match_results<>::size,
291 match_results<>::position, match_results<>::str,
292 match_results<>::operator[], match_results<>::prefix,
293 match_results<>::suffix, match_results<>::end,
294 match_results<>::_M_resize, match_results<>::_M_unmatched_sub,
295 match_results<>::_M_prefix, match_results<>::_M_suffix): Remove
296 global __unmatched_sub. Add unmatched submatch as part of
298 * include/bits/regex.tcc (__regex_algo_impl<>, regex_replace<>,
299 regex_iterator<>::operator++): Adjust to use match_results::_M_prefix.
300 * testsuite/28_regex/match_results/out_of_range_submatches.cc:
303 2015-03-09 Jonathan Wakely <jwakely@redhat.com>
306 * testsuite/28_regex/traits/char/isctype.cc: Don't test newline
307 for newlib targets. Really fix mixed line-endings this time.
309 2015-03-06 Jonathan Wakely <jwakely@redhat.com>
311 * include/std/future (future_error(error_code)): Construct base
312 class with error_code's message.
313 * src/c++11/future.cc (future_error::what()): Do not call c_str() on
316 2015-03-05 Jonathan Wakely <jwakely@redhat.com>
318 * include/bits/locale_conv.h (wstring_convert::_M_conv): Handle
320 * testsuite/22_locale/conversions/string/2.cc: Also test UTF-8.
321 * testsuite/22_locale/conversions/string/3.cc: Likewise, and UTF-16.
323 2015-03-04 Jonathan Wakely <jwakely@redhat.com>
326 * include/bits/locale_conv.h (wstring_convert::_M_conv): Handle
327 incomplete multibyte sequences correctly.
328 * include/std/codecvt (codecvt_utf8, codecvt_utf16,
329 codecvt_utf8_utf16): Limit _Maxcode to maximum Unicode code point.
330 * src/c++11/codecvt.cc (invalid_mb_sequence, incomplete_mb_character):
332 (is_high_surrogate, is_low_surrogate, surrogate_pair_to_code_point):
333 Define convenience functions.
334 (read_utf8_code_point): Return relevant constant to distinguish
335 incomplete characters from invalid sequences.
336 (read_utf16_code_point): Likewise. Check for invalid sequences.
337 (ucs4_in, utf16_in): Use incomplete_mb_character constant.
338 (utf16_out): Check for invalid sequences.
339 (utf16_span): Fix condition.
340 (ucs2_out): Use is_high_surrogate.
341 (ucs2_in): Use incomplete_mb_character constant and fix condition.
342 * testsuite/22_locale/codecvt/char16_t.cc: Fix whitespace.
343 * testsuite/22_locale/conversions/buffer/1.cc: New.
344 * testsuite/22_locale/conversions/string/2.cc: Use char16_t and
345 char32_t instead of wchar_t.
346 * testsuite/22_locale/conversions/string/3.cc: New.
348 2015-03-03 Iain Sandoe <iain@codesourcery.com>
351 * testsuite/17_intro/headers/c++1998/all_attributes.cc: Don't check
352 visibility for Darwin.
353 * testsuite/17_intro/headers/c++200x/all_attributes.cc: Likewise, and
355 * testsuite/17_intro/headers/c++2014/all_attributes.cc: Likewise.
357 2015-03-02 Jonathan Wakely <jwakely@redhat.com>
360 * include/std/scoped_allocator (__inner_type_impl,
361 scoped_allocator_adaptor): Add defaulted copy assignment and move
362 assignment operators.
363 * testsuite/20_util/scoped_allocator/65279.cc: New.
365 2015-03-02 Jonathan Wakely <jwakely@redhat.com>
368 * include/std/stdexcept (__sso_string): Don't use non-static member
371 2015-02-28 Matthias Klose <doko@ubuntu.com>
374 * python/libstdcxx/v6/__init__.py: Use explicit relative imports.
376 2015-02-22 Jonathan Wakely <jwakely@redhat.com>
378 * doc/xml/manual/status_cxx2011.xml: Remove duplicated information.
379 * doc/html/manual/status.html: Regenerate.
381 2015-02-20 Jonathan Wakely <jwakely@redhat.com>
384 * python/libstdcxx/v6/printers.py (StdTuplePrinter): Handle new
387 * doc/xml/manual/status_cxx2011.xml: Document implementation-defined
389 * doc/html/manual/status.html: Regenerate.
391 2015-02-19 Jonathan Wakely <jwakely@redhat.com>
394 * include/bits/algorithmfwd.h (rotate): Move to inline namespace _V2.
395 * include/bits/stl_algo.h (__rotate, rotate): Likewise.
397 2015-02-19 Hans-Peter Nilsson <hp@axis.com>
400 * testsuite/26_numerics/random/binomial_distribution/operators/values.cc
401 (test01): Add explanatory comment. Keep only the bd1 sub-test and
402 split out bd2, bd3, bd4, and bd5 sub-tests into...
403 * testsuite/26_numerics/random/binomial_distribution/operators/values2.cc,
404 testsuite/26_numerics/random/binomial_distribution/operators/values3.cc,
405 testsuite/26_numerics/random/binomial_distribution/operators/values4.cc,
406 testsuite/26_numerics/random/binomial_distribution/operators/values5.cc:
407 New separate files with the old parts.
409 2015-02-18 Jonathan Wakely <jwakely@redhat.com>
411 * src/c++11/codecvt.cc (write_utf16_code_point): Fix code to output
413 (utf16_in): Pass mode argument to write_utf16_code_point.
414 (codecvt<char16_t, char, mbstate_t>::do_in): Set mode according to
416 * testsuite/22_locale/codecvt/char16_t.cc: New.
417 * testsuite/22_locale/codecvt/in/wchar_t/1.cc: Fix typo.
419 * testsuite/22_locale/codecvt/char16_t.cc: Add dg-require-cstdint.
420 * testsuite/22_locale/codecvt/char32_t.cc: Likewise.
422 2015-02-17 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
423 Jonathan Wakely <jwakely@redhat.com>
425 * testsuite/22_locale/codecvt/char32_t.cc: New.
427 2015-02-17 Jonathan Wakely <jwakely@redhat.com>
430 * include/bits/basic_string.h (basic_string(basic_string&&)): Ensure
431 empty string gets null-terminated.
432 * testsuite/21_strings/basic_string/cons/char/65085.cc: New.
434 2015-02-13 Matthew Wahab <matthew.wahab@arm.com>
436 * testsuite/28_regex/traits/char/isctype.cc (test01): Fix
437 mixed line-endings introduced in last change.
439 2015-02-12 Matthew Wahab <matthew.wahab@arm.com>
441 * testsuite/28_regex/traits/char/isctype.cc (test01): Replace test
442 for __NEWLIB__ macro with a dejagnu set macro.
443 * testsuite/28_regex/traits/wchar_t/isctype.cc (test01): Likewise.
445 2015-02-04 Matthew Wahab <matthew.wahab@arm.com>
448 * testsuite/28_regex/traits/char/isctype.cc (test01): Add newlib
449 special case for '\n'.
450 * testsuite/28_regex/traits/wchar_t/isctype.cc (test01): Likewise.
452 2015-02-01 Jonathan Wakely <jwakely@redhat.com>
454 * src/c++11/futex.cc: Do not define for gthr-single.h targets.
456 2015-02-01 Jonathan Wakely <jwakely@redhat.com>
459 * include/c_global/cstdio (gets): Use __deprecated__ attribute instead
461 * include/c_std/cstdio (gets): Likewise.
462 * testsuite/17_intro/headers/c++1998/all_attributes.cc: Avoid clashing
463 with attributes used in darwin headers.
465 2015-01-29 Jakub Jelinek <jakub@redhat.com>
467 * acinclude.m4 (VTV_CYGMIN): Use x$vtv_cygmin = xyes instead of
468 $vtv_cygmin = yes. Initialize vtv_cygmin=no unconditionally first.
469 * configure: Regenerated.
471 2015-01-29 H.J. Lu <hongjiu.lu@intel.com>
473 * acinclude.m4 (GLIBCXX_ENABLE_VTABLE_VERIFY): Define VTV_CYGMIN
474 after vtv_cygmin is set.
475 * configure: Regenerated.
477 2015-01-29 Matthias Klose <doko@ubuntu.com>
479 * acinclude.m4 (GLIBCXX_ENABLE_VTABLE_VERIFY): Define VTV_CYGMIN
481 * configure: Regenerate.
483 2015-01-29 Caroline Tice <cmtice@google.com>
485 Committing VTV Cywin/Ming patch for Patrick Wollgast
486 * configure: Regenerate.
487 * libsupc++/Makefile.in: Regenerate.
488 * src/Makefile.in: Regenerate.
490 2015-01-29 Jonathan Wakely <jwakely@redhat.com>
492 * include/bits/atomic_base.h: Use __always_inline__ instead of
494 * include/bits/atomic_futex.h: Likewise.
495 * include/bits/c++config: Use __abi_tag__ instead of abi_tag.
496 * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Use
497 __packed__ instead of packed.
498 * include/std/shared_mutex: Use __unused__ instead of unused.
499 * testsuite/17_intro/headers/c++1998/all_attributes.cc: New.
500 * testsuite/17_intro/headers/c++200x/all_attributes.cc: New.
501 * testsuite/17_intro/headers/c++2014/all_attributes.cc: New.
503 2015-01-28 Caroline Tice <cmtice@google.com>
505 Committing VTV Cywin/Ming patch for Patrick Wollgast
506 * acinclude.m4: Define VTV_CYGMIN.
507 * libsupc++/Makefile.am: Add vtv_sources only to libsupc___la_SOURCES
508 and libsupc__convenience_la_SOURCES if VTV_CYGMIN is not set.
509 * libsupc++/vtv_stubs.cc: Add none weak declaration of every function
510 for Cygwin and MinGW.
511 * src/Makefile.am: Add libvtv.la to toolexeclib_LTLIBRARIES, if
512 VTV_CYGMIN is set. Define libvtv_la_SOURCES, libvtv_la_LDFLAGS,
513 libvtv_la_AM_CXXFLAGS and libvtv_la_LINK if VTV_CYGMIN is set.
515 2015-01-28 Jonathan Wakely <jwakely@redhat.com>
518 * libsupc++/Makefile.am: Compile del_opvs.cc as C++14.
519 * libsupc++/Makefile.in: Regenerate.
520 * src/c++11/Makefile.in: Regenerate.
522 2015-01-28 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
524 * testsuite/lib/libstdc++.exp (v3_target_compile): Remove
525 check for unsupported.
526 (v3_target_compile_as_c): Likewise.
528 2015-01-28 Richard Biener <rguenther@suse.de>
531 * libsupc++/eh_alloc.cc (struct allocated_entry): Align
533 (pool::allocate): Adjust allocation size and alignment to
535 (pool::free): Adjust pointer offsetting.
537 2015-01-27 Jonathan Wakely <jwakely@redhat.com>
540 * include/std/shared_mutex (shared_timed_mutex::try_lock_for,
541 shared_timed_mutex::try_lock_until): Only define when POSIX thread
542 timeouts option is supported.
543 (shared_timed_mutex::try_shared_lock_for,
544 shared_timed_mutex::try_shared_lock_until): Likewise.
546 2015-01-26 Jonathan Wakely <jwakely@redhat.com>
549 * config/locale/gnu/numeric_members.cc (numpunct<char>::~numpunct(),
550 numpunct<wchar_t>::~numpunct()): Do not set _M_data->_M_grouping.
551 * src/c++11/cxx11-shim_facets.cc (numpunct_shim): Remove _M_grouping
552 and use cache's _M_grouping field.
553 (__numpunct_fill_cache): Likewise.
554 (__moneypunct_fill_cache): Improve comments.
556 2015-01-26 Jonathan Wakely <jwakely@redhat.com>
558 * testsuite/23_containers/set/operations/2.cc: Add test for
559 non-transparent comparison function.
561 2015-01-25 Oleg Endo <olegendo@gcc.gnu.org>
564 * config/cpu/sh/atomicity.h (__exchange_and_add, __atomic_add):
565 Remove SH4A inline asm and lock based implementations and use the
566 defaults from ext/atomicity.h.
568 2015-01-23 Jonathan Wakely <jwakely@redhat.com>
570 * config/abi/pre/gnu.ver: Tighten GLIBCXX_3.4 patterns to not match
571 new std::string constructors for byname facets.
573 2015-01-22 Richard Biener <rguenther@suse.de>
576 * libsupc++/eh_alloc.cc: Include new.
577 (bitmask_type): Remove.
578 (one_buffer): Likewise.
579 (emergency_buffer): Likewise.
580 (emergency_used): Likewise.
581 (dependents_buffer): Likewise.
582 (dependents_used): Likewise.
583 (class pool): New custom fixed-size arena, variable size object
585 (emergency_pool): New global.
586 (__cxxabiv1::__cxa_allocate_exception): Use new emergency_pool.
587 (__cxxabiv1::__cxa_free_exception): Likewise.
588 (__cxxabiv1::__cxa_allocate_dependent_exception): Likewise.
589 (__cxxabiv1::__cxa_free_dependent_exception): Likewise.
591 2015-01-22 Tim Shen <timshen@google.com>
594 * include/bits/regex.h (basic_regex<>::basic_regex,
595 basic_regex<>::operator=, basic_regex<>::imbue): Conform to the
597 * testsuite/28_regex/basic_regex/assign/char/cstring.cc: New testcase.
599 2015-01-22 Tim Shen <timshen@google.com>
602 * include/bits/regex.tcc (regex_traits<>::lookup_collatename,
603 regex_traits<>::lookup_classname): Correctly narrow input chars.
604 * testsuite/28_regex/traits/wchar_t/user_defined.cc: New testcase.
606 2015-01-21 Jonathan Wakely <jwakely@redhat.com>
608 * config/abi/pre/gnu.ver: Use [jmy] for size_t parameters.
610 2015-01-21 Jonathan Wakely <jwakely@redhat.com>
612 * testsuite/29_atomics/atomic/64658.cc: Test stored value.
614 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
616 * doc/xml/manual/status_cxx2011.xml: Remove stray dbhtml tags.
617 * doc/xml/manual/status_cxx2014.xml: Update status.
618 * doc/html/manual/status.html: Regenerate.
620 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
623 * include/experimental/optional (bad_optional_access): Add default
625 * testsuite/experimental/optional/requirements.cc: Test for default
628 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
630 * include/bits/stl_map.h (map::find<>, map::count<>,
631 map::lower_bound<>, map::upper_bound<>, map::equal_range<>): New
632 member function templates to perform heterogeneous lookup.
633 * include/bits/stl_multimap.h (multimap::find<>, multimap::count<>,
634 multimap::lower_bound<>, multimap::upper_bound<>,
635 multimap::equal_range<>): Likewise.
636 * include/bits/stl_multiset.h (multiset::find<>, multiset::count<>,
637 multiset::lower_bound<>, multiset::upper_bound<>,
638 multiset::equal_range<>): Likewise.
639 * include/bits/stl_set.h (set::find<>, set::count<>,
640 set::lower_bound<>, set::upper_bound<>, set::equal_range<>): Likewise.
641 * include/bits/stl_tree.h (_Rb_tree::_S_lower_bound_tr,
642 _Rb_tree::_S_upper_bound_tr, _Rb_tree::_M_find_tr,
643 _Rb_tree::_M_count_tr, _Rb_tree::_M_lower_bound_tr,
644 _Rb_tree::_M_upper_bound_tr, _Rb_tree::_M_equal_range_tr): Likewise.
645 * testsuite/23_containers/map/operations/2.cc: New.
646 * testsuite/23_containers/multimap/operations/2.cc: New.
647 * testsuite/23_containers/multiset/operations/2.cc: New.
648 * testsuite/23_containers/set/operations/2.cc: New.
650 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
652 * config/abi/pre/gnu.ver: Export new constructors.
653 * include/bits/codecvt.h (codecvt_byname): Add string constructor.
654 (codecvt_byname<char16_t>, codecvt_byname<char32_t>): Define explicit
655 specializations and declare explicit instantiations.
656 * include/bits/locale_classes.h (locale, collate_byname): Add string
658 * include/bits/locale_facets.h (ctype_byname, numpunct_byname):
660 * include/bits/locale_facets_nonio.h (time_get_byname,
661 time_put_byname, moneypunct_byname, messages_byname): Likewise.
662 * src/c++11/codecvt.cc (codecvt_byname<char16_t>,
663 codecvt_byname<char32_t>): Define explicit instantiations.
664 * src/c++11/locale-inst.cc (time_put_byname, codecvt_byname):
665 Instantiate string constructors.
666 (ctype_byname): Define string constructor.
667 * testsuite/22_locale/codecvt_byname/1.cc: New.
668 * testsuite/22_locale/collate_byname/1.cc: New.
669 * testsuite/22_locale/ctype_byname/2.cc: New.
670 * testsuite/22_locale/messages_byname/1.cc: New.
671 * testsuite/22_locale/moneypunct_byname/1.cc: New.
672 * testsuite/22_locale/numpunct_byname/1.cc: New.
674 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
677 * include/std/atomic (atomic_init): Define.
678 * testsuite/29_atomics/atomic/64658.cc: New.
680 2015-01-19 Tim Shen <timshen@google.com>
683 * include/bits/regex.tcc (regex_traits<>::lookup_collatename,
684 regex_traits<>::lookup_classname): Support forward iterators.
685 * testsuite/28_regex/traits/char/lookup_classname.cc: New testcases.
686 * testsuite/28_regex/traits/char/lookup_collatename.cc: New testcase.
688 2015-01-19 Tim Shen <timshen@google.com>
692 * include/bits/regex.h (basic_regex<>::basic_regex,
693 basic_regex<>::assign, basic_regex<>::imbue,
694 basic_regex<>::swap, basic_regex<>::mark_count): Drop NFA after
695 imbuing basic_regex; Make assign() transactional against exception.
696 * include/bits/regex_compiler.h (__compile_nfa<>): Add back
697 __compile_nfa SFINAE.
698 * include/std/regex: Adjust include order to avoid __compile_nfa
700 * testsuite/28_regex/basic_regex/assign/char/string.cc: New testcase.
701 * testsuite/28_regex/basic_regex/imbue/string.cc: New testcase.
703 2015-01-19 Ville Voutilainen <ville.voutilainen@gmail.com>
704 Jonathan Wakely <jwakely@redhat.com>
706 * include/bits/range_access.h (begin, end): Use _GLIBCXX14_CONSTEXPR
707 on overloads for arrays.
708 (cbegin, cend, rbegin, rend, crbegin, crend): New.
709 * testsuite/24_iterators/range_access_cpp14.cc: New.
711 2015-01-18 Jonathan Wakely <jwakely@redhat.com>
714 * include/bits/stl_algo.h (__is_permutation): Also test for reaching
715 end of the second range.
716 * testsuite/25_algorithms/is_permutation/64646.cc: New.
718 2015-01-18 Jonathan Wakely <jwakely@redhat.com>
720 * doc/xml/manual/status_cxx2011.xml: Remove note about offsetof.
721 * doc/html/manual/status.html: Regenerate.
723 2015-01-18 Jonathan Wakely <jwakely@redhat.com>
725 * include/bits/atomic_futex.h: Use mutex and condition_variable when
726 atomic int is not lock-free. Make member variables private.
727 * src/c++11/futex.cc: Likewise.
729 * src/c++11/futex.cc: Fix order of includes and preprocessor condition.
731 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
734 * include/bits/atomic_futex.h: Use appropriate config macros for
735 availability of std::mutex, std::condition and std::chrono.
737 2015-01-17 Ville Voutilainen <ville.voutilainen@gmail.com>
738 Jonathan Wakely <jwakely@redhat.com>
740 * doc/xml/manual/status_cxx2011.xml: Update C++11 status.
741 * doc/html/*: Regenerate.
743 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
747 * include/bits/algorithmfwd.h (rotate): Return an iterator.
748 * include/bits/stl_algo.h (rotate, __rotate): Likewise.
749 * testsuite/25_algorithms/rotate/dr488.cc: New.
750 * testsuite/25_algorithms/rotate/check_type.cc: Adjust function type.
751 * testsuite/25_algorithms/rotate/requirements/explicit_instantiation/
753 * testsuite/25_algorithms/rotate/requirements/explicit_instantiation/
756 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
759 * include/bits/atomic_base.h: Remove atomic integral typedefs as
760 synonyms for __atomic_base<int> etc.
761 * include/std/atomic: Make atomic_int a synonym for atomic<int> and
762 likewise for all atomic integral types.
763 * testsuite/29_atomics/atomic_integral/cons/copy_list.cc: New.
764 * testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number.
766 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
769 * include/std/tuple (_Tuple_impl): Remove zero-element specialization
770 and define one-element specialization.
771 * testsuite/20_util/tuple/56785.cc: New.
773 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
775 * testsuite/22_locale/codecvt/codecvt_utf8/requirements/1.cc:
776 Remove unused header.
777 * testsuite/22_locale/codecvt/codecvt_utf16/requirements/1.cc:
779 * testsuite/22_locale/codecvt/codecvt_utf8_utf16/requirements/1.cc:
782 2015-01-16 Jonathan Wakely <jwakely@redhat.com>
784 * include/bits/locale_conv.h (wstring_convert, wbuffer_convert): New.
785 * include/std/locale: Include new header.
786 * include/Makefile.am: Add it.
787 * include/Makefile.in: Regenerate.
788 * testsuite/22_locale/conversions/buffer/requirements/typedefs.cc: New.
789 * testsuite/22_locale/conversions/string/1.cc: New.
790 * testsuite/22_locale/conversions/string/2.cc: New.
791 * testsuite/22_locale/conversions/string/requirements/typedefs.cc: New.
792 * testsuite/22_locale/conversions/string/requirements/typedefs-2.cc:
795 2015-01-16 Jonathan Wakely <jwakely@redhat.com>
797 * config/abi/pre/gnu.ver: Export new symbols.
798 * include/Makefile.am: Add codecvt.
799 * include/Makefile.in: Regenerate.
800 * include/std/codecvt: New header.
801 * src/c++11/codecvt.cc (__codecvt_utf8_base, __codecvt_utf16_base,
802 __codecvt_utf8_utf16_base): Define specializations.
803 * testsuite/22_locale/codecvt/codecvt_utf8/requirements/1.cc: New.
804 * testsuite/22_locale/codecvt/codecvt_utf16/requirements/1.cc: New.
805 * testsuite/22_locale/codecvt/codecvt_utf8_utf16/requirements/1.cc:
808 2015-01-16 Torvald Riegel <triegel@redhat.com>
810 * src/c++11/futex.cc: New file.
811 * include/bits/atomic_futex.h: New file.
812 * include/std/future (__future_base::_State_baseV2): Use
813 atomic_futex_unsigned instead of mutex+condvar.
814 * src/c++11/futex.cc: Likewise.
815 * include/Makefile.am: Add atomic_futex.h.
816 * include/Makefile.in: Likewise.
817 * src/c++11/Makefile.am: Add futex.cc.
818 * src/c++11/Makefile.in: Likewise.
820 2015-01-16 Jonathan Wakely <jwakely@redhat.com>
822 * acinclude.m4: Fix typo in comment.
823 * configure: Regenerate.
824 * include/bits/codecvt.h (codecvt<char16_t, char, mbstate_t>,
825 codecvt<char16_t, char, mbstate_t>): Declare specializations.
826 * include/bits/locale_facets.h: Reserve space for new specializations.
827 * src/c++11/Makefile.am: Add codecvt.cc.
828 * src/c++11/Makefile.in: Regenerate.
829 * src/c++11/codecvt.cc: New.
830 * src/c++98/Makefile.am: Compile locale_init.cc and localename.cc
832 * src/c++98/Makefile.in: Regenerate.
833 * src/c++98/locale_init.cc: Initialize new codecvt specializations.
834 * src/c++98/localename.cc: Likewise.
835 * config/abi/pre/gnu.ver: Exports for new codecvt specializations.
836 * testsuite/22_locale/codecvt/utf8.cc: New.
837 * testsuite/22_locale/locale/cons/unicode.cc: Check that new
838 specializations are installed in locale objects.
840 2015-01-16 Torvald Riegel <triegel@redhat.com>
842 * include/std/shared_mutex (shared_timed_mutex): Add POSIX-based
845 2015-01-13 Jonathan Wakely <jwakely@redhat.com>
848 * config/abi/pre/gnu.ver: Export fstream functions using new string.
850 2015-01-12 Jonathan Wakely <jwakely@redhat.com>
853 * src/c++11/cxx11-shim_facets.cc (locale::facet::_M_sso_shim): Check
857 * src/c++11/cxx11-shim_facets.cc: Check for wchar_t support.
859 2015-01-10 Thomas Schwinge <thomas@codesourcery.com>
861 * doc/xml/manual/parallel_mode.xml: Update for libgomp being
862 renamed from "GNU OpenMP Runtime Library" to "GNU Offloading and
863 Multi Processing Runtime Library".
865 2015-01-09 Jonathan Wakely <jwakely@redhat.com>
868 * include/bits/stl_uninitialized.h (uninitialized_copy): Fix
869 is_assignable arguments.
870 * testsuite/20_util/specialized_algorithms/uninitialized_copy/64476.cc:
873 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
875 * libsupc++/unwind-cxx.h: Revert previous commit.
877 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
879 * configure.host: Add arm*-*-freebsd* port_specific_symbol_files.
881 2015-01-09 Tim Shen <timshen@google.com>
884 * include/bits/regex.h (match_results<>::swap): Use std::swap
886 * include/bits/regex_compiler.tcc (_Compiler<>::_M_quantifier):
888 * testsuite/28_regex/match_results/swap.cc: New testcase.
890 2015-01-08 Jonathan Wakely <jwakely@redhat.com>
893 * include/std/type_traits (has_trivial_default_constructor,
894 has_trivial_copy_constructor, has_trivial_copy_assign): Add deprecated
896 * testsuite/20_util/has_trivial_copy_assign/requirements/
897 explicit_instantiation.cc: Use -Wno-deprecated.
898 * testsuite/20_util/has_trivial_copy_assign/requirements/typedefs.cc:
900 * testsuite/20_util/has_trivial_copy_assign/value.cc: Likewise.
901 * testsuite/20_util/has_trivial_copy_constructor/requirements/
902 explicit_instantiation.cc: Likewise.
903 * testsuite/20_util/has_trivial_copy_constructor/requirements/
904 typedefs.cc: Likewise.
905 * testsuite/20_util/has_trivial_copy_constructor/value.cc: Likewise.
906 * testsuite/20_util/has_trivial_default_constructor/requirements/
907 explicit_instantiation.c: Likewise.
908 * testsuite/20_util/has_trivial_default_constructor/requirements/
909 typedefs.cc: Likewise.
910 * testsuite/20_util/has_trivial_default_constructor/value.cc:
912 * testsuite/20_util/pair/requirements/dr801.cc: Replace deprecated
914 * testsuite/20_util/tuple/requirements/dr801.cc: Likewise.
915 * testsuite/util/testsuite_common_types.h: Likewise.
917 2015-01-08 Jonathan Wakely <jwakely@redhat.com>
919 * include/bits/hashtable_policy.h: Use __bool_constant.
921 2015-01-07 Jonathan Wakely <jwakely@redhat.com>
923 * libsupc++/Makefile.am: Compile del_ops.cc as C++14.
924 * libsupc++/Makefile.in: Regenerate.
926 2015-01-06 Jonathan Wakely <jwakely@redhat.com>
928 * config/abi/pre/gnu.ver: Fix version conflict for std::locale::name().
930 2015-01-05 Jakub Jelinek <jakub@redhat.com>
932 Update copyright years.
934 2015-01-04 Jonathan Wakely <jwakely@redhat.com>
937 * testsuite/18_support/exception_ptr/64241.cc: Use
938 dg-require-atomic-builtins.
940 2015-01-02 Jonathan Wakely <jwakely@redhat.com>
942 * testsuite/21_strings/basic_string/modifiers/64422.cc: Fix copyright
945 2015-01-02 Tim Shen <timshen@google.com>
948 * include/bits/regex_executor.tcc (_Executor<>::_M_dfs): Copy the
949 iterator, since the original one shouldn't be mutated.
951 2015-01-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
954 * src/c++98/misc-inst.cc (string::erase): Add missing overloads.
955 (string::insert): Likewise.
956 (string::replace): Likewise.
957 (wstring::erase): Likewise.
958 (wstring::insert): Likewise.
959 (wstring::replace): Likewise.
960 * testsuite/21_strings/basic_string/modifiers/64422.cc: New testcase.
962 2015-01-02 Jonathan Wakely <jwakely@redhat.com>
965 * doc/doxygen/user.cfg.in: Set correct TAB_SIZE.
967 2015-01-02 Jonathan Wakely <jwakely@redhat.com>
970 * testsuite/21_strings/basic_string/numeric_conversions/char/dr1261.cc:
971 Revert removal of dg-require-string-conversions.
972 * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
974 * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
976 * testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
978 * testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
980 * testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc:
982 * testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc:
984 * testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
986 * testsuite/21_strings/basic_string/numeric_conversions/char/
988 * testsuite/21_strings/basic_string/numeric_conversions/char/
989 to_string.cc: Likewise.
991 Copyright (C) 2015 Free Software Foundation, Inc.
993 Copying and distribution of this file, with or without modification,
994 are permitted in any medium without royalty provided the copyright
995 notice and this notice are preserved.