mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-27 22:03:57 +08:00
[libstdc++] [testsuite] require dfprt on some tests
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.
This commit is contained in:
parent
ccfe715180
commit
26dfb3f2d3
@ -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.
|
||||
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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).
|
||||
|
@ -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).
|
||||
|
@ -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.
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user