This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/68196] New: [6.0.0] ICE on function result with procedure pointer component
- From: "damian at sourceryinstitute dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 03 Nov 2015 09:13:06 +0000
- Subject: [Bug fortran/68196] New: [6.0.0] ICE on function result with procedure pointer component
- Auto-submitted: auto-generated
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)