aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2019-07-12 16:45:16 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2019-07-12 16:45:16 +0100
commitb979ca0ffdef2d2dee63301906db852bdf087db4 (patch)
tree7ba429665fdfe871920e73c609eccc160d4da05f
parentc3a7a7b8abb7e356c34c9bccde895d76c514e2dd (diff)
downloadgcc-b979ca0ffdef2d2dee63301906db852bdf087db4.zip
gcc-b979ca0ffdef2d2dee63301906db852bdf087db4.tar.gz
gcc-b979ca0ffdef2d2dee63301906db852bdf087db4.tar.bz2
Fix inaccurate comment in new test
* testsuite/29_atomics/atomic_float/1.cc: Fix comment. From-SVN: r273448
-rw-r--r--libstdc++-v3/ChangeLog2
-rw-r--r--libstdc++-v3/testsuite/29_atomics/atomic_float/1.cc2
2 files changed, 3 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 668d80a..8e96a89 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,5 +1,7 @@
2019-07-12 Jonathan Wakely <jwakely@redhat.com>
+ * testsuite/29_atomics/atomic_float/1.cc: Fix comment.
+
* include/experimental/string_view (__detail::__idt): Remove.
(operator==, operator!=, operator<, operator>, operator<=, operator>=):
Use __type_identity_t instead of __detail::__idt;
diff --git a/libstdc++-v3/testsuite/29_atomics/atomic_float/1.cc b/libstdc++-v3/testsuite/29_atomics/atomic_float/1.cc
index bd0e353..b56c026 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;