public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-2005] gensupport: drop suppport for define_cond_exec from compact syntac
@ 2023-06-20 22:31 Tamar Christina
  0 siblings, 0 replies; only message in thread
From: Tamar Christina @ 2023-06-20 22:31 UTC (permalink / raw)
  To: gcc-cvs

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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-06-20 22:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-20 22:31 [gcc r14-2005] gensupport: drop suppport for define_cond_exec from compact syntac Tamar Christina

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).