[Bug fortran/61138] [4.8/4.9/5 Regression] Wrong code with pointer-bounds remapping

mikael at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Mar 21 15:47:00 GMT 2015


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



More information about the Gcc-bugs mailing list