This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]