diff options
author | Paul Brook <paul@codesourcery.com> | 2005-01-21 01:54:44 +0000 |
---|---|---|
committer | Paul Brook <pbrook@gcc.gnu.org> | 2005-01-21 01:54:44 +0000 |
commit | eacf8912b70e813e987afeb5ea2b604243487090 (patch) | |
tree | a7c99768918226c2063863d6ab588a85aad7e639 | |
parent | 7e4d34fd7c010d8acfeb3d3dc9b4d0f27e1ae3ff (diff) | |
download | gcc-eacf8912b70e813e987afeb5ea2b604243487090.zip gcc-eacf8912b70e813e987afeb5ea2b604243487090.tar.gz gcc-eacf8912b70e813e987afeb5ea2b604243487090.tar.bz2 |
* doc/rtl.texi: Document value extension requirements for CONST_INT.
From-SVN: r94004
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/doc/rtl.texi | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 19eda0f..74474ec 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2005-01-20 Paul Brook <paul@codesourcery.com> + + * doc/rtl.texi: Document value extension requirements for CONST_INT. + 2005-01-20 Kazu Hirata <kazu@cs.umass.edu> * tree-cfg.c (tree_verify_flow_info): Check that a nonlocal diff --git a/gcc/doc/rtl.texi b/gcc/doc/rtl.texi index 6068516..9d6b9c2 100644 --- a/gcc/doc/rtl.texi +++ b/gcc/doc/rtl.texi @@ -1286,6 +1286,9 @@ This type of expression represents the integer value @var{i}. @var{i} is customarily accessed with the macro @code{INTVAL} as in @code{INTVAL (@var{exp})}, which is equivalent to @code{XWINT (@var{exp}, 0)}. +Constants generated for modes with fewer bits than @code{HOST_WIDE_INT} +must be sign extended to full width (e.g., with @code{gen_int_mode}). + @findex const0_rtx @findex const1_rtx @findex const2_rtx |