Exactly the same output for both O2 and O3:

[EMAIL PROTECTED]:/tmp$ ./testprog
Result OK
[EMAIL PROTECTED]:/tmp$

regards / Paul

On Nov 3, 2003, at 19:27, Brian Candler wrote:

On Mon, Nov 03, 2003 at 06:25:40PM +0100, Paul Diaconescu wrote:
sh-2.05$ ./testprog
Result OK

Strange. Maybe it's something to do with optimisation then; can you try it
again with
gcc -Wall -O2 -o testprog testprog.c
and also -O3


Otherwise I can't really pin it down without an actual system in front of
me, too many things to try...


Cheers,

Brian.





Reply via email to