From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2153) id 7E4973858D37; Thu, 6 Oct 2022 22:17:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7E4973858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1665094656; bh=q7aadPGRdZqgtlIzfIG27hYUGl+djkwSTcess1OGcig=; h=From:To:Subject:Date:From; b=tk6OuKKBf8yCrFwvcsklgRpRz25hbmTRB+kjTB8DTwYbzPTf2rt+FBtYf31UEHVle OKEWp78JPbWsjH0ZqzE4MPPh++8O+Ob5Ous/xoSStZa31/jJgL7qgNEWR00LTfqeVq OknVsBz+hCZCUP87Wu1QQAyF82Ls246Lo6GUFcic= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Jakub Jelinek To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-3141] libgcc, arc: Fix build X-Act-Checkin: gcc X-Git-Author: Jakub Jelinek X-Git-Refname: refs/heads/master X-Git-Oldrev: 0143b277c9b17215ab3d4b361e1aef431799e813 X-Git-Newrev: 20462a14d8c0efdb31385c89b15523d1ee85e9b5 Message-Id: <20221006221736.7E4973858D37@sourceware.org> Date: Thu, 6 Oct 2022 22:17:36 +0000 (GMT) List-Id: https://gcc.gnu.org/g:20462a14d8c0efdb31385c89b15523d1ee85e9b5 commit r13-3141-g20462a14d8c0efdb31385c89b15523d1ee85e9b5 Author: Jakub Jelinek 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 * 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; }