re PR fortran/61138 (Wrong code with pointer-bounds remapping)
authorMikael Morin <mikael@gcc.gnu.org>
Sat, 14 Mar 2015 12:23:27 +0000 (12:23 +0000)
committerMikael Morin <mikael@gcc.gnu.org>
Sat, 14 Mar 2015 12:23:27 +0000 (12:23 +0000)
commit375e632759babad9111f2c4eadcb69a9fe95906f
treedc76c5bb540c6def56c50e9ceb2ae6bb0cc715f0
parentd88981fc3e1d9b1394a45074ead47d0ced23212b
re PR fortran/61138 (Wrong code with pointer-bounds remapping)

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.

From-SVN: r221436
gcc/fortran/ChangeLog
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pointer_remapping_9.f90 [new file with mode: 0644]