Comment 6 for bug 1722849

Revision history for this message
Tejas Belagod (belagod-tejas) wrote :

I think this is a bug in CMSIS. The __get_PRIMASK () intrinsic implementation in cmsis_gcc.h needs to have a memory clobber in the inline asm statement to prevent it from being reordered.