Commit 5df533b3 by Jan Hubicka Committed by Jan Hubicka

* rtlanal.c (keep_with_call_p): Avoid overflow in fixed_regs.

From-SVN: r55710
parent aa02149a
Wed Jul 24 17:23:16 CEST 2002 Jan Hubicka <jh@suse.cz>
* rtlanal.c (keep_with_call_p): Avoid overflow in fixed_regs.
2002-07-24 Frank van der Linden <fvdl@wasabisystems.com>
PR optimization/7291
......
......@@ -3247,6 +3247,7 @@ keep_with_call_p (insn)
if (INSN_P (insn) && (set = single_set (insn)) != NULL)
{
if (GET_CODE (SET_DEST (set)) == REG
&& REGNO (SET_DEST (set)) < FIRST_PSEUDO_REGISTER
&& fixed_regs[REGNO (SET_DEST (set))]
&& general_operand (SET_SRC (set), VOIDmode))
return true;
......
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