This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Two problems with gimplify_init_constructor
- From: Richard Henderson <rth at redhat dot com>
- To: Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 12 Aug 2004 13:50:49 -0700
- Subject: Re: Two problems with gimplify_init_constructor
- References: <10408122042.AA10295@vlsi1.ultra.nyu.edu>
On Thu, Aug 12, 2004 at 04:42:01PM -0400, Richard Kenner wrote:
> Why? Isn't it just an optimization?
Not without writing new code it isn't.
/* ??? This bit ought not be needed. For any element not present
in the initializer, we should simply set them to zero. Except
we'd need to *find* the elements that are not present, and that
requires trickery to avoid quadratic compile-time behavior in
large cases or excessive memory use in small cases. */
> That time is indeed coming closer and closer ...
I'm thinking now, actually. It also interferes with a patch I have
pending to once again share stack slots. Something that's important
because we can no longer build kernels with 4k stacks with 3.5.
r~