mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-25 17:01:39 +02:00
* FPU needs reset for all SIGFPE even from integer division by zero
This commit is contained in:
parent
74907e307a
commit
997b0d9f5b
@ -709,9 +709,9 @@ begin
|
|||||||
res:=206
|
res:=206
|
||||||
else
|
else
|
||||||
res:=207; {'Coprocessor Error'}
|
res:=207; {'Coprocessor Error'}
|
||||||
ResetFPU;
|
|
||||||
end;
|
end;
|
||||||
{$endif I386}
|
{$endif I386}
|
||||||
|
ResetFPU;
|
||||||
HandleError(res);
|
HandleError(res);
|
||||||
end;
|
end;
|
||||||
11 : HandleError(216);
|
11 : HandleError(216);
|
||||||
@ -808,7 +808,10 @@ End.
|
|||||||
|
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.41 2000-03-31 23:21:19 pierre
|
Revision 1.42 2000-03-31 23:26:32 pierre
|
||||||
|
* FPU needs reset for all SIGFPE even from integer division by zero
|
||||||
|
|
||||||
|
Revision 1.41 2000/03/31 23:21:19 pierre
|
||||||
* multiple exception handling works
|
* multiple exception handling works
|
||||||
(for linux only if syslinux is compiled with -dnewsignal)
|
(for linux only if syslinux is compiled with -dnewsignal)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user