(store_field): Fix typo in last change; update TARGET addr.
authorRichard Kenner <kenner@gcc.gnu.org>
Mon, 3 Jun 1996 12:06:54 +0000 (08:06 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Mon, 3 Jun 1996 12:06:54 +0000 (08:06 -0400)
From-SVN: r12142

gcc/expr.c

index 071e38312e38e12a9d167b7ba3a753f17b57ec11..5fb46a9db20ebc4a4c9e59cb56b9c20229686eaf 100644 (file)
@@ -3923,8 +3923,8 @@ store_field (target, bitsize, bitpos, mode, exp, value_mode,
              || bitpos % BITS_PER_UNIT != 0)
            abort ();
 
-         temp = change_address (temp, VOIDmode,
-                                plus_constant (XEXP (temp, 0),
+         target = change_address (target, VOIDmode,
+                                  plus_constant (XEXP (target, 0),
                                                bitpos / BITS_PER_UNIT));
 
          emit_block_move (target, temp,