From 46093b975f793bd5df36c3ee066e7ea55d5c9e26 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Mon, 25 Oct 1993 21:44:05 +0000 Subject: [PATCH] (store_field): In BLKmode case, return blk_object. From-SVN: r5885 --- gcc/expr.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gcc/expr.c b/gcc/expr.c index 6c54d65689a..d4e452d3f4e 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -2971,9 +2971,11 @@ store_field (target, bitsize, bitpos, mode, exp, value_mode, store_field (blk_object, bitsize, bitpos, mode, exp, VOIDmode, 0, align, total_size); + /* Even though we aren't returning target, we need to + give it the updated value. */ emit_move_insn (target, object); - return target; + return blk_object; } /* If the structure is in a register or if the component -- 2.30.2