summaryrefslogtreecommitdiff
path: root/gcc/integrate.c
diff options
context:
space:
mode:
authorwehle <wehle@138bc75d-0d04-0410-961f-82ee72b054a4>2001-08-15 19:25:43 +0000
committerwehle <wehle@138bc75d-0d04-0410-961f-82ee72b054a4>2001-08-15 19:25:43 +0000
commit2dcd83baa56239678afd819a18c1069cb2468c01 (patch)
treef447cb6b2c6dd7264add243638d8718cd3935065 /gcc/integrate.c
parent9e644d8fbc8d4fd070c9c57d273938a2f6caf3b0 (diff)
downloadgcc-2dcd83baa56239678afd819a18c1069cb2468c01.tar.gz
* rtl.h (only_sets_cc0_p): New prototype.
* jump.c (sets_cc0_p): Handle INSN. (only_sets_cc0_p): New function. * flow.c (merge_blocks_nomove): Use only_sets_cc0_p. (tidy_fallthru_edge): Likewise. * integrate.c (copy_insn_list): Likewise. * unroll.c (unroll_loop): Likewise. (copy_loop_body): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44927 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/integrate.c')
-rw-r--r--gcc/integrate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/integrate.c b/gcc/integrate.c
index c865f6f1aee..e0d5a6fc937 100644
--- a/gcc/integrate.c
+++ b/gcc/integrate.c
@@ -1463,7 +1463,7 @@ copy_insn_list (insns, map, static_chain_value)
{
#ifdef HAVE_cc0
/* If the previous insn set cc0 for us, delete it. */
- if (sets_cc0_p (PREV_INSN (copy)))
+ if (only_sets_cc0_p (PREV_INSN (copy)))
delete_insn (PREV_INSN (copy));
#endif