[Bug fortran/52832] New: ASSOCIATE construct with proc-pointer selector is rejected
burnus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Apr 2 09:58:00 GMT 2012
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
More information about the Gcc-bugs
mailing list