Merge pull request #4 from rciliberto/master
Add `noreturn` attribute to crash()
This commit is contained in:
commit
b25b67f645
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ typedef struct Cpu_Capabilities {
|
|||
#define alignat(x) __attribute__((aligned(x)))
|
||||
#define COMPILER_HAS_MEMCPY_INTRINSICS 1
|
||||
|
||||
inline void
|
||||
inline void __attribute__((noreturn))
|
||||
crash() {
|
||||
__builtin_trap();
|
||||
volatile int *a = 0;
|
||||
|
|
Reference in a new issue