ICE on dummy-argument, child class with coarray inside parent
Damian Rouson
damian@rouson.net
Fri Apr 12 07:03:00 GMT 2013
I just submitted the text below as Bug 56929.
Damian
$ cat all.f90
module parent_coarray_component
type parent
real, allocatable :: dummy[:]
end type
type, extends(parent) :: child
end type
contains
subroutine do_something(this)
class(child) this
end
end
$ gfortran -fcoarray=single -c all.f90
all.f90: In function '__copy_parent_coarray_component_Child':
all.f90:9:0: internal compiler error: Segmentation fault: 11
class(child) this
^
all.f90:9:0: internal compiler error: Abort trap: 6
gfortran: internal compiler error: Abort trap: 6 (program f951)
$ gfortran --version
GNU Fortran (MacPorts gcc48 4.8-20130321_0) 4.8.0 20130321 (prerelease)
More information about the Fortran
mailing list