From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BF4333858404; Fri, 13 Oct 2023 06:03:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BF4333858404 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1697177038; bh=VPT7wz+3xvbouewrbnm+0+SCIX+4cozJHzwsdPI1yX8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=TULJYZ26scppOFKthaPF3RVd3mkA5CfglRW3ffdT0b3CGYsqi/fWdh36jqP1j9WFa SXCZhFJ1wB0DKhipzxEvbATGpHf5k9iwf49VwBfgGcNMZ/htZ+Nc1syEplAG9mLytL pfpI1tWJ1ljrdaS8oPABMA70Od1l/nVlcUs8lX+0= From: "olegendo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/111001] SH: ICE during RTL pass: sh_treg_combine2 Date: Fri, 13 Oct 2023 06:03:58 +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: 13.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: olegendo 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D111001 --- Comment #3 from Oleg Endo --- (In reply to Oleg Endo from comment #2) > I've briefly tried on a local gcc version 13.1.1 20230714=20 >=20 > While it doesn't crash, the sh_treg_combine2 pass seems to be stuck in an > infinite loop. It produces a log file > 200 MByte. It trips on the following insn: (insn 1431 1430 179 19 (set (reg/v:DI 264 [ blk_cnt ]) (reg/v:DI 264 [ blk_cnt ])) "rw_bitmaps.c":341:11 -1 (nil)) ... which is a reg-reg move on itself (i.e. a nop). For some reason this i= nsn is emitted by the split1 pass, which runs before sh_treg_combine2.=