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: unassig...@gcc.gnu.org

        ReportedBy: dam...@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)

Reply via email to