I came across
this app note about compiler changes. In a way it documents how the compiler has been optimized over time and how the code has changed.
This would explain why we see such differences between '05 to '12 code for the same function in the ECU. Some of the clock cycle reduction for some functions is quite significant.