aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc/c-tree.texi
diff options
context:
space:
mode:
authorToon Moene <toon@moene.indiv.nluug.nl>2001-07-19 20:33:30 +0200
committerToon Moene <toon@gcc.gnu.org>2001-07-19 18:33:30 +0000
commit7d46d516525c2a1977766d88306e85493b841add (patch)
tree2ed7d4fa1d6ed1f855ef6d2b7b3558f67e086566 /gcc/doc/c-tree.texi
parent5442cf157b9baa37766aae56711a5e598d025ab2 (diff)
downloadgcc-7d46d516525c2a1977766d88306e85493b841add.zip
gcc-7d46d516525c2a1977766d88306e85493b841add.tar.gz
gcc-7d46d516525c2a1977766d88306e85493b841add.tar.bz2
tree.def: Document restriction on {L|R}SHIFT_EXPR's second argument.
2001-07-19 Toon Moene <toon@moene.indiv.nluug.nl> * tree.def: Document restriction on {L|R}SHIFT_EXPR's second argument. * doc/tree.texi: Ditto. * f/com.c (ffecom_expr_intrinsic_): Cope with it. From-SVN: r44156
Diffstat (limited to 'gcc/doc/c-tree.texi')
-rw-r--r--gcc/doc/c-tree.texi3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/doc/c-tree.texi b/gcc/doc/c-tree.texi
index aa976e8..a35ab45 100644
--- a/gcc/doc/c-tree.texi
+++ b/gcc/doc/c-tree.texi
@@ -2003,6 +2003,9 @@ second operand is an expression for the number of bits by which to
shift. Right shift should be treated as arithmetic, i.e., the
high-order bits should be zero-filled when the expression has unsigned
type and filled with the sign bit when the expression has signed type.
+Note that the result is undefined if the second operand is larger
+than the first operand's type size.
+
@item BIT_IOR_EXPR
@itemx BIT_XOR_EXPR