RISC-V: Specify mtune and march for PR113742
The testcase pr113742.c is failing for 32 bit targets due to the following cc1 error: cc1: error: ABI requries '-march=rv64' Specify '-march=rv64gc' with '-mtune=sifive-p600-series' PR target/113742 gcc/testsuite/ChangeLog: * gcc.target/riscv/pr113742.c: change mcpu to mtune and add march Signed-off-by: Edwin Lu <ewlu@rivosinc.com>
This commit is contained in:
parent
5772ea772d
commit
3232ebd91e
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
//* { dg-do compile } */
|
||||
/* { dg-options "-O2 -finstrument-functions -mabi=lp64d -mcpu=sifive-p670" } */
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O2 -finstrument-functions -march=rv64gc -mabi=lp64d -mtune=sifive-p600-series" } */
|
||||
|
||||
void foo(void) {}
|
||||
|
|
Loading…
Add table
Reference in a new issue