From f7d7781d8747a63cba6b2beb5afc0ab683a2e12f Mon Sep 17 00:00:00 2001 From: davem Date: Thu, 27 Apr 2000 04:26:08 +0000 Subject: http://gcc.gnu.org/ml/gcc-patches/2000-04/msg01057.html git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33457 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/optabs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gcc/optabs.c') diff --git a/gcc/optabs.c b/gcc/optabs.c index 304eb7400d2..2004f6afd0f 100644 --- a/gcc/optabs.c +++ b/gcc/optabs.c @@ -2789,7 +2789,8 @@ emit_libcall_block (insns, target, result, equiv) if (set != 0 && GET_CODE (SET_DEST (set)) == REG && REGNO (SET_DEST (set)) >= FIRST_PSEUDO_REGISTER && (insn == insns - || (! reg_mentioned_p (SET_DEST (set), PATTERN (insns)) + || ((! INSN_P(insns) + || ! reg_mentioned_p (SET_DEST (set), PATTERN (insns))) && ! reg_used_between_p (SET_DEST (set), insns, insn) && ! modified_in_p (SET_SRC (set), insns) && ! modified_between_p (SET_SRC (set), insns, insn)))) -- cgit v1.2.1