From eeb45f8a41f7214d86824444151bff7c7f00b06a Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Thu, 30 Jul 2020 12:23:55 +0100 Subject: [PATCH] libstdc++: Add options for ieee float to relevant tests libstdc++-v3/ChangeLog: * testsuite/20_util/from_chars/4.cc: Use dg-add-options ieee. * testsuite/29_atomics/atomic_float/1.cc: Likewise. --- libstdc++-v3/testsuite/20_util/from_chars/4.cc | 1 + libstdc++-v3/testsuite/29_atomics/atomic_float/1.cc | 1 + 2 files changed, 2 insertions(+) diff --git a/libstdc++-v3/testsuite/20_util/from_chars/4.cc b/libstdc++-v3/testsuite/20_util/from_chars/4.cc index e7127ed0c48..23fc990bb38 100644 --- a/libstdc++-v3/testsuite/20_util/from_chars/4.cc +++ b/libstdc++-v3/testsuite/20_util/from_chars/4.cc @@ -17,6 +17,7 @@ // is supported in C++14 as a GNU extension // { dg-do run { target c++14 } } +// { dg-add-options ieee } #include #include diff --git a/libstdc++-v3/testsuite/29_atomics/atomic_float/1.cc b/libstdc++-v3/testsuite/29_atomics/atomic_float/1.cc index a38b040ee8f..1c2d273ce33 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic_float/1.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic_float/1.cc @@ -15,6 +15,7 @@ // with this library; see the file COPYING3. If not see // . +// { dg-add-options ieee } // { dg-options "-std=gnu++2a" } // { dg-do run { target c++2a } } -- 2.30.2