<p>Am 09.07.2013 14:58 schrieb "Marco van de Voort" <<a href="mailto:marcov@stack.nl">marcov@stack.nl</a>>:<br>
><br>
> On Tue, Jul 09, 2013 at 10:27:59AM +0200, Kostas Michalopoulos wrote:<br>
> > > for speed optimization. If you want to raise the exception on the<br>
> > > correct location you should insert an fwait opcode after every floating<br>
> > > point operation which is very expensive.<br>
> > ><br>
> ><br>
> > Is there a way to enable this in FPC? Sometimes i get weird FP exceptions<br>
> > that i'm not sure they point at the proper place.<br>
><br>
> FPC does this by default. So if this is the problem, it is in external code<br>
> (e.g. C libs/DLLs) or assembler.</p>
<p>No, it does not as mentioned by Jonas in this bug report: <a href="http://bugs.freepascal.org/view.php?id=19368">http://bugs.freepascal.org/view.php?id=19368</a><br>
But maybe (not tested) this directive can help: <a href="http://www.freepascal.org/docs-html/prog/progsu69.html">http://www.freepascal.org/docs-html/prog/progsu69.html</a></p>
<p>Regards,<br>
Sven</p>