This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler/TM4C129DNCPDT: Any issues with TI C/C++ optimization and floating point corruption?

Part Number: TM4C129DNCPDT

Tool/software: TI C/C++ Compiler

I have been using the TM4C129 with FreeRTOS, and using the FPU. I am calling the FPULazyStackingEnable() and have verified the FreeRTOS context switching is saving/restoring the S16-S31 FPU registers.

Initial debugging and running all appears just fine. But when I turn on the compiler optimizations, I begin to see floating point corruption? Has anyone else experienced issues with optimization and floating point?

Using:
CCS v7
TI C/C++ ARM 16.9.4.LTS
TM4C129DNCPDT

Thanks,
Don ...