Commit 2a31c49c by Hans-Peter Nilsson Committed by Hans-Peter Nilsson

extend.texi (Alignment): Say that the ABI controls the __alignof__ for…

extend.texi (Alignment): Say that the ABI controls the __alignof__ for non-strict-alignment targets...

	* doc/extend.texi (Alignment): Say that the ABI controls
	the __alignof__ for non-strict-alignment targets rather
	than being a recommendation.

From-SVN: r133271
parent c2339253
2008-03-16 Hans-Peter Nilsson <hp@axis.com>
* doc/extend.texi (Alignment): Say that the ABI controls
the __alignof__ for non-strict-alignment targets rather
than being a recommendation.
2008-03-15 Paul Brook <paul@codesourcery.com>
* config/arm/arm.c (arm_unwind_emit): Suppress unused unwinding
......
......@@ -3380,7 +3380,8 @@ designs, @code{__alignof__ (double)} is 4 or even 2.
Some machines never actually require alignment; they allow reference to any
data type even at an odd address. For these machines, @code{__alignof__}
reports the @emph{recommended} alignment of a type.
reports the smallest alignment that GCC will give the data type, usually as
mandated by the target ABI.
If the operand of @code{__alignof__} is an lvalue rather than a type,
its value is the required alignment for its type, taking into account
......
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