On 11/15/24 8:16 PM, Sam James wrote:
r15-5327-g55e3bd376b2214 changes the default to -std=gnu23 but these
tests now trigger -Wold-style-function-definition. Follow Joseph's advice
in that commit and tweak the tests accordingly.
gcc/testsuite/ChangeLog:
* gcc.dg/graphite/id-15.c: Pass -Wold-style-function-definition.
* gcc.dg/graphite/pr38413.c: Ditto.
* gcc.dg/graphite/pr38510.c: Ditto.
I actually fixed the prototypes for the first two and use -std for the
last in my local tree. But your approach is fine too, I don't think any
of this stuff matters for these tests.
So, yea, OK.
jeff