[Bug fortran/42769] [OOP] ICE in resolve_typebound_procedure

janus at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Jun 11 22:16:00 GMT 2010



------- 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



More information about the Gcc-bugs mailing list