[Bug fortran/39688] IMPORT of derived type fails
janus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Apr 24 17:59:00 GMT 2009
------- Comment #1 from janus at gcc dot gnu dot org 2009-04-24 17:59 -------
Confirmed. Here is a reduced test case, which does not have the problem with T2
discussed in comment #0, but still fails with the same error message:
MODULE MOD
TYPE T1
TYPE(T1), POINTER :: P
END TYPE
END
PROGRAM MAIN
USE MOD, T3 => T1
INTERFACE SUBR
SUBROUTINE SUBR1(X)
IMPORT T3
TYPE(T3) X
END SUBROUTINE
END INTERFACE
END
The error only appears if the imported type is renamed in the USE statement.
--
janus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-04-24 17:59:23
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39688
More information about the Gcc-bugs
mailing list