[Bug fortran/87359] [9 regression] pointer being freed was not allocated
pault at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Sep 21 17:29:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87359
--- Comment #17 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Fri Sep 21 17:26:23 2018
New Revision: 264485
URL: https://gcc.gnu.org/viewcvs?rev=264485&root=gcc&view=rev
Log:
2018-09-21 Paul Thomas <pault@gcc.gnu.org>
PR fortran/87359
* trans-stmt.c (gfc_trans_allocate): Don't deallocate alloc
components if must_finalize is set for expr3.
2018-09-21 Paul Thomas <pault@gcc.gnu.org>
PR fortran/87359
* gfortran.dg/finalize_33.f90 : New test.
Added:
trunk/gcc/testsuite/gfortran.dg/finalize_33.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-stmt.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list