RISC-V: Use stdint-gcc.h in rvv testsuite

Message ID 20230926175841.748654-1-patrick@rivosinc.com
State Not Applicable
Headers
Series RISC-V: Use stdint-gcc.h in rvv testsuite |

Checks

Context Check Description
snail/gcc-patch-check fail Git am fail log

Commit Message

Patrick O'Neill Sept. 26, 2023, 5:58 p.m. UTC
  stdint.h can be replaced with stdint-gcc.h to resolve some missing
system headers in non-multilib installations.

Tested using glibc rv32gcv and rv64gcv on r14-4258-gc9837443075.

gcc/ChangeLog:

	* config/riscv/riscv_vector.h (__RISCV_VECTOR_H): Replace
	stdint.h with stdint-gcc.h

gcc/testsuite/ChangeLog:

	* gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-1.h:
	Replace stdint.h with stdint-gcc.h.
	* gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-2.h:
	Ditto.
	* gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-1.h:
	Ditto.
	* gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-2.h:
	Ditto.
	* gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-1.h:
	Ditto.
	* gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-2.h:
	Ditto.
	* gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-1.h:
	Ditto.
	* gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-2.h:
	Ditto.
	* gcc.target/riscv/rvv/autovec/cond/cond_sqrt-1.c: Ditto.
	* gcc.target/riscv/rvv/autovec/cond/cond_sqrt-2.c: Ditto.
	* gcc.target/riscv/rvv/autovec/cond/cond_unary-1.c: Ditto.
	* gcc.target/riscv/rvv/autovec/cond/cond_unary-2.c: Ditto.
	* gcc.target/riscv/rvv/autovec/cond/cond_unary-3.c: Ditto.
	* gcc.target/riscv/rvv/autovec/cond/cond_unary-4.c: Ditto.
	* gcc.target/riscv/rvv/autovec/cond/cond_unary-5.c: Ditto.
	* gcc.target/riscv/rvv/autovec/cond/cond_unary-6.c: Ditto.
	* gcc.target/riscv/rvv/autovec/cond/cond_unary-7.c: Ditto.
	* gcc.target/riscv/rvv/autovec/cond/cond_unary-8.c: Ditto.
	* gcc.target/riscv/rvv/autovec/partial/slp-8.c: Ditto.
	* gcc.target/riscv/rvv/autovec/partial/slp-9.c: Ditto.
	* gcc.target/riscv/rvv/autovec/pr111232.c: Ditto.
	* gcc.target/riscv/rvv/autovec/vls-vlmax/perm.h: Ditto.
	* gcc.target/riscv/rvv/base/abi-call-args-4-run.c: Ditto.
	* gcc.target/riscv/rvv/base/pr110119-2.c: Ditto.
	* gcc.target/riscv/rvv/vsetvl/pr111255.c: Ditto.
	* gcc.target/riscv/rvv/vsetvl/wredsum_vlmax.c: Ditto.

Signed-off-by: Patrick O'Neill <patrick@rivosinc.com>
---
Failures looked like this:
In file included from /riscv-gnu-toolchain/build/sysroot/usr/include/features.h:515,
	      from /riscv-gnu-toolchain/build/sysroot/usr/include/bits/libc-header-start.h:33,
	      from /riscv-gnu-toolchain/build/sysroot/usr/include/stdint.h:26,
	      from /riscv-gnu-toolchain/build/lib/gcc/riscv32-unknown-linux-gnu/14.0.0/include/stdint.h:9,
	      from /riscv-gnu-toolchain/build/build-gcc-linux-stage2/gcc/include/stdint.h:9,
	      from /riscv-gnu-toolchain/build/build-gcc-linux-stage2/gcc/include/riscv_vector.h:28,
	      from /riscv-gnu-toolchain/gcc/gcc/testsuite/gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul1-7.c:4:
/riscv-gnu-toolchain/build/sysroot/usr/include/gnu/stubs.h:8:11: fatal error: gnu/stubs-ilp32.h: No such file or directory

Resolves these failures on rv64gcv (non-multilib):
FAIL: gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul1-7.c -O3 -ftree-vectorize --param riscv-autovec-lmul=dynamic (test for excess errors)
FAIL: gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul2-4.c -O3 -ftree-vectorize --param riscv-autovec-lmul=dynamic (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv32-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv32-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv32-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv32-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv32-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv32-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv32-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv32-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv32-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv32-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv32-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv32-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv32-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv32-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv32-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv32-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv32-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv32-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv32-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv32-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv32-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv32-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv32-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv32-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv32-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv32-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv32-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv32-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv32-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv32-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv32-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv32-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv32-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv32-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv32-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv32-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv32-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv32-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv32-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv32-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv32-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv32-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv32-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv32-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv32-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv32-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv32-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv32-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv32-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv32-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv32-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv32-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv32-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv32-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv32-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv32-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv32-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv32-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv32-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv32-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv32-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv32-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv32-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv32-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/partial/slp-8.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/partial/slp-8.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/partial/slp-8.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/partial/slp-8.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/partial/slp-8.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/partial/slp-8.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/partial/slp-8.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/partial/slp-8.c (test for excess errors)

Resolves these failures on rv32gcv (non-multilib):
FAIL: gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul1-7.c -O3 -ftree-vectorize --param riscv-autovec-lmul=dynamic (test for excess errors)
FAIL: gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul2-4.c -O3 -ftree-vectorize --param riscv-autovec-lmul=dynamic (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv64-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv64-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv64-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv64-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv64-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv64-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv64-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv64-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv64-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv64-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv64-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv64-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv64-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv64-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv64-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv64-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv64-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv64-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv64-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv64-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv64-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv64-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv64-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv64-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv64-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv64-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv64-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv64-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv64-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv64-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv64-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv64-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv64-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv64-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv64-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv64-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv64-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv64-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv64-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv64-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv64-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv64-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv64-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv64-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv64-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv64-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv64-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv64-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv64-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv64-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv64-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv64-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv64-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv64-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv64-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv64-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv64-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv64-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv64-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv64-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv64-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv64-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv64-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv64-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_sqrt-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_sqrt-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_sqrt-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_sqrt-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_sqrt-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_sqrt-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_sqrt-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_sqrt-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_sqrt-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_sqrt-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_sqrt-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_sqrt-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_sqrt-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_sqrt-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_sqrt-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_sqrt-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-3.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-3.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-3.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-3.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-3.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-3.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-3.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-3.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-4.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-4.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-4.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-4.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-4.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-4.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-4.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-4.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-5.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-5.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-5.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-5.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-5.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-5.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-5.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-5.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-6.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-6.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-6.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-6.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-6.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-6.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-6.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-6.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-7.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-7.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-7.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-7.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-7.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-7.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-7.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-7.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-8.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-8.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-8.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-8.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-8.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-8.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-8.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-8.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/partial/slp-9.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/partial/slp-9.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/partial/slp-9.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/partial/slp-9.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/partial/slp-9.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/partial/slp-9.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/partial/slp-9.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/partial/slp-9.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/pr111232.c -O3 -ftree-vectorize (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/vls-vlmax/perm-1.c -std=c99 -O3 -ftree-vectorize --param riscv-autovec-preference=fixed-vlmax (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/vls-vlmax/perm-2.c -std=c99 -O3 -ftree-vectorize --param riscv-autovec-preference=fixed-vlmax (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/vls-vlmax/perm-3.c -std=c99 -O3 -ftree-vectorize --param riscv-autovec-preference=fixed-vlmax (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/vls-vlmax/perm-4.c -std=c99 -O3 -ftree-vectorize --param riscv-autovec-preference=fixed-vlmax (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/vls-vlmax/perm-5.c -std=c99 -O3 -ftree-vectorize --param riscv-autovec-preference=fixed-vlmax (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/vls-vlmax/perm-6.c -std=c99 -O3 -ftree-vectorize --param riscv-autovec-preference=fixed-vlmax (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/vls-vlmax/perm-7.c -std=c99 -O3 -ftree-vectorize --param riscv-autovec-preference=fixed-vlmax (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/vls/perm-1.c -O3 -ftree-vectorize --param riscv-autovec-preference=scalable (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/vls/perm-2.c -O3 -ftree-vectorize --param riscv-autovec-preference=scalable (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/vls/perm-3.c -O3 -ftree-vectorize --param riscv-autovec-preference=scalable (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/vls/perm-4.c -O3 -ftree-vectorize --param riscv-autovec-preference=scalable (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/vls/perm-5.c -O3 -ftree-vectorize --param riscv-autovec-preference=scalable (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/vls/perm-6.c -O3 -ftree-vectorize --param riscv-autovec-preference=scalable (test for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/vls/perm-7.c -O3 -ftree-vectorize --param riscv-autovec-preference=scalable (test for excess errors)
FAIL: gcc.target/riscv/rvv/base/abi-callee-saved-1-fixed-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/base/abi-callee-saved-1-fixed-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/base/abi-callee-saved-1-save-restore.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/base/abi-callee-saved-1-zcmp.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/base/abi-callee-saved-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/base/abi-callee-saved-2-save-restore.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/base/abi-callee-saved-2-zcmp.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/base/abi-callee-saved-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/base/pr110119-2.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/base/pr110943.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/base/vlmul_ext-1.c (test for excess errors)
FAIL: gcc.target/riscv/rvv/vsetvl/pr111234.c   -O0  (test for excess errors)
FAIL: gcc.target/riscv/rvv/vsetvl/pr111234.c   -O1  (test for excess errors)
FAIL: gcc.target/riscv/rvv/vsetvl/pr111234.c   -O2  (test for excess errors)
FAIL: gcc.target/riscv/rvv/vsetvl/pr111234.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  (test for excess errors)
FAIL: gcc.target/riscv/rvv/vsetvl/pr111234.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  (test for excess errors)
FAIL: gcc.target/riscv/rvv/vsetvl/pr111234.c   -O3 -g  (test for excess errors)
FAIL: gcc.target/riscv/rvv/vsetvl/pr111234.c   -Os  (test for excess errors)
FAIL: gcc.target/riscv/rvv/vsetvl/pr111255.c   -O0  (test for excess errors)
FAIL: gcc.target/riscv/rvv/vsetvl/pr111255.c   -O1  (test for excess errors)
FAIL: gcc.target/riscv/rvv/vsetvl/pr111255.c   -O2  (test for excess errors)
FAIL: gcc.target/riscv/rvv/vsetvl/pr111255.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  (test for excess errors)
FAIL: gcc.target/riscv/rvv/vsetvl/pr111255.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  (test for excess errors)
FAIL: gcc.target/riscv/rvv/vsetvl/pr111255.c   -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions  (test for excess errors)
FAIL: gcc.target/riscv/rvv/vsetvl/pr111255.c   -O3 -g  (test for excess errors)
FAIL: gcc.target/riscv/rvv/vsetvl/pr111255.c   -Os  (test for excess errors)
FAIL: gcc.target/riscv/rvv/vsetvl/vsetvl-24.c   -O0  (test for excess errors)
FAIL: gcc.target/riscv/rvv/vsetvl/vsetvl-24.c   -O1  (test for excess errors)
FAIL: gcc.target/riscv/rvv/vsetvl/vsetvl-24.c   -O2  (test for excess errors)
FAIL: gcc.target/riscv/rvv/vsetvl/vsetvl-24.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  (test for excess errors)
FAIL: gcc.target/riscv/rvv/vsetvl/vsetvl-24.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  (test for excess errors)
FAIL: gcc.target/riscv/rvv/vsetvl/vsetvl-24.c   -O3 -g  (test for excess errors)
FAIL: gcc.target/riscv/rvv/vsetvl/vsetvl-24.c   -Os  (test for excess errors)
---
 gcc/config/riscv/riscv_vector.h			| 2 +-
 .../riscv/rvv/autovec/cond/cond_convert_float2float-1.h         | 2 +-
 .../riscv/rvv/autovec/cond/cond_convert_float2float-2.h         | 2 +-
 .../riscv/rvv/autovec/cond/cond_convert_float2int-1.h	| 2 +-
 .../riscv/rvv/autovec/cond/cond_convert_float2int-2.h	| 2 +-
 .../riscv/rvv/autovec/cond/cond_convert_int2float-1.h	| 2 +-
 .../riscv/rvv/autovec/cond/cond_convert_int2float-2.h	| 2 +-
 .../gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-1.h  | 2 +-
 .../gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-2.h  | 2 +-
 gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_sqrt-1.c   | 2 +-
 gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_sqrt-2.c   | 2 +-
 gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-1.c  | 2 +-
 gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-2.c  | 2 +-
 gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-3.c  | 2 +-
 gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-4.c  | 2 +-
 gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-5.c  | 2 +-
 gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-6.c  | 2 +-
 gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-7.c  | 2 +-
 gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-8.c  | 2 +-
 gcc/testsuite/gcc.target/riscv/rvv/autovec/partial/slp-8.c      | 2 +-
 gcc/testsuite/gcc.target/riscv/rvv/autovec/partial/slp-9.c      | 2 +-
 gcc/testsuite/gcc.target/riscv/rvv/autovec/pr111232.c	| 2 +-
 gcc/testsuite/gcc.target/riscv/rvv/autovec/vls-vlmax/perm.h     | 2 +-
 gcc/testsuite/gcc.target/riscv/rvv/base/abi-call-args-4-run.c   | 2 +-
 gcc/testsuite/gcc.target/riscv/rvv/base/pr110119-2.c	 | 2 +-
 gcc/testsuite/gcc.target/riscv/rvv/vsetvl/pr111255.c	 | 2 +-
 gcc/testsuite/gcc.target/riscv/rvv/vsetvl/wredsum_vlmax.c       | 2 +-
 27 files changed, 27 insertions(+), 27 deletions(-)
  

Comments

Andrew Pinski Sept. 26, 2023, 6:13 p.m. UTC | #1
On Tue, Sep 26, 2023 at 10:59 AM Patrick O'Neill <patrick@rivosinc.com> wrote:
>
> stdint.h can be replaced with stdint-gcc.h to resolve some missing
> system headers in non-multilib installations.
>
> Tested using glibc rv32gcv and rv64gcv on r14-4258-gc9837443075.
>
> gcc/ChangeLog:
>
>         * config/riscv/riscv_vector.h (__RISCV_VECTOR_H): Replace
>         stdint.h with stdint-gcc.h

I don't think this will work when testing an installed compiler which I do.

Thanks,
Andrew

>
> gcc/testsuite/ChangeLog:
>
>         * gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-1.h:
>         Replace stdint.h with stdint-gcc.h.
>         * gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-2.h:
>         Ditto.
>         * gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-1.h:
>         Ditto.
>         * gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-2.h:
>         Ditto.
>         * gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-1.h:
>         Ditto.
>         * gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-2.h:
>         Ditto.
>         * gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-1.h:
>         Ditto.
>         * gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-2.h:
>         Ditto.
>         * gcc.target/riscv/rvv/autovec/cond/cond_sqrt-1.c: Ditto.
>         * gcc.target/riscv/rvv/autovec/cond/cond_sqrt-2.c: Ditto.
>         * gcc.target/riscv/rvv/autovec/cond/cond_unary-1.c: Ditto.
>         * gcc.target/riscv/rvv/autovec/cond/cond_unary-2.c: Ditto.
>         * gcc.target/riscv/rvv/autovec/cond/cond_unary-3.c: Ditto.
>         * gcc.target/riscv/rvv/autovec/cond/cond_unary-4.c: Ditto.
>         * gcc.target/riscv/rvv/autovec/cond/cond_unary-5.c: Ditto.
>         * gcc.target/riscv/rvv/autovec/cond/cond_unary-6.c: Ditto.
>         * gcc.target/riscv/rvv/autovec/cond/cond_unary-7.c: Ditto.
>         * gcc.target/riscv/rvv/autovec/cond/cond_unary-8.c: Ditto.
>         * gcc.target/riscv/rvv/autovec/partial/slp-8.c: Ditto.
>         * gcc.target/riscv/rvv/autovec/partial/slp-9.c: Ditto.
>         * gcc.target/riscv/rvv/autovec/pr111232.c: Ditto.
>         * gcc.target/riscv/rvv/autovec/vls-vlmax/perm.h: Ditto.
>         * gcc.target/riscv/rvv/base/abi-call-args-4-run.c: Ditto.
>         * gcc.target/riscv/rvv/base/pr110119-2.c: Ditto.
>         * gcc.target/riscv/rvv/vsetvl/pr111255.c: Ditto.
>         * gcc.target/riscv/rvv/vsetvl/wredsum_vlmax.c: Ditto.
>
> Signed-off-by: Patrick O'Neill <patrick@rivosinc.com>
> ---
> Failures looked like this:
> In file included from /riscv-gnu-toolchain/build/sysroot/usr/include/features.h:515,
>               from /riscv-gnu-toolchain/build/sysroot/usr/include/bits/libc-header-start.h:33,
>               from /riscv-gnu-toolchain/build/sysroot/usr/include/stdint.h:26,
>               from /riscv-gnu-toolchain/build/lib/gcc/riscv32-unknown-linux-gnu/14.0.0/include/stdint.h:9,
>               from /riscv-gnu-toolchain/build/build-gcc-linux-stage2/gcc/include/stdint.h:9,
>               from /riscv-gnu-toolchain/build/build-gcc-linux-stage2/gcc/include/riscv_vector.h:28,
>               from /riscv-gnu-toolchain/gcc/gcc/testsuite/gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul1-7.c:4:
> /riscv-gnu-toolchain/build/sysroot/usr/include/gnu/stubs.h:8:11: fatal error: gnu/stubs-ilp32.h: No such file or directory
>
> Resolves these failures on rv64gcv (non-multilib):
> FAIL: gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul1-7.c -O3 -ftree-vectorize --param riscv-autovec-lmul=dynamic (test for excess errors)
> FAIL: gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul2-4.c -O3 -ftree-vectorize --param riscv-autovec-lmul=dynamic (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv32-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv32-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv32-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv32-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv32-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv32-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv32-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv32-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv32-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv32-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv32-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv32-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv32-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv32-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv32-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv32-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv32-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv32-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv32-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv32-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv32-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv32-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv32-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv32-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv32-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv32-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv32-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv32-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv32-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv32-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv32-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv32-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv32-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv32-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv32-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv32-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv32-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv32-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv32-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv32-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv32-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv32-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv32-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv32-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv32-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv32-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv32-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv32-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv32-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv32-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv32-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv32-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv32-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv32-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv32-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv32-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv32-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv32-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv32-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv32-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv32-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv32-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv32-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv32-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/partial/slp-8.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/partial/slp-8.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/partial/slp-8.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/partial/slp-8.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/partial/slp-8.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/partial/slp-8.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/partial/slp-8.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/partial/slp-8.c (test for excess errors)
>
> Resolves these failures on rv32gcv (non-multilib):
> FAIL: gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul1-7.c -O3 -ftree-vectorize --param riscv-autovec-lmul=dynamic (test for excess errors)
> FAIL: gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul2-4.c -O3 -ftree-vectorize --param riscv-autovec-lmul=dynamic (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv64-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv64-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv64-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv64-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv64-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv64-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv64-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv64-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv64-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv64-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv64-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv64-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv64-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv64-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv64-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv64-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv64-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv64-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv64-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv64-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv64-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv64-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv64-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv64-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv64-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv64-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv64-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv64-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv64-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv64-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv64-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv64-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv64-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv64-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv64-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv64-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv64-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv64-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv64-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv64-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv64-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv64-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv64-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv64-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv64-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv64-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv64-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv64-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv64-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv64-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv64-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv64-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv64-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv64-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv64-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv64-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv64-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv64-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv64-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv64-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv64-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv64-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv64-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv64-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_sqrt-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_sqrt-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_sqrt-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_sqrt-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_sqrt-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_sqrt-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_sqrt-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_sqrt-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_sqrt-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_sqrt-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_sqrt-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_sqrt-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_sqrt-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_sqrt-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_sqrt-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_sqrt-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-3.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-3.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-3.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-3.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-3.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-3.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-3.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-3.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-4.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-4.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-4.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-4.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-4.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-4.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-4.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-4.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-5.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-5.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-5.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-5.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-5.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-5.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-5.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-5.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-6.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-6.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-6.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-6.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-6.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-6.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-6.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-6.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-7.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-7.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-7.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-7.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-7.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-7.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-7.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-7.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-8.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-8.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-8.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-8.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-8.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-8.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-8.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-8.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/partial/slp-9.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/partial/slp-9.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/partial/slp-9.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/partial/slp-9.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/partial/slp-9.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/partial/slp-9.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/partial/slp-9.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/partial/slp-9.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/pr111232.c -O3 -ftree-vectorize (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/vls-vlmax/perm-1.c -std=c99 -O3 -ftree-vectorize --param riscv-autovec-preference=fixed-vlmax (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/vls-vlmax/perm-2.c -std=c99 -O3 -ftree-vectorize --param riscv-autovec-preference=fixed-vlmax (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/vls-vlmax/perm-3.c -std=c99 -O3 -ftree-vectorize --param riscv-autovec-preference=fixed-vlmax (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/vls-vlmax/perm-4.c -std=c99 -O3 -ftree-vectorize --param riscv-autovec-preference=fixed-vlmax (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/vls-vlmax/perm-5.c -std=c99 -O3 -ftree-vectorize --param riscv-autovec-preference=fixed-vlmax (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/vls-vlmax/perm-6.c -std=c99 -O3 -ftree-vectorize --param riscv-autovec-preference=fixed-vlmax (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/vls-vlmax/perm-7.c -std=c99 -O3 -ftree-vectorize --param riscv-autovec-preference=fixed-vlmax (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/vls/perm-1.c -O3 -ftree-vectorize --param riscv-autovec-preference=scalable (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/vls/perm-2.c -O3 -ftree-vectorize --param riscv-autovec-preference=scalable (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/vls/perm-3.c -O3 -ftree-vectorize --param riscv-autovec-preference=scalable (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/vls/perm-4.c -O3 -ftree-vectorize --param riscv-autovec-preference=scalable (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/vls/perm-5.c -O3 -ftree-vectorize --param riscv-autovec-preference=scalable (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/vls/perm-6.c -O3 -ftree-vectorize --param riscv-autovec-preference=scalable (test for excess errors)
> FAIL: gcc.target/riscv/rvv/autovec/vls/perm-7.c -O3 -ftree-vectorize --param riscv-autovec-preference=scalable (test for excess errors)
> FAIL: gcc.target/riscv/rvv/base/abi-callee-saved-1-fixed-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/base/abi-callee-saved-1-fixed-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/base/abi-callee-saved-1-save-restore.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/base/abi-callee-saved-1-zcmp.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/base/abi-callee-saved-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/base/abi-callee-saved-2-save-restore.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/base/abi-callee-saved-2-zcmp.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/base/abi-callee-saved-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/base/pr110119-2.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/base/pr110943.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/base/vlmul_ext-1.c (test for excess errors)
> FAIL: gcc.target/riscv/rvv/vsetvl/pr111234.c   -O0  (test for excess errors)
> FAIL: gcc.target/riscv/rvv/vsetvl/pr111234.c   -O1  (test for excess errors)
> FAIL: gcc.target/riscv/rvv/vsetvl/pr111234.c   -O2  (test for excess errors)
> FAIL: gcc.target/riscv/rvv/vsetvl/pr111234.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  (test for excess errors)
> FAIL: gcc.target/riscv/rvv/vsetvl/pr111234.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  (test for excess errors)
> FAIL: gcc.target/riscv/rvv/vsetvl/pr111234.c   -O3 -g  (test for excess errors)
> FAIL: gcc.target/riscv/rvv/vsetvl/pr111234.c   -Os  (test for excess errors)
> FAIL: gcc.target/riscv/rvv/vsetvl/pr111255.c   -O0  (test for excess errors)
> FAIL: gcc.target/riscv/rvv/vsetvl/pr111255.c   -O1  (test for excess errors)
> FAIL: gcc.target/riscv/rvv/vsetvl/pr111255.c   -O2  (test for excess errors)
> FAIL: gcc.target/riscv/rvv/vsetvl/pr111255.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  (test for excess errors)
> FAIL: gcc.target/riscv/rvv/vsetvl/pr111255.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  (test for excess errors)
> FAIL: gcc.target/riscv/rvv/vsetvl/pr111255.c   -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions  (test for excess errors)
> FAIL: gcc.target/riscv/rvv/vsetvl/pr111255.c   -O3 -g  (test for excess errors)
> FAIL: gcc.target/riscv/rvv/vsetvl/pr111255.c   -Os  (test for excess errors)
> FAIL: gcc.target/riscv/rvv/vsetvl/vsetvl-24.c   -O0  (test for excess errors)
> FAIL: gcc.target/riscv/rvv/vsetvl/vsetvl-24.c   -O1  (test for excess errors)
> FAIL: gcc.target/riscv/rvv/vsetvl/vsetvl-24.c   -O2  (test for excess errors)
> FAIL: gcc.target/riscv/rvv/vsetvl/vsetvl-24.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  (test for excess errors)
> FAIL: gcc.target/riscv/rvv/vsetvl/vsetvl-24.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  (test for excess errors)
> FAIL: gcc.target/riscv/rvv/vsetvl/vsetvl-24.c   -O3 -g  (test for excess errors)
> FAIL: gcc.target/riscv/rvv/vsetvl/vsetvl-24.c   -Os  (test for excess errors)
> ---
>  gcc/config/riscv/riscv_vector.h                        | 2 +-
>  .../riscv/rvv/autovec/cond/cond_convert_float2float-1.h         | 2 +-
>  .../riscv/rvv/autovec/cond/cond_convert_float2float-2.h         | 2 +-
>  .../riscv/rvv/autovec/cond/cond_convert_float2int-1.h  | 2 +-
>  .../riscv/rvv/autovec/cond/cond_convert_float2int-2.h  | 2 +-
>  .../riscv/rvv/autovec/cond/cond_convert_int2float-1.h  | 2 +-
>  .../riscv/rvv/autovec/cond/cond_convert_int2float-2.h  | 2 +-
>  .../gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-1.h  | 2 +-
>  .../gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-2.h  | 2 +-
>  gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_sqrt-1.c   | 2 +-
>  gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_sqrt-2.c   | 2 +-
>  gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-1.c  | 2 +-
>  gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-2.c  | 2 +-
>  gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-3.c  | 2 +-
>  gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-4.c  | 2 +-
>  gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-5.c  | 2 +-
>  gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-6.c  | 2 +-
>  gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-7.c  | 2 +-
>  gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-8.c  | 2 +-
>  gcc/testsuite/gcc.target/riscv/rvv/autovec/partial/slp-8.c      | 2 +-
>  gcc/testsuite/gcc.target/riscv/rvv/autovec/partial/slp-9.c      | 2 +-
>  gcc/testsuite/gcc.target/riscv/rvv/autovec/pr111232.c  | 2 +-
>  gcc/testsuite/gcc.target/riscv/rvv/autovec/vls-vlmax/perm.h     | 2 +-
>  gcc/testsuite/gcc.target/riscv/rvv/base/abi-call-args-4-run.c   | 2 +-
>  gcc/testsuite/gcc.target/riscv/rvv/base/pr110119-2.c    | 2 +-
>  gcc/testsuite/gcc.target/riscv/rvv/vsetvl/pr111255.c    | 2 +-
>  gcc/testsuite/gcc.target/riscv/rvv/vsetvl/wredsum_vlmax.c       | 2 +-
>  27 files changed, 27 insertions(+), 27 deletions(-)
>
> diff --git a/gcc/config/riscv/riscv_vector.h b/gcc/config/riscv/riscv_vector.h
> index 3366fd972b5..33eeeb5bf2b 100644
> --- a/gcc/config/riscv/riscv_vector.h
> +++ b/gcc/config/riscv/riscv_vector.h
> @@ -25,7 +25,7 @@
>  #ifndef __RISCV_VECTOR_H
>  #define __RISCV_VECTOR_H
>
> -#include <stdint.h>
> +#include <stdint-gcc.h>
>  #include <stddef.h>
>
>  #ifndef __riscv_vector
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-1.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-1.h
> index 4742d926af6..36af15b986a 100644
> --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-1.h
> +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-1.h
> @@ -1,4 +1,4 @@
> -#include <stdint.h>
> +#include <stdint-gcc.h>
>
>  #define DEF_LOOP(OLD_TYPE, NEW_TYPE)                             \
>    void __attribute__ ((noipa))                              \
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-2.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-2.h
> index b084eaae19d..1aad4a658de 100644
> --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-2.h
> +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-2.h
> @@ -1,4 +1,4 @@
> -#include <stdint.h>
> +#include <stdint-gcc.h>
>
>  #define DEF_LOOP(OLD_TYPE, NEW_TYPE)                             \
>    void __attribute__ ((noipa))                              \
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-1.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-1.h
> index 2df68aa2d1e..639adc34c3d 100644
> --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-1.h
> +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-1.h
> @@ -1,4 +1,4 @@
> -#include <stdint.h>
> +#include <stdint-gcc.h>
>
>  #define DEF_LOOP(OLD_TYPE, NEW_TYPE)                             \
>    void __attribute__ ((noipa))                              \
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-2.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-2.h
> index 9735141faa1..3d518a45cd2 100644
> --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-2.h
> +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-2.h
> @@ -1,4 +1,4 @@
> -#include <stdint.h>
> +#include <stdint-gcc.h>
>
>  #define DEF_LOOP(OLD_TYPE, NEW_TYPE)                             \
>    void __attribute__ ((noipa))                              \
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-1.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-1.h
> index 5b0baeece41..1c49e39cad0 100644
> --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-1.h
> +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-1.h
> @@ -1,4 +1,4 @@
> -#include <stdint.h>
> +#include <stdint-gcc.h>
>
>  #define DEF_LOOP(OLD_TYPE, NEW_TYPE)                             \
>    void __attribute__ ((noipa))                              \
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-2.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-2.h
> index 2177c946de8..640e0db39a3 100644
> --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-2.h
> +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-2.h
> @@ -1,4 +1,4 @@
> -#include <stdint.h>
> +#include <stdint-gcc.h>
>
>  #define DEF_LOOP(OLD_TYPE, NEW_TYPE)                             \
>    void __attribute__ ((noipa))                              \
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-1.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-1.h
> index c8ef6df399d..eb820d3fe36 100644
> --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-1.h
> +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-1.h
> @@ -1,4 +1,4 @@
> -#include <stdint.h>
> +#include <stdint-gcc.h>
>
>  #define DEF_LOOP(OLD_TYPE, NEW_TYPE)                             \
>    void __attribute__ ((noipa))                              \
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-2.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-2.h
> index f53c1b3fde9..5653ef61675 100644
> --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-2.h
> +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-2.h
> @@ -1,4 +1,4 @@
> -#include <stdint.h>
> +#include <stdint-gcc.h>
>
>  #define DEF_LOOP(OLD_TYPE, NEW_TYPE)                             \
>    void __attribute__ ((noipa))                              \
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_sqrt-1.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_sqrt-1.c
> index 21219b43d9d..c7bd37e4f0e 100644
> --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_sqrt-1.c
> +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_sqrt-1.c
> @@ -1,7 +1,7 @@
>  /* { dg-do compile } */
>  /* { dg-additional-options "-march=rv64gcv_zvfh -mabi=lp64d --param riscv-autovec-preference=scalable -fno-vect-cost-model -ffast-math" } */
>
> -#include <stdint.h>
> +#include <stdint-gcc.h>
>
>  #define DEF_LOOP(TYPE, OP)                                      \
>    void __attribute__ ((noipa))                              \
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_sqrt-2.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_sqrt-2.c
> index 2fcdc339e70..c2fb92fbbbf 100644
> --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_sqrt-2.c
> +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_sqrt-2.c
> @@ -1,7 +1,7 @@
>  /* { dg-do compile } */
>  /* { dg-additional-options "-march=rv64gcv_zvfh -mabi=lp64d --param riscv-autovec-preference=scalable -fno-vect-cost-model -ffast-math" } */
>
> -#include <stdint.h>
> +#include <stdint-gcc.h>
>
>  #define DEF_LOOP(TYPE, OP)                                      \
>    void __attribute__ ((noipa))                              \
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-1.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-1.c
> index 8076243f7d4..cb738a84492 100644
> --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-1.c
> +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-1.c
> @@ -1,7 +1,7 @@
>  /* { dg-do compile } */
>  /* { dg-additional-options "-march=rv64gcv_zvfh -mabi=lp64d --param riscv-autovec-preference=scalable -fno-vect-cost-model" } */
>
> -#include <stdint.h>
> +#include <stdint-gcc.h>
>
>  #define abs(A) ((A) < 0 ? -(A) : (A))
>  #define neg(A) (-(A))
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-2.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-2.c
> index 8e44301ae80..d9fb0865fc7 100644
> --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-2.c
> +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-2.c
> @@ -1,7 +1,7 @@
>  /* { dg-do compile } */
>  /* { dg-additional-options "-march=rv64gcv_zvfh -mabi=lp64d --param riscv-autovec-preference=scalable -fno-vect-cost-model" } */
>
> -#include <stdint.h>
> +#include <stdint-gcc.h>
>
>  #define abs(A) ((A) < 0 ? -(A) : (A))
>  #define neg(A) (-(A))
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-3.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-3.c
> index 6da5b6e42e3..145839308e5 100644
> --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-3.c
> +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-3.c
> @@ -1,7 +1,7 @@
>  /* { dg-do compile } */
>  /* { dg-additional-options "-march=rv64gcv_zvfh -mabi=lp64d --param riscv-autovec-preference=scalable -fno-vect-cost-model" } */
>
> -#include <stdint.h>
> +#include <stdint-gcc.h>
>
>  #define abs(A) ((A) < 0 ? -(A) : (A))
>  #define neg(A) (-(A))
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-4.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-4.c
> index 5428c289d22..e120e8f7e2a 100644
> --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-4.c
> +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-4.c
> @@ -1,7 +1,7 @@
>  /* { dg-do compile } */
>  /* { dg-additional-options "-march=rv64gcv_zvfh -mabi=lp64d --param riscv-autovec-preference=scalable -fno-vect-cost-model" } */
>
> -#include <stdint.h>
> +#include <stdint-gcc.h>
>
>  #define abs(A) ((A) < 0 ? -(A) : (A))
>  #define neg(A) (-(A))
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-5.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-5.c
> index 8e567378d0d..775e65e7e6a 100644
> --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-5.c
> +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-5.c
> @@ -1,7 +1,7 @@
>  /* { dg-do compile } */
>  /* { dg-additional-options "-march=rv64gcv_zvfh -mabi=lp64d --param riscv-autovec-preference=scalable -fno-vect-cost-model" } */
>
> -#include <stdint.h>
> +#include <stdint-gcc.h>
>
>  #define abs(A) ((A) < 0 ? -(A) : (A))
>  #define neg(A) (-(A))
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-6.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-6.c
> index 65a36d0e52a..63314402fbd 100644
> --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-6.c
> +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-6.c
> @@ -1,7 +1,7 @@
>  /* { dg-do compile } */
>  /* { dg-additional-options "-march=rv64gcv_zvfh -mabi=lp64d --param riscv-autovec-preference=scalable -fno-vect-cost-model" } */
>
> -#include <stdint.h>
> +#include <stdint-gcc.h>
>
>  #define abs(A) ((A) < 0 ? -(A) : (A))
>  #define neg(A) (-(A))
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-7.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-7.c
> index 356fe9fc25a..4847aec49e0 100644
> --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-7.c
> +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-7.c
> @@ -1,7 +1,7 @@
>  /* { dg-do compile } */
>  /* { dg-additional-options "-march=rv64gcv_zvfh -mabi=lp64d --param riscv-autovec-preference=scalable -fno-vect-cost-model" } */
>
> -#include <stdint.h>
> +#include <stdint-gcc.h>
>
>  #define abs(A) ((A) < 0 ? -(A) : (A))
>  #define neg(A) (-(A))
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-8.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-8.c
> index 5208a858882..ae4d11893c9 100644
> --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-8.c
> +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-8.c
> @@ -1,7 +1,7 @@
>  /* { dg-do compile } */
>  /* { dg-additional-options "-march=rv64gcv_zvfh -mabi=lp64d --param riscv-autovec-preference=scalable -fno-vect-cost-model" } */
>
> -#include <stdint.h>
> +#include <stdint-gcc.h>
>
>  #define abs(A) ((A) < 0 ? -(A) : (A))
>  #define neg(A) (-(A))
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/partial/slp-8.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/partial/slp-8.c
> index 2568d6947a2..cf2fd1d656f 100644
> --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/partial/slp-8.c
> +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/partial/slp-8.c
> @@ -1,7 +1,7 @@
>  /* { dg-do compile } */
>  /* { dg-additional-options "-march=rv32gcv -mabi=ilp32d --param riscv-autovec-preference=scalable -fno-vect-cost-model -fdump-tree-optimized-details" } */
>
> -#include <stdint.h>
> +#include <stdint-gcc.h>
>
>  #define VEC_PERM(TYPE)                                   \
>    TYPE __attribute__ ((noinline, noclone))                         \
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/partial/slp-9.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/partial/slp-9.c
> index 7c42438c9d9..1b99ffd4ffa 100644
> --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/partial/slp-9.c
> +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/partial/slp-9.c
> @@ -1,7 +1,7 @@
>  /* { dg-do compile } */
>  /* { dg-additional-options "-march=rv64gcv -mabi=lp64d --param riscv-autovec-preference=scalable -fno-vect-cost-model -fdump-tree-optimized-details" } */
>
> -#include <stdint.h>
> +#include <stdint-gcc.h>
>
>  #define VEC_PERM(TYPE)                                   \
>    TYPE __attribute__ ((noinline, noclone))                         \
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/pr111232.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/pr111232.c
> index de815c5fac9..edad1402154 100644
> --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/pr111232.c
> +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/pr111232.c
> @@ -1,7 +1,7 @@
>  /* { dg-do compile } */
>  /* { dg-options "-march=rv64gcv -mabi=lp64d --param=riscv-autovec-preference=scalable -Ofast -fno-schedule-insns -fno-schedule-insns2" } */
>
> -#include <stdint.h>
> +#include <stdint-gcc.h>
>
>  int16_t
>  foo (int8_t *restrict x, int8_t *restrict y, int n)
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vls-vlmax/perm.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/vls-vlmax/perm.h
> index 18cb4af059b..1c5e4724651 100644
> --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vls-vlmax/perm.h
> +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/vls-vlmax/perm.h
> @@ -1,4 +1,4 @@
> -#include <stdint.h>
> +#include <stdint-gcc.h>
>
>  typedef int8_t vnx2qi __attribute__ ((vector_size (2)));
>  typedef int8_t vnx4qi __attribute__ ((vector_size (4)));
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/abi-call-args-4-run.c b/gcc/testsuite/gcc.target/riscv/rvv/base/abi-call-args-4-run.c
> index 84ba9d4ac89..095dcff473e 100644
> --- a/gcc/testsuite/gcc.target/riscv/rvv/base/abi-call-args-4-run.c
> +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/abi-call-args-4-run.c
> @@ -6,7 +6,7 @@
>  #include <stdlib.h>
>  #include <string.h>
>  #include <stdio.h>
> -#include <stdint.h>
> +#include <stdint-gcc.h>
>  #include "riscv_vector.h"
>
>  vint64m8_t
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/pr110119-2.c b/gcc/testsuite/gcc.target/riscv/rvv/base/pr110119-2.c
> index 958d1addb05..3dadc9920e6 100644
> --- a/gcc/testsuite/gcc.target/riscv/rvv/base/pr110119-2.c
> +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/pr110119-2.c
> @@ -1,7 +1,7 @@
>  /* { dg-do compile } */
>  /* { dg-options "-march=rv64gczve32x -mabi=lp64d --param=riscv-autovec-preference=fixed-vlmax -Wno-psabi" } */
>
> -#include <stdint.h>
> +#include <stdint-gcc.h>
>  #include "riscv_vector.h"
>
>  __attribute__ ((noipa)) vint32m1x3_t
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/pr111255.c b/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/pr111255.c
> index 736f6838a50..d667dbc874b 100644
> --- a/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/pr111255.c
> +++ b/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/pr111255.c
> @@ -1,7 +1,7 @@
>  /* { dg-do compile } */
>  /* { dg-options "-march=rv64gcv -mabi=lp64d -O3 --param riscv-autovec-lmul=m2 -fno-vect-cost-model" } */
>
> -#include <stdint.h>
> +#include <stdint-gcc.h>
>
>  #define DEF_LOOP(OLD_TYPE, NEW_TYPE)                             \
>    void __attribute__ ((noipa))                              \
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/wredsum_vlmax.c b/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/wredsum_vlmax.c
> index 6b7c77326ae..bb1d410dfbf 100644
> --- a/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/wredsum_vlmax.c
> +++ b/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/wredsum_vlmax.c
> @@ -2,7 +2,7 @@
>  /* { dg-options "-march=rv64gcv_zvl256b --param=riscv-autovec-preference=fixed-vlmax -O3" } */
>
>
> -#include <stdint.h>
> +#include <stdint-gcc.h>
>
>  int16_t foo (int8_t *restrict a)
>  {
> --
> 2.34.1
>
  
Patrick O'Neill Sept. 26, 2023, 6:30 p.m. UTC | #2
On 9/26/23 11:13, Andrew Pinski wrote:
> On Tue, Sep 26, 2023 at 10:59 AM Patrick O'Neill <patrick@rivosinc.com> wrote:
>> stdint.h can be replaced with stdint-gcc.h to resolve some missing
>> system headers in non-multilib installations.
>>
>> Tested using glibc rv32gcv and rv64gcv on r14-4258-gc9837443075.
>>
>> gcc/ChangeLog:
>>
>>          * config/riscv/riscv_vector.h (__RISCV_VECTOR_H): Replace
>>          stdint.h with stdint-gcc.h
> I don't think this will work when testing an installed compiler which I do.
>
> Thanks,
> Andrew
In the riscv target testsuite (gcc.target/riscv) all occurrences of
#include <stdint.h> are currently constrained to the rvv/ subdirectory.
All non-vector tests use #include <stdint-gcc.h> rather than
#include <stdint.h>. Have you encountered any issues when testing
installations with non-vector tests?

Thanks,
Patrick
  
Kito Cheng Oct. 2, 2023, 1:57 p.m. UTC | #3
> > On Tue, Sep 26, 2023 at 10:59 AM Patrick O'Neill <patrick@rivosinc.com> wrote:
> >> stdint.h can be replaced with stdint-gcc.h to resolve some missing
> >> system headers in non-multilib installations.
> >>
> >> Tested using glibc rv32gcv and rv64gcv on r14-4258-gc9837443075.
> >>
> >> gcc/ChangeLog:
> >>
> >>          * config/riscv/riscv_vector.h (__RISCV_VECTOR_H): Replace
> >>          stdint.h with stdint-gcc.h
> > I don't think this will work when testing an installed compiler which I do.
> >
> > Thanks,
> > Andrew
> In the riscv target testsuite (gcc.target/riscv) all occurrences of
> #include <stdint.h> are currently constrained to the rvv/ subdirectory.
> All non-vector tests use #include <stdint-gcc.h> rather than
> #include <stdint.h>. Have you encountered any issues when testing
> installations with non-vector tests?

I think the concern is to replace stdint.h with stdint-gcc.h for riscv_vector.h,
that means users MAY include stdint-gcc.h *AND* stdint.h, stdint.h the later
one generally is provided by libc, and stdint-gcc.h typically are not included.

Other than the changes in "riscv_vector.h", everything else looks fine to me.
  
Patrick O'Neill Oct. 3, 2023, 8:58 p.m. UTC | #4
On 10/2/23 06:57, Kito Cheng wrote:

>>> On Tue, Sep 26, 2023 at 10:59 AM Patrick O'Neill<patrick@rivosinc.com>  wrote:
>>>> stdint.h can be replaced with stdint-gcc.h to resolve some missing
>>>> system headers in non-multilib installations.
>>>>
>>>> Tested using glibc rv32gcv and rv64gcv on r14-4258-gc9837443075.
>>>>
>>>> gcc/ChangeLog:
>>>>
>>>>           * config/riscv/riscv_vector.h (__RISCV_VECTOR_H): Replace
>>>>           stdint.h with stdint-gcc.h
>>> I don't think this will work when testing an installed compiler which I do.
>>>
>>> Thanks,
>>> Andrew
>> In the riscv target testsuite (gcc.target/riscv) all occurrences of
>> #include <stdint.h> are currently constrained to the rvv/ subdirectory.
>> All non-vector tests use #include <stdint-gcc.h> rather than
>> #include <stdint.h>. Have you encountered any issues when testing
>> installations with non-vector tests?
> I think the concern is to replace stdint.h with stdint-gcc.h for riscv_vector.h,
> that means users MAY include stdint-gcc.h *AND* stdint.h, stdint.h the later
> one generally is provided by libc, and stdint-gcc.h typically are not included.
>
> Other than the changes in "riscv_vector.h", everything else looks fine to me.

Ah okay, I'll retest and send a v2 that omits the riscv_vector.h change. 
Thanks, Patrick
  
Jeff Law Oct. 5, 2023, 10:43 p.m. UTC | #5
On 10/3/23 14:58, Patrick O'Neill wrote:
> On 10/2/23 06:57, Kito Cheng wrote:
> 
>>>> On Tue, Sep 26, 2023 at 10:59 AM Patrick O'Neill<patrick@rivosinc.com>  wrote:
>>>>> stdint.h can be replaced with stdint-gcc.h to resolve some missing
>>>>> system headers in non-multilib installations.
>>>>>
>>>>> Tested using glibc rv32gcv and rv64gcv on r14-4258-gc9837443075.
>>>>>
>>>>> gcc/ChangeLog:
>>>>>
>>>>>           * config/riscv/riscv_vector.h (__RISCV_VECTOR_H): Replace
>>>>>           stdint.h with stdint-gcc.h
>>>> I don't think this will work when testing an installed compiler which I do.
>>>>
>>>> Thanks,
>>>> Andrew
>>> In the riscv target testsuite (gcc.target/riscv) all occurrences of
>>> #include <stdint.h> are currently constrained to the rvv/ subdirectory.
>>> All non-vector tests use #include <stdint-gcc.h> rather than
>>> #include <stdint.h>. Have you encountered any issues when testing
>>> installations with non-vector tests?
>> I think the concern is to replace stdint.h with stdint-gcc.h for riscv_vector.h,
>> that means users MAY include stdint-gcc.h *AND* stdint.h, stdint.h the later
>> one generally is provided by libc, and stdint-gcc.h typically are not included.
>>
>> Other than the changes in "riscv_vector.h", everything else looks fine to me.
> 
> Ah okay, I'll retest and send a v2 that omits the riscv_vector.h change. 
Thanks.  The general consensus Tuesday was for this patch to go forward, 
even though we've got additional issues in this space that need to be 
addressed.

jeff
  

Patch

diff --git a/gcc/config/riscv/riscv_vector.h b/gcc/config/riscv/riscv_vector.h
index 3366fd972b5..33eeeb5bf2b 100644
--- a/gcc/config/riscv/riscv_vector.h
+++ b/gcc/config/riscv/riscv_vector.h
@@ -25,7 +25,7 @@ 
 #ifndef __RISCV_VECTOR_H
 #define __RISCV_VECTOR_H
 
-#include <stdint.h>
+#include <stdint-gcc.h>
 #include <stddef.h>
 
 #ifndef __riscv_vector
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-1.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-1.h
index 4742d926af6..36af15b986a 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-1.h
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-1.h
@@ -1,4 +1,4 @@ 
-#include <stdint.h>
+#include <stdint-gcc.h>
 
 #define DEF_LOOP(OLD_TYPE, NEW_TYPE)			          \
   void __attribute__ ((noipa))				     \
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-2.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-2.h
index b084eaae19d..1aad4a658de 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-2.h
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-2.h
@@ -1,4 +1,4 @@ 
-#include <stdint.h>
+#include <stdint-gcc.h>
 
 #define DEF_LOOP(OLD_TYPE, NEW_TYPE)			          \
   void __attribute__ ((noipa))				     \
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-1.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-1.h
index 2df68aa2d1e..639adc34c3d 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-1.h
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-1.h
@@ -1,4 +1,4 @@ 
-#include <stdint.h>
+#include <stdint-gcc.h>
 
 #define DEF_LOOP(OLD_TYPE, NEW_TYPE)			          \
   void __attribute__ ((noipa))				     \
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-2.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-2.h
index 9735141faa1..3d518a45cd2 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-2.h
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-2.h
@@ -1,4 +1,4 @@ 
-#include <stdint.h>
+#include <stdint-gcc.h>
 
 #define DEF_LOOP(OLD_TYPE, NEW_TYPE)			          \
   void __attribute__ ((noipa))				     \
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-1.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-1.h
index 5b0baeece41..1c49e39cad0 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-1.h
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-1.h
@@ -1,4 +1,4 @@ 
-#include <stdint.h>
+#include <stdint-gcc.h>
 
 #define DEF_LOOP(OLD_TYPE, NEW_TYPE)			          \
   void __attribute__ ((noipa))				     \
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-2.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-2.h
index 2177c946de8..640e0db39a3 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-2.h
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-2.h
@@ -1,4 +1,4 @@ 
-#include <stdint.h>
+#include <stdint-gcc.h>
 
 #define DEF_LOOP(OLD_TYPE, NEW_TYPE)			          \
   void __attribute__ ((noipa))				     \
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-1.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-1.h
index c8ef6df399d..eb820d3fe36 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-1.h
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-1.h
@@ -1,4 +1,4 @@ 
-#include <stdint.h>
+#include <stdint-gcc.h>
 
 #define DEF_LOOP(OLD_TYPE, NEW_TYPE)			          \
   void __attribute__ ((noipa))				     \
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-2.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-2.h
index f53c1b3fde9..5653ef61675 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-2.h
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-2.h
@@ -1,4 +1,4 @@ 
-#include <stdint.h>
+#include <stdint-gcc.h>
 
 #define DEF_LOOP(OLD_TYPE, NEW_TYPE)			          \
   void __attribute__ ((noipa))				     \
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_sqrt-1.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_sqrt-1.c
index 21219b43d9d..c7bd37e4f0e 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_sqrt-1.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_sqrt-1.c
@@ -1,7 +1,7 @@ 
 /* { dg-do compile } */
 /* { dg-additional-options "-march=rv64gcv_zvfh -mabi=lp64d --param riscv-autovec-preference=scalable -fno-vect-cost-model -ffast-math" } */
 
-#include <stdint.h>
+#include <stdint-gcc.h>
 
 #define DEF_LOOP(TYPE, OP)				         \
   void __attribute__ ((noipa))				     \
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_sqrt-2.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_sqrt-2.c
index 2fcdc339e70..c2fb92fbbbf 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_sqrt-2.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_sqrt-2.c
@@ -1,7 +1,7 @@ 
 /* { dg-do compile } */
 /* { dg-additional-options "-march=rv64gcv_zvfh -mabi=lp64d --param riscv-autovec-preference=scalable -fno-vect-cost-model -ffast-math" } */
 
-#include <stdint.h>
+#include <stdint-gcc.h>
 
 #define DEF_LOOP(TYPE, OP)				         \
   void __attribute__ ((noipa))				     \
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-1.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-1.c
index 8076243f7d4..cb738a84492 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-1.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-1.c
@@ -1,7 +1,7 @@ 
 /* { dg-do compile } */
 /* { dg-additional-options "-march=rv64gcv_zvfh -mabi=lp64d --param riscv-autovec-preference=scalable -fno-vect-cost-model" } */
 
-#include <stdint.h>
+#include <stdint-gcc.h>
 
 #define abs(A) ((A) < 0 ? -(A) : (A))
 #define neg(A) (-(A))
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-2.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-2.c
index 8e44301ae80..d9fb0865fc7 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-2.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-2.c
@@ -1,7 +1,7 @@ 
 /* { dg-do compile } */
 /* { dg-additional-options "-march=rv64gcv_zvfh -mabi=lp64d --param riscv-autovec-preference=scalable -fno-vect-cost-model" } */
 
-#include <stdint.h>
+#include <stdint-gcc.h>
 
 #define abs(A) ((A) < 0 ? -(A) : (A))
 #define neg(A) (-(A))
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-3.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-3.c
index 6da5b6e42e3..145839308e5 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-3.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-3.c
@@ -1,7 +1,7 @@ 
 /* { dg-do compile } */
 /* { dg-additional-options "-march=rv64gcv_zvfh -mabi=lp64d --param riscv-autovec-preference=scalable -fno-vect-cost-model" } */
 
-#include <stdint.h>
+#include <stdint-gcc.h>
 
 #define abs(A) ((A) < 0 ? -(A) : (A))
 #define neg(A) (-(A))
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-4.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-4.c
index 5428c289d22..e120e8f7e2a 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-4.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-4.c
@@ -1,7 +1,7 @@ 
 /* { dg-do compile } */
 /* { dg-additional-options "-march=rv64gcv_zvfh -mabi=lp64d --param riscv-autovec-preference=scalable -fno-vect-cost-model" } */
 
-#include <stdint.h>
+#include <stdint-gcc.h>
 
 #define abs(A) ((A) < 0 ? -(A) : (A))
 #define neg(A) (-(A))
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-5.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-5.c
index 8e567378d0d..775e65e7e6a 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-5.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-5.c
@@ -1,7 +1,7 @@ 
 /* { dg-do compile } */
 /* { dg-additional-options "-march=rv64gcv_zvfh -mabi=lp64d --param riscv-autovec-preference=scalable -fno-vect-cost-model" } */
 
-#include <stdint.h>
+#include <stdint-gcc.h>
 
 #define abs(A) ((A) < 0 ? -(A) : (A))
 #define neg(A) (-(A))
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-6.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-6.c
index 65a36d0e52a..63314402fbd 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-6.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-6.c
@@ -1,7 +1,7 @@ 
 /* { dg-do compile } */
 /* { dg-additional-options "-march=rv64gcv_zvfh -mabi=lp64d --param riscv-autovec-preference=scalable -fno-vect-cost-model" } */
 
-#include <stdint.h>
+#include <stdint-gcc.h>
 
 #define abs(A) ((A) < 0 ? -(A) : (A))
 #define neg(A) (-(A))
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-7.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-7.c
index 356fe9fc25a..4847aec49e0 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-7.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-7.c
@@ -1,7 +1,7 @@ 
 /* { dg-do compile } */
 /* { dg-additional-options "-march=rv64gcv_zvfh -mabi=lp64d --param riscv-autovec-preference=scalable -fno-vect-cost-model" } */
 
-#include <stdint.h>
+#include <stdint-gcc.h>
 
 #define abs(A) ((A) < 0 ? -(A) : (A))
 #define neg(A) (-(A))
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-8.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-8.c
index 5208a858882..ae4d11893c9 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-8.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-8.c
@@ -1,7 +1,7 @@ 
 /* { dg-do compile } */
 /* { dg-additional-options "-march=rv64gcv_zvfh -mabi=lp64d --param riscv-autovec-preference=scalable -fno-vect-cost-model" } */
 
-#include <stdint.h>
+#include <stdint-gcc.h>
 
 #define abs(A) ((A) < 0 ? -(A) : (A))
 #define neg(A) (-(A))
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/partial/slp-8.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/partial/slp-8.c
index 2568d6947a2..cf2fd1d656f 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/partial/slp-8.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/partial/slp-8.c
@@ -1,7 +1,7 @@ 
 /* { dg-do compile } */
 /* { dg-additional-options "-march=rv32gcv -mabi=ilp32d --param riscv-autovec-preference=scalable -fno-vect-cost-model -fdump-tree-optimized-details" } */
 
-#include <stdint.h>
+#include <stdint-gcc.h>
 
 #define VEC_PERM(TYPE)					  \
   TYPE __attribute__ ((noinline, noclone))			    \
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/partial/slp-9.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/partial/slp-9.c
index 7c42438c9d9..1b99ffd4ffa 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/partial/slp-9.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/partial/slp-9.c
@@ -1,7 +1,7 @@ 
 /* { dg-do compile } */
 /* { dg-additional-options "-march=rv64gcv -mabi=lp64d --param riscv-autovec-preference=scalable -fno-vect-cost-model -fdump-tree-optimized-details" } */
 
-#include <stdint.h>
+#include <stdint-gcc.h>
 
 #define VEC_PERM(TYPE)					  \
   TYPE __attribute__ ((noinline, noclone))			    \
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/pr111232.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/pr111232.c
index de815c5fac9..edad1402154 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/pr111232.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/pr111232.c
@@ -1,7 +1,7 @@ 
 /* { dg-do compile } */
 /* { dg-options "-march=rv64gcv -mabi=lp64d --param=riscv-autovec-preference=scalable -Ofast -fno-schedule-insns -fno-schedule-insns2" } */
 
-#include <stdint.h>
+#include <stdint-gcc.h>
 
 int16_t
 foo (int8_t *restrict x, int8_t *restrict y, int n)
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vls-vlmax/perm.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/vls-vlmax/perm.h
index 18cb4af059b..1c5e4724651 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vls-vlmax/perm.h
+++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/vls-vlmax/perm.h
@@ -1,4 +1,4 @@ 
-#include <stdint.h>
+#include <stdint-gcc.h>
 
 typedef int8_t vnx2qi __attribute__ ((vector_size (2)));
 typedef int8_t vnx4qi __attribute__ ((vector_size (4)));
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/abi-call-args-4-run.c b/gcc/testsuite/gcc.target/riscv/rvv/base/abi-call-args-4-run.c
index 84ba9d4ac89..095dcff473e 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/base/abi-call-args-4-run.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/base/abi-call-args-4-run.c
@@ -6,7 +6,7 @@ 
 #include <stdlib.h>
 #include <string.h>
 #include <stdio.h>
-#include <stdint.h>
+#include <stdint-gcc.h>
 #include "riscv_vector.h"
 
 vint64m8_t
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/pr110119-2.c b/gcc/testsuite/gcc.target/riscv/rvv/base/pr110119-2.c
index 958d1addb05..3dadc9920e6 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/base/pr110119-2.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/base/pr110119-2.c
@@ -1,7 +1,7 @@ 
 /* { dg-do compile } */
 /* { dg-options "-march=rv64gczve32x -mabi=lp64d --param=riscv-autovec-preference=fixed-vlmax -Wno-psabi" } */
 
-#include <stdint.h>
+#include <stdint-gcc.h>
 #include "riscv_vector.h"
 
 __attribute__ ((noipa)) vint32m1x3_t
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/pr111255.c b/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/pr111255.c
index 736f6838a50..d667dbc874b 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/pr111255.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/pr111255.c
@@ -1,7 +1,7 @@ 
 /* { dg-do compile } */
 /* { dg-options "-march=rv64gcv -mabi=lp64d -O3 --param riscv-autovec-lmul=m2 -fno-vect-cost-model" } */
 
-#include <stdint.h>
+#include <stdint-gcc.h>
 
 #define DEF_LOOP(OLD_TYPE, NEW_TYPE)			          \
   void __attribute__ ((noipa))				     \
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/wredsum_vlmax.c b/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/wredsum_vlmax.c
index 6b7c77326ae..bb1d410dfbf 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/wredsum_vlmax.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/wredsum_vlmax.c
@@ -2,7 +2,7 @@ 
 /* { dg-options "-march=rv64gcv_zvl256b --param=riscv-autovec-preference=fixed-vlmax -O3" } */
 
 
-#include <stdint.h>
+#include <stdint-gcc.h>
 
 int16_t foo (int8_t *restrict a)
 {