This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/55117] Programs fails to read namelist (contains derived types objects)
- From: "jvdelisle at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 30 Mar 2013 03:54:27 +0000
- Subject: [Bug fortran/55117] Programs fails to read namelist (contains derived types objects)
- Auto-submitted: auto-generated
- References: <bug-55117-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55117
--- Comment #20 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> 2013-03-30 03:54:27 UTC ---
Lets take namelist out of the picture here for the case of comment #6
program test_type_extension
type t1_t
real :: x
end type t1_t
type, extends(t1_t) :: t1e_t
character(8) :: string
end type t1e_t
type(t1e_t) :: t1e
tle%x = 5.678
end program test_type_extension
$ gfc pr55117.f90
pr55117.f90:13.6:
tle%x = 5.678
1
Error: Symbol 'tle' at (1) has no IMPLICIT type
Ifort agrees with gfortran on this example
So, I think this PR (55117) can be closed and if the example in this comment
and #6 is another bug, lets open a new PR for it.