GCC will complaint if target ABI isn't have corresponding multi-lib on
glibc toolchain, use stdint-gcc.h to suppress that.

gcc/testsuite/ChangeLog:

        * gcc.target/riscv/simplify_ior_optimization.c: Use stdint-gcc.h
        rather than stdint.h
---
 gcc/testsuite/gcc.target/riscv/simplify_ior_optimization.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/riscv/simplify_ior_optimization.c 
b/gcc/testsuite/gcc.target/riscv/simplify_ior_optimization.c
index ec3bd0baf03f..b94e1ee25ab7 100644
--- a/gcc/testsuite/gcc.target/riscv/simplify_ior_optimization.c
+++ b/gcc/testsuite/gcc.target/riscv/simplify_ior_optimization.c
@@ -1,7 +1,7 @@
 /* { dg-do compile } */
 /* { dg-options "-march=rv64gc -mabi=lp64 -O2" } */
 
-#include <stdint.h>
+#include "stdint-gcc.h"
 
 uint8_t test_simplify_ior_scalar_case_0 (uint8_t a)
 {
-- 
2.39.2

Reply via email to