Content originally posted in LPCWare by giovanniquaglia on Tue Jan 18 11:29:19 MST 2011
With the attached project you can try to change optimisation level of sub1.c from -O0 to -O2; segment text change from 1504 bytes to 1404 bytes.
You can also look for command line in console window to see correct switch (-O0 or -O2).
If you change optimisation level of "Subr" folder nothing changes.
That's all.