Forwarded: https://bugs.freepascal.org/view.php?id=37250
Last-Update: 2021-01-22
There is a bug in the FPU code on m68k which causes the
bootstrap to fail (upstream bug #37250). Until the bug
has been fixed, disable FPU inlining to work around the
issue and fix the bootstrap on m68k.
Gbp-Pq: Name m68k-disable-FPU-inlining.patch
function t68kaddnode.inlineable_realconstnode(const n: tnode): boolean;
begin
- result:=(n.nodetype = realconstn) and
- not ((trealconstnode(n).value_real=MathInf.Value) or
- (trealconstnode(n).value_real=MathNegInf.Value) or
- (trealconstnode(n).value_real=MathQNaN.value));
+ result:=false;
end;