https://gcc.gnu.org/g:ca80c28674a30108e0d79f6182fa46de43820183
commit ca80c28674a30108e0d79f6182fa46de43820183 Author: Alexandre Oliva <ol...@adacore.com> Date: Thu May 8 02:17:41 2025 -0300 [testsuite] [ppc] newlib sets FE_VXSOFT on raise FE_INVALID The implementation of the fe*except primitives in newlib sets the FE_VXSOFT bit when raising FE_INVALID, and the test doesn't expect that. Skip it: the tested builtin expansions are for glibc only anyway. for gcc/testsuite/ChangeLog * gcc.target/powerpc/builtin-feclearexcept-feraiseexcept-2.c: Skip on newlib/ppc. Diff: --- gcc/testsuite/gcc.target/powerpc/builtin-feclearexcept-feraiseexcept-2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/testsuite/gcc.target/powerpc/builtin-feclearexcept-feraiseexcept-2.c b/gcc/testsuite/gcc.target/powerpc/builtin-feclearexcept-feraiseexcept-2.c index 28c2a00ec520..b9260a123d77 100644 --- a/gcc/testsuite/gcc.target/powerpc/builtin-feclearexcept-feraiseexcept-2.c +++ b/gcc/testsuite/gcc.target/powerpc/builtin-feclearexcept-feraiseexcept-2.c @@ -1,6 +1,7 @@ /* { dg-do run } */ /* { dg-require-effective-target fenv_exceptions } */ /* { dg-options "-lm -fno-builtin" } */ +/* { dg-skip-if "raise FE_INVALID sets FE_VXSOFT on newlib" { powerpc*-*-e* } } */ /* This testcase ensures that the builtins are correctly expanded and match the expected result.