https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125902
Harald Anlauf <anlauf at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|FIXED |---
Status|RESOLVED |REOPENED
--- Comment #14 from Harald Anlauf <anlauf at gcc dot gnu.org> ---
(In reply to Nicholas BREALEY from comment #13)
> (In reply to Harald Anlauf from comment #12)
> > Fixed on mainline and on 16-branch. Closing.
>
> Thank you for fixing the problem.
>
> I think has_cfi_cdesc also needs to be updated to make sure that
> ISO_Fortran_binding.h isinclude.
Indeed, I missed this.
Sample testcase:
subroutine sub (b) bind(C)
character(*) :: b
end subroutine sub