PATCH to gimplify_init_constructor for c++/38410

Eric Botcazou ebotcazou@adacore.com
Tue Dec 9 10:44:00 GMT 2008


> I don't see any reason to write out an all-zero CONSTRUCTOR to a static
> variable, and indeed the comment "don't do this for sparse arrays" in
> gimplify_init_constructor suggests that it's not intended.  So this
> patch makes us stop doing this for sparse arrays: previously we didn't
> do it for large sparse arrays, but still did it for small sparse arrays.

Any particular reason for slightly changing the definition of "sparse" in the 
process?  If no, I'd suggest going back to the previous one.

-- 
Eric Botcazou



More information about the Gcc-patches mailing list