From: Jeff Law Date: Mon, 4 Jan 1993 02:22:40 +0000 (-0700) Subject: jump.c (jump_optimize, [...]): Do this regardless of BRANCH_COST if HAVE_incscc is... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a8d916d3d381c5cdb1968ffbd0b44ef75ffb6980;p=gcc.git 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 --- 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