This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/55905] New: ICE for polymorphic dummy argument with an allocatable coarray component
- From: "damian at rouson dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 08 Jan 2013 05:47:47 +0000
- Subject: [Bug fortran/55905] New: ICE for polymorphic dummy argument with an allocatable coarray component
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55905
Bug #: 55905
Summary: ICE for polymorphic dummy argument with an allocatable
coarray component
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: damian@rouson.net
$ cat dummy_with_coarray_component.f90
module foo_module
type foo
logical, allocatable :: x[:]
end type
contains
subroutine bar(this)
class(foo) this
end
end
$ gfortran -c -fcoarray=single dummy_with_coarray_component.f90
dummy_with_coarray_component.f90: In function '__copy_foo_module_Foo':
dummy_with_coarray_component.f90:7:0: internal compiler error: Segmentation
fault: 11
class(foo) this
^
dummy_with_coarray_component.f90:7:0: internal compiler error: Abort trap: 6
gfortran: internal compiler error: Abort trap: 6 (program f951)
Abort trap: 6
$ gfortran --version
GNU Fortran (MacPorts gcc48 4.8-20121223_0) 4.8.0 20121223 (experimental)