From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 693F03858018; Mon, 1 Aug 2022 18:35:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 693F03858018 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/97333] [13 Regression] [gimple_can_duplicate_bb_p == false, tree-ssa-threadupdate] ICE in duplicate_block, at cfghooks.c:1093 Date: Mon, 01 Aug 2022 18:35:52 +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: 11.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW 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: bug_status assigned_to short_desc everconfirmed keywords cf_reconfirmed_on target_milestone 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: Mon, 01 Aug 2022 18:35:52 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D97333 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org Summary|[gimple_can_duplicate_bb_p |[13 Regression] |=3D=3D false, |[gimple_can_duplicate_= bb_p |tree-ssa-threadupdate] ICE |=3D=3D false, |in duplicate_block, at |tree-ssa-threadupdate] ICE |cfghooks.c:1093 |in duplicate_block, at | |cfghooks.c:1093 Ever confirmed|0 |1 Keywords|internal-improvement | Last reconfirmed| |2022-08-01 Target Milestone|--- |13.0 --- Comment #5 from Andrew Pinski --- This is now a regression after r13-1753-g26cea5f108e0facd. testcase: int n; __attribute__ ((pure,returns_twice)) int bar (void); int foo (int x) { n =3D 0; bar (); if (x && n) return 0; foo (x); }=