This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/50659] [4.4/4.5/4.6/4.7 Regression] [F03] ICE with PROCEDURE statement
- From: "janus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 08 Oct 2011 11:19:07 +0000
- Subject: [Bug fortran/50659] [4.4/4.5/4.6/4.7 Regression] [F03] ICE with PROCEDURE statement
- Auto-submitted: auto-generated
- References: <bug-50659-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50659
--- Comment #10 from janus at gcc dot gnu.org 2011-10-08 11:19:07 UTC ---
One more side note: The following variant segfaults with 4.3:
module Test_Mod
implicit none
contains
subroutine Init
procedure(Proc1) :: Proc_Get
end subroutine
function Proc1() result (res)
double precision, dimension(3) :: res
end function
end module
while 4.4 rejects it with:
procedure(Proc1) :: Proc_Get
1
Error: Interface 'proc1' of procedure 'proc_get' at (1) must be explicit
Since this is not a regression (and 4.3 is not being maintained any more,
anyway), it probably won't get fixed. From 4.5 on it is accepted.