diff options
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/flow.c | 7 |
2 files changed, 10 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index dfc37dd..e84b39f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-06-03 Kazu Hirata <kazu@cs.umass.edu> + + * flow.c (initialize_uninitialized_subregs): Use + emit_move_insn instead of emitting a hardcoded move. + 2003-06-03 Richard Henderson <rth@redhat.com> * optabs.c (expand_abs_nojump): Split out from ... @@ -1484,8 +1484,11 @@ initialize_uninitialized_subregs () for_each_rtx (&i, find_regno_partial, ¶m); if (param.retval != NULL_RTX) { - insn = gen_move_insn (param.retval, - CONST0_RTX (GET_MODE (param.retval))); + start_sequence (); + emit_move_insn (param.retval, + CONST0_RTX (GET_MODE (param.retval))); + insn = get_insns (); + end_sequence (); insert_insn_on_edge (insn, e); did_something = 1; } |