]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gensupport: drop suppport for define_cond_exec from compact syntac devel/omp/gcc-13
authorTamar Christina <tamar.christina@arm.com>
Tue, 20 Jun 2023 22:31:40 +0000 (23:31 +0100)
committerAndrew Stubbs <ams@baylibre.com>
Thu, 29 Aug 2024 12:22:24 +0000 (12:22 +0000)
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.

gcc/gensupport.cc

index 980b49cd4814c9f92cae5876a1bae936338df071..e39e6dacce25009df1ef83a0ab9ed309704ca74b 100644 (file)
@@ -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;