https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110324

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[14 Regression][bootstrap,  |[14
                   |nvptx] build/genpreds:      |Regression][build][nvptx]
                   |Internal error: RTL check:  |build/genpreds: Internal
                   |expected elt 2 type 'T',    |error: RTL check: expected
                   |have 's' due to             |elt 2 type 'T', have 's'
                   |r14-1949-g957ae904065917    |due to
                   |                            |r14-1949-g957ae904065917

--- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> ---
The commit r14-1949-g957ae90406591739b68e95ad49a0232faeb74217 did change
in  gcc/gensupport.cc the following.

@@ -553,10 +1048,12 @@ process_rtx (rtx desc, file_location loc)
   switch (GET_CODE (desc))
     {
     case DEFINE_INSN:
+      convert_syntax (desc, loc);
       queue_pattern (desc, &define_insn_tail, loc);
       break;

     case DEFINE_COND_EXEC:
+      convert_syntax (desc, loc);
       queue_pattern (desc, &define_cond_exec_tail, loc);
       break;


IMHO it seems as if there shouldn't be a convert_syntax for
DEFINE_COND_EXEC - or 's' needs to be accepted for it
or rtl.def needs to be change to have a 'T' and not an 's'.

Reply via email to