[Bug fortran/24266] ICE when writing to array of strings that is an elements of a user defined type
yosef at phys dot utb dot edu
gcc-bugzilla@gcc.gnu.org
Fri Oct 7 21:36:00 GMT 2005
------- Comment #1 from yosef at phys dot utb dot edu 2005-10-07 21:36 -------
This bug also seems to cause a segfault when
writing to a standard array of strings.
program main
implicit none
type ice
character(len=80) :: mess(10)
end type ice
character(len=80) :: smess(10)
type(ice) :: tp
! leads to ICE (but only when 2nd write is included)
write(smess,*) "message"
write(tp%mess,*) "message"
end program main
$ gfortan bug2.f90
bug2.f90: In function ÂMAIN__Â:
bug2.f90:11: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24266
More information about the Gcc-bugs
mailing list