From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5F74A3858C5E; Mon, 28 Nov 2022 08:13:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5F74A3858C5E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1669623238; bh=BlAaqxwyrIlyLekJXdPdgDv4GEmwU9sbbck4OlSQg9U=; h=From:To:Subject:Date:In-Reply-To:References:From; b=hb4lplmfxspg3GYbY/6/QqSjOJJkgZ8lmbU7nUFsnlGV7qOB5TK0MiPsjR1vkSjCR ouEYZ5pm5M/QhOqajeTx/4Qsbq2MoChnp3/TvkVOzfjB3CqzRIWF4s8e+s41A65lp+ idTj2rYQTqvP1kS7qgc1N5u4xv7YVsDJd1vY5HXA= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/107876] [13 Regression] ICE in verify_dominators, at dominance.cc:1184 (error: dominator of 4 should be 14, not 16) since r13-3749-g7314b98b1bcd382c Date: Mon, 28 Nov 2022 08:13:58 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107876 --- Comment #4 from Richard Biener --- It's a latent issue before this rev. since clean_up_after_unswitching ends = up removing all exit edges from one copy, keeping an infinite loop. The funct= ion uses remove_edge () for this, not remove_edge_and_dominated_blocks. Testing a patch.=