diff --git a/compiler/nutils.pas b/compiler/nutils.pas index 98b1dfb414..ee85228dd0 100644 --- a/compiler/nutils.pas +++ b/compiler/nutils.pas @@ -539,7 +539,11 @@ implementation begin case p.nodetype of { floating point constants usually need loading from memory } - realconstn, + realconstn: + begin + result:=2; + exit; + end; setconstn, stringconstn, temprefn,