[Bug fortran/91926] assumed rank optional
pault at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Oct 5 08:18:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91926
--- Comment #3 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Sat Oct 5 08:17:55 2019
New Revision: 276624
URL: https://gcc.gnu.org/viewcvs?rev=276624&root=gcc&view=rev
Log:
2019-10-05 Paul Thomas <pault@gcc.gnu.org>
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 btanch to
correctly handle missing optional dummies.
2019-10-05 Paul Thomas <pault@gcc.gnu.org>
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.
2019-10-05 Paul Thomas <pault@gcc.gnu.org>
PR fortran/91926
* runtime/ISO_Fortran_binding.c (cfi_desc_to_gfc_desc): Do not
modify the bounds and offset for CFI_other.
Added:
trunk/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_13.c
trunk/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_13.f90
trunk/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_14.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-expr.c
trunk/gcc/testsuite/ChangeLog
trunk/libgfortran/ChangeLog
trunk/libgfortran/runtime/ISO_Fortran_binding.c
More information about the Gcc-bugs
mailing list