From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2109) id EF5623858004; Tue, 22 Nov 2022 12:42:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EF5623858004 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1669120961; bh=HHwZmO5a3IQFoBmy0iftirKJS4m78GnRRs2OEyk0EmQ=; h=From:To:Subject:Date:From; b=S/Iqy11aSQMRPsMUrB3ssEqAIo3HrbghK0uSCZ9azfrGKNOwGB15dyor+UPDflGk1 fY4YMaoi8l6Wjh8HlbafzbGCpBwENACmJsf7hAPunzpEquhtbdlilwqZIyN+d0SNp2 9y7532fJtwC5uT2dCYdbhscinhf0hROjZHFebkMk= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Stam Markianos-Wright To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/vendors/ARM/heads/morello)] except.c: Fix bootstrap X-Act-Checkin: gcc X-Git-Author: Alex Coplan X-Git-Refname: refs/vendors/ARM/heads/morello X-Git-Oldrev: b239ebd117db9767f184e484850f71e8c5bc4438 X-Git-Newrev: c863bfd83aece5daed11630cb531b33dc1f1e1bf Message-Id: <20221122124241.EF5623858004@sourceware.org> Date: Tue, 22 Nov 2022 12:42:41 +0000 (GMT) List-Id: https://gcc.gnu.org/g:c863bfd83aece5daed11630cb531b33dc1f1e1bf commit c863bfd83aece5daed11630cb531b33dc1f1e1bf Author: Alex Coplan Date: Mon Nov 7 16:50:19 2022 +0000 except.c: Fix bootstrap Commit ef254a8c7f201389ff7963bacb84254c61a2053e removed the last use of convert_to_offset_mode from except.c, leading to a warning which gets promoted to an error during bootstrap. Remove the now-unused function in order to fix bootstrap. Diff: --- gcc/except.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/gcc/except.c b/gcc/except.c index 96953df030b..4a173f9b22b 100644 --- a/gcc/except.c +++ b/gcc/except.c @@ -2260,17 +2260,6 @@ expand_builtin_frob_return_addr (tree addr_tree) return addr; } -static rtx -convert_to_offset_mode (rtx x) -{ -#ifndef POINTERS_EXTEND_UNSIGNED - gcc_assert (GET_MODE (x) == POmode || GET_MODE (x) == VOIDmode); - return x; -#else - return convert_to_mode (POmode, x, POINTERS_EXTEND_UNSIGNED); -#endif -} - /* Set up the epilogue with the magic bits we'll need to return to the exception handler. */