[Lazarus] External SigFPE

Sven Barth pascaldragon at googlemail.com
Fri Jul 12 20:38:34 CEST 2013

On 11.07.2013 16:03, Marco van de Voort wrote:
> On Tue, Jul 09, 2013 at 03:33:09PM +0200, Sven Barth wrote:
>> exceptions
>>>> that i'm not sure they point at the proper place.
>>> FPC does this by default. So if this is the problem, it is in external
>> code
>>> (e.g. C libs/DLLs) or assembler.
>> No, it does not as mentioned by Jonas in this bug report:
>> http://bugs.freepascal.org/view.php?id=19368
> I consider that a special case. I was talking about the general case.
> Without it, the ability to convert hardware FP exceptions to language
> excpetions makes n osense.

I have searched the compiler's source. It emits FWAIT only in three cases:

* Trunc
* Round
* Store of floats if SafeFPUExceptions is set

So it's definitely not the general case. :)


More information about the Lazarus mailing list