public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] RISC-V: Use stdint-gcc.h in rvv testsuite
@ 2023-09-26 17:58 Patrick O'Neill
  2023-09-26 18:13 ` Andrew Pinski
  0 siblings, 1 reply; 10+ messages in thread
From: Patrick O'Neill @ 2023-09-26 17:58 UTC (permalink / raw)
  To: gcc-patches
  Cc: jeffreyalaw, juzhe.zhong, macro, vineetg, gnu-toolchain,
	Patrick O'Neill

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(-)

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] RISC-V: Use stdint-gcc.h in rvv testsuite
  2023-09-26 17:58 [PATCH] RISC-V: Use stdint-gcc.h in rvv testsuite Patrick O'Neill
@ 2023-09-26 18:13 ` Andrew Pinski
  2023-09-26 18:30   ` Patrick O'Neill
  0 siblings, 1 reply; 10+ messages in thread
From: Andrew Pinski @ 2023-09-26 18:13 UTC (permalink / raw)
  To: Patrick O'Neill
  Cc: gcc-patches, jeffreyalaw, juzhe.zhong, macro, vineetg, gnu-toolchain

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
>

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] RISC-V: Use stdint-gcc.h in rvv testsuite
  2023-09-26 18:13 ` Andrew Pinski
@ 2023-09-26 18:30   ` Patrick O'Neill
  2023-10-02 13:57     ` Kito Cheng
  0 siblings, 1 reply; 10+ messages in thread
From: Patrick O'Neill @ 2023-09-26 18:30 UTC (permalink / raw)
  To: Andrew Pinski
  Cc: gcc-patches, jeffreyalaw, juzhe.zhong, macro, vineetg, gnu-toolchain

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] RISC-V: Use stdint-gcc.h in rvv testsuite
  2023-09-26 18:30   ` Patrick O'Neill
@ 2023-10-02 13:57     ` Kito Cheng
  2023-10-03 20:58       ` Patrick O'Neill
  0 siblings, 1 reply; 10+ messages in thread
From: Kito Cheng @ 2023-10-02 13:57 UTC (permalink / raw)
  To: Patrick O'Neill
  Cc: Andrew Pinski, gcc-patches, jeffreyalaw, juzhe.zhong, macro,
	vineetg, gnu-toolchain

> > 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.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] RISC-V: Use stdint-gcc.h in rvv testsuite
  2023-10-02 13:57     ` Kito Cheng
@ 2023-10-03 20:58       ` Patrick O'Neill
  2023-10-05 22:43         ` Jeff Law
  0 siblings, 1 reply; 10+ messages in thread
From: Patrick O'Neill @ 2023-10-03 20:58 UTC (permalink / raw)
  To: Kito Cheng
  Cc: Andrew Pinski, gcc-patches, jeffreyalaw, juzhe.zhong, macro,
	vineetg, gnu-toolchain

[-- Attachment #1: Type: text/plain, Size: 1308 bytes --]

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] RISC-V: Use stdint-gcc.h in rvv testsuite
  2023-10-03 20:58       ` Patrick O'Neill
@ 2023-10-05 22:43         ` Jeff Law
  0 siblings, 0 replies; 10+ messages in thread
From: Jeff Law @ 2023-10-05 22:43 UTC (permalink / raw)
  To: Patrick O'Neill, Kito Cheng
  Cc: Andrew Pinski, gcc-patches, juzhe.zhong, macro, vineetg, gnu-toolchain



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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] RISC-V: Use stdint-gcc.h in rvv testsuite
  2023-11-07  9:45 Christoph Muellner
  2023-11-07 10:16 ` Kito Cheng
@ 2023-11-07 17:41 ` Palmer Dabbelt
  1 sibling, 0 replies; 10+ messages in thread
From: Palmer Dabbelt @ 2023-11-07 17:41 UTC (permalink / raw)
  To: christoph.muellner
  Cc: gcc-patches, kito.cheng, Jim Wilson, Andrew Waterman,
	philipp.tomsich, jeffreyalaw, christoph.muellner

On Tue, 07 Nov 2023 01:45:19 PST (-0800), christoph.muellner@vrull.eu wrote:
> From: Christoph Müllner <christoph.muellner@vrull.eu>
>
> stdint.h can be replaced with stdint-gcc.h to resolve some missing
> system headers in non-multilib installations.
>
> gcc/testsuite/ChangeLog:
>
> 	* gcc.target/riscv/xtheadmemidx-helpers.h:
> 	Replace stdint.h with stdint-gcc.h.
>
> Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
> ---
>  gcc/testsuite/gcc.target/riscv/xtheadmemidx-helpers.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gcc/testsuite/gcc.target/riscv/xtheadmemidx-helpers.h b/gcc/testsuite/gcc.target/riscv/xtheadmemidx-helpers.h
> index a97f08c5cc1..9d8ce124a93 100644
> --- a/gcc/testsuite/gcc.target/riscv/xtheadmemidx-helpers.h
> +++ b/gcc/testsuite/gcc.target/riscv/xtheadmemidx-helpers.h
> @@ -1,7 +1,7 @@
>  #ifndef XTHEADMEMIDX_HELPERS_H
>  #define XTHEADMEMIDX_HELPERS_H
>
> -#include <stdint.h>
> +#include <stdint-gcc.h>
>
>  #define intX_t long
>  #define uintX_t unsigned long


Presumably this still passes the tests?  If so it LGTM so

Reviewed-by: Palmer Dabbelt <palmer@rivosinc.com>

Thanks!

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] RISC-V: Use stdint-gcc.h in rvv testsuite
  2023-11-07 10:16 ` Kito Cheng
@ 2023-11-07 10:47   ` Christoph Müllner
  0 siblings, 0 replies; 10+ messages in thread
From: Christoph Müllner @ 2023-11-07 10:47 UTC (permalink / raw)
  To: Kito Cheng
  Cc: GCC Patches, Jim Wilson, Palmer Dabbelt, Andrew Waterman,
	Philipp Tomsich, Jeff Law

On Tue, Nov 7, 2023 at 11:16 AM Kito Cheng <kito.cheng@sifive.com> wrote:
>
> LGTM, but title is little bit misleading, it's not really related to rvv, change to either RISC-V or T-head is fine, anyway, you can commit without send v2 :)

Fixed and pushed.

Thanks!

>
> Christoph Muellner <christoph.muellner@vrull.eu> 於 2023年11月7日 週二 17:45 寫道:
>>
>> From: Christoph Müllner <christoph.muellner@vrull.eu>
>>
>> stdint.h can be replaced with stdint-gcc.h to resolve some missing
>> system headers in non-multilib installations.
>>
>> gcc/testsuite/ChangeLog:
>>
>>         * gcc.target/riscv/xtheadmemidx-helpers.h:
>>         Replace stdint.h with stdint-gcc.h.
>>
>> Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
>> ---
>>  gcc/testsuite/gcc.target/riscv/xtheadmemidx-helpers.h | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/gcc/testsuite/gcc.target/riscv/xtheadmemidx-helpers.h b/gcc/testsuite/gcc.target/riscv/xtheadmemidx-helpers.h
>> index a97f08c5cc1..9d8ce124a93 100644
>> --- a/gcc/testsuite/gcc.target/riscv/xtheadmemidx-helpers.h
>> +++ b/gcc/testsuite/gcc.target/riscv/xtheadmemidx-helpers.h
>> @@ -1,7 +1,7 @@
>>  #ifndef XTHEADMEMIDX_HELPERS_H
>>  #define XTHEADMEMIDX_HELPERS_H
>>
>> -#include <stdint.h>
>> +#include <stdint-gcc.h>
>>
>>  #define intX_t long
>>  #define uintX_t unsigned long
>> --
>> 2.41.0
>>

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] RISC-V: Use stdint-gcc.h in rvv testsuite
  2023-11-07  9:45 Christoph Muellner
@ 2023-11-07 10:16 ` Kito Cheng
  2023-11-07 10:47   ` Christoph Müllner
  2023-11-07 17:41 ` Palmer Dabbelt
  1 sibling, 1 reply; 10+ messages in thread
From: Kito Cheng @ 2023-11-07 10:16 UTC (permalink / raw)
  To: Christoph Muellner
  Cc: GCC Patches, Jim Wilson, Palmer Dabbelt, Andrew Waterman,
	Philipp Tomsich, Jeff Law

[-- Attachment #1: Type: text/plain, Size: 1293 bytes --]

LGTM, but title is little bit misleading, it's not really related to rvv,
change to either RISC-V or T-head is fine, anyway, you can commit without
send v2 :)

Christoph Muellner <christoph.muellner@vrull.eu> 於 2023年11月7日 週二 17:45 寫道:

> From: Christoph Müllner <christoph.muellner@vrull.eu>
>
> stdint.h can be replaced with stdint-gcc.h to resolve some missing
> system headers in non-multilib installations.
>
> gcc/testsuite/ChangeLog:
>
>         * gcc.target/riscv/xtheadmemidx-helpers.h:
>         Replace stdint.h with stdint-gcc.h.
>
> Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
> ---
>  gcc/testsuite/gcc.target/riscv/xtheadmemidx-helpers.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gcc/testsuite/gcc.target/riscv/xtheadmemidx-helpers.h
> b/gcc/testsuite/gcc.target/riscv/xtheadmemidx-helpers.h
> index a97f08c5cc1..9d8ce124a93 100644
> --- a/gcc/testsuite/gcc.target/riscv/xtheadmemidx-helpers.h
> +++ b/gcc/testsuite/gcc.target/riscv/xtheadmemidx-helpers.h
> @@ -1,7 +1,7 @@
>  #ifndef XTHEADMEMIDX_HELPERS_H
>  #define XTHEADMEMIDX_HELPERS_H
>
> -#include <stdint.h>
> +#include <stdint-gcc.h>
>
>  #define intX_t long
>  #define uintX_t unsigned long
> --
> 2.41.0
>
>

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [PATCH] RISC-V: Use stdint-gcc.h in rvv testsuite
@ 2023-11-07  9:45 Christoph Muellner
  2023-11-07 10:16 ` Kito Cheng
  2023-11-07 17:41 ` Palmer Dabbelt
  0 siblings, 2 replies; 10+ messages in thread
From: Christoph Muellner @ 2023-11-07  9:45 UTC (permalink / raw)
  To: gcc-patches, Kito Cheng, Jim Wilson, Palmer Dabbelt,
	Andrew Waterman, Philipp Tomsich, Jeff Law
  Cc: Christoph Müllner

From: Christoph Müllner <christoph.muellner@vrull.eu>

stdint.h can be replaced with stdint-gcc.h to resolve some missing
system headers in non-multilib installations.

gcc/testsuite/ChangeLog:

	* gcc.target/riscv/xtheadmemidx-helpers.h:
	Replace stdint.h with stdint-gcc.h.

Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
---
 gcc/testsuite/gcc.target/riscv/xtheadmemidx-helpers.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/riscv/xtheadmemidx-helpers.h b/gcc/testsuite/gcc.target/riscv/xtheadmemidx-helpers.h
index a97f08c5cc1..9d8ce124a93 100644
--- a/gcc/testsuite/gcc.target/riscv/xtheadmemidx-helpers.h
+++ b/gcc/testsuite/gcc.target/riscv/xtheadmemidx-helpers.h
@@ -1,7 +1,7 @@
 #ifndef XTHEADMEMIDX_HELPERS_H
 #define XTHEADMEMIDX_HELPERS_H
 
-#include <stdint.h>
+#include <stdint-gcc.h>
 
 #define intX_t long
 #define uintX_t unsigned long
-- 
2.41.0


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-11-07 17:41 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-26 17:58 [PATCH] RISC-V: Use stdint-gcc.h in rvv testsuite Patrick O'Neill
2023-09-26 18:13 ` Andrew Pinski
2023-09-26 18:30   ` Patrick O'Neill
2023-10-02 13:57     ` Kito Cheng
2023-10-03 20:58       ` Patrick O'Neill
2023-10-05 22:43         ` Jeff Law
2023-11-07  9:45 Christoph Muellner
2023-11-07 10:16 ` Kito Cheng
2023-11-07 10:47   ` Christoph Müllner
2023-11-07 17:41 ` Palmer Dabbelt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).