summaryrefslogtreecommitdiff
path: root/gcc/ifcvt.c
diff options
context:
space:
mode:
authormeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>2000-06-13 02:23:56 +0000
committermeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>2000-06-13 02:23:56 +0000
commitc71dadd23628302d1a1f2fa1336cbbca590ede2c (patch)
tree643838326eb1ee2d20a9fa317346ce28a7f3887e /gcc/ifcvt.c
parent75b79babd741814779d594be6f5c015d7eec7bdb (diff)
downloadgcc-c71dadd23628302d1a1f2fa1336cbbca590ede2c.tar.gz
Do not handle dead code via conditional execution if special handling is needed
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34512 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ifcvt.c')
-rw-r--r--gcc/ifcvt.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/ifcvt.c b/gcc/ifcvt.c
index 7703d1e3289..4e803ce7d47 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