This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/33499] Rejects valid module with a contained function with an ENTRY



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]