diff options
author | Christoph Müllner <christoph.muellner@vrull.eu> | 2023-09-06 10:52:21 +0200 |
---|---|---|
committer | Philipp Tomsich <philipp.tomsich@vrull.eu> | 2023-09-06 12:12:28 +0200 |
commit | 57d1c9c1fe57a0de66e5c20538f77f49b1298071 (patch) | |
tree | 6d2e122e90c9a9303058b46d21f1d2dde3925e22 /gcc/expr.cc | |
parent | 9ee40b9a7bee83394fc7ba6fef71cb76d91b49c8 (diff) | |
download | gcc-57d1c9c1fe57a0de66e5c20538f77f49b1298071.zip gcc-57d1c9c1fe57a0de66e5c20538f77f49b1298071.tar.gz gcc-57d1c9c1fe57a0de66e5c20538f77f49b1298071.tar.bz2 |
riscv: xtheadbb: Fix xtheadbb-li-rotr test for rv32
The test was introduced recently and tests a RV64-only feature.
However, when testing an RV32 compiler, the test gets executed as well
and fails with "cc1: error: ABI requires '-march=rv32'".
This patch fixes this by adding '-mabi=lp64' (like it is done for
other RV64-only tests as well).
Retested with RV32 and RV64 to ensure this won't pop up again.
Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
gcc/testsuite/ChangeLog:
* gcc.target/riscv/xtheadbb-li-rotr.c: Don't run for RV32.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions