Peter,
Difficult to say.
In the compiler release note I don't find something about that.
There are some points (bug fixed) for the Inline but nothing really the pointer allocation.
May be the change was introduced by something (new feature, bug fixed, etc ...).
Version in V5.1:
Version 5.0 build 00023
Version in MCU V10.6:
Version 6.0 build 3024 (build 3024)
I've several versions installed on my side.
The changed was introduced in the CW for MCF V7.2.
Before this version the pointer was defined as V5.1.
The compiler version was Version 6.0 build 50 (build 50)
With the previous version V7.1 the code was same as V5.1.
the compiler was Version 5.2 build 26 (build 26).
It seems the changed was introduced when the compiler Version 6.0 was used instead of V5.x.
Below the list of compiler improvements:
===============================================================================
Fixed Issues
===============================================================================
- fixed inline assembly parameters symbolic debugging information generation
- fixed a problem with mac with load, generates the same pattern as macl
- fixed a problem with directive 'entry', wasn't recognized anymore
- fixed a problem with asm error messages displaying mangled names
- fixed a problem with loop invariant hoisting optimzation
- fixed a problem with replacing redundant function calls with indirect calls
- fixed pragma scheduling on | off | reset
- fixed inline assembler problems with CAU, divs and rems
- __declspec(interrupt) wasn't implemented as documented in the preview release
- section .debug_arange header is padded to a double address size
- elf section header string table reuses entries
- dwarf locations for debug_frame and variables are inlined when possible
- tight loops (bysy wait) span over 4 bytes to allow BDM accesses
- overload functions and mutiply defined functions cannot use CodeSmart
- fixed the default data model to farData for the commmand-line tools
Have a great day,
Pascal
Freescale Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------