This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/16606] gfortran error with a valid derived type definition
- From: "enok at lysator dot liu dot se" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Jun 2005 09:08:45 -0000
- Subject: [Bug fortran/16606] gfortran error with a valid derived type definition
- References: <20040717143936.16606.deji_aking@yahoo.ca>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From enok at lysator dot liu dot se 2005-06-18 09:08 -------
The problem seems to appear with pointer declaration to a derived type with any
kind of member initialization. The following code fails too:
SUBROUTINE N
TYPE T
INTEGER :: I = 0
END TYPE T
TYPE(T), POINTER :: P
END SUBROUTINE N
This bug is breaking my code completely. Is there any workaround?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16606