[Bug fortran/68196] New: [6.0.0] ICE on function result with procedure pointer component

damian at sourceryinstitute dot org gcc-bugzilla@gcc.gnu.org
Tue Nov 3 09:13:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68196

            Bug ID: 68196
           Summary: [6.0.0] ICE on function result with procedure pointer
                    component
           Product: gcc
           Version: 4.9.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: damian at sourceryinstitute dot org
  Target Milestone: ---

Is this related to 36704 (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36704)
or 66465 (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66465)?

$ cat proc-ptr-component.f90 
  type AA
    procedure(foo), pointer :: funct
  end type 
contains
   function foo(A)
     class(AA) A
     type(AA) foo
   end function 
end 

$ gfortran proc-ptr-component.f90 
gfortran: internal compiler error: Segmentation fault: 11 (program f951)
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://trac.macports.org/newticket> for instructions.

$ gfortran --version
GNU Fortran (MacPorts gcc6 6-20151018_0) 6.0.0 20151018 (experimental)


More information about the Gcc-bugs mailing list