From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C844D3858416; Wed, 12 Jun 2024 08:08:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C844D3858416 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1718179693; bh=JMW226RyRjw9/LplPVVHa6pjICmM7mX5+2uzxwnfnOg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=WbnTVSPsDLMWejBSNZmnD7xfa8QZTjSVuppMoC+y5N05V52IrWeYOWI9KBwIcEj3F hiEPGUtwUu02LW+aIZzIYQ9091ilx48S/JpmPKhAeMEUH5G3a6nPwDX0xMyZ++8C3a kEC+O5+6xZ+MOpixm5WjuKc80ca+tEgmjXcoyMnk= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/115253] [14/15 regression] New tests added by r14-10122-gad45086178d833 fail on Cortex M23 and M55 bare metal targets Date: Wed, 12 Jun 2024 08:08: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: 15.0 X-Bugzilla-Keywords: testsuite-fail 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: azoff at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.2 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=3D115253 --- Comment #5 from GCC Commits --- The master branch has been updated by Torbjorn Svensson : https://gcc.gnu.org/g:65bd0655ece268895e5018e393bafb769e201c78 commit r15-1200-g65bd0655ece268895e5018e393bafb769e201c78 Author: Torbj=C3=B6rn SVENSSON Date: Thu Jun 6 17:12:11 2024 +0200 arm: Zero/Sign extends for CMSE security on Armv8-M.baseline [PR115253] Properly handle zero and sign extension for Armv8-M.baseline as Cortex-M23 can have the security extension active. Currently, there is an internal compiler error on Cortex-M23 for the epilog processing of sign extension. This patch addresses the following CVE-2024-0151 for Armv8-M.baseline. gcc/ChangeLog: PR target/115253 * config/arm/arm.cc (cmse_nonsecure_call_inline_register_clear): Sign extend for Thumb1. (thumb1_expand_prologue): Add zero/sign extend. Signed-off-by: Torbj=C3=B6rn SVENSSON Co-authored-by: Yvan ROUX =