diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2008-03-16 15:27:36 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@gcc.gnu.org> | 2008-03-16 15:27:36 +0000 |
commit | 2a31c49ceb396963e298abb196fe3b099814cd3f (patch) | |
tree | 411116ae8433d7fcb3d2daa385eabe317c3d8d0f /gcc/doc | |
parent | c2339253731ae37f06db11cde631cc476ebf112d (diff) | |
download | gcc-2a31c49ceb396963e298abb196fe3b099814cd3f.zip gcc-2a31c49ceb396963e298abb196fe3b099814cd3f.tar.gz gcc-2a31c49ceb396963e298abb196fe3b099814cd3f.tar.bz2 |
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
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/extend.texi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 26a8e70..d114adc 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -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 |