[Bug fortran/45290] [F08] pointer initialization

burnus at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Sep 21 12:38:00 GMT 2010



------- Comment #9 from burnus at gcc dot gnu dot org  2010-09-21 12:37 -------
Another issue besides comment 5 is the following program (from PR 45740), which
gives an ICE.

Actually, I am not quite sure the example is valid as "p2"'s target is not
known at compile time.



module m
  procedure(), pointer :: p2
end module m

  use m
  procedure(), pointer :: ptr3 => p2
  call ptr3()  ! ICE, related to PR 45290
! internal compiler error: in record_reference, at cgraphbuild.c:60
  end


-- 


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



More information about the Gcc-bugs mailing list