public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-4617] arc: Fix -Wincompatible-pointer-types warning during libgcc build
@ 2023-10-13  7:37 Florian Weimer
  0 siblings, 0 replies; only message in thread
From: Florian Weimer @ 2023-10-13  7:37 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:dab4f3ec0d1f11ca5a7122f8dac8284bcdcd07de

commit r14-4617-gdab4f3ec0d1f11ca5a7122f8dac8284bcdcd07de
Author: Florian Weimer <fweimer@redhat.com>
Date:   Fri Oct 13 09:34:36 2023 +0200

    arc: Fix -Wincompatible-pointer-types warning during libgcc build
    
    libgcc/
    
            * config/arc/linux-unwind.h (arc_fallback_frame_state): Add
            missing cast.

Diff:
---
 libgcc/config/arc/linux-unwind.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libgcc/config/arc/linux-unwind.h b/libgcc/config/arc/linux-unwind.h
index 0292e22ed1b..dec9428a7e5 100644
--- a/libgcc/config/arc/linux-unwind.h
+++ b/libgcc/config/arc/linux-unwind.h
@@ -100,7 +100,7 @@ arc_fallback_frame_state (struct _Unwind_Context *context,
   if (pc[0] == MOV_R8_139)
     {
       rt_ = context->cfa;
-      sc = &rt_->uc.uc_mcontext;
+      sc = (struct sigcontext *) &rt_->uc.uc_mcontext;
     }
   else
     return _URC_END_OF_STACK;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-10-13  7:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-13  7:37 [gcc r14-4617] arc: Fix -Wincompatible-pointer-types warning during libgcc build Florian Weimer

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).