public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Max Filippov <jcmvbkbc@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-4086] gcc: m68k: fix PR target/107645 Date: Wed, 16 Nov 2022 12:36:46 +0000 (GMT) [thread overview] Message-ID: <20221116123646.28BDF3959E5B@sourceware.org> (raw) https://gcc.gnu.org/g:99c9cbcc3ba3e005bad790a600853266a81d95ee commit r13-4086-g99c9cbcc3ba3e005bad790a600853266a81d95ee Author: Max Filippov <jcmvbkbc@gmail.com> Date: Wed Nov 9 00:39:50 2022 -0800 gcc: m68k: fix PR target/107645 gcc/ PR target/107645 * config/m68k/predicates.md (symbolic_operand): Return false when UNSPEC is under the CONST node. Diff: --- gcc/config/m68k/predicates.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gcc/config/m68k/predicates.md b/gcc/config/m68k/predicates.md index f8dedd9f837..094a1895553 100644 --- a/gcc/config/m68k/predicates.md +++ b/gcc/config/m68k/predicates.md @@ -141,6 +141,8 @@ case CONST: op = XEXP (op, 0); + if (GET_CODE (op) == UNSPEC) + return false; return ((GET_CODE (XEXP (op, 0)) == SYMBOL_REF || GET_CODE (XEXP (op, 0)) == LABEL_REF) && GET_CODE (XEXP (op, 1)) == CONST_INT);
reply other threads:[~2022-11-16 12:36 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=20221116123646.28BDF3959E5B@sourceware.org \ --to=jcmvbkbc@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).