Tobias Burnus
2018-10-17 08:35:00 UTC
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 program then simply segfaulted on assignment.
Build and regtested on x86-64-gnu-linux.
OK for the trunk?
Tobias
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 program then simply segfaulted on assignment.
Build and regtested on x86-64-gnu-linux.
OK for the trunk?
Tobias