https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61138
--- Comment #9 from Mikael Morin <mikael at gcc dot gnu.org> --- Author: mikael Date: Sat Mar 21 15:15:19 2015 New Revision: 221555 URL: https://gcc.gnu.org/viewcvs?rev=221555&root=gcc&view=rev Log: PR fortran/61138 fortran/ * trans-expr.c (gfc_trans_pointer_assignment): Clear DESCRIPTOR_ONLY field before reusing LSE. testsuite/ * gfortran.dg/pointer_remapping_9.f90: New. Added: branches/gcc-4_9-branch/gcc/testsuite/gfortran.dg/pointer_remapping_9.f90 Modified: branches/gcc-4_9-branch/gcc/fortran/ChangeLog branches/gcc-4_9-branch/gcc/fortran/trans-expr.c branches/gcc-4_9-branch/gcc/testsuite/ChangeLog