#2403: compile failure with gfortran 10 when using CCTK_PointerTo
Reporter:Roland Haas
Status:open
Milestone:
Version:
Type:bug
Priority:blocker
Component:

Comment (by Roland Haas):

Nope, having one routine per rank does not work either. Apparently once one has

    CCTK_POINTER function CCTK_PointerTo2(a)
      type(*),dimension(:,:) :: a
    end function

ie two assumed dimensions (and it must be assumed, the compiler will not let me have fixed dimension but assumed type) then the first argument seen by the C code is no longer the pointer to the first element of the array (but a pointer to something else). Next t o try is the c_loc function I guess. @Peter Diener do you have any suggestions what I could try instead?

--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2403/compile-failure-with-gfortran-10-when