[PATCH, gfortran] Fix initialization of arrays of strings

Steve Kargl sgk@troutmask.apl.washington.edu
Tue Jul 12 17:40:00 GMT 2005


On Tue, Jul 12, 2005 at 10:38:33AM -0700, Steve Kargl wrote:
> 
> Is the attached patch acceptable to you?
> 
> 2005-07-12  Steven G. Kargl  <kargls@comcast.net>
> 
> 	* array.c (resolve_character_array_constructor): Allocate memory for
> 	p->expr->ts.cl and attach to namespace list for automatic deallocation.
> 
> 2005-07-12  Steven G. Kargl  <kargls@comcast.net>
> 
> 	gfortran.dg/char_array_constructor.f90: New test.
> 

Bootstrapped and regtested on amd64-*-freebsd.


-- 
Steve



More information about the Fortran mailing list