[committed] libstdc++: Add options for ieee float to relevant tests

Message ID 20200730121211.GA1004496@redhat.com
State New
Headers show
Series
  • [committed] libstdc++: Add options for ieee float to relevant tests
Related show

Commit Message

will schmidt via Gcc-patches July 30, 2020, 12:12 p.m.
libstdc++-v3/ChangeLog:

	* testsuite/20_util/from_chars/4.cc: Use dg-add-options ieee.
	* testsuite/29_atomics/atomic_float/1.cc: Likewise.

Tested powerpc64le-linux, committed to trunk.
commit eeb45f8a41f7214d86824444151bff7c7f00b06a
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Thu Jul 30 12:23:55 2020

    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.

Patch

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 @@ 
 
 // <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 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
 // <http://www.gnu.org/licenses/>.
 
+// { dg-add-options ieee }
 // { dg-options "-std=gnu++2a" }
 // { dg-do run { target c++2a } }