Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FROMPULL: 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. zephyrproject-rtos/zephyr#80579 BUG=b:376282914 Change-Id: I990e2256d0019361b3ef1f736095ebca3806a6e1 Signed-off-by: Wilfried Chauveau <wilfried.chauveau@arm.com> Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5976801 Commit-Queue: Jeremy Bettis <jbettis@chromium.org> Tested-by: Jeremy Bettis <jbettis@chromium.org>
- Loading branch information