]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[libstdc++] [testsuite] require dfprt on some tests
authorAlexandre Oliva <oliva@adacore.com>
Fri, 12 Jul 2024 08:42:19 +0000 (05:42 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Fri, 12 Jul 2024 08:42:19 +0000 (05:42 -0300)
On a target that doesn't enable decimal float components in libgcc
(because the libc doens't define all required FE_* macros), but whose
compiler supports _Decimal* types, the effective target requirement
dfp passes, but several tests won't link because the runtime support
they depend on is missing.  State their dfprt requirement.

for  libstdc++-v3/ChangeLog

* testsuite/decimal/binary-arith.cc: Require dfprt.
* testsuite/decimal/comparison.cc: Likewise.
* testsuite/decimal/compound-assignment.cc: Likewise.
* testsuite/decimal/compound-assignment-memfunc.cc: Likewise.
* testsuite/decimal/make-decimal.cc: Likewise.
* testsuite/decimal/pr54036-1.cc: Likewise.
* testsuite/decimal/pr54036-2.cc: Likewise.
* testsuite/decimal/pr54036-3.cc: Likewise.
* testsuite/decimal/unary-arith.cc: Likewise.

libstdc++-v3/testsuite/decimal/binary-arith.cc
libstdc++-v3/testsuite/decimal/comparison.cc
libstdc++-v3/testsuite/decimal/compound-assignment-memfunc.cc
libstdc++-v3/testsuite/decimal/compound-assignment.cc
libstdc++-v3/testsuite/decimal/make-decimal.cc
libstdc++-v3/testsuite/decimal/pr54036-1.cc
libstdc++-v3/testsuite/decimal/pr54036-2.cc
libstdc++-v3/testsuite/decimal/pr54036-3.cc
libstdc++-v3/testsuite/decimal/unary-arith.cc

index c10a8b6466cb0e55b7cf939e3af8e454629d4178..3eeed7ea9750119dc588606fc7d8bb550dec7c81 100644 (file)
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-require-effective-target dfp }
+// { dg-require-effective-target dfprt }
 
 // ISO/IEC TR 24733  3.2.8  Binary arithmetic operators.
 
index cf34c8d74badc455eb0852acb8e26ea5856a709c..424dd8bd266591bb8afadcb4d5411d3a8060d412 100644 (file)
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-require-effective-target dfp }
+// { dg-require-effective-target dfprt }
 
 // ISO/IEC TR 24733  3.2.9  Comparison operators.
 
index 817d4bb10b1e9c77c91f70f9c44ae891321fd63c..d520af9a68d49f8dda2725e915040b6383fe49ce 100644 (file)
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-require-effective-target dfp }
+// { dg-require-effective-target dfprt }
 
 // ISO/IEC TR 24733  3.2.2.6  Compound assignment (decimal32).
 // ISO/IEC TR 24733  3.2.3.6  Compound assignment (decimal64).
index 2d3e325856988868bdf1dae7e5f9e98a16376b01..5aa87e78a739a3c38a22f441bbf8085d19aa7ac1 100644 (file)
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-require-effective-target dfp }
+// { dg-require-effective-target dfprt }
 
 // ISO/IEC TR 24733  3.2.2.6  Compound assignment (decimal32).
 // ISO/IEC TR 24733  3.2.3.6  Compound assignment (decimal64).
index aa75ac89d47929f138a2990077d6f7d2a5d429aa..560196cb305e1530730daa0aa28668c7afc0ece7 100644 (file)
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-require-effective-target dfp }
+// { dg-require-effective-target dfprt }
 // { dg-options "-Wno-pedantic" }
 
 // ISO/IEC TR 24733  3.2.5  Initialization from coefficient and exponent.
index 508738701ca0185baa917bc56b1745dd571407d6..a07e4c351651c2f0b1edc1659e3263bc43a81599 100644 (file)
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-require-effective-target dfp }
+// { dg-require-effective-target dfprt }
 
 #include <decimal/decimal>
 #include <testsuite_hooks.h>
index cb9e8c5932adbcc592771cf6637b8bb1ee2714d6..e0a5797a25d49e70ea54340c9964fcafb42e1d73 100644 (file)
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-require-effective-target dfp }
+// { dg-require-effective-target dfprt }
 
 #include <decimal/decimal>
 #include <testsuite_hooks.h>
index f27b48991c85e34d40d75cb035fb26b9e4bda700..75fcb2f27bed0e2aec7040f88a88c66315309bd7 100644 (file)
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-require-effective-target dfp }
+// { dg-require-effective-target dfprt }
 
 #include <decimal/decimal>
 #include <testsuite_hooks.h>
index b3352ac3656d4e78f7069499dca84ab68dc26e44..5f75af1439b87f2c024ada73cf28912115a6269c 100644 (file)
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-require-effective-target dfp }
+// { dg-require-effective-target dfprt }
 
 // ISO/IEC TR 24733  3.2.7  Unary arithmetic operators.