summaryrefslogtreecommitdiff
path: root/gcc/doc/c-tree.texi
diff options
context:
space:
mode:
authortoon <toon@138bc75d-0d04-0410-961f-82ee72b054a4>2001-07-19 18:33:30 +0000
committertoon <toon@138bc75d-0d04-0410-961f-82ee72b054a4>2001-07-19 18:33:30 +0000
commitabc061c5f8d4bce2cdbd9a3a948e009b6a068fed (patch)
tree2ed7d4fa1d6ed1f855ef6d2b7b3558f67e086566 /gcc/doc/c-tree.texi
parent44b157cfd740f9b0e0378f5e0c0295e4ff1f21a6 (diff)
downloadgcc-abc061c5f8d4bce2cdbd9a3a948e009b6a068fed.tar.gz
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: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44156 138bc75d-0d04-0410-961f-82ee72b054a4
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 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