mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-01 07:19:55 +08:00
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.
This commit is contained in:
parent
e77fd9aa89
commit
714f7d8e3a
@ -1,3 +1,4 @@
|
||||
/* { dg-additional-options "-Wno-old-style-definition" } */
|
||||
/* { dg-require-effective-target int32plus } */
|
||||
|
||||
typedef long unsigned int size_t;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* { dg-options "-O2 -fgraphite-identity" } */
|
||||
/* { dg-options "-O2 -fgraphite-identity -Wno-old-style-definition" } */
|
||||
|
||||
static int qsz;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* { dg-options "-O2 -fgraphite-identity" } */
|
||||
/* { dg-options "-O2 -fgraphite-identity -Wno-old-style-definition" } */
|
||||
typedef long int integer;
|
||||
typedef double doublereal;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user