]> git.ipfire.org Git - thirdparty/gcc.git/commit
RISC-V: testsuite: Fix pr119115.c.
authorRobin Dapp <rdapp.gcc@gmail.com>
Mon, 3 Nov 2025 20:36:09 +0000 (13:36 -0700)
committerJeff Law <jlaw@ventanamicro.com>
Mon, 3 Nov 2025 20:36:09 +0000 (13:36 -0700)
commitc5d658eb0b35df360b79c1fcc65737239ff5cee7
treeffda7f761ba043e83c11547815134d9e0d742777
parentffe538c831daeb72d935fb7fd796b6ce4a13c820
RISC-V: testsuite: Fix pr119115.c.

pr119115.c is broken (since it was added?) but because we only
attempt to compile/run it on a 256b target I never noticed it.

This patch adds -std=gnu99 to make it compile.

Regtested on rv64gcv_zvl512b.  Going to push after the CI run.

Regards
 Robin

gcc/testsuite/ChangeLog:

* gcc.target/riscv/rvv/base/pr119115.c: Add -std=gnu99.
gcc/testsuite/gcc.target/riscv/rvv/base/pr119115.c