[Bug fortran/45507] [4.6 Regression] Bogus Error: Can't convert TYPE(c_ptr) to INTEGER(4)

janus at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Sep 2 20:00:00 GMT 2010



------- Comment #3 from janus at gcc dot gnu dot org  2010-09-02 19:59 -------
(In reply to comment #1)
> Reduced test case:

Sorry, I messed this one up. Should be:


use, intrinsic :: iso_c_binding
type :: cType
  type(c_ptr) :: accelPtr = c_null_ptr
end type cType
type(cType), allocatable, dimension(:) :: filters
allocate(filters(1))
end 


-- 


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



More information about the Gcc-bugs mailing list