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

--- Comment #7 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-14 branch has been updated by Harald Anlauf
<anl...@gcc.gnu.org>:

https://gcc.gnu.org/g:b31e1900fa0cffabb0702962d01ba3fe917fdf69

commit r14-10362-gb31e1900fa0cffabb0702962d01ba3fe917fdf69
Author: Harald Anlauf <anl...@gmx.de>
Date:   Tue Jun 18 21:57:19 2024 +0200

    Fortran: fix for CHARACTER(len=*) dummies with bind(C) [PR115390]

    gcc/fortran/ChangeLog:

            PR fortran/115390
            * trans-decl.cc (gfc_conv_cfi_to_gfc): Move derivation of type
sizes
            for character via gfc_trans_vla_type_sizes to after character
length
            has been set.

    gcc/testsuite/ChangeLog:

            PR fortran/115390
            * gfortran.dg/bind_c_char_11.f90: New test.

    (cherry picked from commit 954f9011c4923b72f42cc6ca8460333e7c7aad98)

Reply via email to