r15-5327-g55e3bd376b2214 changes the default to -std=gnu23 but this test now triggers -Wold-style-function-definition. Follow Joseph's advice in that commit and tweak the test accordingly.
gcc/testsuite/ChangeLog: * gcc.target/i386/pr66891.c: Pass -Wold-style-function-definition. --- OK if testing succeeds? gcc/testsuite/gcc.target/i386/pr66891.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/i386/pr66891.c b/gcc/testsuite/gcc.target/i386/pr66891.c index 61a45703196d..8d23cd248b86 100644 --- a/gcc/testsuite/gcc.target/i386/pr66891.c +++ b/gcc/testsuite/gcc.target/i386/pr66891.c @@ -1,5 +1,5 @@ /* { dg-do compile { target ia32 } } */ -/* { dg-options "-O2" } */ +/* { dg-options "-O2 -Wno-old-style-function-definition" } */ __attribute__((__stdcall__)) void fn1(); -- 2.47.0