On 11/07/19 20:45 +0100, Jonathan Wakely wrote:
+ // Repeat for volatile std::atomic<double> + if constexpr (std::atomic<long double>::is_always_lock_free)
Thanks to Uros for pointing out this typo. Fixed by the attached patch, committed to trunk.
commit 991bdaf97870e2775a15314823759aec7fd79599 Author: redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Fri Jul 12 15:45:16 2019 +0000 Fix inaccurate comment in new test * testsuite/29_atomics/atomic_float/1.cc: Fix comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@273448 138bc75d-0d04-0410-961f-82ee72b054a4 diff --git a/libstdc++-v3/testsuite/29_atomics/atomic_float/1.cc b/libstdc++-v3/testsuite/29_atomics/atomic_float/1.cc index bd0e353538d..b56c026fb99 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic_float/1.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic_float/1.cc @@ -476,7 +476,7 @@ test03() VERIFY( a0 == 13.2l ); } - // Repeat for volatile std::atomic<double> + // Repeat for volatile std::atomic<long double> if constexpr (std::atomic<long double>::is_always_lock_free) { volatile std::atomic<long double> a0;