This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/38657] [4.3/4.4 Regression] PUBLIC/PRIVATE Common blocks
- From: "mikael at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Jan 2009 14:47:49 -0000
- Subject: [Bug fortran/38657] [4.3/4.4 Regression] PUBLIC/PRIVATE Common blocks
- References: <bug-38657-10374@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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