------- Comment #4 from burnus at gcc dot gnu dot org  2010-07-30 15:29 -------
One observation: In case one does not have PRIVATE, one initializes seemingly
the global variable
   __polynomial_MOD_vtab
while with PRIVATE and failing, one uses the variables vtab$polynomD which is
local in "test_poly"; admittedly, I do not fully understand the code which sets
the TBP to the vtable - shouldn't this be done when the vtable for a type is
created rather than every time before it is used? Or couldn't this be done
before because there was no -fwhole-file? For types defined in modules, this
information should be available after the module procedures have been
generated.


-- 


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

Reply via email to