re PR fortran/66089 (elemental dependency mishandling when class array are involved)
authorThomas Koenig <tkoenig@gcc.gnu.org>
Sun, 10 Mar 2019 10:42:23 +0000 (10:42 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Sun, 10 Mar 2019 10:42:23 +0000 (10:42 +0000)
commit4932364bd569d131e6f0dbb68ed5a538be3d07f3
tree9ba42260481ecfc8c22628b12bdd09b6d36b193f
parent2263c69edc270c1e762c88e771d12dd5d09b052d
re PR fortran/66089 (elemental dependency mishandling when class array are involved)

2019-03-10  Thomas Koenig  <tkoenig@gcc.gnu.org>

    PR fortran/66089
    * trans-array.c (gfc_scalar_elemental_arg_saved_as_reference):
    Return false if a scalar tempoary is needed.
    (gfc_walk_variable_expr): Fix up class refs.

2019-03-10  Thomas Koenig  <tkoenig@gcc.gnu.org>

    PR fortran/66089
    * gfortran.dg/dependency_53.f90: New test.

From-SVN: r269549
gcc/fortran/ChangeLog
gcc/fortran/trans-array.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/dependency_53.f90 [new file with mode: 0644]