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.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@264485 138bc75d-0d04-0410-961f-82ee72b054a4
4 files changed