diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-05-17 23:00:05 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-05-17 23:00:05 +0000 |
commit | f7d6703c5d83fc9fb06246d6eb49e9b61098045c (patch) | |
tree | 57adeaca11a81e869dded7cdb7caaa2c7bfb2115 /gcc/varasm.c | |
parent | 4899654eef097d074b37a9a07098c66ad2e59800 (diff) | |
download | gcc-f7d6703c5d83fc9fb06246d6eb49e9b61098045c.tar.gz |
* i386.h (ALIGN_DFmode): Delete.
(CONSTANT_ALIGNMENT): Define.
* varasm.c (force_const_mem): Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19823 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r-- | gcc/varasm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c index 867ae1f1713..9951a50d31e 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -3417,6 +3417,10 @@ force_const_mem (mode, x) align = (mode == VOIDmode) ? UNITS_PER_WORD : GET_MODE_SIZE (mode); if (align > BIGGEST_ALIGNMENT / BITS_PER_UNIT) align = BIGGEST_ALIGNMENT / BITS_PER_UNIT; +#ifdef CONSTANT_ALIGNMENT + align = CONSTANT_ALIGNMENT (make_tree (type_for_mode (mode, 0), x), + align * BITS_PER_UNIT) / BITS_PER_UNIT; +#endif pool_offset += align - 1; pool_offset &= ~ (align - 1); |