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/55117] Programs fails to read namelist (contains derived types objects)


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.


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