[cfe-dev] clang ARM Cortex 3.9.0 cant compile asm instruction (3.8.1 could)
Dan Walmsley via cfe-dev
cfe-dev at lists.llvm.org
Mon Sep 12 03:06:39 PDT 2016
Clang is now unable to understand this line:
" ldr.w r0, =0xE000ED88 \n" /* The FPU enable bits are in the CPACR. */
3.8.1 has no problem with this.
I get....
FreeRTOS\Source\portable\GCC\ARM_CM4F\port.c:687:3: error: invalid operand for instruction " ldr.w r0, =0xE000ED88 \n" /* The FPU enable bits are in the CPACR. */ ^<inline asm>:1:13: note: instantiated into assembly here ldr.w r0, =0xE000ED88 ^1 error generated.
Can anyone help me find a workaround, or tell me if this is a bug?
Kind Regards
Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160912/dc522240/attachment.html>
More information about the cfe-dev
mailing list