Error: invalid literal constant: pool needs to be closer
ua1arn opened this issue · 1 comments
ua1arn commented
This error message from linker stage of gcc point to this line of code:
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.