This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gimplify_parameters
- 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: Tue, 21 Dec 2004 07:50:32 -0800
- Subject: Re: gimplify_parameters
- References: <10412211508.AA29114@vlsi1.ultra.nyu.edu>
On Tue, Dec 21, 2004 at 10:08:25AM -0500, Richard Kenner wrote:
> Which is actually a symptom of a tree sharing problem between the
> array size and the array dimension.
>
> But why is that sharing a "problem"? There's no rule that we not share
> such trees, only that we not share trees within statements.
When we gimplify the type's size, via evaluating the SAVE_EXPR
or whatever, we clobber the old contents of the TYPE_MAX_VALUE.
I'd call that a problem, wouldn't you?
r~