This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fix array_ref_element_size and friends


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]