From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 738453858C54; Mon, 5 Feb 2024 10:07:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 738453858C54 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1707127644; bh=qP9SJJsXo7jjMtnvpp8xOKuB1AZqoQ23NzgYvasHqjc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=lX9191AqSY+AZb53dnDj650jYYxkO3V2DK3HLp2d7AOkyCuRx05Y5gK3OEpsTCCSC osKGoeMgkhcw0bIU6Nx6xeiy1YvpLiV0H10mW6/7nPkrKlHc123O8zhHwY+aIuRIZf 2wZWYuwHdeq2WdPvr7IOGlaEjrq1LEtBZMvjpi7w= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/113707] [14 Regression] ICE on valid code at -O1 on x86_64-linux-gnu: Segmentation fault since r14-8683 Date: Mon, 05 Feb 2024 10:07:22 +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: P1 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=3D113707 --- Comment #6 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:42959acb8409c39e1c71c43528832611c3b71e25 commit r14-8800-g42959acb8409c39e1c71c43528832611c3b71e25 Author: Richard Biener Date: Mon Feb 5 09:44:12 2024 +0100 tree-optimization/113707 - ICE with VN elimination The following avoids different avail answers depending on how the iteration progressed. PR tree-optimization/113707 * tree-ssa-sccvn.cc (rpo_elim::eliminate_avail): After checking the avail set treat out-of-region defines as available. * gcc.dg/torture/pr113707-1.c: New testcase. * gcc.dg/torture/pr113707-2.c: Likewise.=