This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: fix array_ref_element_size and friends
- From: Richard Henderson <rth at redhat dot com>
- To: Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 30 Aug 2004 16:39:10 -0700
- Subject: Re: fix array_ref_element_size and friends
- References: <10408302159.AA00571@vlsi1.ultra.nyu.edu>
On Mon, Aug 30, 2004 at 05:59:43PM -0400, Richard Kenner wrote:
> {
> UPDATE_TITCSE (TREE_OPERAND (node, 1));
> ! if (TREE_OPERAND (node, 2))
> ! UPDATE_TITCSE (TREE_OPERAND (node, 2));
> ! if (TREE_OPERAND (node, 3))
> ! UPDATE_TITCSE (TREE_OPERAND (node, 3));
>
> Is this routine guaranteed to be called only after gimplification?
> If not, then this is not correct because the size and lower bound of
> the type might be variable and not filled into those nodes yet.
Hmm, no.
r~