From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B76613870843; Wed, 22 Apr 2020 09:47:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B76613870843 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1587548851; bh=cDse4dzU/TSzV9tmHh+gpN/PandY/Oxxx79zGNmg6XU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=JtrB+HtvnwSqXUjGCV4LlBo2ygtnCe+CYTgEVN7/zbKr8KSewa7DptotAhDU0xAZL 7df0Y2eQ3vn2umW+CgmvaqSrhTyFmMJJBk/5df5/haFnjV6xitrBYpW0wykZQAQsQD Kw0P1gWqzTxXFCcjXV19GhGgCrZJJb764qXm10Yo= From: "tschwinge at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/94248] [amdgcn] Doesn't build with RTL checking Date: Wed, 22 Apr 2020 09:47:31 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: unknown X-Bugzilla-Keywords: ice-checking, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: tschwinge at gcc dot gnu.org X-Bugzilla-Status: NEW 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: cf_reconfirmed_on 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Apr 2020 09:47:31 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94248 Thomas Schwinge changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2020-04-21 00:00:00 |2020-4-22 --- Comment #6 from Thomas Schwinge --- (In reply to Andrew Stubbs from comment #5) > Yes, the REG_P can still ICE with the additional checking enabled. So are you fine with me installing Jakub's patch? (In reply to Thomas Schwinge from comment #4) > Thus, again: >=20 > (In reply to Thomas Schwinge from comment #2) > > (In reply to Jakub Jelinek from comment #1) > > > --- gcc/config/gcn/gcn.md.jj 2020-03-03 07:57:42.363827602 +0100 > > > +++ gcc/config/gcn/gcn.md 2020-03-21 15:37:45.337552515 +0100 > > > @@ -625,7 +625,7 @@ (define_insn_and_split "*mov_insn" > > > rtx outhi =3D gen_highpart_mode (SImode, mode, operands[0]= ); > > >=20=20 > > > /* Ensure that overlapping registers aren't corrupted. */ > > > - if (REGNO (outlo) =3D=3D REGNO (inhi)) > > > + if (reg_overlap_mentioned_p (outlo, inhi)) > > > { > > > operands[0] =3D outhi; > > > operands[1] =3D inhi; > > > ought to fix this > >=20 > > I've tested that one; no more ICE, and bit-identical code for all target > > libraries, so I suppose this is good to commit (Andrew, Julian)? If > > approving this patch, please respond with "Reviewed-by: NAME " so > > that your effort will be recorded in the commit log, see > > .=