diff options
author | Richard Earnshaw <rearnsha@arm.com> | 2006-11-17 00:27:18 +0000 |
---|---|---|
committer | Richard Earnshaw <rearnsha@gcc.gnu.org> | 2006-11-17 00:27:18 +0000 |
commit | 36b15ad0dc8c471bbe053131e48ab3ec49aa7009 (patch) | |
tree | d843496f8f4ff27672cd9415b1ed7dca13d47628 /gcc/config | |
parent | 4d7a2662bff7699211c0936ed35589ef579fcfef (diff) | |
download | gcc-36b15ad0dc8c471bbe053131e48ab3ec49aa7009.zip gcc-36b15ad0dc8c471bbe053131e48ab3ec49aa7009.tar.gz gcc-36b15ad0dc8c471bbe053131e48ab3ec49aa7009.tar.bz2 |
arm.h (CONSTANT_ALIGNMENT): Don't over-align strings when optimizing for size.
* arm.h (CONSTANT_ALIGNMENT): Don't over-align strings when
optimizing for size.
From-SVN: r118914
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/arm/arm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h index 5570924..468b5b3 100644 --- a/gcc/config/arm/arm.h +++ b/gcc/config/arm/arm.h @@ -479,6 +479,7 @@ extern int arm_cpp_interwork; #define CONSTANT_ALIGNMENT(EXP, ALIGN) \ ((TREE_CODE (EXP) == STRING_CST \ + && !optimize_size \ && (ALIGN) < BITS_PER_WORD * CONSTANT_ALIGNMENT_FACTOR) \ ? BITS_PER_WORD * CONSTANT_ALIGNMENT_FACTOR : (ALIGN)) |