diff options
author | Tristan Gingold <gingold@adacore.com> | 2012-03-20 08:47:27 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@gcc.gnu.org> | 2012-03-20 08:47:27 +0000 |
commit | 18dae0162f33745cb9a100029b124c5c14f402e4 (patch) | |
tree | 15e5a2cdf90de1c7598303847d54dcbe95549488 /gcc/doc/tm.texi | |
parent | d924186175c76c6183f03fbabdd09748aac43208 (diff) | |
download | gcc-18dae0162f33745cb9a100029b124c5c14f402e4.zip gcc-18dae0162f33745cb9a100029b124c5c14f402e4.tar.gz gcc-18dae0162f33745cb9a100029b124c5c14f402e4.tar.bz2 |
tree.h (enum size_type_kind): Add stk_ prefix to constants, convert in lowercase.
2012-03-20 Tristan Gingold <gingold@adacore.com>
* tree.h (enum size_type_kind): Add stk_ prefix to constants,
convert in lowercase.
(sizetype_tab, sizetype, bitsizetype, ssizetype, sbitsizetype)
(size_int, ssize_int, bitsize_int, sbitsize_int): Adjust.
* stor-layout.c (sizetype_tab): Adjust.
(initialize_sizetypes): Use SIZETYPE instead of SIZE_TYPE.
* tree-streamer.c (preload_common_nodes): Use stk_type_kind_last
instead of type_kind_last.
* tree-scalar-evolution.c (interpret_rhs_expr): Use size_int
instead of size_int_kind.
* doc/tm.texi.in (Type Layout): Document SIZETYPE.
* doc/tm.texi: Regenerate.
* defaults.h (SIZETYPE): Provide a default value.
* config/vms/vms.h (SIZE_TYPE): Define as "unsigned int".
(SIZETYPE): Define.
From-SVN: r185561
Diffstat (limited to 'gcc/doc/tm.texi')
-rw-r--r-- | gcc/doc/tm.texi | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index 69f8aba..2891bb6 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -1642,6 +1642,18 @@ If you don't define this macro, the default is @code{"long unsigned int"}. @end defmac +@defmac SIZETYPE +GCC defines internal types (@code{sizetype}, @code{ssizetype}, +@code{bitsizetype} and @code{sbitsizetype}) for expressions +dealing with size. This macro is a C expression for a string describing +the name of the data type from which the precision of @code{sizetype} +is extracted. + +The string has the same restrictions as @code{SIZE_TYPE} string. + +If you don't define this macro, the default is @code{SIZE_TYPE}. +@end defmac + @defmac PTRDIFF_TYPE A C expression for a string describing the name of the data type to use for the result of subtracting two pointers. The typedef name |