This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/46849] [OOP] MODULE PROCEDURE resolution does not work in BLOCK or SELECT TYPE
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 8 Dec 2010 13:30:45 +0000
- Subject: [Bug fortran/46849] [OOP] MODULE PROCEDURE resolution does not work in BLOCK or SELECT TYPE
- Auto-submitted: auto-generated
- References: <bug-46849-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46849
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |4.5.1, 4.6.0
--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> 2010-12-08 13:30:35 UTC ---
For the reject-valid part: See comment 0.
Reduced test case for the error-recovery ICE:
module m
implicit none
type :: dt
end type
contains
subroutine test(fun)
class(dt) :: fun
call extern(not_existing) ! Error: No implicit type
select type (fun)
type is (dt) ! TYPE IS is required for the ICE
end select
end subroutine test
end module m