This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r270037 - in /trunk/gcc: fortran/ChangeLog fort...
- From: pault at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sat, 30 Mar 2019 15:39:01 -0000
- Subject: r270037 - in /trunk/gcc: fortran/ChangeLog fort...
Author: pault
Date: Sat Mar 30 15:39:00 2019
New Revision: 270037
URL: https://gcc.gnu.org/viewcvs?rev=270037&root=gcc&view=rev
Log:
2019-03-30 Paul Thomas <pault@gcc.gnu.org>
PR fortran/89841
* trans-expr.c (gfc_conv_gfc_desc_to_cfi_desc): Use the formal
argument attributes rather than those of the actual argument.
PR fortran/89842
* trans-expr.c (gfc_conv_gfc_desc_to_cfi_desc): Call
'set_dtype_for_unallocated' for any type of arrayspec.
2019-03-30 Paul Thomas <pault@gcc.gnu.org>
PR fortran/89841
* gfortran.dg/ISO_Fortran_binding_1.f90: Change the interfaces
for c_deallocate, c_allocate and c_assumed_size so that the
attributes of the array arguments are correct and are typed.
* gfortran.dg/ISO_Fortran_binding_7.f90: New test.
* gfortran.dg/ISO_Fortran_binding_7.c: Additional source.
PR fortran/89842
* gfortran.dg/ISO_Fortran_binding_8.f90: New test.
* gfortran.dg/ISO_Fortran_binding_8.c: Additional source.
Added:
trunk/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_7.c
trunk/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_7.f90
trunk/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_8.c
trunk/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_8.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-expr.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_1.f90