aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Henderson <rth@cygnus.com>2000-05-31 16:58:46 -0700
committerRichard Henderson <rth@gcc.gnu.org>2000-05-31 16:58:46 -0700
commite0fa93b3ca30abe9423a3f70cc172c21f2d2fdf0 (patch)
tree61962ac35a15b82275b150dc2caec118d859c257 /gcc
parentabb9a4c5705c72447e159a350ce2e482d5420996 (diff)
downloadgcc-e0fa93b3ca30abe9423a3f70cc172c21f2d2fdf0.zip
gcc-e0fa93b3ca30abe9423a3f70cc172c21f2d2fdf0.tar.gz
gcc-e0fa93b3ca30abe9423a3f70cc172c21f2d2fdf0.tar.bz2
* ifcvt.c (cond_exec_process_insns): Don't ever ignore clobbers.
From-SVN: r34316
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/ifcvt.c6
2 files changed, 6 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0ea100b..8723fce 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,9 @@
2000-05-31 Richard Henderson <rth@cygnus.com>
+ * ifcvt.c (cond_exec_process_insns): Don't ever ignore clobbers.
+
+2000-05-31 Richard Henderson <rth@cygnus.com>
+
* flow.c (merge_blocks_nomove): Remove a barrier not following
a jump as well.
diff --git a/gcc/ifcvt.c b/gcc/ifcvt.c
index ee2d143..5b89bc4 100644
--- a/gcc/ifcvt.c
+++ b/gcc/ifcvt.c
@@ -216,10 +216,8 @@ cond_exec_process_insns (start, end, test, prob_val, mod_ok)
if (GET_CODE (insn) != INSN && GET_CODE (insn) != CALL_INSN)
abort ();
- /* Remove USE and CLOBBER insns that get in the way. */
- if (reload_completed
- && (GET_CODE (PATTERN (insn)) == USE
- || GET_CODE (PATTERN (insn)) == CLOBBER))
+ /* Remove USE insns that get in the way. */
+ if (reload_completed && GET_CODE (PATTERN (insn)) == USE)
{
/* ??? Ug. Actually unlinking the thing is problematic,
given what we'd have to coordinate with our callers. */