public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Alex Coplan <acoplan@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/vendors/ARM/heads/morello)] except.c: Fix bootstrap Date: Mon, 14 Nov 2022 13:23:55 +0000 (GMT) [thread overview] Message-ID: <20221114132355.B5D1D3858D32@sourceware.org> (raw) https://gcc.gnu.org/g:c863bfd83aece5daed11630cb531b33dc1f1e1bf commit c863bfd83aece5daed11630cb531b33dc1f1e1bf Author: Alex Coplan <alex.coplan@arm.com> 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. */
next reply other threads:[~2022-11-14 13:23 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-11-14 13:23 Alex Coplan [this message] 2022-11-22 12:42 Stam Markianos-Wright
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=20221114132355.B5D1D3858D32@sourceware.org \ --to=acoplan@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: linkBe 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).