From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 763563858CDA; Mon, 30 Jan 2023 17:10:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 763563858CDA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1675098659; bh=8wSi+9fOSk8IXsay2Z8kubURcz1teNRcI3URHHMDZWc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=EU9ACuze4ysuKlkFfpNXOldEf0Y25IOVK6vqmZ2yUgFo4myF58F1B5tbscURIKGYq AjW9eQtu7juWbEvNpJYIx+SsVrcRfvde65Apv5c0/RfIzpMObpfFQJx0zfYnK7k3HB 6jpBSTvSrLNvR9hfcjE0VRQNtyJYGJS5J34pE0Ps= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/108463] [13 Regression] ICE: in cselib_subst_to_values, at cselib.cc:2148 with -O2 -fsched2-use-superblocks -g Date: Mon, 30 Jan 2023 17:10:51 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created 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=3D108463 --- Comment #14 from Jakub Jelinek --- Created attachment 54374 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D54374&action=3Dedit gcc13-pr108463-1.patch Additional untested patch (likely stage1 material) to avoid considering SP_DERIVED_VALUE_P values as useless when they have no locs, but Pmode REG_VALUES (STACK_POINTER_REGNUM) still has that VALUE plus constant among = its locs.=