[Patch, Fortran] PR87625 - fix reallocate on assign with polymophic arrays

2018-10-18 Thread Paul Richard Thomas
Your patch at: https://gcc.gnu.org/ml/fortran/2018-10/msg00079.html is OK for trunk. Thanks Paul

[Patch, Fortran] PR87625 - fix reallocate on assign with polymophic arrays

2018-10-17 Thread Tobias Burnus
for some reasons, the two calls to gfc_is_reallocatable_lhs(expr1) differ, the first one is a simple "var" + full-array reference while the second one is "var->_data" + full-array reference. Neither was handled and, hence, using var = [ t(11), t(12) ] didn't do any memory allocation; the