diff options
author | Tamar Christina <tamar.christina@arm.com> | 2023-06-20 23:31:40 +0100 |
---|---|---|
committer | Andrew Stubbs <ams@baylibre.com> | 2024-08-29 12:22:24 +0000 |
commit | 737b8f383563e5d1b10b85a7bc93ce359111be88 (patch) | |
tree | 4a1349ad02d8554d05e143f7aba743aadac673e9 | |
parent | 2d20f690921a82ee6db0c2fbac7dd5f13d4a0882 (diff) | |
download | gcc-devel/omp/gcc-13.zip gcc-devel/omp/gcc-13.tar.gz gcc-devel/omp/gcc-13.tar.bz2 |
gensupport: drop suppport for define_cond_exec from compact syntacdevel/omp/gcc-13
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.
-rw-r--r-- | gcc/gensupport.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/gensupport.cc b/gcc/gensupport.cc index 980b49c..e39e6da 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; |