CMSIS_5 icon indicating copy to clipboard operation
CMSIS_5 copied to clipboard

Error: invalid literal constant: pool needs to be closer

Open ua1arn opened this issue 1 year ago • 1 comments

This error message from linker stage of gcc point to this line of code: image Ths fuction - inline body of __FPU_Enable, located in core_A/Include/cmsis_gcc.h. In my project with -Ofast -flto optimization options. Method for solve this error - explicit disable inlining of outer function.. Or, __FPU_Enable can be rewritten for use imm constants and left shift R2 content.

ua1arn avatar Mar 13 '23 22:03 ua1arn

Proposed fix patch.zip

ua1arn avatar Mar 15 '23 15:03 ua1arn