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

--- Comment #5 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Mon Oct 28 18:28:48 2019
New Revision: 277531

URL: https://gcc.gnu.org/viewcvs?rev=277531&root=gcc&view=rev
Log:
2019-10-28  Paul Thomas  <pa...@gcc.gnu.org>

        Backport from trunk
        PR fortran/91926
        * trans-expr.c (gfc_conv_gfc_desc_to_cfi_desc): Correct the
        assignment of the attribute field to account correctly for an
        assumed shape dummy. Assign separately to the gfc and cfi
        descriptors since the atribute can be different. Add branch to
        correctly handle missing optional dummies.

2019-10-28  Paul Thomas  <pa...@gcc.gnu.org>

        Backport from trunk
        PR fortran/91926
        * gfortran.dg/ISO_Fortran_binding_13.f90 : New test.
        * gfortran.dg/ISO_Fortran_binding_13.c : Additional source.
        * gfortran.dg/ISO_Fortran_binding_14.f90 : New test.

Added:
    branches/gcc-9-branch/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_13.c
    branches/gcc-9-branch/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_13.f90
    branches/gcc-9-branch/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_14.f90
Modified:
    branches/gcc-9-branch/gcc/fortran/ChangeLog
    branches/gcc-9-branch/gcc/fortran/trans-expr.c
    branches/gcc-9-branch/gcc/testsuite/ChangeLog

Reply via email to