This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/33499] Rejects valid module with a contained function with an ENTRY
- From: "jvdelisle at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Oct 2007 02:22:51 -0000
- Subject: [Bug fortran/33499] Rejects valid module with a contained function with an ENTRY
- References: <bug-33499-14284@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from jvdelisle at gcc dot gnu dot org 2007-10-26 02:22 -------
FrRom my brief explorations, in resolve.c (resolve_entries) on or about line
560, we are NOT addressing the case for BT_DERIVED in the switch statement. If
there we set sym = NULL for BT_DERIVED, we get past this section of code. Then
we need to deal with the the same issue in resolve_unknown_f where we do not
address setting the type for derived types, only, gfc_get_default_type which
returns BT_UNKNOWN.
I suspect we could fix this in more than one place. I was thinking in
resolve_unknown_f .
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33499