commit | 63890e2526552dd4dc01e17d150fa4a462b2107a | [log] [tgz] |
---|---|---|
author | Fabio Baltieri <fabiobaltieri@google.com> | Tue Oct 29 16:35:08 2024 +0000 |
committer | Mahesh Mahadevan <mahesh.mahadevan@nxp.com> | Thu Oct 31 14:16:48 2024 -0500 |
tree | 2936e3abd48b644c922b4b85b16f2008ee6e2e11 | |
parent | 7015a0ee3787c61d998c8bdd5ac70b77955d9ea7 [diff] |
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. Signed-off-by: Wilfried Chauveau <wilfried.chauveau@arm.com> Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>