Fix gfortran.dg/class_to_type_4.f90 deallocation code misordering failure
authorMikael Morin <mikael@gcc.gnu.org>
Fri, 24 Jul 2015 14:44:59 +0000 (14:44 +0000)
committerMikael Morin <mikael@gcc.gnu.org>
Fri, 24 Jul 2015 14:44:59 +0000 (14:44 +0000)
commit68180ebadd0ac19bbf2ce55bd0625d1d001f7d33
treeca2129b91aa3bac51e447ae5d0bf0b803df2e510
parent710ee218547fc4ecbcba7a0f1dff73ce51fffb7b
Fix gfortran.dg/class_to_type_4.f90 deallocation code misordering failure

PR fortran/64986
gcc/fortran/
* trans-expr.c (gfc_trans_assignment_1): Put component deallocation
code at the beginning of the block.

From-SVN: r226162
gcc/fortran/ChangeLog
gcc/fortran/trans-expr.c