* compilation for non-Xtensa targets fixed

git-svn-id: trunk@44543 -
This commit is contained in:
florian 2020-04-03 20:15:26 +00:00
parent fc98a0db4f
commit af8202be3d
2 changed files with 5 additions and 3 deletions

View File

@ -1519,10 +1519,10 @@ implementation
objectdef :
result:=int_cgsize(def.size);
floatdef:
if (cs_fp_emulation in current_settings.moduleswitches) or
if (cs_fp_emulation in current_settings.moduleswitches)
{$ifdef xtensa}
not(tfloatdef(def).floattype=s32real) or
not(FPUXTENSA_SINGLE in fpu_capabilities[current_settings.fputype])
or not(tfloatdef(def).floattype=s32real) or
or not(FPUXTENSA_SINGLE in fpu_capabilities[current_settings.fputype])
{$endif xtensa}
then
result:=int_cgsize(def.size)

View File

@ -3635,6 +3635,8 @@ implementation
fdef : tdef;
begin
notnode:=false;
result:=nil;
fdef:=nil;
if not(target_info.system in systems_wince) then
begin
case tfloatdef(left.resultdef).floattype of