aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorToon Moene <toon@moene.indiv.nluug.nl>2001-07-19 18:33:30 +0000
committerToon Moene <toon@moene.indiv.nluug.nl>2001-07-19 18:33:30 +0000
commitc4c0554459c61e5cfd6982f4b8fff0000e3ad7f3 (patch)
tree2ed7d4fa1d6ed1f855ef6d2b7b3558f67e086566 /gcc/doc
parent659abf78f2c76c59c8e4f86ae81282984387bd35 (diff)
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. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@44156 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc')
-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 aa976e85622..a35ab4550e9 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