[Bug target/115253] [14/15 regression] New tests added by r14-10122-gad45086178d833 fail on Cortex M23 and M55 bare metal targets
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115253 --- Comment #16 from Thiago Jung Bauermann --- Thank you!
[Bug target/115253] [14/15 regression] New tests added by r14-10122-gad45086178d833 fail on Cortex M23 and M55 bare metal targets
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115253 Torbjorn SVENSSON changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED --- Comment #15 from Torbjorn SVENSSON --- Both the Cortex-M23 and the Cortex-M55 issues was resolved with the commits listed in comment 5 though comment 14 (including the backporting to GCC11, GCC12, GCC13 and GCC14 branches).
[Bug target/115253] [14/15 regression] New tests added by r14-10122-gad45086178d833 fail on Cortex M23 and M55 bare metal targets
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115253 --- Comment #13 from GCC Commits --- The releases/gcc-11 branch has been updated by Torbjorn Svensson : https://gcc.gnu.org/g:319081d614dec354ae415472121e0e8ebc4b1402 commit r11-11477-g319081d614dec354ae415472121e0e8ebc4b1402 Author: Torbjörn 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.c (cmse_nonsecure_call_inline_register_clear): Sign extend for Thumb1. (thumb1_expand_prologue): Add zero/sign extend. Signed-off-by: Torbjörn SVENSSON Co-authored-by: Yvan ROUX (cherry picked from commit 65bd0655ece268895e5018e393bafb769e201c78)
[Bug target/115253] [14/15 regression] New tests added by r14-10122-gad45086178d833 fail on Cortex M23 and M55 bare metal targets
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115253 --- Comment #14 from GCC Commits --- The releases/gcc-11 branch has been updated by Torbjorn Svensson : https://gcc.gnu.org/g:bf9c877c4c9939274520a3f694037a9921ba9878 commit r11-11478-gbf9c877c4c9939274520a3f694037a9921ba9878 Author: Torbjörn SVENSSON Date: Fri Jun 7 10:42:22 2024 +0200 testsuite: Fix expand-return CMSE test for Armv8.1-M [PR115253] For Armv8.1-M, the clearing of the registers is handled differently than for Armv8-M, so update the test case accordingly. gcc/testsuite/ChangeLog: PR target/115253 * gcc.target/arm/cmse/extend-return.c: Update test case condition for Armv8.1-M. Signed-off-by: Torbjörn SVENSSON Co-authored-by: Yvan ROUX (cherry picked from commit cf5f9171bae1f5f3034dc9a055b77446962f1a8c)
[Bug target/115253] [14/15 regression] New tests added by r14-10122-gad45086178d833 fail on Cortex M23 and M55 bare metal targets
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115253 --- Comment #12 from GCC Commits --- The releases/gcc-12 branch has been updated by Torbjorn Svensson : https://gcc.gnu.org/g:3d9e4eedb6b1f43e5d0cd46c9aa06caf7c2d3500 commit r12-10551-g3d9e4eedb6b1f43e5d0cd46c9aa06caf7c2d3500 Author: Torbjörn SVENSSON Date: Fri Jun 7 10:42:22 2024 +0200 testsuite: Fix expand-return CMSE test for Armv8.1-M [PR115253] For Armv8.1-M, the clearing of the registers is handled differently than for Armv8-M, so update the test case accordingly. gcc/testsuite/ChangeLog: PR target/115253 * gcc.target/arm/cmse/extend-return.c: Update test case condition for Armv8.1-M. Signed-off-by: Torbjörn SVENSSON Co-authored-by: Yvan ROUX (cherry picked from commit cf5f9171bae1f5f3034dc9a055b77446962f1a8c)
[Bug target/115253] [14/15 regression] New tests added by r14-10122-gad45086178d833 fail on Cortex M23 and M55 bare metal targets
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115253 --- Comment #11 from GCC Commits --- The releases/gcc-12 branch has been updated by Torbjorn Svensson : https://gcc.gnu.org/g:55c1687d542e40f0d4ad1d3dc624695a1854d967 commit r12-10550-g55c1687d542e40f0d4ad1d3dc624695a1854d967 Author: Torbjörn 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örn SVENSSON Co-authored-by: Yvan ROUX (cherry picked from commit 65bd0655ece268895e5018e393bafb769e201c78)
[Bug target/115253] [14/15 regression] New tests added by r14-10122-gad45086178d833 fail on Cortex M23 and M55 bare metal targets
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115253 --- Comment #10 from GCC Commits --- The releases/gcc-13 branch has been updated by Torbjorn Svensson : https://gcc.gnu.org/g:dfab6851eb557a47a5e61d00ad4c519072a69f61 commit r13-8845-gdfab6851eb557a47a5e61d00ad4c519072a69f61 Author: Torbjörn SVENSSON Date: Fri Jun 7 10:42:22 2024 +0200 testsuite: Fix expand-return CMSE test for Armv8.1-M [PR115253] For Armv8.1-M, the clearing of the registers is handled differently than for Armv8-M, so update the test case accordingly. gcc/testsuite/ChangeLog: PR target/115253 * gcc.target/arm/cmse/extend-return.c: Update test case condition for Armv8.1-M. Signed-off-by: Torbjörn SVENSSON Co-authored-by: Yvan ROUX (cherry picked from commit cf5f9171bae1f5f3034dc9a055b77446962f1a8c)
[Bug target/115253] [14/15 regression] New tests added by r14-10122-gad45086178d833 fail on Cortex M23 and M55 bare metal targets
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115253 --- Comment #9 from GCC Commits --- The releases/gcc-13 branch has been updated by Torbjorn Svensson : https://gcc.gnu.org/g:bf3ffb44355ca8aeea18c95a2b027023b3dab569 commit r13-8844-gbf3ffb44355ca8aeea18c95a2b027023b3dab569 Author: Torbjörn 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örn SVENSSON Co-authored-by: Yvan ROUX (cherry picked from commit 65bd0655ece268895e5018e393bafb769e201c78)
[Bug target/115253] [14/15 regression] New tests added by r14-10122-gad45086178d833 fail on Cortex M23 and M55 bare metal targets
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115253 --- Comment #8 from GCC Commits --- The releases/gcc-14 branch has been updated by Torbjorn Svensson : https://gcc.gnu.org/g:9100e78ba28b1b69d1362d18088e897ca0f99594 commit r14-10307-g9100e78ba28b1b69d1362d18088e897ca0f99594 Author: Torbjörn SVENSSON Date: Fri Jun 7 10:42:22 2024 +0200 testsuite: Fix expand-return CMSE test for Armv8.1-M [PR115253] For Armv8.1-M, the clearing of the registers is handled differently than for Armv8-M, so update the test case accordingly. gcc/testsuite/ChangeLog: PR target/115253 * gcc.target/arm/cmse/extend-return.c: Update test case condition for Armv8.1-M. Signed-off-by: Torbjörn SVENSSON Co-authored-by: Yvan ROUX (cherry picked from commit cf5f9171bae1f5f3034dc9a055b77446962f1a8c)
[Bug target/115253] [14/15 regression] New tests added by r14-10122-gad45086178d833 fail on Cortex M23 and M55 bare metal targets
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115253 --- Comment #7 from GCC Commits --- The releases/gcc-14 branch has been updated by Torbjorn Svensson : https://gcc.gnu.org/g:a657148995e1c46178637c8de82d1fab5474a37d commit r14-10306-ga657148995e1c46178637c8de82d1fab5474a37d Author: Torbjörn 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örn SVENSSON Co-authored-by: Yvan ROUX (cherry picked from commit 65bd0655ece268895e5018e393bafb769e201c78)
[Bug target/115253] [14/15 regression] New tests added by r14-10122-gad45086178d833 fail on Cortex M23 and M55 bare metal targets
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115253 --- Comment #6 from GCC Commits --- The master branch has been updated by Torbjorn Svensson : https://gcc.gnu.org/g:cf5f9171bae1f5f3034dc9a055b77446962f1a8c commit r15-1201-gcf5f9171bae1f5f3034dc9a055b77446962f1a8c Author: Torbjörn SVENSSON Date: Fri Jun 7 10:42:22 2024 +0200 testsuite: Fix expand-return CMSE test for Armv8.1-M [PR115253] For Armv8.1-M, the clearing of the registers is handled differently than for Armv8-M, so update the test case accordingly. gcc/testsuite/ChangeLog: PR target/115253 * gcc.target/arm/cmse/extend-return.c: Update test case condition for Armv8.1-M. Signed-off-by: Torbjörn SVENSSON Co-authored-by: Yvan ROUX
[Bug target/115253] [14/15 regression] New tests added by r14-10122-gad45086178d833 fail on Cortex M23 and M55 bare metal targets
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115253 --- 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örn 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örn SVENSSON Co-authored-by: Yvan ROUX
[Bug target/115253] [14/15 regression] New tests added by r14-10122-gad45086178d833 fail on Cortex M23 and M55 bare metal targets
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115253 --- Comment #6 from GCC Commits --- The master branch has been updated by Torbjorn Svensson : https://gcc.gnu.org/g:cf5f9171bae1f5f3034dc9a055b77446962f1a8c commit r15-1201-gcf5f9171bae1f5f3034dc9a055b77446962f1a8c Author: Torbjörn SVENSSON Date: Fri Jun 7 10:42:22 2024 +0200 testsuite: Fix expand-return CMSE test for Armv8.1-M [PR115253] For Armv8.1-M, the clearing of the registers is handled differently than for Armv8-M, so update the test case accordingly. gcc/testsuite/ChangeLog: PR target/115253 * gcc.target/arm/cmse/extend-return.c: Update test case condition for Armv8.1-M. Signed-off-by: Torbjörn SVENSSON Co-authored-by: Yvan ROUX
[Bug target/115253] [14/15 regression] New tests added by r14-10122-gad45086178d833 fail on Cortex M23 and M55 bare metal targets
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115253 Torbjorn SVENSSON changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |azoff at gcc dot gnu.org Status|UNCONFIRMED |ASSIGNED Ever confirmed|0 |1 CC||azoff at gcc dot gnu.org Last reconfirmed||2024-06-07
[Bug target/115253] [14/15 regression] New tests added by r14-10122-gad45086178d833 fail on Cortex M23 and M55 bare metal targets
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115253 Torbjörn SVENSSON changed: What|Removed |Added CC||torbjorn.svensson at foss dot st.c ||om --- Comment #4 from Torbjörn SVENSSON --- Patches sent that addresses both the Cortex-M23 and the Cortex-M55 fails. M23 patch: https://gcc.gnu.org/pipermail/gcc-patches/2024-June/653882.html M55 patch: https://gcc.gnu.org/pipermail/gcc-patches/2024-June/653884.html
[Bug target/115253] [14/15 regression] New tests added by r14-10122-gad45086178d833 fail on Cortex M23 and M55 bare metal targets
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115253 Richard Biener changed: What|Removed |Added Target Milestone|--- |14.2 Target||arm