public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-5401] RISC-V: Fix pointer tree type for store pointer.
@ 2023-01-26 19:11 Kito Cheng
0 siblings, 0 replies; only message in thread
From: Kito Cheng @ 2023-01-26 19:11 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:f91cd98ebc3599d514c42db23606b4b9474ef1fe
commit r13-5401-gf91cd98ebc3599d514c42db23606b4b9474ef1fe
Author: Ju-Zhe Zhong <juzhe.zhong@rivai.ai>
Date: Wed Dec 28 13:11:08 2022 +0800
RISC-V: Fix pointer tree type for store pointer.
For store intrinsic,
the function type should be void store (T *...) instead of void store (const T *...)
gcc/ChangeLog:
* config/riscv/riscv-vector-builtins.cc: Change to scalar pointer.
Diff:
---
gcc/config/riscv/riscv-vector-builtins.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/config/riscv/riscv-vector-builtins.cc b/gcc/config/riscv/riscv-vector-builtins.cc
index 59d4f2d20f5..d7a9fe4bda0 100644
--- a/gcc/config/riscv/riscv-vector-builtins.cc
+++ b/gcc/config/riscv/riscv-vector-builtins.cc
@@ -158,7 +158,7 @@ static CONSTEXPR const rvv_arg_type_info scalar_const_ptr_args[]
/* A list of args for void func (scalar_type *, vector_type) function. */
static CONSTEXPR const rvv_arg_type_info scalar_ptr_args[]
- = {rvv_arg_type_info (RVV_BASE_scalar_const_ptr),
+ = {rvv_arg_type_info (RVV_BASE_scalar_ptr),
rvv_arg_type_info (RVV_BASE_vector), rvv_arg_type_info_end};
/* A list of none preds that will be registered for intrinsic functions. */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-01-26 19:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-26 19:11 [gcc r13-5401] RISC-V: Fix pointer tree type for store pointer 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).