This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/55905] New: ICE for polymorphic dummy argument with an allocatable coarray component


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]