------- Comment #4 from mikael at gcc dot gnu dot org  2009-01-05 14:47 -------
without USE TEST3, gfc_get_symbol_decl (sym=testchar) returns sym->backend_decl
because it is set.
With USE TEST3, sym->backend_decl is not set, and we create the declaration. As
testchar is included from test2 we set the assembler name to
__test2_MOD_testchar.
Thus the linker message.


-- 


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

Reply via email to