https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102885
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Tobias Burnus <bur...@gcc.gnu.org>: https://gcc.gnu.org/g:a31a3d0421f0cf1f7eefacfec8cbf37e7f91600d commit r12-4703-ga31a3d0421f0cf1f7eefacfec8cbf37e7f91600d Author: Tobias Burnus <tob...@codesourcery.com> Date: Tue Oct 26 10:53:53 2021 +0200 Fortran: Fix character(len=cst) dummies with bind(C) [PR102885] PR fortran/102885 gcc/fortran/ChangeLog: * trans-decl.c (gfc_conv_cfi_to_gfc): Properly handle nonconstant character lenghts. gcc/testsuite/ChangeLog: * gfortran.dg/lto/bind-c-char_0.f90: New test.