* expr.c (convert_move): If -fforce-mem, force FROM to not be memory.

From-SVN: r48385
This commit is contained in:
Richard Kenner 2001-12-29 21:05:22 +00:00 committed by Richard Kenner
parent 6790d1bd90
commit 9413de453d
2 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,7 @@
Sat Dec 29 15:48:54 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* expr.c (convert_move): If -fforce-mem, force FROM to not be memory.
* stor-layout.c (layout_decl): Don't misalign field of variable size
for packed record.

View File

@ -1052,6 +1052,9 @@ convert_move (to, from, unsignedp)
if ((code = can_extend_p (to_mode, from_mode, unsignedp))
!= CODE_FOR_nothing)
{
if (flag_force_mem)
from = force_not_mem (from);
emit_unop_insn (code, to, from, equiv_code);
return;
}