commit f37744662cbc74efcceb790b99dcd6521c51a578 Author: Jeff Law Date: Sat Dec 2 22:54:46 2023 -0700 [committed] Fix gnu23-builtins-no-dfp Last patch for the night. There's still a bit of minor fallout left in GCC (loongarch testsuite for example). But things are looking good on the targets I test. The plan is to start submitting the various newlib/libgloss fixes tomorrow. Anyway, this test was the one I was most concerned about. Basically we're testing that on a !dfp target that the builtins are not available. It expects a warning, but gets an error by default now. I just changed the test to use -fpermissive, so that the test behaves as it did previously. Pushed to the trunk. gcc/testsuite * gcc.dg/gnu23-builtins-no-dfp-1.c: Add -fpermissive. diff --git a/gcc/testsuite/gcc.dg/gnu23-builtins-no-dfp-1.c b/gcc/testsuite/gcc.dg/gnu23-builtins-no-dfp-1.c index 9fa25f0dd13..8fe4efbdd98 100644 --- a/gcc/testsuite/gcc.dg/gnu23-builtins-no-dfp-1.c +++ b/gcc/testsuite/gcc.dg/gnu23-builtins-no-dfp-1.c @@ -1,7 +1,7 @@ /* Test C23 built-in functions: test DFP built-in functions are not available when no DFP support. Bug 91985. */ /* { dg-do compile { target { ! dfp } } } */ -/* { dg-options "-std=gnu23" } */ +/* { dg-options "-std=gnu23 -fpermissive" } */ int fabsd32 (void); int fabsd64 (void);