[Bug fortran/25681] ICE with len of array of derived type
jb at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Mar 19 17:15:00 GMT 2006
------- Comment #5 from jb at gcc dot gnu dot org 2006-03-19 17:15 -------
An even more reduced testcase is
program char_type_len
type foo_t
character ( LEN = 80 ) :: bar (1)
end type foo_t
type(foo_t) :: foo
print *, len (foo%bar)
end program char_type_len
I.e. it's not necessary for the "foo" variable to be a pointer.
This bug is one of the issues preventing cp2k from compiling. I get this error
in timings.f90:335.
--
jb at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jb at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25681
More information about the Gcc-bugs
mailing list