I have a function which gets a pointer to a long var. as input parameter, say foo(long* l_ptr).
long v1,v2;
// I calling to foo function twice in a such manner foo(&v1); foo(&v2);
But the compiler decided to generate a macro instead of function so I wasted the code: instead of 32 bytes I wasted 60. Disabling of Inlining option solved the problem. I am wondering, why in this case, where the macro is not economic, it was generated but i have other functions, which have only one calling in all the programm, but they remained as functions ? By the way, for these functions I tried #pragma inline but it didn't work.
Here again This is a special cases, where this happens. Please submit a service request through our on-line support web page to get our support people looking at that.
THey would need a reproducible project to investigate.
Here again This is a special cases, where this happens. Please submit a service request through our on-line support web page to get our support people looking at that.
THey would need a reproducible project to investigate.
Thank you for the answer. There is a problem in the last time to receive an answer from the Metrowerks(Freescale) support. At September 12 I turned with a very urgent for me question to the CodeWarrior support but have not received yet an answer. Yesterday I repeated the question but still with no result. Therefore I try to ask here.
Eli, Where did you submit your request? I have always received a prompt response from the Freescale Support. I have found them to be VERY helpful. I use the website at http://www.freescale.com/ and I click on the 'My Freescale' link, login, and click on the 'Enter a Service Request' link under the Support section. I have it setup to email me when anyone responds.