16 Jun
2004
16 Jun
'04
8:36 p.m.
Adriaan van Os wrote:
Just to be sure that this is a possible powerpc code generation problem - how much stack does the following program eat on other platforms, with -O3 optimizations ? To find out, use the shell's setlimit command, or is there a better method ?.
If you put this into the recursive routine: WriteLn (PtrCard (@n)); the difference between successive numbers is the stack frame size. It's 16 on Linux/IA32 without optimization, 12 with `-O1' and above, same on DJGPP. Frank -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/, 7977168E GPC To-Do list, latest features, fixed bugs: http://www.gnu-pascal.de/todo.html GPC download signing key: 51FF C1F0 1A77 C6C2 4482 4DDC 117A 9773 7F88 1707