On Tue, 07 Nov 2023 01:45:19 PST (-0800), christoph.muell...@vrull.eu wrote:
From: Christoph Müllner <christoph.muell...@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.muell...@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 <pal...@rivosinc.com>
Thanks!