public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Tamar Christina <tnfchris@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r14-2005] gensupport: drop suppport for define_cond_exec from compact syntac
Date: Tue, 20 Jun 2023 22:31:55 +0000 (GMT)	[thread overview]
Message-ID: <20230620223155.422603858D1E@sourceware.org> (raw)

https://gcc.gnu.org/g:f5d0cec170d6d5496edf4038499d288c07d79b18

commit r14-2005-gf5d0cec170d6d5496edf4038499d288c07d79b18
Author: Tamar Christina <tamar.christina@arm.com>
Date:   Tue Jun 20 23:31:40 2023 +0100

    gensupport: drop suppport for define_cond_exec from compact syntac
    
    define_cond_exec does not support the special @@ syntax
    and so can't support {@.  As such just remove support
    for it.
    
    gcc/ChangeLog:
    
            PR bootstrap/110324
            * gensupport.cc (convert_syntax): Explicitly check for RTX code.

Diff:
---
 gcc/gensupport.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/gensupport.cc b/gcc/gensupport.cc
index 980b49cd481..e39e6dacce2 100644
--- a/gcc/gensupport.cc
+++ b/gcc/gensupport.cc
@@ -878,7 +878,8 @@ convert_syntax (rtx x, file_location loc)
   const char *templ;
   vec_conlist tconvec, convec, attrvec;
 
-  templ_index = GET_CODE (x) == DEFINE_INSN ? 3 : 2;
+  templ_index = 3;
+  gcc_assert (GET_CODE (x) == DEFINE_INSN);
 
   templ = XTMPL (x, templ_index);
 
@@ -1053,7 +1054,6 @@ process_rtx (rtx desc, file_location loc)
       break;
 
     case DEFINE_COND_EXEC:
-      convert_syntax (desc, loc);
       queue_pattern (desc, &define_cond_exec_tail, loc);
       break;

                 reply	other threads:[~2023-06-20 22:31 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=20230620223155.422603858D1E@sourceware.org \
    --to=tnfchris@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: link
Be 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).