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/79230] [7 Regression] [OOP] Run time error: double free or corruption


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

--- Comment #26 from vehre at gcc dot gnu.org ---
Author: vehre
Date: Sun Feb  5 12:02:15 2017
New Revision: 245191

URL: https://gcc.gnu.org/viewcvs?rev=245191&root=gcc&view=rev
Log:
gcc/fortran/ChangeLog:

2017-02-05  Andre Vehreschild  <vehre@gcc.gnu.org>

        PR fortran/79230
        * trans-array.c (structure_alloc_comps): Ignore pointer components when
        freeing structures.

gcc/testsuite/ChangeLog:

2017-02-05  Andre Vehreschild  <vehre@gcc.gnu.org>

        PR fortran/79230
        * gfortran.dg/der_ptr_component_2.f90: New test.



Added:
    trunk/gcc/testsuite/gfortran.dg/der_ptr_component_2.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-array.c
    trunk/gcc/testsuite/ChangeLog

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