From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3F4A33857BB3; Mon, 17 Jul 2023 08:20:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3F4A33857BB3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1689582012; bh=32uHQfkigh81l49sRXH/yiPg1hMH8XJshMPlxmfjOXg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=S2lbTflsRaQhOojoaO+2nI9wJT21Exg8n4Elg+JR8XVJMxWapGqJ3oaX9Vb1VE2Yo jAotdkyBKiUKmcd8kXbOOyWmLhIDi57NQwdJhKgk3HW+8a5hOvc35uOAGUFqHOdy0g GcqaLTVjs2bC3gcfW9oN9nVQl/rdRXPkjFBMf21c= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/110669] [14 regression] ICE in gcc.dg/torture/pr105132.c since r14-2515-gb77161e60bce7b Date: Mon, 17 Jul 2023 08:20:10 +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: 14.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit 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: 14.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=3D110669 --- Comment #8 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:3228e5c078ed2b505e4ad238b09c1817b38f9cfb commit r14-2559-g3228e5c078ed2b505e4ad238b09c1817b38f9cfb Author: Richard Biener Date: Mon Jul 17 09:20:33 2023 +0200 tree-optimization/110669 - bogus matching of loop bitop The matching code lacked a check that we end up with a PHI node in the loop header. This caused us to match a random PHI argument now catched by the extra PHI_ARG_DEF_FROM_EDGE checking. PR tree-optimization/110669 * tree-scalar-evolution.cc (analyze_and_compute_bitop_with_inv_effect): Check we matched a header PHI. * gcc.dg/torture/pr110669.c: New testcase.=