From: Paul Brook Date: Fri, 21 Jan 2005 01:54:44 +0000 (+0000) Subject: * doc/rtl.texi: Document value extension requirements for CONST_INT. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eacf8912b70e813e987afeb5ea2b604243487090;p=gcc.git * doc/rtl.texi: Document value extension requirements for CONST_INT. From-SVN: r94004 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 19eda0fa69d..74474ec8ec6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2005-01-20 Paul Brook + + * doc/rtl.texi: Document value extension requirements for CONST_INT. + 2005-01-20 Kazu Hirata * tree-cfg.c (tree_verify_flow_info): Check that a nonlocal diff --git a/gcc/doc/rtl.texi b/gcc/doc/rtl.texi index 60685162432..9d6b9c28a3d 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