aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfganal.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2002-02-07 16:35:15 -0800
committerRichard Henderson <rth@gcc.gnu.org>2002-02-07 16:35:15 -0800
commitb6878a45f7d17294cea1f19de9fd7ca451de6f87 (patch)
treef00cdeb1d9295137701d498288fd8142cfc6c441 /gcc/cfganal.c
parentae19f5ef347c0606bc2b87cb6fd98953a6000b83 (diff)
downloadgcc-b6878a45f7d17294cea1f19de9fd7ca451de6f87.zip
gcc-b6878a45f7d17294cea1f19de9fd7ca451de6f87.tar.gz
gcc-b6878a45f7d17294cea1f19de9fd7ca451de6f87.tar.bz2
cfgrtl.c: Include recog.h and insn-config.h.
* cfgrtl.c: Include recog.h and insn-config.h. (keep_with_call_p): Fix general_operand invocation. * Makefile.in (cfgrtl.o): Update dependencies. From-SVN: r49598
Diffstat (limited to 'gcc/cfganal.c')
-rw-r--r--gcc/cfganal.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/cfganal.c b/gcc/cfganal.c
index 17db86e..6009d59 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)))