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
This commit is contained in:
Jeff Law 1993-01-03 19:22:40 -07:00
parent fd0214cd48
commit a8d916d3d3

View File

@ -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