Dear Thomas, dear all,
Thomas Koenig wrote:
the attached patch avoids checks for reallocation on assignment when
the same variable is on both sides of the assignment.
Regression-tested. OK for trunk?
OK and thanks for the patch. (Can you remove the trailing spaces in the
line the first "return false;" before committal?)
Tobias
PS: I should have (again) more time for gfortran in the near future.
2013-08-29 Thomas Koenig <tkoe...@gcc.gnu.org>
PR fortran/52243
* trans-expr.c (is_runtime_conformable): New function.
* gfc_trans_assignment_1: Use it.
2013-08-29 Thomas Koenig <tkoe...@gcc.gnu.org>
PR fortran/52243
* gfortran.dg/realloc_on_assign_14.f90: Remove warning made
obsolete by patch.
* gfortran.dg/realloc_on_assign_19.f90: New test.