]> gcc.gnu.org Git - gcc.git/commit - gcc/fortran/ChangeLog
re PR fortran/87336 (wrong output for pointer dummy assiocated to target actual argument)
authorPaul Thomas <pault@gcc.gnu.org>
Fri, 25 Jan 2019 20:08:58 +0000 (20:08 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Fri, 25 Jan 2019 20:08:58 +0000 (20:08 +0000)
commitece827833fac533adc09a04720c891526a5995b3
tree6b18aa960ac02810a39baeead44b295c7a3fc000
parent619f509410b18d74122f086c2ee019b8faa6c647
re PR fortran/87336 (wrong output for pointer dummy assiocated to target actual argument)

2019-01-25  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/87336
* trans-array.c (gfc_get_array_span): Try to get the element
length of incomplete types. Return NULL_TREE otherwise.
(gfc_conv_expr_descriptor): Only set the 'span' field if the
above does not return NULL_TREE. Set 'span' field if possible
for all new descriptors.

2019-01-25  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/87336
* gfortran.dg/pointer_array_10.f90 : New test.
* gfortran.dg/assign_10.f90 : Increase 'parm' count to 20.
* gfortran.dg/transpose_optimization_2.f90 : Increase 'parm'
count to 72.

From-SVN: r268279
gcc/fortran/ChangeLog
gcc/fortran/trans-array.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/assign_10.f90
gcc/testsuite/gfortran.dg/pointer_array_10.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/transpose_optimization_2.f90
This page took 0.065444 seconds and 5 git commands to generate.