* postreload-gcse.c: Include target.h.
(gcse_after_reload_main): Return early if we cannot modify jumps.
* Makefile.in (postreload-gcse.o): Depend on $(TARGET_H).
From-SVN: r97332
+2005-03-31 J"orn Rennecke <joern.rennecke@st.com>
+
+ * postreload-gcse.c: Include target.h.
+ (gcse_after_reload_main): Return early if we cannot modify jumps.
+ * Makefile.in (postreload-gcse.o): Depend on $(TARGET_H).
+
2005-03-31 David Edelsohn <edelsohn@gnu.org>
* tree-ssa-loop-im.c (stmt_cost): Add RDIV_EXPR to list of
postreload-gcse.o : postreload-gcse.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
$(RTL_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) real.h insn-config.h $(GGC_H) \
$(RECOG_H) $(EXPR_H) $(BASIC_BLOCK_H) function.h output.h toplev.h $(TM_P_H) \
- except.h $(TREE_H)
+ except.h $(TREE_H) $(TARGET_H)
caller-save.o : caller-save.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
$(FLAGS_H) $(REGS_H) hard-reg-set.h insn-config.h $(BASIC_BLOCK_H) function.h \
$(RECOG_H) reload.h $(EXPR_H) toplev.h $(TM_P_H)
#include "obstack.h"
#include "hashtab.h"
#include "params.h"
+#include "target.h"
/* The following code implements gcse after reload, the purpose of this
pass is to cleanup redundant loads generated by reload and other
void
gcse_after_reload_main (rtx f ATTRIBUTE_UNUSED)
{
+
+ if (targetm.cannot_modify_jumps_p ())
+ return;
+
memset (&stats, 0, sizeof (stats));
/* Allocate ememory for this pass.