Team,
A customer of mine found that the C6x CGT don't always generate the same binary. There has been no change in the code, but the customer re-compiled the project again. And the new .out file differs from the old one.
It only happens at optimization level 2 or 3. At -o1, the output is always the same. Compiler options are: -pr -mw -mh -o3 -ml2 -g
Comparing the .map files shows that the length of the .text section differs by 32 bytes after the two compiler runs. And it's really the target content which is different, not the debug info.
What could cause the compiler to genarte different code during two runs? Any hint where to look at?
Thanks,
Robert