-
Bug
-
Resolution: Won't Fix
-
Not Prioritized
-
Code Generation Tools
-
CODEGEN-12535
-
ARMCLANG_3.2.2.LTS
-
default
-
The attached file.c includes ti_compatibility.h and calls ...
_restore_interrupts
Build it ...
% tiarmclang -mcpu=cortex-m33 -c file.c In file included from file.c:1: C:\ti\compilers\ti-cgt-armllvm_3.2.2.LTS\include\c\ti_compatibility.h:1529:21: error: invalid operand for instruction __asm volatile ("MSR CPSR_fc, %0" : : "r" (x) : ); ^ <inline asm>:1:5: note: instantiated into assembly here MSR CPSR_fc, r1 ^ 1 error generated.