This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/52832] New: ASSOCIATE construct with proc-pointer selector is rejected
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 02 Apr 2012 09:58:09 +0000
- Subject: [Bug fortran/52832] New: ASSOCIATE construct with proc-pointer selector is rejected
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52832
Bug #: 52832
Summary: ASSOCIATE construct with proc-pointer selector is
rejected
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Keywords: rejects-valid
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: burnus@gcc.gnu.org
Encountered when looking at PR 52729. I have not checked whether the following
program is valid, but my feeling is that it is.
Currently, gfortran rejects it with:
associate (k=>r)
1
Error: Expected association at (1)
subroutine testSub()
procedure(real), pointer :: r
associate (k=>r)
end associate
end subroutine testSub