summaryrefslogtreecommitdiff
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>1993-07-21 22:05:43 +0000
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>1993-07-21 22:05:43 +0000
commitcbb9d44318740618f5e0400afd94b691b546a153 (patch)
treeb3ea8dbb4447aa227411f3559ce8da875dbb7c41 /gcc/expr.c
parent163c0c8999577ed19afedd6e6fb76cfb8ec28d7b (diff)
downloadgcc-cbb9d44318740618f5e0400afd94b691b546a153.tar.gz
(expand_expr, COMPONENT_REF case): For unaligned object
in an aligned union, set MEM_IN_STRUCT_P if create a MEM rtx. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4964 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/expr.c')
-rw-r--r--gcc/expr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/expr.c b/gcc/expr.c
index 9ba19e5d3a3..187b25b3d0d 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -4005,6 +4005,7 @@ expand_expr (exp, target, tmode, modifier)
emit_move_insn (new, op0);
op0 = copy_rtx (new);
PUT_MODE (op0, BLKmode);
+ MEM_IN_STRUCT_P (op0) = 1;
}
return op0;