-/* { dg-do run } */
-
#include <stdarg.h>
#include "dfp-dbg.h"
-/* { dg-do run } */
/* { dg-options "-O" } */
/* DFP TR 24732 == WG14 / N1176, N1312 */
-/* { dg-do run } */
/* { dg-options "-O" } */
/* DFP TR 24732 == WG14 / N1176, N1312 */
/* { dg-require-effective-target dfp } */
+/* { dg-require-effective-target dfprt } */
/* Test passing decimal scalars by value. */
/* { dg-require-effective-target dfp } */
+/* { dg-require-effective-target dfprt } */
/* Test passing decimal classes by value. */
/* { dg-require-effective-target dfp } */
+/* { dg-require-effective-target dfprt } */
/* Test passing decimal scalars and classes by value. */
/* { dg-require-effective-target dfp } */
+/* { dg-require-effective-target dfprt } */
/* Test passing decimal classes and scalars by value. */
/* { dg-require-effective-target dfp } */
+/* { dg-require-effective-target dfprt } */
/* Test passing decimal scalars and typedef'd classes by value. */
/* { dg-require-effective-target dfp } */
+/* { dg-require-effective-target dfprt } */
/* Test passing typedef'd decimal classes and scalars by value. */
/* { dg-require-effective-target dfp } */
+/* { dg-require-effective-target dfprt } */
/* Test function return values for decimal float scalars. */
/* { dg-require-effective-target dfp } */
+/* { dg-require-effective-target dfprt } */
/* Test function return values for decimal classes. */
/* { dg-require-effective-target dfp } */
+/* { dg-require-effective-target dfprt } */
/* Test function return values for decimal float scalars and classes. */
/* { dg-require-effective-target dfp } */
+/* { dg-require-effective-target dfprt } */
/* Test function return values for decimal float classes and scalars. */
/* { dg-require-effective-target dfp } */
+/* { dg-require-effective-target dfprt } */
/* Test function return values for decimal float scalars and typedef'd
classes. */
/* { dg-require-effective-target dfp } */
+/* { dg-require-effective-target dfprt } */
/* Test function return values for typedef'd decimal float classes
and scalars. */
// { dg-do run }
// { dg-require-effective-target dfp }
+/* { dg-require-effective-target dfprt } */
extern "C" void abort ();
// { dg-do run }
// { dg-require-effective-target dfp }
+/* { dg-require-effective-target dfprt } */
extern "C" void abort ();
// { dg-do run { target aarch64*-*-* } }
// { dg-require-effective-target dfp }
+/* { dg-require-effective-target dfprt } */
/* Test unwinding of AArch64 register saves. */
/* We cannot use #include <decimal/decimal> because it defines
/* { dg-require-effective-target dfp } */
+/* { dg-require-effective-target dfprt } */
int main () {
_Decimal64 d64 = -0.DD;
/* Test non-canonical BID significands: _Decimal128. Bug 91226. */
-/* { dg-do run { target lp64 } } */
+/* { dg-do run { target { lp64 && dfprt } } } */
/* { dg-require-effective-target dfp_bid } */
/* { dg-options "-std=gnu23 -O2" } */
/* Test non-canonical BID significands: _Decimal128, case where
combination field starts 11. Bug 91226. */
-/* { dg-do run { target lp64 } } */
+/* { dg-do run { target { lp64 && dfprt } } } */
/* { dg-require-effective-target dfp_bid } */
/* { dg-options "-std=gnu23 -O2" } */
/* Test non-canonical BID significands: _Decimal128. Bug 91226. */
-/* { dg-do run { target lp64 } } */
+/* { dg-do run { target { lp64 && dfprt } } } */
/* { dg-require-effective-target dfp_bid } */
/* { dg-options "-std=gnu23 -O0" } */
/* Test non-canonical BID significands: _Decimal128, case where
combination field starts 11. Bug 91226. */
-/* { dg-do run { target lp64 } } */
+/* { dg-do run { target { lp64 && dfprt } } } */
/* { dg-require-effective-target dfp_bid } */
/* { dg-options "-std=gnu23 -O0" } */
/* Test non-canonical BID significands: _Decimal32. Bug 91226. */
-/* { dg-do run } */
/* { dg-require-effective-target dfp_bid } */
/* { dg-options "-std=gnu23 -O2" } */
/* Test non-canonical BID significands: _Decimal32. Bug 91226. */
-/* { dg-do run } */
/* { dg-require-effective-target dfp_bid } */
/* { dg-options "-std=gnu23 -O0" } */
/* Test non-canonical BID significands: _Decimal64. Bug 91226. */
-/* { dg-do run } */
/* { dg-require-effective-target dfp_bid } */
/* { dg-options "-std=gnu23 -O2" } */
/* Test non-canonical BID significands: _Decimal64. Bug 91226. */
-/* { dg-do run } */
/* { dg-require-effective-target dfp_bid } */
/* { dg-options "-std=gnu23 -O0" } */
/* Test __builtin_nansd* functions. Test not requiring runtime
exceptions support. */
-/* { dg-do run } */
/* { dg-options "" } */
volatile _Decimal32 d32 = __builtin_nansd32 ("");
/* Test __builtin_tgmath: valid uses, decimal floating-point types. */
-/* { dg-do run } */
/* { dg-options "" } */
extern void abort (void);
/* Test DEC_INFINITY defined in <float.h> with DFP support. */
-/* { dg-do run } */
/* { dg-options "-std=c23" } */
#include <float.h>
/* Test DEC_NAN defined in <float.h> with DFP support. */
-/* { dg-do run } */
/* { dg-options "-std=c23" } */
#include <float.h>
quiet not signaling. (This would only actually fail for a
signaling NaN in the hardware DFP case, because the software DFP
support in libgcc does not integrate with hardware exceptions.) */
-/* { dg-do run } */
/* { dg-require-effective-target fenv_exceptions } */
/* { dg-options "-std=c23" } */
/* Test DEC*_SNAN macros defined in <float.h> with DFP support. */
-/* { dg-do run } */
/* { dg-options "-std=c23" } */
#include <float.h>
/* PR tree-optimization/108068 */
-/* { dg-do run } */
/* { dg-options "-O2" } */
int
-// { dg-do run }
// { dg-options "-O1" }
static int