[testsuite] rearrange requirements for dfp bitint run tests
dfp.exp sets the default to compile when dfprt is not available, but some dfp bitint tests override the default without that requirement, and try to run even when dfprt is not available. Instead of overriding the default, rewrite the requirements so that they apply even when compiling, since the absence of bitint or of int128 would presumably cause compile failures. for gcc/testsuite/ChangeLog * gcc.dg/dfp/bitint-1.c: Rewrite requirements to retain dfprt. * gcc.dg/dfp/bitint-2.c: Likewise. * gcc.dg/dfp/bitint-3.c: Likewise. * gcc.dg/dfp/bitint-4.c: Likewise. * gcc.dg/dfp/bitint-5.c: Likewise. * gcc.dg/dfp/bitint-6.c: Likewise. * gcc.dg/dfp/bitint-7.c: Likewise. * gcc.dg/dfp/bitint-8.c: Likewise. * gcc.dg/dfp/int128-1.c: Likewise. * gcc.dg/dfp/int128-2.c: Likewise. * gcc.dg/dfp/int128-3.c: Likewise. * gcc.dg/dfp/int128-4.c: Likewise.
This commit is contained in:
parent
f5409d71e2
commit
22f9ccf853
12 changed files with 16 additions and 12 deletions
|
@ -1,5 +1,5 @@
|
|||
/* PR c/102989 */
|
||||
/* { dg-do run { target bitint } } */
|
||||
/* { dg-require-effective-target bitint } */
|
||||
/* { dg-options "-O2 -std=c23 -pedantic-errors" } */
|
||||
|
||||
#if __BITINT_MAXWIDTH__ >= 192
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* PR c/102989 */
|
||||
/* { dg-do run { target bitint } } */
|
||||
/* { dg-require-effective-target bitint } */
|
||||
/* { dg-options "-O2 -std=c23 -pedantic-errors" } */
|
||||
|
||||
#if __BITINT_MAXWIDTH__ >= 192
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* PR c/102989 */
|
||||
/* { dg-do run { target bitint } } */
|
||||
/* { dg-require-effective-target bitint } */
|
||||
/* { dg-options "-O2 -std=c23 -pedantic-errors" } */
|
||||
|
||||
#if __BITINT_MAXWIDTH__ >= 192
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* PR c/102989 */
|
||||
/* { dg-do run { target bitint } } */
|
||||
/* { dg-require-effective-target bitint } */
|
||||
/* { dg-options "-O2 -std=c23 -pedantic-errors" } */
|
||||
|
||||
#if __BITINT_MAXWIDTH__ >= 192
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* PR c/102989 */
|
||||
/* { dg-do run { target bitint } } */
|
||||
/* { dg-require-effective-target bitint } */
|
||||
/* { dg-options "-O2 -std=c23 -pedantic-errors" } */
|
||||
|
||||
#if __BITINT_MAXWIDTH__ >= 192
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* PR c/102989 */
|
||||
/* { dg-do run { target bitint } } */
|
||||
/* { dg-require-effective-target bitint } */
|
||||
/* { dg-options "-O2 -std=c23 -pedantic-errors" } */
|
||||
|
||||
#if __BITINT_MAXWIDTH__ >= 192
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* PR c/102989 */
|
||||
/* Test non-canonical BID significands. */
|
||||
/* { dg-do run { target bitint } } */
|
||||
/* { dg-require-effective-target bitint } */
|
||||
/* { dg-require-effective-target dfp_bid } */
|
||||
/* { dg-options "-std=gnu23 -O2" } */
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* PR c/102989 */
|
||||
/* { dg-do run { target bitint } } */
|
||||
/* { dg-require-effective-target bitint } */
|
||||
/* { dg-require-effective-target fenv_exceptions } */
|
||||
/* { dg-options "-std=c23" } */
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
/* PR libgcc/65833 */
|
||||
/* { dg-do run { target { int128 && bitint } } } */
|
||||
/* { dg-require-effective-target int128 } */
|
||||
/* { dg-require-effective-target bitint } */
|
||||
/* { dg-options "-O2 -std=gnu2x" } */
|
||||
|
||||
#define INT128_MAX ((__int128) ((((unsigned __int128) 1) << 127) - 1))
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
/* PR libgcc/65833 */
|
||||
/* { dg-do run { target { int128 && bitint } } } */
|
||||
/* { dg-require-effective-target int128 } */
|
||||
/* { dg-require-effective-target bitint } */
|
||||
/* { dg-options "-O2 -std=gnu2x" } */
|
||||
|
||||
__attribute__((noipa)) _Decimal64
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
/* PR libgcc/65833 */
|
||||
/* Test non-canonical BID significands. */
|
||||
/* { dg-do run { target { int128 && bitint } } } */
|
||||
/* { dg-require-effective-target int128 } */
|
||||
/* { dg-require-effective-target bitint } */
|
||||
/* { dg-options "-O2 -std=gnu2x" } */
|
||||
/* { dg-require-effective-target dfp_bid } */
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
/* PR libgcc/65833 */
|
||||
/* { dg-do run { target { int128 && bitint } } } */
|
||||
/* { dg-require-effective-target int128 } */
|
||||
/* { dg-require-effective-target bitint } */
|
||||
/* { dg-require-effective-target fenv_exceptions } */
|
||||
/* { dg-options "-std=c2x" } */
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue