https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87336

--- Comment #8 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Fri Jan 25 20:08:58 2019
New Revision: 268279

URL: https://gcc.gnu.org/viewcvs?rev=268279&root=gcc&view=rev
Log:
2019-01-25  Paul Thomas  <pa...@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  <pa...@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.


Added:
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pointer_array_10.f90
Modified:
    branches/gcc-8-branch/gcc/fortran/ChangeLog
    branches/gcc-8-branch/gcc/fortran/trans-array.c
    branches/gcc-8-branch/gcc/testsuite/ChangeLog
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/assign_10.f90
   
branches/gcc-8-branch/gcc/testsuite/gfortran.dg/transpose_optimization_2.f90

Reply via email to