diff options
author | Sam James <sam@gentoo.org> | 2024-11-16 03:14:19 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-11-16 03:29:59 +0000 |
commit | 6aabe3adef1d951293d78115c9e3e129096b6abe (patch) | |
tree | 772dec5a04b5c0af402dd3289eec255ca206c9d6 | |
parent | 714f7d8e3ace3f3f42ff80e25d48780310089653 (diff) | |
download | gcc-6aabe3adef1d951293d78115c9e3e129096b6abe.zip gcc-6aabe3adef1d951293d78115c9e3e129096b6abe.tar.gz gcc-6aabe3adef1d951293d78115c9e3e129096b6abe.tar.bz2 |
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.
-rw-r--r-- | gcc/testsuite/gcc.target/i386/pr66891.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.target/i386/pr66891.c b/gcc/testsuite/gcc.target/i386/pr66891.c index 61a4570..cd79fb5 100644 --- a/gcc/testsuite/gcc.target/i386/pr66891.c +++ b/gcc/testsuite/gcc.target/i386/pr66891.c @@ -1,5 +1,5 @@ /* { dg-do compile { target ia32 } } */ -/* { dg-options "-O2" } */ +/* { dg-options "-O2 -std=gnu17" } */ __attribute__((__stdcall__)) void fn1(); |