PR 55905: ICE for polymorphic dummy argument with an allocatable coarray component

Damian Rouson damian@rouson.net
Thu Jan 10 02:10:00 GMT 2013


Could someone please confirm the aforementioned bug and let me know
the likelihood of a fix making it into stage 3?   I'm including the
text of the PR this time:

$ 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)


On Mon, Jan 7, 2013 at 9:49 PM, Damian Rouson <damian@rouson.net> wrote:
> See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55905.
>
> Damian



More information about the Fortran mailing list