[Bug libfortran/101305] Bind(C): Problems with incorrect kinds/sizes in ISO_Fortran_binding.h and CFI_establish

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jul 28 04:24:51 GMT 2021


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

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Sandra Loosemore <sandra@gcc.gnu.org>:

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

commit r12-2552-gc4dc9f590181321c36d3f3ef72c50b3c47bbfe7c
Author: Sandra Loosemore <sandra@codesourcery.com>
Date:   Thu Jul 8 16:38:14 2021 -0700

    Bind(C): Correct sizes of some types in CFI_establish

    CFI_establish was failing to set the default elem_len correctly for
    CFI_type_cptr, CFI_type_cfunptr, CFI_type_long_double, and
    CFI_type_long_double_Complex.

    2021-07-13  Sandra Loosemore  <sandra@codesourcery.com>

    libgfortran/
            PR libfortran/101305
            * runtime/ISO_Fortran_binding.c (CFI_establish): Special-case
            CFI_type_cptr and CFI_type_cfunptr.  Correct size of long double
            on targets where it has kind 10.


More information about the Gcc-bugs mailing list