[patch, fortran] Fix PR 35719

FX fxcoudert@gmail.com
Wed May 7 21:04:00 GMT 2008


> 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.)


FX

-- 
François-Xavier Coudert
http://www.homepages.ucl.ac.uk/~uccafco/



More information about the Fortran mailing list