diff options
author | Jeff Law <jlaw@ventanamicro.com> | 2023-12-02 22:54:46 -0700 |
---|---|---|
committer | Jeff Law <jlaw@ventanamicro.com> | 2023-12-02 22:54:46 -0700 |
commit | f37744662cbc74efcceb790b99dcd6521c51a578 (patch) | |
tree | cf23bce04bdb6b1911c6be9927aca5dc7b1ef541 | |
parent | 4cef6daf40f4aefd748245a720955d4e52d1a81e (diff) | |
download | gcc-f37744662cbc74efcceb790b99dcd6521c51a578.zip gcc-f37744662cbc74efcceb790b99dcd6521c51a578.tar.gz gcc-f37744662cbc74efcceb790b99dcd6521c51a578.tar.bz2 |
[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.
-rw-r--r-- | gcc/testsuite/gcc.dg/gnu23-builtins-no-dfp-1.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 9fa25f0..8fe4efb 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); |