https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125902
Harald Anlauf <anlauf at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2026-06-21
Ever confirmed|0 |1
--- Comment #5 from Harald Anlauf <anlauf at gcc dot gnu.org> ---
Yes, there are some issues.
Note:
character(kind=c_char,len=*), intent(in) :: c
should not translate to const CFI_cdesc_t* c but to const char *c,
so that one seems correct to me.
Removing the ALLOCATABLE attribute in
real(c_double), dimension(:), allocatable, intent(inout) :: d
"fixes" this particular one and produces CFI_cdesc_t *d.