@@ -1762,6 +1762,7 @@ implementation
fieldvs:=tfieldvarsym(sc[i]);
fieldvs.visibility:=visibility;
hstaticvs:=make_field_static(recst,fieldvs);
+ cnodeutils.insertbssdata(hstaticvs);
if vd_final in options then
hstaticvs.varspez:=vs_final;
end;
@@ -1165,7 +1165,6 @@ implementation
{$else jvm}
include(hstaticvs.symoptions,sp_internal);
tabstractrecordsymtable(recst).get_unit_symtable.insert(hstaticvs);
- cnodeutils.insertbssdata(hstaticvs);
{$endif jvm}
{ generate the symbol for the access }
sl:=tpropaccesslist.create;