http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53389
--- Comment #7 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-05-23 19:13:34 UTC --- Author: burnus Date: Wed May 23 19:13:27 2012 New Revision: 187810 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187810 Log: 2012-05-23 Tobias Burnus <bur...@net-b.de> PR fortran/53389 * trans-array.c (gfc_add_loop_ss_code): Don't evaluate expression, if ss->is_alloc_lhs is set. 2012-05-23 Tobias Burnus <bur...@net-b.de> PR fortran/53389 * gfortran.dg/realloc_on_assign_15.f90: New. Added: branches/gcc-4_6-branch/gcc/testsuite/gfortran.dg/realloc_on_assign_15.f90 Modified: branches/gcc-4_6-branch/gcc/fortran/ChangeLog branches/gcc-4_6-branch/gcc/fortran/trans-array.c branches/gcc-4_6-branch/gcc/testsuite/ChangeLog