This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/42769] [OOP] ICE in resolve_typebound_procedure
- From: "janus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Jun 2010 22:16:41 -0000
- Subject: [Bug fortran/42769] [OOP] ICE in resolve_typebound_procedure
- References: <bug-42769-9410@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #25 from janus at gcc dot gnu dot org 2010-06-11 22:16 -------
This seems to be a module-loading bug. When reading the specific binding of the
TBP 'get' from 'mod1' (which happens in module.c, mio_typebound_proc), we
expect to get the symbol 'my_get' from 'mod1', but instead we get 'my_get' from
'mod2'.
My knowledge of the module-reading code is not sufficient to see where stuff
goes wrong. Maybe someone else can?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42769