aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2025-09-08 21:46:56 +0800
committerXi Ruoyao <xry111@xry111.site>2025-09-08 22:03:04 +0800
commitcdb76f4bee2943fdc7d1c00545fe396f90cbca64 (patch)
treedb3d2749a388d8583232ed52b0da692e60a413fd /gcc
parent00cd34b1046076a3272f8e8e85c97dc8f4d2ea44 (diff)
downloadgcc-cdb76f4bee2943fdc7d1c00545fe396f90cbca64.zip
gcc-cdb76f4bee2943fdc7d1c00545fe396f90cbca64.tar.gz
gcc-cdb76f4bee2943fdc7d1c00545fe396f90cbca64.tar.bz2
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.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/gcc.dg/fixed-point/bitint-1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/fixed-point/bitint-1.c b/gcc/testsuite/gcc.dg/fixed-point/bitint-1.c
index d87c125..dc843ff 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)