From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id EEE85387700C; Mon, 23 Mar 2020 10:43:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EEE85387700C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1584960220; bh=S/Hj8TrTMLeKj8N3a5FNSk6TDHUQZVMmwym8s6kimqM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=vytxAO4mdpdzum6W14xBQfhFLaaBOFVDNIxU0AOkAL8X5t517v3XWfudJ+paGcIGc 6O2fsqBMC8Gy44xTBWwIxmJTx7FGqdD+RG1f8QTOSbp5tCNHjxyKNWdi9pKxx56efo QjUNuyXMkCTU7WkpXdi4hhGrOFVhhhZ9Hdr3wtw8= 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: Mon, 23 Mar 2020 10:43:40 +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 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: 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: Mon, 23 Mar 2020 10:43:41 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94248 --- Comment #2 from Thomas Schwinge --- (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 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 approv= ing this patch, please respond with "Reviewed-by: NAME " so that your ef= fort will be recorded in the commit log, see .=