testsuite: i386: adapt to -std=gnu23 default change
r15-5327-g55e3bd376b2214 changes the default to -std=gnu23 but this test relies on unprototyped functions. Follow Joseph's advice in that commit and tweak the test accordingly. gcc/testsuite/ChangeLog: * gcc.target/i386/pr66891.c: Pass -std=gnu17.
This commit is contained in:
parent
714f7d8e3a
commit
6aabe3adef
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
/* { dg-do compile { target ia32 } } */
|
||||
/* { dg-options "-O2" } */
|
||||
/* { dg-options "-O2 -std=gnu17" } */
|
||||
|
||||
__attribute__((__stdcall__)) void fn1();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue