|
@@ -1785,6 +1785,8 @@ implementation
|
|
fieldvs:=tfieldvarsym(sc[i]);
|
|
fieldvs:=tfieldvarsym(sc[i]);
|
|
fieldvs.visibility:=visibility;
|
|
fieldvs.visibility:=visibility;
|
|
hstaticvs:=make_field_static(recst,fieldvs);
|
|
hstaticvs:=make_field_static(recst,fieldvs);
|
|
|
|
+ if vd_threadvar in options then
|
|
|
|
+ include(hstaticvs.varoptions,vo_is_thread_var);
|
|
if not parse_generic then
|
|
if not parse_generic then
|
|
cnodeutils.insertbssdata(hstaticvs);
|
|
cnodeutils.insertbssdata(hstaticvs);
|
|
if vd_final in options then
|
|
if vd_final in options then
|