https://gcc.gnu.org/g:5c53765c688e6b6624b774602b7a025fc042dab2
commit 5c53765c688e6b6624b774602b7a025fc042dab2 Author: Alexandre Oliva <[email protected]> Date: Tue Mar 10 04:21:22 2026 -0300 testsuite: ppc: pr77416 requires unprototyped C std The testcase uses unprototyped extern function declarations, and passes parameters to them, so it doesn't work with C23 any more. Select C11, the latest standard at the time the test was added. for gcc/testsuite/ChangeLog * gcc.target/poewrpc/pr77416.c: Select C11. Diff: --- gcc/testsuite/gcc.target/powerpc/pr77416.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/powerpc/pr77416.c b/gcc/testsuite/gcc.target/powerpc/pr77416.c index 4d636f60ace0..36eabfd45186 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr77416.c +++ b/gcc/testsuite/gcc.target/powerpc/pr77416.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { { powerpc*-*-* } && ilp32 } } } */ /* { dg-skip-if "" { powerpc*-*-aix* } } */ -/* { dg-options "-mdejagnu-cpu=power7 -O2" } */ +/* { dg-options "-mdejagnu-cpu=power7 -O2 -std=c11" } */ /* { dg-final { scan-assembler-times "addze" 1 } } */ extern int fn2 ();
