diff options
author | Paul Thomas <pault@gcc.gnu.org> | 2019-01-24 07:21:36 +0000 |
---|---|---|
committer | Paul Thomas <pault@gcc.gnu.org> | 2019-01-24 07:21:36 +0000 |
commit | 07fd2247eed45cd69c7b2294fe528c9bbe7a838e (patch) | |
tree | 29206074e69256eecff96f1966f15f26275addac /gcc/gcov-io.c | |
parent | db06a76e9a00cf4ec715a685dd5ca722826f783f (diff) | |
download | gcc-07fd2247eed45cd69c7b2294fe528c9bbe7a838e.zip gcc-07fd2247eed45cd69c7b2294fe528c9bbe7a838e.tar.gz gcc-07fd2247eed45cd69c7b2294fe528c9bbe7a838e.tar.bz2 |
re PR fortran/88929 (ICE on building MPICH 3.2 with GCC 9 with ISO_Fortran_binding)
2019-01-24 Paul Thomas <pault@gcc.gnu.org>
PR fortran/88929
* trans-array.c (gfc_conv_descriptor_elem_len): New function.
* trans-array.h : Add prototype for above.
* trans-expr.c (gfc_conv_gfc_desc_to_cfi_desc): Take account of
assumed rank arrays being flagged by rank = -1 in expressions.
Intent in arrays need a pointer to a copy of the data to be
assigned to the descriptor passed for conversion. This should
then be freed, together with the CFI descriptor on return from
the C call.
2019-01-24 Paul Thomas <pault@gcc.gnu.org>
PR fortran/88929
* gfortran.dg/ISO_Fortran_binding_3.f90 : New test
* gfortran.dg/ISO_Fortran_binding_3.c : Subsidiary source.
From-SVN: r268232
Diffstat (limited to 'gcc/gcov-io.c')
0 files changed, 0 insertions, 0 deletions