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]

[Committed] PR26236: Remove CHAR_TYPE reference from docs


The following patch has been committed to mainline as obvious after
testing with "make dvi" on i686-pc-linux-gnu.


2006-02-20  Roger Sayle  <roger@eyesopen.com>

	PR middle-end/26236
	* doc/c-tree.texi (INTEGER_TYPE): Remove reference to the now
	deprecated CHAR_TYPE tree code.


Index: c-tree.texi
===================================================================
*** c-tree.texi	(revision 111283)
--- c-tree.texi	(working copy)
*************** Used to represent the @code{void} type.
*** 429,437 ****
  @item INTEGER_TYPE
  Used to represent the various integral types, including @code{char},
  @code{short}, @code{int}, @code{long}, and @code{long long}.  This code
! is not used for enumeration types, nor for the @code{bool} type.  Note
! that GCC's @code{CHAR_TYPE} node is @emph{not} used to represent
! @code{char}.  The @code{TYPE_PRECISION} is the number of bits used in
  the representation, represented as an @code{unsigned int}.  (Note that
  in the general case this is not the same value as @code{TYPE_SIZE};
  suppose that there were a 24-bit integer type, but that alignment
--- 429,436 ----
  @item INTEGER_TYPE
  Used to represent the various integral types, including @code{char},
  @code{short}, @code{int}, @code{long}, and @code{long long}.  This code
! is not used for enumeration types, nor for the @code{bool} type.
! The @code{TYPE_PRECISION} is the number of bits used in
  the representation, represented as an @code{unsigned int}.  (Note that
  in the general case this is not the same value as @code{TYPE_SIZE};
  suppose that there were a 24-bit integer type, but that alignment


Roger
--


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