This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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]

Re: Need advice on PR 19929


On Sun, Apr 03, 2005 at 10:24:10PM -0700, Steve Kargl wrote:
> 
> Well, I think I have determined at least a working hacking.
> I don't know if there is a better way to this, but if I do
> 
>    if (expr->symtree->n.sym->attr.dimension 
>        && expr->symtree->n.sym->ts.derived == NULL)
> 
> then I execute the else{} branch.
> 

Bootstrapped and regression tested on i386-*-freebsd

2005-04-03  Steven G. Kargl  <kargls@comcast.net>

	* trans-stmt.c (gfc_trans_deallocate): Fix deallocation of derived
 	type components

2005-04-03  Steven G. Kargl  <kargls@comcast.net>

	* gfortran.dg/pr19929.diff: New test.

-- 
Steve

Attachment: pr19929.diff
Description: Text document

Attachment: pr19929.f90
Description: Text document


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