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/50438] [F03] proc pointer to subroutine in structure constructors


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


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