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: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: rth at redhat dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 30 Aug 04 17:59:43 EDT
- Subject: Re: fix array_ref_element_size and friends
{
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.
Likewise for the COMPONENT_REF case.