From 088f179c75e7f00ba18e7bcf4cdfc0947a7b4d80 Mon Sep 17 00:00:00 2001 From: rth Date: Fri, 8 Feb 2002 00:35:15 +0000 Subject: * cfgrtl.c: Include recog.h and insn-config.h. (keep_with_call_p): Fix general_operand invocation. * Makefile.in (cfgrtl.o): Update dependencies. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49598 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/cfganal.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gcc/cfganal.c') diff --git a/gcc/cfganal.c b/gcc/cfganal.c index 17db86e2a2c..6009d59cbe8 100644 --- a/gcc/cfganal.c +++ b/gcc/cfganal.c @@ -25,6 +25,8 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include "rtl.h" #include "hard-reg-set.h" #include "basic-block.h" +#include "insn-config.h" +#include "recog.h" #include "toplev.h" #include "obstack.h" #include "tm_p.h" @@ -225,7 +227,7 @@ keep_with_call_p (insn) { if (GET_CODE (SET_DEST (set)) == REG && fixed_regs[REGNO (SET_DEST (set))] - && general_operand (SET_SRC (set))) + && general_operand (SET_SRC (set), VOIDmode)) return true; if (GET_CODE (SET_SRC (set)) == REG && FUNCTION_VALUE_REGNO_P (REGNO (SET_SRC (set))) -- cgit v1.2.1