* expr.c (store_constructor_field): Only call adjust_address on MEM.

From-SVN: r46585
This commit is contained in:
Richard Kenner 2001-10-28 16:06:17 +00:00 committed by Richard Kenner
parent 9591d21063
commit 61cb205c64
2 changed files with 11 additions and 6 deletions

View File

@ -1,3 +1,7 @@
Sun Oct 28 09:59:54 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* expr.c (store_constructor_field): Only call adjust_address on MEM.
Sun Oct 28 16:48:09 CET 2001 Jan Hubicka <jh@suse.cz>
* genrecog.c (write_switch): Output if before switch for

View File

@ -4472,6 +4472,7 @@ store_constructor_field (target, bitsize, bitpos,
generate unnecessary clear instructions anyways. */
&& (bitpos == 0 || GET_CODE (target) == MEM))
{
if (GET_CODE (target) == MEM)
target
= adjust_address (target,
GET_MODE (target) == BLKmode