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

--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Fortran 2018 FDIS section 18.3.6, para 2, item 5, bullet 2: 

On my draft it is probably

18.3.7 Interoperability of procedures and procedure interfaces


For

  character(kind=c_char,len=:), allocatable :: s2
  character(kind=c_char,len=:), pointer :: s3

> • the dummy argument is a nonallocatable nonpointer variable of type
> CHARACTER with assumed character length and the formal parameter
> is a pointer to CFI_cdesc_t,

does not seem to apply.

Is it not rather

> • the dummy argument is allocatable, assumed-shape, assumed-rank,
> or a pointer without the CONTIGUOUS attribute, and the formal parameter
> is a pointer to CFI_cdesc_t?

Reply via email to