]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite: graphite: adapt to -std=gnu23 default change
authorSam James <sam@gentoo.org>
Sat, 16 Nov 2024 03:12:33 +0000 (03:12 +0000)
committerSam James <sam@gentoo.org>
Sat, 16 Nov 2024 03:29:58 +0000 (03:29 +0000)
commit714f7d8e3ace3f3f42ff80e25d48780310089653
treee329bf52085910b20a8c987b686d7532bcc4e4bc
parente77fd9aa89c210db6006fcefb03d80bae0fae851
testsuite: graphite: adapt to -std=gnu23 default change

r15-5327-g55e3bd376b2214 changes the default to -std=gnu23 but these
tests now trigger -Wold-style-definition. Follow Joseph's advice
in that commit and tweak the tests accordingly.

gcc/testsuite/ChangeLog:

* gcc.dg/graphite/id-15.c: Pass -Wno-old-style-definition.
* gcc.dg/graphite/pr38413.c: Ditto.
* gcc.dg/graphite/pr38510.c: Ditto.
gcc/testsuite/gcc.dg/graphite/id-15.c
gcc/testsuite/gcc.dg/graphite/pr38413.c
gcc/testsuite/gcc.dg/graphite/pr38510.c