aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMichael Meissner <meissner@redhat.com>2000-06-13 02:23:56 +0000
committerMichael Meissner <meissner@gcc.gnu.org>2000-06-13 02:23:56 +0000
commit89d237bf18645d41859e8678c56dcacf7a8159a9 (patch)
tree643838326eb1ee2d20a9fa317346ce28a7f3887e /gcc
parent088eb5a274b3e2d90d15b5ef5706463abbc6b847 (diff)
downloadgcc-89d237bf18645d41859e8678c56dcacf7a8159a9.zip
gcc-89d237bf18645d41859e8678c56dcacf7a8159a9.tar.gz
gcc-89d237bf18645d41859e8678c56dcacf7a8159a9.tar.bz2
Do not handle dead code via conditional execution if special handling is needed
From-SVN: r34512
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/ifcvt.c4
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3324401..523a073 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2000-06-12 Michael Meissner <meissner@redhat.com>
+
+ * ifcvt.c (dead_or_predicable): Don't do conditional execution
+ path if the machine needs extra support to do conditional
+ execution.
+
Mon Jun 12 17:04:17 2000 Jeffrey A Law (law@cygnus.com)
* print-rtl.c (print_rtx, case MEM): Use HOST_WIDE_INT_PRINT_DEC
diff --git a/gcc/ifcvt.c b/gcc/ifcvt.c
index 7703d1e..4e803ce 100644
--- a/gcc/ifcvt.c
+++ b/gcc/ifcvt.c
@@ -1865,6 +1865,9 @@ dead_or_predicable (test_bb, merge_bb, other_bb, new_dest, reversep)
end = PREV_INSN (end);
}
+ /* Disable handling dead code by conditional execution if the machine needs
+ to do anything funny with the tests, etc. */
+#ifndef IFCVT_MODIFY_TESTS
if (HAVE_conditional_execution)
{
/* In the conditional execution case, we have things easy. We know
@@ -1896,6 +1899,7 @@ dead_or_predicable (test_bb, merge_bb, other_bb, new_dest, reversep)
earliest = jump;
}
else
+#endif
{
/* In the non-conditional execution case, we have to verify that there
are no trapping operations, no calls, no references to memory, and