expr.c (store_field): When making temp object for unaligned component, set it to alias set 0.

* expr.c (store_field): When making temp object for unaligned
	component, set it to alias set 0.

From-SVN: r46806
This commit is contained in:
Richard Kenner 2001-11-06 14:20:30 +00:00 committed by Richard Kenner
parent 207bf4854d
commit 9e446a5c1e
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Tue Nov 6 09:21:34 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* expr.c (store_field): When making temp object for unaligned
component, set it to alias set 0.
2001-11-06 Joseph S. Myers <jsm28@cam.ac.uk>
* c-common.c (c_expand_expr_stmt): Apply default conversions to

View File

@ -5211,6 +5211,7 @@ store_field (target, bitsize, bitpos, mode, exp, value_mode,
rtx blk_object = copy_rtx (object);
PUT_MODE (blk_object, BLKmode);
set_mem_alias_set (blk_object, 0);
if (bitsize != (HOST_WIDE_INT) GET_MODE_BITSIZE (GET_MODE (target)))
emit_move_insn (object, target);