Commit 0b8c3649 by Martin Sebor Committed by Martin Sebor

extend.texi (attribute packed): Correct typos.


gcc/ChangeLog:

	* doc/extend.texi (attribute packed): Correct typos.

From-SVN: r265076
parent 02f83058
2018-10-11 Martin Sebor <msebor@redhat.com>
* doc/extend.texi (attribute packed): Correct typos.
2018-10-11 Martin Sebor <msebor@redhat.com>
* doc/extend.texi (attribute flatten): Mention interaction with
noinline.
......@@ -6221,13 +6221,13 @@ int f (struct Data *pd, const char *s)
@item packed
@cindex @code{packed} variable attribute
The @code{packed} attribute specifies that a variable or structure field
should have the smallest possible alignment---one byte for a variable,
and one bit for a field, unless you specify a larger value with the
@code{aligned} attribute.
The @code{packed} attribute specifies that a structure member should have
the smallest possible alignment---one bit for a bit-field and one byte
otherwise, unless a larger value is specified with the @code{aligned}
attribute. The attribute does not apply to non-member objects.
Here is a structure in which the field @code{x} is packed, so that it
immediately follows @code{a}:
For example in the structure below, the member array @code{x} is packed
so that it immediately follows @code{a} with no intervening padding:
@smallexample
struct foo
......
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