On Jan 9, 2025, at 10:25 PM, Alexandre Oliva <ol...@adacore.com> wrote: > > 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. > > Regstrapped on x86_64-linux-gnu. Also tested with aarch64-elf and > arm-eabi on gcc-14, with dfp support (implicitly) disabled in libgcc. > Ok to install?
Ok. > 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.