Commit 7fb75099 by Richard Henderson Committed by Richard Henderson

cfganal.c (keep_with_call_p): Source for fixed_reg dest must be a general_operand.

        * cfganal.c (keep_with_call_p): Source for fixed_reg dest must
        be a general_operand.  Dest for function value must be a pseudo.

From-SVN: r49547
parent 99a4deb8
2002-02-06 Richard Henderson <rth@redhat.com>
* cfganal.c (keep_with_call_p): Source for fixed_reg dest must
be a general_operand. Dest for function value must be a pseudo.
2002-02-06 Nick Clifton <nickc@cambridge.redhat.com>
* dbxout.c (dbxout_symbol_location): Accept LABEL_REFs as well
......
......@@ -224,10 +224,13 @@ keep_with_call_p (insn)
if (INSN_P (insn) && (set = single_set (insn)) != NULL)
{
if (GET_CODE (SET_DEST (set)) == REG
&& fixed_regs[REGNO (SET_DEST (set))])
&& fixed_regs[REGNO (SET_DEST (set))]
&& general_operand (SET_SRC (set)))
return true;
if (GET_CODE (SET_SRC (set)) == REG
&& FUNCTION_VALUE_REGNO_P (REGNO (SET_SRC (set))))
&& FUNCTION_VALUE_REGNO_P (REGNO (SET_SRC (set)))
&& GET_CODE (SET_DEST (set)) == REG
&& REGNO (SET_DEST (set)) >= FIRST_PSEUDO_REGISTER)
return true;
}
return false;
......
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