From: J"orn Rennecke Date: Sat, 26 Jul 2003 18:38:42 +0000 (+0000) Subject: Makefile.in (ifcvt.o): Depend on target.h X-Git-Tag: releases/gcc-3.4.0~4592 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=11a004efdb03c8b44723cd8a995f16c55247b1bb;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 41ee1394edf3..6dcc99edf2d3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2003-07-26 J"orn Rennecke + + * 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 * doc/install.texi (Testing): Adjust required versions of DejaGnu. diff --git a/gcc/Makefile.in b/gcc/Makefile.in index e3e676cde45f..545e5a45169d 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -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 diff --git a/gcc/ifcvt.c b/gcc/ifcvt.c index bb783fbf57f1..eec1f369cd32 100644 --- a/gcc/ifcvt.c +++ b/gcc/ifcvt.c @@ -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. */