From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E2D2A3858D20; Fri, 1 Sep 2023 21:43:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E2D2A3858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1693604627; bh=lC4YF5F4nB2hdDq7Sh+2ap8mTe7V9xi8cY8Wqna3ha4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=uE3p6YdqOhHd9epOUQR10FAIfVBxMcLYJAoHbZQGgL4/BAC6v/6MOJPt1fBUtcE5v PVJThkC42mY5AwP73u/gCnXCNLpuAzixhHeqIHOrws/vfaDFh9uj45i/znbn7G+CGU 2qHgHypm3DJQC7jB6uYWBDH4lLLi2e1p4nitS53I= From: "egallager 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: Fri, 01 Sep 2023 21:43:46 +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, testsuite-fail X-Bugzilla-Severity: normal X-Bugzilla-Who: egallager at gcc dot gnu.org X-Bugzilla-Status: REOPENED 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: resolution keywords cc bug_status 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 Eric Gallager changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |--- Keywords| |testsuite-fail CC| |egallager at gcc dot gnu.o= rg Status|RESOLVED |REOPENED --- Comment #8 from Eric Gallager --- (In reply to Francois-Xavier Coudert from comment #7) > The test case (g++.dg/tree-ssa/pr107876.C) fails on aarch64-darwin. >=20 > FAIL: g++.dg/tree-ssa/pr107876.C -std=3Dgnu++14 scan-tree-dump unswitch > "unswitching loop 1 on .switch. with condition: i_[0-9]+\\(D\\) =3D=3D 2" > FAIL: g++.dg/tree-ssa/pr107876.C -std=3Dgnu++17 scan-tree-dump unswitch > "unswitching loop 1 on .switch. with condition: i_[0-9]+\\(D\\) =3D=3D 2" > FAIL: g++.dg/tree-ssa/pr107876.C -std=3Dgnu++20 scan-tree-dump unswitch > "unswitching loop 1 on .switch. with condition: i_[0-9]+\\(D\\) =3D=3D 2" >=20 > The output says: >=20 > ;; Function test17 (_Z6test17i, funcdef_no=3D0, decl_uid=3D4194, cgraph_u= id=3D1, > symbol_order=3D0) >=20 > Estimating # of iterations of loop 1 > g++.dg/tree-ssa/pr107876.C:21:7: optimized: unswitching loop 1 on 'if' wi= th > condition: i_7(D) =3D=3D 0 > g++.dg/tree-ssa/pr107876.C:21:7: note: optimized sizes estimated to 0 (tr= ue) > and 0 (false) from original size 16 reopening, then=