This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH to gimplify_init_constructor for c++/38410
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Jason Merrill <jason at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Richard Henderson <rth at redhat dot com>
- Date: Tue, 9 Dec 2008 11:42:15 +0100
- Subject: Re: PATCH to gimplify_init_constructor for c++/38410
- References: <493E0A34.2050706@redhat.com>
> 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