aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1994-05-06 17:50:04 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1994-05-06 17:50:04 -0400
commit5fa7422be7e6328e3e1b2471660a0ef80210a37c (patch)
treec0d7d6876203e9d8b1029ec964eda3442f254e9b
parent0e6362d98458b52d39b83445276245acc4bd5c21 (diff)
downloadgcc-5fa7422be7e6328e3e1b2471660a0ef80210a37c.zip
gcc-5fa7422be7e6328e3e1b2471660a0ef80210a37c.tar.gz
gcc-5fa7422be7e6328e3e1b2471660a0ef80210a37c.tar.bz2
(fixup_var_refs_insns): Change from USE and CLOBBER insns to using
CALL_INSN_FUNCTION_USAGE. From-SVN: r7244
-rw-r--r--gcc/function.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/gcc/function.c b/gcc/function.c
index ff80a7f..279bd77 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -1449,19 +1449,7 @@ fixup_var_refs_insns (var, promoted_mode, unsignedp, insn, toplevel)
replacements->old
= fixup_stack_1 (replacements->old, insn);
- /* We can not separate USE insns from the CALL_INSN
- that they belong to. If this is a CALL_INSN, insert
- the move insn before the USE insns preceding it
- instead of immediately before the insn. */
- if (GET_CODE (insn) == CALL_INSN)
- {
- insert_before = insn;
- while (GET_CODE (PREV_INSN (insert_before)) == INSN
- && GET_CODE (PATTERN (PREV_INSN (insert_before))) == USE)
- insert_before = PREV_INSN (insert_before);
- }
- else
- insert_before = insn;
+ insert_before = insn;
/* If we are changing the mode, do a conversion.
This might be wasteful, but combine.c will