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

--- Comment #4 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Sat Feb 17 16:01:50 2018
New Revision: 257784

URL: https://gcc.gnu.org/viewcvs?rev=257784&root=gcc&view=rev
Log:
2018-02-17  Thomas Koenig  <tkoe...@gcc.gnu.org>

        Backport from trunk
        PR fortran/84270
        * frontend-passes (scalarized_expr):  If the expression
        is an assumed size array, leave in the last reference
        and pass AR_SECTION instead of AR_FULL to gfc_resolve
        in order to avoid an error.

2018-02-17  Thomas Koenig  <tkoe...@gcc.gnu.org>

        Backport from trunk
        PR fortran/84270
        * gfortran.dg/inline_matmul_22.f90: New test.


Added:
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/inline_matmul_22.f90
Modified:
    branches/gcc-7-branch/gcc/fortran/ChangeLog
    branches/gcc-7-branch/gcc/fortran/frontend-passes.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog

Reply via email to