From a844986ac000f75846c3574755a12d032770e23e Mon Sep 17 00:00:00 2001 From: amylaar Date: Sat, 26 Jul 2003 18:38:42 +0000 Subject: * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69829 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ifcvt.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gcc/ifcvt.c') diff --git a/gcc/ifcvt.c b/gcc/ifcvt.c index bb783fbf57f..eec1f369cd3 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. */ -- cgit v1.2.1