On Fri, 06 Mar 2009, Pritpal Bedi wrote:

Hi,

> Here is the reply of Pelle Orinius:
> > Here is self contained C code which GPFs. OK, thanks. The -Ox option will
> > enable Pentium Pro+ instructions, and enable -Ot (optimize for speed) -
> > since neither -Os nor -Ot was specified. The problem is with one of the
> > Pentium Pro+ instructions (conditional move), that will evaluate *all* of
> > it's operands - even if they are not all used in the end, i.e. the move is
> > actually performed. If one of the operands is an invalid address, it will
> > GPF. Bummer. 
> Version 4.50 is old, so I will not make any more bug-fixes in that version.
> I will look at fixing this in the current version, 5.00. 
> When it comes to optimizations, the -Ot option (in this case) is the much
> more important than -Ox. The -Ox option will only rarely find things to
> optimize, and in your case it will cause a GPF. I suggest you skip the -Ox
> option and just use the -Ot option for now... 
> Pelle 

Thanks for the information. I've seen that Viktor already changed default
POCC optimization switches used by Harbour though I do not know if it's
necessary for WinCE builds. Looks that the problems is related only to x86.
Maybe we should ask about suggested switches for ARM based CPUs.

best regards,
Przemek
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to