[Bug fortran/61615] Failure to resolve correct generic with TYPE(C_PTR) arguments

anlauf at gmx dot de gcc-bugzilla@gcc.gnu.org
Sun Jul 13 15:39:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61615

--- Comment #5 from Harald Anlauf <anlauf at gmx dot de> ---
(In reply to Dominique d'Humieres from comment #4)
> > TKR, i.e. rank in the present case?
> 
> Doesn't it assume that TKR is available trough C_LOC(i)?

Well, my understanding is that

    TYPE(c_ptr) :: a, b

are pointers (void*) and

    TYPE(c_ptr) :: a(:), b(:)

are arrays of pointers (void**).

But I am not the author of the original code. ;-)



More information about the Gcc-bugs mailing list