From 44ce0063663da883cd4d1281310734d4a36e8a00 Mon Sep 17 00:00:00 2001 From: John Wehle Date: Wed, 15 Aug 2001 19:25:43 +0000 Subject: rtl.h (only_sets_cc0_p): New prototype. * 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. From-SVN: r44927 --- gcc/unroll.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/unroll.c') diff --git a/gcc/unroll.c b/gcc/unroll.c index f888089..09a0732 100644 --- a/gcc/unroll.c +++ b/gcc/unroll.c @@ -379,7 +379,7 @@ unroll_loop (loop, insn_count, strength_reduce_p) #ifdef HAVE_cc0 /* The immediately preceding insn may be a compare which must be deleted. */ - if (sets_cc0_p (prev)) + if (only_sets_cc0_p (prev)) delete_insn (prev); #endif } @@ -2148,7 +2148,7 @@ copy_loop_body (loop, copy_start, copy_end, map, exit_label, last_iteration, { #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 -- cgit v1.1