]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite: Another fixup for fixed-point/bitint-1.c test
authorXi Ruoyao <xry111@xry111.site>
Mon, 8 Sep 2025 13:46:56 +0000 (21:46 +0800)
committerXi Ruoyao <xry111@xry111.site>
Mon, 8 Sep 2025 14:03:04 +0000 (22:03 +0800)
commitcdb76f4bee2943fdc7d1c00545fe396f90cbca64
treedb3d2749a388d8583232ed52b0da692e60a413fd
parent00cd34b1046076a3272f8e8e85c97dc8f4d2ea44
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.
gcc/testsuite/gcc.dg/fixed-point/bitint-1.c