+2018-06-06 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/86068
+ * c-cppbuiltin.c (c_cpp_builtins): Fix a typo, set
+ __cpp_transactional_memory to 201500 instead of 210500.
+
2018-06-06 Jason Merrill <jason@redhat.com>
PR c++/85710 - ICE with -Wmemset-elt-size.
if (flag_tm)
/* Use a value smaller than the 201505 specified in
the TS, since we don't yet support atomic_cancel. */
- cpp_define (pfile, "__cpp_transactional_memory=210500");
+ cpp_define (pfile, "__cpp_transactional_memory=201500");
if (flag_sized_deallocation)
cpp_define (pfile, "__cpp_sized_deallocation=201309");
if (aligned_new_threshold)
+2018-06-06 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/86068
+ * include/bits/c++config: Check __cpp_transactional_memory >= 201500L
+ rather than __cpp_transactional_memory >= 201505L.
+
2018-06-06 Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/86008
// Most of the following conditions are due to limitations in the current
// implementation.
#if __cplusplus >= 201103L && _GLIBCXX_USE_CXX11_ABI \
- && _GLIBCXX_USE_DUAL_ABI && __cpp_transactional_memory >= 201505L \
+ && _GLIBCXX_USE_DUAL_ABI && __cpp_transactional_memory >= 201500L \
&& !_GLIBCXX_FULLY_DYNAMIC_STRING && _GLIBCXX_USE_WEAK_REF \
&& _GLIBCXX_USE_ALLOCATOR_NEW
#define _GLIBCXX_TXN_SAFE transaction_safe