mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2026-01-06 17:10:50 +01:00
* when explicitly casting a variable, it might be sufficient if it is const_regable
git-svn-id: trunk@36137 -
This commit is contained in:
parent
52d40bb25b
commit
c7ba611bf9
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user