diff options
Diffstat (limited to 'core/cortex-m')
-rw-r--r-- | core/cortex-m/panic.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/cortex-m/panic.c b/core/cortex-m/panic.c index 703586c135..bc049bd698 100644 --- a/core/cortex-m/panic.c +++ b/core/cortex-m/panic.c @@ -383,6 +383,7 @@ void software_panic(uint32_t reason, uint32_t info) "mov " STRINGIFY(SOFTWARE_PANIC_REASON_REG) ", %1\n" "bl exception_panic\n" : : "r"(info), "r"(reason)); + __builtin_unreachable(); } void panic_set_reason(uint32_t reason, uint32_t info, uint8_t exception) |