Arm Compiler6 Compile error

Keil version 5.37

Error message:

error: unknown register name 'msp' in asm

error: unknown register name 'primask' in asm

How can I solve this problem