]> git.ipfire.org Git - thirdparty/gcc.git/commit
[testsuite] [riscv] limit mcpu-xiangshan-nanhu.c to rv64
authorAlexandre Oliva <oliva@adacore.com>
Thu, 3 Apr 2025 06:06:47 +0000 (03:06 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Thu, 3 Apr 2025 06:06:47 +0000 (03:06 -0300)
commitb6d3a23cb027eb48a01ee5d70c6c72ab3bcde467
tree9d33f15c4adee60df1e827c9f67313f1a3fd287a
parent6f72af0c2e389e9252b6994643155e51ef68821b
[testsuite] [riscv] limit mcpu-xiangshan-nanhu.c to rv64

The testcase makes the -march option conditional on rv64, and #errors
out if the desired CPU properties are not active.  This makes the test
fail on rv32.  Arrange to skip the test on rv32 instead, moving the
rv64 conditional.

for  gcc/testsuite/ChangeLog

* gcc.target/riscv/mcpu-xiangshan-nanhu.c: Skip on non-rv64.
gcc/testsuite/gcc.target/riscv/mcpu-xiangshan-nanhu.c