diff options
author | J"orn Rennecke <joern.rennecke@superh.com> | 2003-07-26 18:38:42 +0000 |
---|---|---|
committer | Joern Rennecke <amylaar@gcc.gnu.org> | 2003-07-26 19:38:42 +0100 |
commit | 11a004efdb03c8b44723cd8a995f16c55247b1bb (patch) | |
tree | a4691cc520456e24a08fc4e49dcd035901063fa6 /gcc/ifcvt.c | |
parent | a51d71d05c91a8a6aaee93878e6b9953762b59e6 (diff) | |
download | gcc-11a004efdb03c8b44723cd8a995f16c55247b1bb.zip gcc-11a004efdb03c8b44723cd8a995f16c55247b1bb.tar.gz gcc-11a004efdb03c8b44723cd8a995f16c55247b1bb.tar.bz2 |
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
Diffstat (limited to 'gcc/ifcvt.c')
-rw-r--r-- | gcc/ifcvt.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/ifcvt.c b/gcc/ifcvt.c index bb783fb..eec1f36 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. */ |