Mail Archives: djgpp/1996/11/16/15:24:25
Calvin French wrote:
>
> ??? <g> If so, what optimization flags should I use? I hate to sound
> lazy, stupid, or just plain whiny, but data recursion isn't the most fun
> I've had. Actually I am close to getting the hand-optimized version
> working, but I wonder if the compiler would do a better job anyways, for
> instance by using the real stack. Hrmm... Thanks,
I have read in some detail the gcc docs on optimization flags. As I
understand it, if gcc detects a recursive call, it will NOT inline the
function that uses it. It will still optimize the function itself, but
will never convert it into inline code.
For more information, look in the gcc docs under Invoking GCC |
Optimize.
--
John M. Aldrich, aka Fighteer I <fighteer AT cs DOT com>
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS d- s+:- a-->? c++>$ U@>++$ p>+ L>++ E>+ W++ N++ o+ K? w(---) O-
M-- V? PS+ PE Y+ PGP- t+(-) 5- X- R+ tv+() b+++ DI++ D++ G e(*)>++++
h!() !r !y+()
------END GEEK CODE BLOCK------
- Raw text -