static function, because the function is only of local interest
and should not be visible to the linkage editor (that's the way
to do this in C - they saved keywords - that's a sad story;
external functions are "static", too. It would be much better,
if there was a keyword "local" to express the same thing.
Unfortunately, every function not marked with static is
external by default.

Some people do

#define Local static

because of this.

Kind regards

Bernd



Am 27.03.2014 17:26, schrieb Farley, Peter x23353:
Perhaps turn off optimization and see what the "raw" compiler produces?  That 
may provide a hint to a solution, or it may just leave the function to do what you want 
and you will have accomplished your task.

BTW, why a "static" function?  Could that be affecting the way the compiler 
optimization treats the code?

HTH

Peter


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to