https://sourceware.org/bugzilla/show_bug.cgi?id=32363
--- Comment #1 from Mateusz Banaszek <m.banaszek at mimuw dot edu.pl> --- Interestingly, for Cortex-R stm r13!, {...} is assembled correctly to stm/stmia/stmea. An example: https://godbolt.org/z/TT3rK9anb. I've taken this example from a comment in Zephyr OS: https://github.com/zephyrproject-rtos/zephyr/pull/24290#issuecomment-2539903537. It seems due to this bug, the incorrect code in Zephyr OS was working correctly on Cortex-M and corrupting the stack only on Cortex-R. -- You are receiving this mail because: You are on the CC list for the bug.