public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Joern Rennecke <amylaar@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-1104] Fix bug in the define_subst handling that made match_scratch unusable for multi-alternative patterns Date: Fri, 28 May 2021 06:34:04 +0000 (GMT) [thread overview] Message-ID: <20210528063404.CA8E53857011@sourceware.org> (raw) https://gcc.gnu.org/g:dd1ef00c45ba99ea10082f913c20319b1951defe commit r12-1104-gdd1ef00c45ba99ea10082f913c20319b1951defe Author: Joern Rennecke <joern.rennecke@embecosm.com> Date: Fri May 28 07:29:53 2021 +0100 Fix bug in the define_subst handling that made match_scratch unusable for multi-alternative patterns. 2021-05-28 Joern Rennecke <joern.rennecke@embecosm.com> gcc/ * gensupport.c (alter_constraints): Add MATCH_SCRATCH case. Diff: --- gcc/gensupport.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gcc/gensupport.c b/gcc/gensupport.c index e1ca06dbc1e..4022c661adb 100644 --- a/gcc/gensupport.c +++ b/gcc/gensupport.c @@ -1291,6 +1291,9 @@ alter_constraints (rtx pattern, int n_dup, constraints_handler_t alter) case MATCH_OPERAND: XSTR (pattern, 2) = alter (XSTR (pattern, 2), n_dup); break; + case MATCH_SCRATCH: + XSTR (pattern, 1) = alter (XSTR (pattern, 1), n_dup); + break; default: break;
reply other threads:[~2021-05-28 6:34 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=20210528063404.CA8E53857011@sourceware.org \ --to=amylaar@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).