diff options
author | Andre Vieira <andre.simoesdiasvieira@arm.com> | 2024-11-29 10:14:14 +0000 |
---|---|---|
committer | Andre Vieira <andre.simoesdiasvieira@arm.com> | 2024-11-29 15:53:51 +0000 |
commit | 15bd62513acf802966fd04f58f4ada84a6d2a7fd (patch) | |
tree | 16bca79be2ca027b01b0cb7add5b7c1fb46a5675 | |
parent | cf75f86ed980308621ab0db0dc8adc9c72e39f5e (diff) | |
download | gcc-15bd62513acf802966fd04f58f4ada84a6d2a7fd.zip gcc-15bd62513acf802966fd04f58f4ada84a6d2a7fd.tar.gz gcc-15bd62513acf802966fd04f58f4ada84a6d2a7fd.tar.bz2 |
arm, mve: Pass -std=c99 to dlstp-loop-form.c to avoid new warning
This fixes a testism introduced by the warning produced with the -std=c23
default. The testcase is a reduced piece of code meant to trigger an ICE, so
there's little value in trying to change the code itself.
gcc/testsuite/ChangeLog:
* gcc.target/arm/mve/dlstp-loop-form.c: Add -std=c99 to avoid warning
message.
-rw-r--r-- | gcc/testsuite/gcc.target/arm/mve/dlstp-loop-form.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.target/arm/mve/dlstp-loop-form.c b/gcc/testsuite/gcc.target/arm/mve/dlstp-loop-form.c index 08811ce..0f9589d 100644 --- a/gcc/testsuite/gcc.target/arm/mve/dlstp-loop-form.c +++ b/gcc/testsuite/gcc.target/arm/mve/dlstp-loop-form.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ /* { dg-require-effective-target arm_v8_1m_mve_fp_ok } */ -/* { dg-options "-Ofast" } */ +/* { dg-options "-Ofast -std=c99" } */ /* { dg-add-options arm_v8_1m_mve_fp } */ #pragma GCC arm "arm_mve_types.h" #pragma GCC arm "arm_mve.h" false |