------- Comment #9 from jakub at gcc dot gnu dot org  2006-07-13 16:25 -------
The reason why the var is not emitted seems to be that
note_vague_linkage_var is not called on it in finish_static_data_member_decl.
If I replace
  if (! processing_template_decl && TREE_PUBLIC (decl))
    note_vague_linkage_var (decl);
back with:
  if (! processing_template_decl)
    note_vague_linkage_var (decl);
it works just fine.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28370

Reply via email to