This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH to gimplify_init_constructor for c++/38410


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]