public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Oleg Endo <olegendo@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r11-11069] SH: Fix PR 101177 Date: Fri, 20 Oct 2023 10:05:05 +0000 (GMT) [thread overview] Message-ID: <20231020100506.CFCF73858D20@sourceware.org> (raw) https://gcc.gnu.org/g:e784ba28ae0214b02ae45734d5106ca421711a8a commit r11-11069-ge784ba28ae0214b02ae45734d5106ca421711a8a Author: Oleg Endo <olegendo@gcc.gnu.org> Date: Fri Oct 20 18:48:34 2023 +0900 SH: Fix PR 101177 Fix accidentally inverted comparison. gcc/ChangeLog: PR target/101177 * config/sh/sh.md (unnamed split pattern): Fix comparison of find_regno_note result. Diff: --- gcc/config/sh/sh.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md index 963984060e68..b647c33637ce 100644 --- a/gcc/config/sh/sh.md +++ b/gcc/config/sh/sh.md @@ -842,7 +842,7 @@ if (SUBREG_P (reg)) reg = SUBREG_REG (reg); gcc_assert (REG_P (reg)); - if (find_regno_note (curr_insn, REG_DEAD, REGNO (reg)) != NULL_RTX) + if (find_regno_note (curr_insn, REG_DEAD, REGNO (reg)) == NULL_RTX) FAIL; /* FIXME: Maybe also search the predecessor basic blocks to catch
reply other threads:[~2023-10-20 10:05 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=20231020100506.CFCF73858D20@sourceware.org \ --to=olegendo@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).