From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 28CFD3858C52; Tue, 5 Apr 2022 07:16:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 28CFD3858C52 From: "aldyh at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/105151] [12 Regression] ICE in gimple_range_global with invalid "gimple" language Date: Tue, 05 Apr 2022 07:16:58 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: aldyh at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 12.0 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: Tue, 05 Apr 2022 07:16:58 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D105151 --- Comment #2 from Aldy Hernandez --- (In reply to Richard Biener from comment #1) > going down passes after errors is always tricky - we do stop but it seems > the diagnostic passes are still run because they are part of "lowering" > (why is pass_walloca not in pass_build_ssa_passes like > pass_warn_{printf,nonnull_compare,access}?). In particular it seems to l= ook > at ranger but we are not even in SSA form!? Yeah, that looks like an oversight. >=20 > ranger "support" was added with r12-1078-gfe9a499cb8775c which should have > moved the pass to a place where we are in SSA form or the ranger use > restricted to the late pass. >=20 > I'm testing moving of the pass. Thanks.=