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]

Re: New tree code: ARRAY_RANGE_REF


    Even though this code isn't used for C/C++, could you document it in
    c-tree.texi so the documentation is there when c-tree.texi becomes
    part of a general front end interface manual?

Done:

Mon Jun  4 09:21:19 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

	* doc/c-tree.texi (ARRAY_REF): Say what type of expression must be.
	(ARRAY_RANGE_REF): Added description.

*** c-tree.texi	2001/06/01 16:51:18	1.1
--- c-tree.texi	2001/06/04 15:43:51
***************
*** 2018,2022 ****
  the second is the index.  To calculate the address of the memory
  accessed, you must scale the index by the size of the type of the array
! elements.
  
  @item EXACT_DIV_EXPR
--- 2018,2030 ----
  the second is the index.  To calculate the address of the memory
  accessed, you must scale the index by the size of the type of the array
! elements.  The type of these expressions must be the type of a component of
! the array.
! 
! @item ARRAY_RANGE_REF
! These nodes represent access to a range (or ``slice'') of an array.  The
! operands are the same as that for @code{ARRAY_REF} and have the same
! meanings.  The type of these expressions must be an array whose component
! type is the same as that of the first operand.  The range of that array
! type determines the amount of data these expressions access.
  
  @item EXACT_DIV_EXPR


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