public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Jakub Jelinek <jakub@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r13-3141] libgcc, arc: Fix build
Date: Thu,  6 Oct 2022 22:17:36 +0000 (GMT)	[thread overview]
Message-ID: <20221006221736.7E4973858D37@sourceware.org> (raw)

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;
     }

                 reply	other threads:[~2022-10-06 22:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221006221736.7E4973858D37@sourceware.org \
    --to=jakub@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).