* when explicitly casting a variable, it might be sufficient if it is const_regable

git-svn-id: trunk@36137 -
This commit is contained in:
florian 2017-05-06 18:47:45 +00:00
parent 52d40bb25b
commit c7ba611bf9

View File

@ -3846,6 +3846,7 @@ implementation
if nf_explicit in flags then
{ check if the result could be in a register }
if (not(tstoreddef(resultdef).is_intregable) and
not(tstoreddef(resultdef).is_const_intregable) and
not(tstoreddef(resultdef).is_fpuregable)) or
((left.resultdef.typ = floatdef) and
(resultdef.typ <> floatdef)) then