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


      	{
      	  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.


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