From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 88FF0387085C; Thu, 27 Aug 2020 11:18:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 88FF0387085C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1598527089; bh=RWisIYnGZgTx2UKfc/e9XKTfxhB6zbcsbZQkzCpni2E=; h=From:To:Subject:Date:In-Reply-To:References:From; b=V/VDO3xYxrBX8Jpq2Al7mZdhuhrcxx3ZFPVAy+LQ1ll8fYha8fG0VOwtC4z0yPNnt tRXUc68JTAEHRtiUMkYB9p3I2PqNZ8/qxy1W/yoJQVUTuPNAFVE3dKGCdGCWaVJdgf rC/Bhxc+r0C4HSft8loM/oSzun5DDw7qR1Q9O7sQ= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/94538] [9/10/11 Regression] ICE: in extract_constrain_insn_cached, at recog.c:2223 (insn does not satisfy its constraints) with -mcpu=cortex-m23 -mslow-flash-data Date: Thu, 27 Aug 2020 11:18:09 +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: 10.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: wilco at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.4 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, 27 Aug 2020 11:18:09 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94538 --- Comment #23 from CVS Commits --- The releases/gcc-10 branch has been updated by Christophe Lyon : https://gcc.gnu.org/g:f8bc014aa47a1b2056e89e50b0ce86ba64d93f3b commit r10-8678-gf8bc014aa47a1b2056e89e50b0ce86ba64d93f3b Author: Christophe Lyon Date: Wed Aug 19 09:02:21 2020 +0000 arm: Fix -mpure-code support/-mslow-flash-data for armv8-m.base [PR9453= 8] armv8-m.base (cortex-m23) has the movt instruction, so we need to disable the define_split to generate a constant in this case, otherwise we get incorrect insn constraints as described in PR94538. We also need to fix the pure-code alternative for thumb1_movsi_insn because the assembler complains with instructions like movs r0, #:upper8_15:1234 (Internal error in md_apply_fix) We now generate movs r0, 4 instead. 2020-08-24 Christophe Lyon PR target/94538 gcc/ * config/arm/thumb1.md: Disable set-constant splitter when TARGET_HAVE_MOVT. (thumb1_movsi_insn): Fix -mpure-code alternative. PR target/94538 gcc/testsuite/ * gcc.target/arm/pure-code/pr94538-1.c: New test. * gcc.target/arm/pure-code/pr94538-2.c: New test. (cherry picked from commit 259d072067997ab8f55afcf735c91b6740fd0425)=