This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/30531] allocatable component and intent(out) yield ICE in fold_convert
- From: "pault at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Jan 2007 09:26:25 -0000
- Subject: [Bug fortran/30531] allocatable component and intent(out) yield ICE in fold_convert
- References: <bug-30531-9410@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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