This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/52832] New: ASSOCIATE construct with proc-pointer selector is rejected


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]