Commit 8244f252 by Richard Guenther Committed by Richard Biener

stor-layout.c (byte_from_pos): Amend comment.

2012-05-10  Richard Guenther  <rguenther@suse.de>

	* stor-layout.c (byte_from_pos): Amend comment.

From-SVN: r187367
parent aaea76b3
2012-05-10 Richard Guenther <rguenther@suse.de>
* stor-layout.c (byte_from_pos): Amend comment.
2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* doc/extend.texi (X86 Built-in Functions, __builtin_cpu_init):
......
......@@ -798,7 +798,13 @@ bit_from_pos (tree offset, tree bitpos)
}
/* Return the combined truncated byte position for the byte offset OFFSET and
the bit position BITPOS. */
the bit position BITPOS.
These functions operate on byte and bit positions as present in FIELD_DECLs
and assume that these expressions result in no (intermediate) overflow.
This assumption is necessary to fold the expressions as much as possible,
so as to avoid creating artificially variable-sized types in languages
supporting variable-sized types like Ada. */
tree
byte_from_pos (tree offset, tree bitpos)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment