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/33945] New: PROCEDURE in module somtimes wrongly rejected


Compiling the following program gives the error:

  procedure(sub) :: x
                    1
Error: Duplicate PROCEDURE attribute specified at (1)

I think the program is valid and it is also accepted by NAG f95.


module m
  implicit none
  interface bar
    procedure x
  end interface bar
  procedure(sub) :: x
  interface
    subroutine sub()
    end subroutine sub
  end interface
end module m


-- 
           Summary: PROCEDURE in module somtimes wrongly rejected
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33945


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