Part Number: TMS570LC4357
Hi Experts,
The documentation for the ARM Compiler 5.1.6 (SPNU151I) indicates that when using -O0 optimization the compiler will simplify expressions and statements. Are the changes introduced by optimization the same for similar code structures? Or the output of the compiler might not be deterministic?
(The reason is that we need to validate for our program that the output of the compiler is correct. When no optimization is used, a sample of the code is enough to verify that the compiler output is fine, but if the output might change for similar code structures, then an analysis of the compiler output for the complete code would be needed. )
Regards,
Jose Abea