Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
arch: arm: cortex_m: add memory to the clobber list
Add "memory" to the clobber list" From GCC 14 the compiler optimizes away memory accesses that do not impact the asm block. Adding the memory to the clobber list lets the compiler know that the memory state is to be preserved. (cherry picked from commit 63890e2) Original-Signed-off-by: Wilfried Chauveau <wilfried.chauveau@arm.com> Original-Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com> GitOrigin-RevId: 63890e2 Cr-Build-Id: 8732025046822077009 Cr-Build-Url: https://cr-buildbucket.appspot.com/build/8732025046822077009 Copybot-Job-Name: zephyr-main-copybot-downstream Change-Id: I0dba2b4ef9c3cd32ff33a6c5f808b3ca73c689d2 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5998443 Tested-by: ChromeOS Prod (Robot) <chromeos-ci-prod@chromeos-bot.iam.gserviceaccount.com> Reviewed-by: Jeremy Bettis <jbettis@chromium.org> Commit-Queue: Jeremy Bettis <jbettis@chromium.org>
- Loading branch information