Tool/software: Code Composer Studio
We have a piece of code which copies data into separate code section defined in memory map using #pragma DATA_SECTION.
If I use any old compiler, this pragma is working and compiler is fetching the data from the defined memory area using the variable name defined in
#pragma DATA_SECTION(_FData, "DataArea");
With new compiler, it’s keeping a copy of _FData in another location instead of fetching it from defined location.
Due to this the calculated checksum of the code is changing, as compiler is keeping another copy.
All optimisation settings are same between old and new compilers.