http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53389
--- Comment #6 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-05-23 19:08:56 UTC --- Author: burnus Date: Wed May 23 19:08:52 2012 New Revision: 187808 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187808 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_7-branch/gcc/testsuite/gfortran.dg/realloc_on_assign_15.f90 Modified: branches/gcc-4_7-branch/gcc/fortran/ChangeLog branches/gcc-4_7-branch/gcc/fortran/trans-array.c branches/gcc-4_7-branch/gcc/testsuite/ChangeLog