From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 79266385843B; Tue, 5 Mar 2024 17:35:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 79266385843B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1709660126; bh=NzF59ZVMQHKry2TKZy4hLUXmuAsnvHiP23cyf98nFns=; h=From:To:Subject:Date:In-Reply-To:References:From; b=tfYYgveUEIi3AvrADTgxS3kykxeFSPqa8bj/w5d9ymOYJnGAaodzAjmKZFx6lv5UW OA6rHlyFlTPL7O+w0kTzRmXUPem2xLfcifzTt8BsS9tkf1hFisCbQsjs7eXhbHjS72 4YAbZ6j6i+jJlwNEbMm7ODY/N45rKoXKAnRJ8yDs= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/113510] [14 Regression] [ARM Thumb] ICE in extract_constrain_insn with CPU cortex-m23 Date: Tue, 05 Mar 2024 17:35:25 +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: 14.0 X-Bugzilla-Keywords: ice-on-valid-code, ra 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: rearnsha 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=3D113510 --- Comment #8 from GCC Commits --- The master branch has been updated by Richard Earnshaw : https://gcc.gnu.org/g:067a012bde15bfb62d9af309d9d524ebfe91b705 commit r14-9322-g067a012bde15bfb62d9af309d9d524ebfe91b705 Author: Richard Earnshaw Date: Tue Mar 5 17:21:43 2024 +0000 arm: check for low register before applying peephole [PR113510] For thumb1, when using a peephole to fuse mov reg, #const add reg, reg, SP into add reg, SP, #const we must first check that reg is a low register, otherwise we will ICE when trying to recognize the resulting insn. gcc/ChangeLog: PR target/113510 * config/arm/thumb1.md (peephole2 to fuse mov imm/add SP): Use low_register_operand.=