public inbox for fortran@gcc.gnu.org
 help / color / mirror / Atom feed
* [4.9/5.2/6.0] ICE on function result with procedure pointer component
@ 2015-11-03  9:50 Damian Rouson
  0 siblings, 0 replies; only message in thread
From: Damian Rouson @ 2015-11-03  9:50 UTC (permalink / raw)
  To: Gfortran List; +Cc: Robert Numrich

All,

I just submitted the code below as Bug 68196 (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68196) on be behalf of Bob Numrich.  Could this be related to Bug 36704 (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36704), which was fixed, or to Bug 66465 (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66465), which remains open?

In case it’s of interest to anyone, the bug report is also now archived in the AdHoc project (https://github.com/sourceryinstitute/AdHoc), which I’m using to automate the demonstration and and checking of bug reports across compilers, compiler versions, and platforms.  In particular, the following folder contains automatically generated output files for Bug 68196 for each of the gfortran versions I have installed on OS X:

https://github.com/sourceryinstitute/AdHoc/tree/master/src/gnu/numrich/bug-68196

Damian


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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-11-03  9:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-03  9:50 [4.9/5.2/6.0] ICE on function result with procedure pointer component Damian Rouson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).