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/50659] [F03] ICE on invalid with procedure interface


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

--- Comment #2 from janus at gcc dot gnu.org 2011-10-07 18:45:43 UTC ---
Slight reduction of the original test case:


module m
 integer :: arrSize
end module


program p

  implicit none
  procedure(Proc) :: Proc_Get

contains

 function Proc (arg)
   use m
   double precision, dimension(arrSize) :: proc
   double precision :: arg
 end function

end


Fails with 4.5, 4.6 and trunk.


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