This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/50438] [F03] proc pointer to subroutine in structure constructors
- 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: Sat, 17 Sep 2011 09:39:50 +0000
- Subject: [Bug fortran/50438] [F03] proc pointer to subroutine in structure constructors
- Auto-submitted: auto-generated
- References: <bug-50438-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50438
janus at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011-09-17
Summary|proc pointer to subroutine |[F03] proc pointer to
|in structure constructors |subroutine in structure
| |constructors
Ever Confirmed|0 |1
--- Comment #1 from janus at gcc dot gnu.org 2011-09-17 09:39:50 UTC ---
On this variant I get the same error on a different line:
IMPLICIT NONE
TYPE :: a
PROCEDURE(aproc), POINTER, NOPASS :: p
END TYPE
TYPE(a) :: aa = a(aproc)
CONTAINS
SUBROUTINE aproc
END SUBROUTINE
END
PROCEDURE(aproc), POINTER, NOPASS :: p
1
Error: Symbol 'aproc' at (1) has no IMPLICIT type