clang ARM Cortex 3.9.0 cant compile asm instruction (3.8.1 could)

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. */
^
: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

Hi Dan,

Looks like a bug, possibly introduced by these patches:

http://reviews.llvm.org/D20153
http://reviews.llvm.org/D20154
http://reviews.llvm.org/D20155

Please, file in LLVM's bugzilla and copy me and Peter (CC'd). We need
to make this a blocking regression to 3.9.1.

cheers,
--renato