diff options
author | tbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-08-21 01:15:33 +0000 |
---|---|---|
committer | tbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-08-21 01:15:33 +0000 |
commit | e532afed709a571609cfe765870fcc3fb39da11e (patch) | |
tree | 622d454a1868dda05940920cea5067868cc30c82 /gcc/defaults.h | |
parent | f076c5f87ecf4f6c2eec6aa01725e7812979f5d0 (diff) | |
download | gcc-e532afed709a571609cfe765870fcc3fb39da11e.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227052 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/defaults.h')
-rw-r--r-- | gcc/defaults.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/defaults.h b/gcc/defaults.h index 4fe8eb17f48..d4d3a565c17 100644 --- a/gcc/defaults.h +++ b/gcc/defaults.h @@ -1273,6 +1273,10 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #define WORD_REGISTER_OPERATIONS 0 #endif +#ifndef CONSTANT_ALIGNMENT +#define CONSTANT_ALIGNMENT(EXP, ALIGN) ALIGN +#endif + #ifdef GCC_INSN_FLAGS_H /* Dependent default target macro definitions |