Commit 9413de45 by Richard Kenner Committed by Richard Kenner

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

From-SVN: r48385
parent 6790d1bd
Sat Dec 29 15:48:54 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> 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 * stor-layout.c (layout_decl): Don't misalign field of variable size
for packed record. for packed record.
......
...@@ -1052,6 +1052,9 @@ convert_move (to, from, unsignedp) ...@@ -1052,6 +1052,9 @@ convert_move (to, from, unsignedp)
if ((code = can_extend_p (to_mode, from_mode, unsignedp)) if ((code = can_extend_p (to_mode, from_mode, unsignedp))
!= CODE_FOR_nothing) != CODE_FOR_nothing)
{ {
if (flag_force_mem)
from = force_not_mem (from);
emit_unop_insn (code, to, from, equiv_code); emit_unop_insn (code, to, from, equiv_code);
return; return;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment