Makefile.in (ifcvt.o): Depend on target.h

* Makefile.in (ifcvt.o): Depend on target.h
	* ifcvt.c (target.h): Include.
	(if_convert): Don't call mark_loop_exit_edges if we can't
	modify jumps.

From-SVN: r69829
This commit is contained in:
J"orn Rennecke 2003-07-26 18:38:42 +00:00 committed by Joern Rennecke
parent a51d71d05c
commit 11a004efdb
3 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2003-07-26 J"orn Rennecke <joern.rennecke@superh.com>
* Makefile.in (ifcvt.o): Depend on target.h
* ifcvt.c (target.h): Include.
(if_convert): Don't call mark_loop_exit_edges if we can't
modify jumps.
2003-07-26 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
* doc/install.texi (Testing): Adjust required versions of DejaGnu.

View File

@ -1791,7 +1791,7 @@ regrename.o : regrename.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
insn-config.h $(BASIC_BLOCK_H) $(REGS_H) hard-reg-set.h output.h $(RECOG_H) function.h \
resource.h $(OBSTACK_H) flags.h $(TM_P_H)
ifcvt.o : ifcvt.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
$(REGS_H) toplev.h flags.h insn-config.h function.h $(RECOG_H) \
$(REGS_H) toplev.h flags.h insn-config.h function.h $(RECOG_H) target.h \
$(BASIC_BLOCK_H) $(EXPR_H) output.h except.h $(TM_P_H) real.h $(OPTABS_H) \
cfgloop.h
params.o : params.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(PARAMS_H) toplev.h

View File

@ -39,6 +39,7 @@
#include "toplev.h"
#include "tm_p.h"
#include "cfgloop.h"
#include "target.h"
#ifndef HAVE_conditional_execution
@ -3112,7 +3113,8 @@ if_convert (int x_life_data_ok)
num_removed_blocks = 0;
life_data_ok = (x_life_data_ok != 0);
mark_loop_exit_edges ();
if (! (* targetm.cannot_modify_jumps_p) ())
mark_loop_exit_edges ();
/* Free up basic_block_for_insn so that we don't have to keep it
up to date, either here or in merge_blocks. */