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: unassig...@gcc.gnu.org
        ReportedBy: bur...@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

Reply via email to