Mail Archives: djgpp/1996/11/14/13:32:04
Ilya P. Ryzhenkov wrote:
>
> Hello!
> I wonder if there is a way to force function call
> regardless of optimization level on a per function basis.
I don't know if I'm correct, but I think for this is the keyword
"volatile",
that means for your example:
volatile int f() { return 1; }
Or use the harder trick, by putting the singel function in a separate
source file.
Robert
--
*****************************************************************
* Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau *
* Post: Am Berg 3, D-09573 Dittmannsdorf *
* e-Mail: Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE *
* WWW: http://www.tu-chemnitz.de/~rho *
*****************************************************************
- Raw text -