[libgfortran,patch] Fix PACK for zero-sized arrays

Jerry DeLisle jvdelisle@verizon.net
Sat Mar 3 16:24:00 GMT 2007


FX Coudert wrote:
> :ADDPATCH libgfortran:
> 
> Attached patch fixes PR libgfortran/31001 (PACK on zero-sized arrays), 
> by introducing a simple check for zero-sizedness :)
> The testcase comes from the reporter, and I will commit with appropriate 
> ChangeLog entries.
> 
> Bootstrapped and regtested on i386-linux, OK for mainline and 4.2? (I 
> think 4.1 is broken in other ways for zero-sized arrays)
> 
> FX
> 

OK, thanks for quick fix.



More information about the Gcc-patches mailing list