]> git.ipfire.org Git - thirdparty/gcc.git/commit
2019-03-30 Paul Thomas <pault@gcc.gnu.org>
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 30 Mar 2019 15:39:00 +0000 (15:39 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 30 Mar 2019 15:39:00 +0000 (15:39 +0000)
commitf22577c13fdeebccc217d862d31811c087f0a465
treeae9d1769c1ae90eb7bade550e0d0f829de2dc8bd
parent439021c150c2c742ef7acf1daf917047af1f4fe2
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@270037 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/ISO_Fortran_binding_1.f90
gcc/testsuite/gfortran.dg/ISO_Fortran_binding_7.c [new file with mode: 0644]
gcc/testsuite/gfortran.dg/ISO_Fortran_binding_7.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/ISO_Fortran_binding_8.c [new file with mode: 0644]
gcc/testsuite/gfortran.dg/ISO_Fortran_binding_8.f90 [new file with mode: 0644]