RISC-V: Fix dynamic lmul tests depended on abi
Some toolchain configs would report: fatal error: gnu/stubs-ilp32.h: No such file or directory Fix method suggested by Juzhe-Zhong gcc/testsuite/ChangeLog: * gcc.dg/vect/costmodel/riscv/rvv/riscv_vector.h: New file. Signed-off-by: demin.han <demin.han@starfivetech.com> Signed-off-by: demin.han <demin.han@starfivetech.com>
This commit is contained in:
parent
f6d787c231
commit
90be333ad5
1 changed files with 11 additions and 0 deletions
11
gcc/testsuite/gcc.dg/vect/costmodel/riscv/rvv/riscv_vector.h
Normal file
11
gcc/testsuite/gcc.dg/vect/costmodel/riscv/rvv/riscv_vector.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
/* Wrapper of riscv_vector.h, prevent riscv_vector.h including stdint.h from
|
||||
C library, that might cause problem on testing RV32 related testcase when
|
||||
we disable multilib. */
|
||||
#ifndef _RISCV_VECTOR_WRAP_H
|
||||
|
||||
#define _GCC_WRAP_STDINT_H
|
||||
#include "stdint-gcc.h"
|
||||
#include_next <riscv_vector.h>
|
||||
#define _RISCV_VECTOR_WRAP_H
|
||||
|
||||
#endif
|
Loading…
Add table
Reference in a new issue