[Bug fortran/30531] allocatable component and intent(out) yield ICE in fold_convert

pault at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Jan 31 09:26:00 GMT 2007



------- Comment #5 from pault at gcc dot gnu dot org  2007-01-31 09:26 -------
Dear All,

This is yet another derived type association problem in
trans-types.c(gfc_get_derived_type). If you insert a "use foo_type_mod" in
module foo_mod, the problem goes away.  I believe the INTENT(OUT) changes the
order in which the different references to type foo_type are visited; I believe
one of them, most likely in the interface, is not being registered in the
namespace.

I will investigate further - it's a matter o perspiration now, rather than
inspiration.

Paul


-- 


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



More information about the Gcc-bugs mailing list