[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.
This commit is contained in:
Jeff Law 2023-12-02 22:54:46 -07:00
parent 4cef6daf40
commit f37744662c

View file

@ -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);