This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/47224] ICE with procedure pointer component
- From: "janus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 9 Jan 2011 09:46:38 +0000
- Subject: [Bug fortran/47224] ICE with procedure pointer component
- Auto-submitted: auto-generated
- References: <bug-47224-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47224
janus at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011.01.09 09:46:33
CC| |janus at gcc dot gnu.org
Ever Confirmed|0 |1
--- Comment #2 from janus at gcc dot gnu.org 2011-01-09 09:46:33 UTC ---
Confirmed. Thanks for reporting. Here is a slightly reduced/modified test case:
abstract interface
real function dum_vfunc ( x )
real, dimension(:) :: x
end function
end interface
type coefficients_t
procedure (dum_vfunc), pointer, nopass :: vfunc
end type
type(coefficients_t) :: coeff
real, dimension(3) :: x
print *, abs ( coeff%vfunc ( x(:) ) )
end