[Bug fortran/92284] Subroutine with bind(c) attribute causing varied problems
burnus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Oct 31 10:13:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92284
--- Comment #6 from Tobias Burnus <burnus at gcc dot gnu.org> ---
Author: burnus
Date: Thu Oct 31 10:12:55 2019
New Revision: 277663
URL: https://gcc.gnu.org/viewcvs?rev=277663&root=gcc&view=rev
Log:
Fortran] PR92284 – gfc_desc_to_cfi_desc fixes
gcc/fortran/
PR fortran/92284.
* trans-expr.c (gfc_conv_gfc_desc_to_cfi_desc): Free CFI descriptor
at the end; partial revised revert of Rev. 277502.
libgfortran/
PR fortran/92284.
* runtime/ISO_Fortran_binding.c (gfc_desc_to_cfi_desc):
gcc/testsuite/
PR fortran/92284.
* gfortran.dg/bind-c-intent-out.f90: Update expected dump;
extend comment.
* gfortran.dg/bind_c_array_params_3.f90: New.
* gfortran.dg/bind_c_array_params_3_aux.c: New.
Added:
trunk/gcc/testsuite/gfortran.dg/bind_c_array_params_3.f90
trunk/gcc/testsuite/gfortran.dg/bind_c_array_params_3_aux.c
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-expr.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gfortran.dg/bind-c-intent-out.f90
trunk/libgfortran/ChangeLog
trunk/libgfortran/runtime/ISO_Fortran_binding.c
More information about the Gcc-bugs
mailing list