public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-112] RISC-V: Fix simplify_ior_optimization.c on rv32
@ 2023-04-20 13:21 Kito Cheng
0 siblings, 0 replies; only message in thread
From: Kito Cheng @ 2023-04-20 13:21 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:98ebdda3fd81c2c87ef0e73de9c94135fb49210f
commit r14-112-g98ebdda3fd81c2c87ef0e73de9c94135fb49210f
Author: Kito Cheng <kito.cheng@sifive.com>
Date: Thu Apr 20 20:03:24 2023 +0800
RISC-V: Fix simplify_ior_optimization.c on rv32
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
Diff:
---
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 ec3bd0baf03..b94e1ee25ab 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)
{
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-04-20 13:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-20 13:21 [gcc r14-112] RISC-V: Fix simplify_ior_optimization.c on rv32 Kito Cheng
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).