From: Xi Ruoyao Date: Mon, 8 Sep 2025 13:46:56 +0000 (+0800) Subject: testsuite: Another fixup for fixed-point/bitint-1.c test X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdb76f4bee2943fdc7d1c00545fe396f90cbca64;p=thirdparty%2Fgcc.git testsuite: Another fixup for fixed-point/bitint-1.c test Besides r16-3595, there's another bug in this test: with -std=c23 the token _Sat isn't recognized as a keyword at all, thus an error massage different from the expected will be outputted. Fix it by using -std=gnu23 instead. gcc/testsuite: * gcc.dg/fixed-point/bitint-1.c (dg-options): Use -std=gnu23 instead of -std=c23. --- diff --git a/gcc/testsuite/gcc.dg/fixed-point/bitint-1.c b/gcc/testsuite/gcc.dg/fixed-point/bitint-1.c index d87c125f4d6..dc843ff5b6b 100644 --- a/gcc/testsuite/gcc.dg/fixed-point/bitint-1.c +++ b/gcc/testsuite/gcc.dg/fixed-point/bitint-1.c @@ -1,6 +1,6 @@ /* PR c/102989 */ /* { dg-do compile { target bitint } } */ -/* { dg-options "-std=c23" } */ +/* { dg-options "-std=gnu23" } */ void foo (void)