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/64986] class_to_type_4.f90: valgrind error: Invalid read/write of size 8


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64986

--- Comment #15 from Mikael Morin <mikael at gcc dot gnu.org> ---
Author: mikael
Date: Fri Jul 24 14:44:59 2015
New Revision: 226162

URL: https://gcc.gnu.org/viewcvs?rev=226162&root=gcc&view=rev
Log:
Fix gfortran.dg/class_to_type_4.f90 deallocation code misordering failure

        PR fortran/64986
gcc/fortran/
        * trans-expr.c (gfc_trans_assignment_1): Put component deallocation
        code at the beginning of the block.


Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-expr.c


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