From 166b1e8321ffa7259699841283f40742ddd2b3e0 Mon Sep 17 00:00:00 2001 From: sirl Date: Tue, 17 Oct 2000 22:17:34 +0000 Subject: 2000-10-17 Franz Sirl * 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 --- gcc/expr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gcc/expr.c') 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 -- cgit v1.2.1