summaryrefslogtreecommitdiffstats
path: root/gcc
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-02-08 00:35:15 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-02-08 00:35:15 +0000
commit088f179c75e7f00ba18e7bcf4cdfc0947a7b4d80 (patch)
treef00cdeb1d9295137701d498288fd8142cfc6c441 /gcc
parentc5599633f0218f38247194ae955738409a752951 (diff)
downloadppe42-gcc-088f179c75e7f00ba18e7bcf4cdfc0947a7b4d80.tar.gz
ppe42-gcc-088f179c75e7f00ba18e7bcf4cdfc0947a7b4d80.zip
* 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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/Makefile.in4
-rw-r--r--gcc/cfganal.c4
3 files changed, 11 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6b5136a273e..5674f97e862 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2002-02-07 Richard Henderson <rth@redhat.com>
+
+ * cfgrtl.c: Include recog.h and insn-config.h.
+ (keep_with_call_p): Fix general_operand invocation.
+ * Makefile.in (cfgrtl.o): Update dependencies.
+
2002-02-07 Kazu Hirata <kazu@hxi.com>
* config/h8300/h8300.c (two_insn_adds_subs_operand): Revise a
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 4dd0a761555..f21ed3df33d 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -1488,8 +1488,8 @@ cfg.o : cfg.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) flags.h insn-config.h \
cfgrtl.o : cfgrtl.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) flags.h insn-config.h \
$(BASIC_BLOCK_H) $(REGS_H) hard-reg-set.h output.h toplev.h $(RECOG_H) \
function.h except.h $(GGC_H) $(TM_P_H)
-cfganal.o : cfganal.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) \
- $(BASIC_BLOCK_H) hard-reg-set.h $(GGC_H)
+cfganal.o : cfganal.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(BASIC_BLOCK_H) \
+ hard-reg-set.h insn-config.h $(RECOG_H) $(GGC_H) $(TM_P_H)
cfgbuild.o : cfgbuild.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) flags.h insn-config.h \
$(BASIC_BLOCK_H) $(REGS_H) hard-reg-set.h output.h toplev.h $(RECOG_H) \
function.h except.h $(GGC_H)
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)))
OpenPOWER on IntegriCloud