From a8d916d3d381c5cdb1968ffbd0b44ef75ffb6980 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Sun, 3 Jan 1993 19:22:40 -0700 Subject: [PATCH] jump.c (jump_optimize, [...]): Do this regardless of BRANCH_COST if HAVE_incscc is defined. * jump.c (jump_optimize, case if (foo) b++): Do this regardless of BRANCH_COST if HAVE_incscc is defined. From-SVN: r3082 --- gcc/jump.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/jump.c b/gcc/jump.c index 14e08cd9897..aa5ed29e30f 100644 --- a/gcc/jump.c +++ b/gcc/jump.c @@ -1191,7 +1191,11 @@ jump_optimize (f, cross_jump, noop_moves, after_regscan) TEMP3 to the condition being tested. TEMP4 to the earliest insn used to find the condition. */ - if (BRANCH_COST >= 2 + if ((BRANCH_COST >= 2 +#ifdef HAVE_incscc + || HAVE_incscc +#endif + ) && ! reload_completed && this_is_condjump && ! this_is_simplejump && (temp = next_nonnote_insn (insn)) != 0 -- 2.30.2