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

--- Comment #5 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Wed Sep 19 17:44:36 2018
New Revision: 264427

URL: https://gcc.gnu.org/viewcvs?rev=264427&root=gcc&view=rev
Log:
2018-09-19  Paul Thomas  <pa...@gcc.gnu.org>

        PR fortran/84109
        * trans-expr.c (gfc_trans_assignment_1): The rse.pre for the
        assignment of deferred character intrinsic elemental function
        results to a realocatable lhs must not be added to the exterior
        block if they are array valued but must go to the loop body.

2018-09-19  Paul Thomas  <pa...@gcc.gnu.org>

        PR fortran/84109
        * gfortran.dg/elemental_function_3.f90 : New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/elemental_function_3.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-expr.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to