summaryrefslogtreecommitdiff
path: root/compiler/ncgopt.pas
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/ncgopt.pas')
-rw-r--r--compiler/ncgopt.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/ncgopt.pas b/compiler/ncgopt.pas
index 57572ccd7f..d067a75981 100644
--- a/compiler/ncgopt.pas
+++ b/compiler/ncgopt.pas
@@ -95,7 +95,7 @@ begin
hlcg.g_copyshortstring(current_asmdata.CurrAsmList,left.location.reference,href,tstringdef(cshortstringtype));
location_freetemp(current_asmdata.CurrAsmList,left.location);
{ return temp reference }
- location_reset_ref(left.location,LOC_REFERENCE,def_cgsize(resultdef),1);
+ location_reset_ref(left.location,LOC_REFERENCE,def_cgsize(resultdef),1,[]);
left.location.reference:=href;
end;
secondpass(right);