aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorKito Cheng <kito.cheng@sifive.com>2022-10-07 16:55:14 +0800
committerKito Cheng <kito.cheng@sifive.com>2022-10-10 21:10:34 +0800
commitd0bbecb1c418b680505faa998fe420f0fd4bbfc1 (patch)
tree1cf4bdd4959a199da3e6c68bf7ad0f3ed530b216 /libgcc
parent99e9796ca1e9afcf820214353756a9a140d89be3 (diff)
downloadgcc-d0bbecb1c418b680505faa998fe420f0fd4bbfc1.zip
gcc-d0bbecb1c418b680505faa998fe420f0fd4bbfc1.tar.gz
gcc-d0bbecb1c418b680505faa998fe420f0fd4bbfc1.tar.bz2
RISC-V: Add riscv_vector.h wrapper in testsuite to prevent pull in stdint.h from C library
For RISC-V linux/glibc toolchain will got header file not found when including stdint.h if multilib is not enabled, it because some header file will try to include gnu/stubs-<ABI-NAME>.h from the system, however it only generated when multilib enabled. In order to prevent that, we introduce a wrapper for riscv_vector.h, include stdint-gcc.h rather than the default stdint.h. gcc/testsuite/ChangeLog: * gcc.target/riscv/rvv/base/riscv_vector.h: New. Reported-by: Christoph Müllner <christoph.muellner@vrull.eu> Tested-by: Christoph Müllner <christoph.muellner@vrull.eu> Reviewed-by: Ju-Zhe Zhong <juzhe.zhong@rivai.ai>
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions