diff options
author | Trevor Saunders <tbsaunde+gcc@tbsaunde.org> | 2015-08-21 01:15:33 +0000 |
---|---|---|
committer | Trevor Saunders <tbsaunde@gcc.gnu.org> | 2015-08-21 01:15:33 +0000 |
commit | 6b00e42da3a26fae6f878e3b83baffbda7f79227 (patch) | |
tree | 622d454a1868dda05940920cea5067868cc30c82 /gcc/doc/tm.texi.in | |
parent | 70b0dcce28f993b2d6fcf7851bc8aadc7b60c38d (diff) | |
download | gcc-6b00e42da3a26fae6f878e3b83baffbda7f79227.zip gcc-6b00e42da3a26fae6f878e3b83baffbda7f79227.tar.gz gcc-6b00e42da3a26fae6f878e3b83baffbda7f79227.tar.bz2 |
add default for CONSTANT_ALIGNMENT
gcc/ChangeLog:
2015-08-20 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* defaults.h (CONSTANT_ALIGNMENT): New macro definition.
* builtins.c (get_object_alignment_2): Adjust.
* varasm.c (align_variable): Likewise.
(get_variable_align): Likewise.
(build_constant_desc): Likewise.
(force_const_mem): Likewise.
* doc/tm.texi.in: Likewise.
* doc/tm.texi: Regenerate.
From-SVN: r227052
Diffstat (limited to 'gcc/doc/tm.texi.in')
-rw-r--r-- | gcc/doc/tm.texi.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/doc/tm.texi.in b/gcc/doc/tm.texi.in index 2383fb9..9d5ac0a 100644 --- a/gcc/doc/tm.texi.in +++ b/gcc/doc/tm.texi.in @@ -1048,7 +1048,7 @@ that is being placed in memory. @var{constant} is the constant and have. The value of this macro is used instead of that alignment to align the object. -If this macro is not defined, then @var{basic-align} is used. +The default definition just returns @var{basic-align}. The typical use of this macro is to increase alignment for string constants to be word aligned so that @code{strcpy} calls that copy |