aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2020-07-30 12:23:55 +0100
committerJonathan Wakely <jwakely@redhat.com>2020-07-30 12:50:03 +0100
commiteeb45f8a41f7214d86824444151bff7c7f00b06a (patch)
tree7441f3da361e6fea8e64bdd0a768abd264910df4
parent4c27c6584d0c15926f57ac40f931e238cf0b3110 (diff)
downloadgcc-eeb45f8a41f7214d86824444151bff7c7f00b06a.zip
gcc-eeb45f8a41f7214d86824444151bff7c7f00b06a.tar.gz
gcc-eeb45f8a41f7214d86824444151bff7c7f00b06a.tar.bz2
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.
-rw-r--r--libstdc++-v3/testsuite/20_util/from_chars/4.cc1
-rw-r--r--libstdc++-v3/testsuite/29_atomics/atomic_float/1.cc1
2 files changed, 2 insertions, 0 deletions
diff --git a/libstdc++-v3/testsuite/20_util/from_chars/4.cc b/libstdc++-v3/testsuite/20_util/from_chars/4.cc
index e7127ed..23fc990 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 @@
// <charconv> is supported in C++14 as a GNU extension
// { dg-do run { target c++14 } }
+// { dg-add-options ieee }
#include <charconv>
#include <string>
diff --git a/libstdc++-v3/testsuite/29_atomics/atomic_float/1.cc b/libstdc++-v3/testsuite/29_atomics/atomic_float/1.cc
index a38b040..1c2d273 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
// <http://www.gnu.org/licenses/>.
+// { dg-add-options ieee }
// { dg-options "-std=gnu++2a" }
// { dg-do run { target c++2a } }