* [PATCH] riscv: Fix -Wincompatible-pointer-types warning during libgcc build
@ 2023-07-11 9:38 Florian Weimer
2023-07-11 13:56 ` Jeff Law
0 siblings, 1 reply; 2+ messages in thread
From: Florian Weimer @ 2023-07-11 9:38 UTC (permalink / raw)
To: gcc-patches
libgcc/
* config/riscv/linux-unwind.h (riscv_fallback_frame_state): Add
missing cast.
---
libgcc/config/riscv/linux-unwind.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libgcc/config/riscv/linux-unwind.h b/libgcc/config/riscv/linux-unwind.h
index 931c2f2795d..e58d0f4113e 100644
--- a/libgcc/config/riscv/linux-unwind.h
+++ b/libgcc/config/riscv/linux-unwind.h
@@ -64,7 +64,7 @@ riscv_fallback_frame_state (struct _Unwind_Context *context,
return _URC_END_OF_STACK;
rt_ = context->cfa;
- sc = &rt_->uc.uc_mcontext;
+ sc = (struct sigcontext *) &rt_->uc.uc_mcontext;
new_cfa = (_Unwind_Ptr) sc;
fs->regs.cfa_how = CFA_REG_OFFSET;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] riscv: Fix -Wincompatible-pointer-types warning during libgcc build
2023-07-11 9:38 [PATCH] riscv: Fix -Wincompatible-pointer-types warning during libgcc build Florian Weimer
@ 2023-07-11 13:56 ` Jeff Law
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Law @ 2023-07-11 13:56 UTC (permalink / raw)
To: Florian Weimer, gcc-patches
On 7/11/23 03:38, Florian Weimer via Gcc-patches wrote:
> libgcc/
>
> * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Add
> missing cast.
OK
jeff
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-07-11 13:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-11 9:38 [PATCH] riscv: Fix -Wincompatible-pointer-types warning during libgcc build Florian Weimer
2023-07-11 13:56 ` Jeff Law
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).