From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4141C38582A1; Tue, 20 Jun 2023 17:20:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4141C38582A1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1687281601; bh=Xt5/C8rWJ/AVaUoCG41YzASBrbDg80PeGIxQ+q81jxg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=RlCAFoh8rGMprU5PhP+10KHYoNscvLSHC2b8tyd7LYyNEPc9kdGucCFCy0shtW+83 zIo1Tp6nA6mweKGsZiXbiT1rQM6dUQdfC6kxSD5b9S8y5pXTUfZyQDbPlynDtLnnvN qcmpPZ9M1YuKpkKvFadxAEcG1JN8lAY2tu8lS1+A= From: "burnus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/110324] [14 Regression][build][nvptx] build/genpreds: Internal error: RTL check: expected elt 2 type 'T', have 's' due to r14-1949-g957ae904065917 Date: Tue, 20 Jun 2023 17:20:01 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: burnus at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D110324 Tobias Burnus 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 --- 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'.=