From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id F37F33858C31; Fri, 8 Mar 2024 10:20:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F37F33858C31 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1709893214; bh=yyQXyD4oxe0jclj02zcvZojJyFXktPmDna0vkW5eDhk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=qg1JDZs2DYDcyCRpvudexjpMFKU3yoNqWr/UmAsl6eFMUi3ZLrRxVkCy45/02Uwd6 3S3KeoA6TpluoT6s9RxcjUqAc1Brt2eIZW/fXsUyatoZH92+DUg7uWnhisOcczvFWA W6SoHrPkoXecLd7y5VjOi3pJhj7RTBvnUj50ta+4= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/111822] [12/13/14 Regression] during RTL pass: lr_shrinkage ICE: in operator[], at vec.h:910 with -O2 -m32 -flive-range-shrinkage -fno-dce -fnon-call-exceptions since r12-5301-g045206450386bc Date: Fri, 08 Mar 2024 10:20:11 +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: 14.0 X-Bugzilla-Keywords: EH, ice-on-valid-code, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 12.4 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=3D111822 --- Comment #10 from Richard Biener --- The easiest fix would be to refuse applying STV to a insn that can_throw_internal () (that's an insn that has associated EH info). Updati= ng in this case would require splitting the BB or at least moving the now no longer throwing insn to the next block (along the fallthru edge).=