[Bug fortran/51056] [4.7 Regression][OOP] Bogus "Unused module variable '__vtab_domain_Domain_container'"
janus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Nov 9 15:12:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51056
janus at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011-11-09
Ever Confirmed|0 |1
--- Comment #1 from janus at gcc dot gnu.org 2011-11-09 15:02:02 UTC ---
(In reply to comment #0)
> for my other 4.7 tree, I get:
>
> Warning: Unused module variable '__def_init_domain_Domain_container' which has
> been explicitly imported at (1)
That's what I get here with:
gcc version 4.7.0 20111109 (experimental) [trunk revision 181203] (GCC)
Reduced test case:
module domain
implicit none
type :: domain_container
contains
procedure, nopass :: init
end type
type(domain_container) :: dom
contains
subroutine init
end subroutine
end module
program ala
use domain, only: dom
implicit none
call dom%init
end program ala
More information about the Gcc-bugs
mailing list