public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-3141] libgcc, arc: Fix build
@ 2022-10-06 22:17 Jakub Jelinek
  0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2022-10-06 22:17 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:20462a14d8c0efdb31385c89b15523d1ee85e9b5

commit r13-3141-g20462a14d8c0efdb31385c89b15523d1ee85e9b5
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Fri Oct 7 00:16:11 2022 +0200

    libgcc, arc: Fix build
    
    Missed one spot in the r13-3108-g146e45914032 change (my sed script
    didn't expect nested []s).
    
    2022-10-07  Jakub Jelinek  <jakub@redhat.com>
    
            * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
            fs->regs.how[X] instead of fs->regs.reg[X].how.

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 231971a7ccc..b3f2dde5476 100644
--- a/libgcc/config/arc/linux-unwind.h
+++ b/libgcc/config/arc/linux-unwind.h
@@ -115,7 +115,7 @@ arc_fallback_frame_state (struct _Unwind_Context *context,
     {
       if (register_id_for_index[i] == -1)
 	continue;
-      fs->regs.reg[register_id_for_index[i]].how = REG_SAVED_OFFSET;
+      fs->regs.how[register_id_for_index[i]] = REG_SAVED_OFFSET;
       fs->regs.reg[register_id_for_index[i]].loc.offset
 	= ((_Unwind_Ptr) &(regs[i])) - new_cfa;
     }

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

only message in thread, other threads:[~2022-10-06 22:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-06 22:17 [gcc r13-3141] libgcc, arc: Fix build Jakub Jelinek

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