From: Jonathan Wakely Date: Thu, 30 Jul 2020 11:23:55 +0000 (+0100) Subject: libstdc++: Add options for ieee float to relevant tests X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eeb45f8a41f7214d86824444151bff7c7f00b06a;p=gcc.git 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. --- 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 } }