mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 18:29:09 +02:00
Try to fix tarmunaryminusnode.pass_1
git-svn-id: trunk@45750 -
This commit is contained in:
parent
91149df87f
commit
cb41b22fdc
@ -358,15 +358,6 @@ implementation
|
|||||||
procname: string[31];
|
procname: string[31];
|
||||||
fdef : tdef;
|
fdef : tdef;
|
||||||
begin
|
begin
|
||||||
if (current_settings.fputype=fpu_soft) and
|
|
||||||
(left.resultdef.typ=floatdef) then
|
|
||||||
begin
|
|
||||||
result:=nil;
|
|
||||||
firstpass(left);
|
|
||||||
expectloc:=LOC_REGISTER;
|
|
||||||
exit;
|
|
||||||
end;
|
|
||||||
|
|
||||||
if (FPUARM_HAS_VFP_DOUBLE in fpu_capabilities[current_settings.fputype]) or
|
if (FPUARM_HAS_VFP_DOUBLE in fpu_capabilities[current_settings.fputype]) or
|
||||||
is_single(resultdef) then
|
is_single(resultdef) then
|
||||||
exit(inherited pass_1);
|
exit(inherited pass_1);
|
||||||
@ -376,7 +367,7 @@ implementation
|
|||||||
if codegenerror then
|
if codegenerror then
|
||||||
exit;
|
exit;
|
||||||
|
|
||||||
if (left.resultdef.typ=floatdef) then
|
if (left.resultdef.typ=floatdef) and (current_settings.fputype=fpu_soft) then
|
||||||
begin
|
begin
|
||||||
case tfloatdef(resultdef).floattype of
|
case tfloatdef(resultdef).floattype of
|
||||||
s64real:
|
s64real:
|
||||||
|
Loading…
Reference in New Issue
Block a user