diff options
author | sirl <sirl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-10-17 22:17:34 +0000 |
---|---|---|
committer | sirl <sirl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-10-17 22:17:34 +0000 |
commit | 166b1e8321ffa7259699841283f40742ddd2b3e0 (patch) | |
tree | 60202866c1e0e05a002604b6b673a6c27f06bcd3 /gcc/expr.c | |
parent | 60bd162b50d7461c6c8f641e1ad9ce76ba805c21 (diff) | |
download | gcc-166b1e8321ffa7259699841283f40742ddd2b3e0.tar.gz |
2000-10-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* function.c (locate_and_pad_parm): Don't align stack unconditionally.
Fixes execute/20001017-1.c on pwerpc-linux-gnu.
* expr.c (store_constructor): Apply MEM_ALIAS_SET to MEMs only.
* rs6000/rs6000.c (rs6000_hash_constant): use X0INT to access a
LABEL_REF.
* rs6000/rs6000.h (NO_DOLLAR_IN_LABEL, DOLLARS_IN_IDENTIFIERS,
ENCODE_SECTION_INFO, ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Move from
here...
* rs6000/aix.h: ...to here.
* rs6000/linux.h (ASM_APP_ON, ASM_APP_OFF): Define to Linux-style.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36914 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/expr.c')
-rw-r--r-- | gcc/expr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/expr.c b/gcc/expr.c index 2115a471ae9..01c1fb66b6b 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -4206,7 +4206,8 @@ store_constructor_field (target, bitsize, bitpos, plus_constant (XEXP (target, 0), bitpos / BITS_PER_UNIT)); - MEM_ALIAS_SET (target) = alias_set; + if (GET_CODE (target) == MEM) + MEM_ALIAS_SET (target) = alias_set; store_constructor (exp, target, align, cleared, bitsize / BITS_PER_UNIT); } else |