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.
This commit is contained in:
parent
9ee40b9a7b
commit
57d1c9c1fe
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
/* { dg-do compile } */
|
||||
/* { dg-options "-march=rv64gc_xtheadbb" } */
|
||||
/* { dg-options "-march=rv64gc_xtheadbb -mabi=lp64" } */
|
||||
/* { dg-skip-if "" { *-*-* } {"-O0" "-Os" "-Og" "-Oz" "-flto" } } */
|
||||
/* { dg-final { check-function-bodies "**" "" } } */
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue