This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/47546] Internal error - free_pi_tree(): Unresolved fixup
- From: "mikael at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 2 Feb 2011 22:24:55 +0000
- Subject: [Bug fortran/47546] Internal error - free_pi_tree(): Unresolved fixup
- Auto-submitted: auto-generated
- References: <bug-47546-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47546
--- Comment #14 from Mikael Morin <mikael at gcc dot gnu.org> 2011-02-02 22:24:54 UTC ---
in read_module, around line 4390
/* Skip symtree nodes not in an ONLY clause, unless there
is an existing symtree loaded from another USE statement. */
if (p == NULL)
{
st = gfc_find_symtree (gfc_current_ns->sym_root, name);
if (st != NULL)
info->u.rsym.symtree = st;
continue;
}
state_t from hydro_speeds(imported from hydro_state) is not loaded because
state_t from hydro_state is already present in the namespace. Thus the
components of state_t from hydro_speeds are not loaded either.
I don't see any obvious/easy fix right now.
I think there were some module symbol conflicts PRs more or less related to
this, but can't find them.