From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A3EBC396AC0F; Thu, 4 Feb 2021 17:01:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A3EBC396AC0F From: "bergner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/98959] ICE in extract_constrain_insn, at recog.c:2670 Date: Thu, 04 Feb 2021 17:01:23 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: bergner at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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 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: Thu, 04 Feb 2021 17:01:23 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D98959 --- Comment #8 from Peter Bergner --- (In reply to Martin Li=C5=A1ka from comment #2) > I do not set any default CPU: The default cpu on ppc64le is (should be!) POWER8. That said, I cannot recreate the issue with a cross build using current tru= nk.=20 I will say that the change you identified did cause some fallout that was f= ixed with a later change (below) that looks related to the bad insn you are seei= ng.=20 Maybe this is a bisec issue? Does adding the later fix from the following "fix" the ICE? commit dd75498db79675a1a0b73c25e5f110969ee72d9d Author: Peter Bergner AuthorDate: Thu Apr 16 23:26:41 2020 -0500 Commit: Peter Bergner CommitDate: Thu Apr 16 23:26:41 2020 -0500 rs6000: Fix ICE in decompose_normal_address. [PR93974] Fix an ICE in decompose_normal_address(), which cannot handle Altivec A= ND: addresses, by disallowing them via implementing the target hook rs6000_cannot_substitute_mem_equiv_p. gcc/ PR rtl-optimization/93974 * config/rs6000/rs6000.c (TARGET_CANNOT_SUBSTITUTE_MEM_EQUIV_P): Define. (rs6000_cannot_substitute_mem_equiv_p): New function. gcc/testsuite/ PR rtl-optimization/93974 * g++.dg/pr93974.C: New test. If that fixes it, are you really seeing the same ICE on current trunk?=