OSDN Git Service

(expand_expr, COMPONENT_REF case): For unaligned object
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Jul 1993 22:05:43 +0000 (22:05 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Jul 1993 22:05:43 +0000 (22:05 +0000)
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

gcc/expr.c

index 9ba19e5..187b25b 100644 (file)
@@ -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;