diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2003-06-03 23:17:27 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2003-06-03 23:17:27 +0000 |
commit | a7a7d7ace8fe14e73afd208e0e527b1e9bc2415d (patch) | |
tree | 339545077f5d4ecb4c1ca538140b2d36664a193c | |
parent | 61274a14e5416e53211e537a99217d704ce73a60 (diff) | |
download | gcc-a7a7d7ace8fe14e73afd208e0e527b1e9bc2415d.zip gcc-a7a7d7ace8fe14e73afd208e0e527b1e9bc2415d.tar.gz gcc-a7a7d7ace8fe14e73afd208e0e527b1e9bc2415d.tar.bz2 |
flow.c (initialize_uninitialized_subregs): Use emit_move_insn instead of emitting a hardcoded move.
* flow.c (initialize_uninitialized_subregs): Use
emit_move_insn instead of emitting a hardcoded move.
From-SVN: r67409
-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; } |