[patch, fortran] Fix PR 35719

Thomas Koenig tkoenig@netcologne.de
Sun May 11 08:18:00 GMT 2008


On Wed, 2008-05-07 at 22:04 +0100, FX wrote:
> > My initial impression,without delving deeply, is this is not a good  
> > idea.  zero sized array and we
> > malloc one byte. hmmm???
> 
> That's our current behaviour in loads of other places: I'd treat  
> everywhere we don't do it as a bug. (NULL data struct members means  
> unallocated. Using a constant address would make loads of cases  
> harder, like adding special cases and tests to every deallocation.)

Is the pach OK?

	Thomas



More information about the Fortran mailing list