From 5df533b352f83085011093326d32e1c9bc6a786d Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Wed, 24 Jul 2002 17:24:35 +0200 Subject: [PATCH] * rtlanal.c (keep_with_call_p): Avoid overflow in fixed_regs. From-SVN: r55710 --- gcc/ChangeLog | 4 ++++ gcc/rtlanal.c | 1 + 2 files changed, 5 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7e9cd869832..dca8f443936 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Wed Jul 24 17:23:16 CEST 2002 Jan Hubicka + + * rtlanal.c (keep_with_call_p): Avoid overflow in fixed_regs. + 2002-07-24 Frank van der Linden PR optimization/7291 diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c index c1fdb7604ae..35cc5130caa 100644 --- a/gcc/rtlanal.c +++ b/gcc/rtlanal.c @@ -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;